@opencode/core 0.0.0-dev-70 → 0.0.0-dev-80
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 +79 -79
- package/dist/chunks/{usage-limits-06ezgrzy.js → ripgrep-06ezgrzy.js} +1 -1
- package/dist/chunks/{usage-limits-nkxegb0x.js → ripgrep-088pd99w.js} +38 -38
- package/dist/chunks/{usage-limits-pm1qawqd.js → ripgrep-0ak2x9h8.js} +335 -335
- package/dist/chunks/{usage-limits-63wjmrmh.js → ripgrep-0g35qp0e.js} +11 -11
- package/dist/chunks/{usage-limits-7zxkwed9.js → ripgrep-0g9tw212.js} +21 -21
- package/dist/chunks/{usage-limits-vrcsa8qx.js → ripgrep-18g90bpv.js} +9 -9
- package/dist/chunks/{usage-limits-1e3bsmzs.js → ripgrep-1ax49313.js} +30 -30
- package/dist/chunks/{usage-limits-cdy86q22.js → ripgrep-1k1debk9.js} +21 -21
- package/dist/chunks/{usage-limits-1x2knyw4.js → ripgrep-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-1yq9hg58.js → ripgrep-1yq9hg58.js} +1 -1
- package/dist/chunks/{usage-limits-204s3925.js → ripgrep-204s3925.js} +1 -1
- package/dist/chunks/{usage-limits-xmdfq1wa.js → ripgrep-25841xge.js} +31 -31
- package/dist/chunks/{usage-limits-mfbcmhq0.js → ripgrep-26kaq2yd.js} +27 -27
- package/dist/chunks/{usage-limits-djjzzs3c.js → ripgrep-26x8chrq.js} +3 -3
- package/dist/chunks/{usage-limits-1ep2p91f.js → ripgrep-27w5k9zf.js} +2 -2
- package/dist/chunks/{usage-limits-s9xyq0y3.js → ripgrep-2ab3aktw.js} +10 -10
- package/dist/chunks/{usage-limits-m7npqwrv.js → ripgrep-2c98r4e2.js} +11 -11
- package/dist/chunks/{usage-limits-xywbwddt.js → ripgrep-2mdz3tk1.js} +15 -15
- package/dist/chunks/{usage-limits-q4cdx3an.js → ripgrep-2p6ra54c.js} +42 -42
- package/dist/chunks/{usage-limits-3satg4qm.js → ripgrep-32pwgmem.js} +10 -10
- package/dist/chunks/{usage-limits-8rpj8j5d.js → ripgrep-369akvbe.js} +20 -20
- package/dist/chunks/{usage-limits-kmybc97f.js → ripgrep-3a7jzk54.js} +22 -22
- package/dist/chunks/{usage-limits-ayjs7tqn.js → ripgrep-3cbjf1nt.js} +2 -2
- package/dist/chunks/{usage-limits-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-7ftegz34.js → ripgrep-3marnbwx.js} +20 -20
- package/dist/chunks/{usage-limits-3nnrz6f6.js → ripgrep-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-n1fzseg3.js → ripgrep-3tbr4cqx.js} +92 -92
- package/dist/chunks/{usage-limits-32hdwgrf.js → ripgrep-3w5nebbj.js} +28 -28
- package/dist/chunks/{usage-limits-40za9wsf.js → ripgrep-40za9wsf.js} +2 -2
- package/dist/chunks/{usage-limits-bsany5rs.js → ripgrep-41b5jrt2.js} +9 -9
- package/dist/chunks/{usage-limits-4ab74nqr.js → ripgrep-46wzcrep.js} +9 -9
- package/dist/chunks/{usage-limits-y07922sz.js → ripgrep-4bj5kpb7.js} +3 -3
- package/dist/chunks/ripgrep-4hbcjkqy.js +257 -0
- package/dist/chunks/{usage-limits-74mxhga0.js → ripgrep-4m70se6x.js} +7 -7
- package/dist/chunks/{usage-limits-4pyp9zr9.js → ripgrep-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-ch2c3pcq.js → ripgrep-4s6kdcz7.js} +29 -29
- package/dist/chunks/{usage-limits-4v008n1t.js → ripgrep-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-k99fe09b.js → ripgrep-4wvca7dx.js} +5 -5
- package/dist/chunks/{usage-limits-p580ev26.js → ripgrep-51d35nkj.js} +6 -6
- package/dist/chunks/{usage-limits-2syb7k54.js → ripgrep-56hhdn6r.js} +20 -20
- package/dist/chunks/{usage-limits-cew0p5np.js → ripgrep-577qsrq7.js} +7 -7
- package/dist/chunks/{usage-limits-qtks3bwj.js → ripgrep-58t0zvek.js} +16 -16
- package/dist/chunks/{usage-limits-1r6zs68c.js → ripgrep-5ac7ycjy.js} +11 -11
- package/dist/chunks/{usage-limits-tqx1028s.js → ripgrep-5b4c6ssz.js} +22 -22
- package/dist/chunks/{usage-limits-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-dcz5q70b.js → ripgrep-5rcvdxf6.js} +3 -3
- package/dist/chunks/{usage-limits-nqdvj0z2.js → ripgrep-5s0mcww8.js} +38 -38
- package/dist/chunks/{usage-limits-ehztmq8g.js → ripgrep-67v8yagg.js} +8 -8
- package/dist/chunks/{usage-limits-b3t6hfc1.js → ripgrep-6b33zqre.js} +5 -5
- package/dist/chunks/{usage-limits-qvdrcrn5.js → ripgrep-6d3rx8wt.js} +20 -20
- package/dist/chunks/{usage-limits-6esdw8yj.js → ripgrep-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-gsp20hk1.js → ripgrep-6gchybz4.js} +17 -17
- package/dist/chunks/{usage-limits-00r869yd.js → ripgrep-6gkj1px0.js} +23 -23
- package/dist/chunks/{usage-limits-zervchyf.js → ripgrep-6rdptfg1.js} +6 -6
- package/dist/chunks/{usage-limits-shhvmp99.js → ripgrep-6ttkwnky.js} +5 -5
- package/dist/chunks/{usage-limits-nf3nsvxh.js → ripgrep-6zs6nt10.js} +4 -4
- package/dist/chunks/{usage-limits-tvet7cwg.js → ripgrep-70ha973v.js} +8 -8
- package/dist/chunks/{usage-limits-vrbg4km8.js → ripgrep-754mq792.js} +9 -9
- package/dist/chunks/{usage-limits-76cb1hcw.js → ripgrep-76cb1hcw.js} +1 -1
- package/dist/chunks/{usage-limits-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-w8egg4wb.js → ripgrep-7c7a89na.js} +5 -5
- package/dist/chunks/{usage-limits-91x1x3by.js → ripgrep-7fdjd8sw.js} +15 -15
- package/dist/chunks/{usage-limits-40akqw83.js → ripgrep-7fx6peza.js} +5 -5
- package/dist/chunks/{usage-limits-ex9nt9rj.js → ripgrep-7v7pq9bn.js} +22 -22
- package/dist/chunks/{usage-limits-zweene6d.js → ripgrep-7vgs011g.js} +24 -24
- package/dist/chunks/{usage-limits-7w2ypzdf.js → ripgrep-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-z8tv1fw9.js → ripgrep-80svsvjd.js} +3 -3
- package/dist/chunks/{usage-limits-vgycp8t5.js → ripgrep-81pg0v03.js} +13 -13
- package/dist/chunks/{usage-limits-bcg4scw3.js → ripgrep-87cy3nxk.js} +14 -14
- package/dist/chunks/{usage-limits-7tpyp9vw.js → ripgrep-8d2bz6m6.js} +8 -8
- package/dist/chunks/{usage-limits-0n7bgjdx.js → ripgrep-8haq8m5n.js} +27 -27
- package/dist/chunks/{usage-limits-btqfhcy7.js → ripgrep-8k2vnwwb.js} +15 -15
- package/dist/chunks/{usage-limits-p76me67c.js → ripgrep-8r9nj4s8.js} +4 -4
- package/dist/chunks/{usage-limits-my4zabxr.js → ripgrep-8whp40kv.js} +3 -3
- package/dist/chunks/{usage-limits-8wtp7s3z.js → ripgrep-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-7b0w3yex.js → ripgrep-8xdd5vcj.js} +33 -33
- package/dist/chunks/{usage-limits-90zstvax.js → ripgrep-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-s2p21v8b.js → ripgrep-94r7trmv.js} +11 -11
- package/dist/chunks/{usage-limits-2250626v.js → ripgrep-9at5fq9s.js} +13 -13
- package/dist/chunks/{usage-limits-txcap7gk.js → ripgrep-9hd5kt3n.js} +7 -7
- package/dist/chunks/{usage-limits-gmkqvwcx.js → ripgrep-9hfpmwpz.js} +17 -17
- package/dist/chunks/{usage-limits-whe60mvx.js → ripgrep-9j0qcbqj.js} +14 -14
- package/dist/chunks/{usage-limits-y8e37kep.js → ripgrep-9knspxm5.js} +21 -21
- package/dist/chunks/{usage-limits-8k57k3bn.js → ripgrep-9mv4bqkt.js} +11 -11
- package/dist/chunks/{usage-limits-8qvrfxnx.js → ripgrep-9np782jn.js} +29 -29
- package/dist/chunks/{usage-limits-cwzdksg6.js → ripgrep-9pskqgbs.js} +28 -28
- package/dist/chunks/{usage-limits-8ctydw00.js → ripgrep-9wzjb77v.js} +5 -5
- package/dist/chunks/{usage-limits-w11nh16z.js → ripgrep-a3rq0v5y.js} +20 -20
- package/dist/chunks/ripgrep-af5csmsa.js +224 -0
- package/dist/chunks/{usage-limits-034tev2y.js → ripgrep-aj7mw0zk.js} +2 -2
- package/dist/chunks/{usage-limits-sxgesv0v.js → ripgrep-ak3gvmya.js} +15 -15
- package/dist/chunks/{usage-limits-26t6c0aa.js → ripgrep-ap93h9h9.js} +9 -9
- package/dist/chunks/{usage-limits-57e756py.js → ripgrep-aqkr4v1j.js} +25 -25
- package/dist/chunks/{usage-limits-zba5tm1j.js → ripgrep-ar2j3j0f.js} +4 -4
- package/dist/chunks/{usage-limits-js09a8a4.js → ripgrep-atft9rda.js} +11 -11
- package/dist/chunks/{usage-limits-zstc4kax.js → ripgrep-avm9nspx.js} +22 -22
- package/dist/chunks/{usage-limits-edttvenx.js → ripgrep-axb490gr.js} +9 -9
- package/dist/chunks/{usage-limits-gvgqw8vw.js → ripgrep-b134vsz7.js} +7 -7
- package/dist/chunks/{usage-limits-8x7yjdeb.js → ripgrep-b24mhxf9.js} +18 -18
- package/dist/chunks/{usage-limits-bv81hr7f.js → ripgrep-b3aag47p.js} +17 -17
- package/dist/chunks/{usage-limits-b6vsg801.js → ripgrep-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-cg685ae2.js → ripgrep-beftacqj.js} +11 -11
- package/dist/chunks/{usage-limits-r5as2gek.js → ripgrep-bhak5syd.js} +4 -4
- package/dist/chunks/{usage-limits-mrns0e6x.js → ripgrep-bvysct2v.js} +4 -4
- package/dist/chunks/{usage-limits-zkd2ntwy.js → ripgrep-bwsv21wr.js} +34 -34
- package/dist/chunks/{usage-limits-qz087kyw.js → ripgrep-bxe7n28z.js} +8 -8
- package/dist/chunks/{usage-limits-f46hmq5v.js → ripgrep-bz7kwm0q.js} +4 -4
- package/dist/chunks/{usage-limits-zbkb7r2x.js → ripgrep-c2rtzjd7.js} +27 -27
- package/dist/chunks/{usage-limits-w5meh1vk.js → ripgrep-c3mymrd0.js} +5 -5
- package/dist/chunks/{usage-limits-2vtmagdy.js → ripgrep-c4rtwfmc.js} +14 -14
- package/dist/chunks/{usage-limits-ssfehs1z.js → ripgrep-c9t2ty9q.js} +4 -4
- package/dist/chunks/{usage-limits-cb54j1zr.js → ripgrep-cb54j1zr.js} +2 -2
- package/dist/chunks/{usage-limits-ap6zazkg.js → ripgrep-cbrygq68.js} +3 -3
- package/dist/chunks/{usage-limits-1ygfc7z1.js → ripgrep-cgjret3e.js} +11 -11
- package/dist/chunks/{usage-limits-w6zhfv8b.js → ripgrep-chtd0as3.js} +64 -64
- package/dist/chunks/{usage-limits-cwrgdav8.js → ripgrep-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-g45kgctv.js → ripgrep-cxy0d1dt.js} +1 -1
- package/dist/chunks/{usage-limits-rrqctmxv.js → ripgrep-cy5ayqt4.js} +47 -47
- package/dist/chunks/{usage-limits-2wbaybnj.js → ripgrep-d2k0mtej.js} +3 -3
- package/dist/chunks/{usage-limits-d4v9tmah.js → ripgrep-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-axay07fs.js → ripgrep-d6x0x4gv.js} +9 -9
- package/dist/chunks/{usage-limits-fahhp9re.js → ripgrep-df17qpd9.js} +4 -4
- package/dist/chunks/{usage-limits-3qx04rj6.js → ripgrep-dfsm4808.js} +11 -11
- package/dist/chunks/{usage-limits-sxejvmn7.js → ripgrep-dp66fs17.js} +9 -9
- package/dist/chunks/{usage-limits-3j1m3tq4.js → ripgrep-dqdq9hrz.js} +5 -5
- package/dist/chunks/{usage-limits-dt77769w.js → ripgrep-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-7sdtxe0n.js → ripgrep-e2ne77ac.js} +2 -2
- package/dist/chunks/{usage-limits-kagxkfz2.js → ripgrep-e5vtkg49.js} +21 -21
- package/dist/chunks/{usage-limits-e834z07m.js → ripgrep-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-5h1f88xp.js → ripgrep-e8e8nyhn.js} +11 -11
- package/dist/chunks/{usage-limits-zympt6nt.js → ripgrep-ef7fp8z8.js} +11 -11
- package/dist/chunks/{usage-limits-e5tgfjjc.js → ripgrep-egbe5b71.js} +12 -12
- package/dist/chunks/{usage-limits-yrkvt850.js → ripgrep-egvqapfn.js} +34 -34
- package/dist/chunks/{usage-limits-smjdpk56.js → ripgrep-ehhyyyn7.js} +37 -37
- package/dist/chunks/{usage-limits-thgmw4ka.js → ripgrep-ekj5s85x.js} +35 -35
- package/dist/chunks/{usage-limits-gg8p9cgs.js → ripgrep-ep59zg61.js} +3 -3
- package/dist/chunks/{usage-limits-snb901t2.js → ripgrep-epbqh0vp.js} +4 -4
- package/dist/chunks/{usage-limits-0ge7qw4j.js → ripgrep-ese4m9k3.js} +13 -13
- package/dist/chunks/{usage-limits-y9z93sbb.js → ripgrep-eyemdhec.js} +8 -8
- package/dist/chunks/{usage-limits-4bge5fn5.js → ripgrep-f2zj0t6k.js} +11 -11
- package/dist/chunks/{usage-limits-5388d1ez.js → ripgrep-f40h8bb4.js} +28 -28
- package/dist/chunks/{usage-limits-gxjy5xbg.js → ripgrep-fczcv4ax.js} +2 -2
- package/dist/chunks/{usage-limits-e2v23dw8.js → ripgrep-fe9sakca.js} +27 -27
- package/dist/chunks/{usage-limits-fffv3p7h.js → ripgrep-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-fg9p65nk.js → ripgrep-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-ge02ssgj.js → ripgrep-fjf4pq9j.js} +19 -19
- package/dist/chunks/{usage-limits-8q6dc6x3.js → ripgrep-fv2q085q.js} +11 -11
- package/dist/chunks/{usage-limits-a2kck2qj.js → ripgrep-g1ttnxq8.js} +41 -41
- package/dist/chunks/{usage-limits-8etj86g3.js → ripgrep-g3dtbvmz.js} +10 -10
- package/dist/chunks/{usage-limits-dkqneb2t.js → ripgrep-g60sf386.js} +16 -16
- package/dist/chunks/{usage-limits-xnh55p1t.js → ripgrep-g7esga4v.js} +4 -4
- package/dist/chunks/{usage-limits-8nmxnxpt.js → ripgrep-gfrk9heb.js} +16 -16
- package/dist/chunks/{usage-limits-kgxq6z42.js → ripgrep-gtgtppsz.js} +6 -6
- package/dist/chunks/{usage-limits-8h3eyqr9.js → ripgrep-gw22fdws.js} +41 -41
- package/dist/chunks/{usage-limits-aytgjwzw.js → ripgrep-h0p593e3.js} +21 -21
- package/dist/chunks/{usage-limits-j391q72e.js → ripgrep-h15brmzx.js} +9 -9
- package/dist/chunks/{usage-limits-zrp243k2.js → ripgrep-h3tz4d10.js} +30 -30
- package/dist/chunks/{usage-limits-nm192nfe.js → ripgrep-h5qpngq0.js} +27 -27
- package/dist/chunks/{usage-limits-s7kyse9r.js → ripgrep-h7d4rbrg.js} +4 -4
- package/dist/chunks/{usage-limits-hdfrs5mg.js → ripgrep-hdfrs5mg.js} +2 -2
- package/dist/chunks/{usage-limits-sz3bvagv.js → ripgrep-hetdxzf5.js} +6 -6
- package/dist/chunks/{usage-limits-hpg1pkwy.js → ripgrep-hpg1pkwy.js} +1 -1
- package/dist/chunks/{usage-limits-mj7yjr2g.js → ripgrep-hsxwhxza.js} +40 -40
- package/dist/chunks/ripgrep-j1207za8.js +26 -0
- package/dist/chunks/{usage-limits-b5gyc1qt.js → ripgrep-jce146zy.js} +31 -31
- package/dist/chunks/{usage-limits-jfaecv01.js → ripgrep-jfaecv01.js} +1 -1
- package/dist/chunks/{usage-limits-cyv36v60.js → ripgrep-jfwapypb.js} +30 -30
- package/dist/chunks/{usage-limits-3vgbrff8.js → ripgrep-jjk3mcr6.js} +55 -45
- package/dist/chunks/{usage-limits-kx1md14a.js → ripgrep-jsvd7yjj.js} +21 -21
- package/dist/chunks/{usage-limits-jtnps1zs.js → ripgrep-jtnps1zs.js} +2 -2
- package/dist/chunks/ripgrep-jztn5z23.js +18 -0
- package/dist/chunks/{usage-limits-scg71y9j.js → ripgrep-k1r1j926.js} +191 -185
- package/dist/chunks/{usage-limits-3d32z0b5.js → ripgrep-k28m6mdm.js} +12 -12
- package/dist/chunks/{usage-limits-8tzh5xhm.js → ripgrep-k7ngd8gp.js} +43 -43
- package/dist/chunks/{usage-limits-k814nvkf.js → ripgrep-k814nvkf.js} +1 -1
- package/dist/chunks/{usage-limits-1vbd3ct4.js → ripgrep-kd78bhya.js} +12 -12
- package/dist/chunks/{usage-limits-gp56a94q.js → ripgrep-kh5b5n0x.js} +11 -11
- package/dist/chunks/{usage-limits-13j1gyyz.js → ripgrep-khv4yf1p.js} +9 -9
- package/dist/chunks/{usage-limits-bh1et42v.js → ripgrep-kkew1p9e.js} +6 -6
- package/dist/chunks/{usage-limits-yyfxd43e.js → ripgrep-km92jeaq.js} +15 -15
- package/dist/chunks/{usage-limits-q6ygxmey.js → ripgrep-kn05yypj.js} +33 -33
- package/dist/chunks/{usage-limits-kt3bjfbg.js → ripgrep-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-0cf3qb1d.js → ripgrep-kz0q6sc1.js} +15 -15
- package/dist/chunks/{usage-limits-m1714858.js → ripgrep-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-9t0fkpz6.js → ripgrep-m8c2jzgg.js} +4 -4
- package/dist/chunks/{usage-limits-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-dtsc222h.js → ripgrep-med93trz.js} +4 -4
- package/dist/chunks/{usage-limits-367w5d4y.js → ripgrep-mh86pja4.js} +32 -32
- package/dist/chunks/{usage-limits-9vpabdem.js → ripgrep-mhvjr1t0.js} +11 -11
- package/dist/chunks/{usage-limits-6h925atx.js → ripgrep-mnjz2ecc.js} +30 -30
- package/dist/chunks/{usage-limits-b105tghx.js → ripgrep-mxbg502x.js} +41 -41
- package/dist/chunks/{usage-limits-9j3r59h4.js → ripgrep-n1ebme49.js} +7 -7
- package/dist/chunks/{usage-limits-ybzz5s2a.js → ripgrep-n441rgj1.js} +19 -19
- package/dist/chunks/{usage-limits-770pw0s1.js → ripgrep-nah043kf.js} +4 -4
- package/dist/chunks/{usage-limits-jvsyf4b3.js → ripgrep-ncqtsx5w.js} +21 -21
- package/dist/chunks/{usage-limits-7vfaawec.js → ripgrep-nfzcmjp8.js} +16 -16
- package/dist/chunks/{usage-limits-rdt1yync.js → ripgrep-nsxce02n.js} +2 -2
- package/dist/chunks/{usage-limits-p015t6z3.js → ripgrep-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-g3ywshqd.js → ripgrep-p7jhty20.js} +28 -28
- package/dist/chunks/{usage-limits-av7r0xpy.js → ripgrep-pbcm2cp0.js} +11 -11
- package/dist/chunks/{usage-limits-b3scgw80.js → ripgrep-pfj0xs0p.js} +21 -21
- package/dist/chunks/{usage-limits-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-c4etfrww.js → ripgrep-pt95v14f.js} +11 -11
- package/dist/chunks/{usage-limits-qkqjbc48.js → ripgrep-qkqjbc48.js} +1 -1
- package/dist/chunks/{usage-limits-yara3q77.js → ripgrep-qkw2jr9b.js} +2 -2
- package/dist/chunks/{usage-limits-hhw78a7m.js → ripgrep-qnghve6e.js} +8 -8
- package/dist/chunks/{usage-limits-qp7r0hxv.js → ripgrep-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-kd4chd64.js → ripgrep-qqg9c0kv.js} +7 -7
- package/dist/chunks/{usage-limits-f9hn68yc.js → ripgrep-qrg0trs5.js} +8 -8
- package/dist/chunks/{usage-limits-ywm7vzgw.js → ripgrep-qzm6q9ch.js} +6 -6
- package/dist/chunks/{usage-limits-r0yr0wbs.js → ripgrep-r0yr0wbs.js} +1 -1
- package/dist/chunks/{usage-limits-r542h3bh.js → ripgrep-r542h3bh.js} +1 -1
- package/dist/chunks/{usage-limits-j84x0xy0.js → ripgrep-r5493qw4.js} +19 -19
- package/dist/chunks/{usage-limits-rb9dy4dg.js → ripgrep-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-059hwyma.js → ripgrep-rfcwtbbn.js} +27 -27
- package/dist/chunks/{usage-limits-ny2pcf7q.js → ripgrep-rqynnb9h.js} +14 -14
- package/dist/chunks/{usage-limits-wd34wntp.js → ripgrep-rrjn135q.js} +22 -22
- package/dist/chunks/{usage-limits-9mw2y3qc.js → ripgrep-rsjqfdc9.js} +1 -1
- package/dist/chunks/{usage-limits-rt5dr6hb.js → ripgrep-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-7vafrntb.js → ripgrep-rvdapjqy.js} +11 -11
- package/dist/chunks/{usage-limits-9hsg88rw.js → ripgrep-rw0vxzvv.js} +13 -13
- package/dist/chunks/{usage-limits-dhf7nd60.js → ripgrep-s01r1pv0.js} +47 -47
- package/dist/chunks/{usage-limits-pb2rct2b.js → ripgrep-s2rjrqgv.js} +31 -31
- package/dist/chunks/{usage-limits-dsz7xbts.js → ripgrep-s6qcrcda.js} +43 -43
- package/dist/chunks/{usage-limits-rhf62axg.js → ripgrep-s7k6069s.js} +18 -18
- package/dist/chunks/{usage-limits-e0f2mwz6.js → ripgrep-s9j2kwh6.js} +122 -73
- package/dist/chunks/{usage-limits-sa3fpqfw.js → ripgrep-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-vhjvjnd9.js → ripgrep-smfe966e.js} +31 -31
- package/dist/chunks/{usage-limits-vnwmzs4a.js → ripgrep-sqbb0ctm.js} +5 -5
- package/dist/chunks/{usage-limits-sqjzf8x2.js → ripgrep-sqjzf8x2.js} +1 -1
- package/dist/chunks/{usage-limits-75jy3yfa.js → ripgrep-ssky9yg5.js} +4 -4
- package/dist/chunks/{usage-limits-svcy3p9a.js → ripgrep-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-6y263vp8.js → ripgrep-szcgc7h4.js} +5 -5
- package/dist/chunks/{usage-limits-0bb4mtzd.js → ripgrep-szez8t3h.js} +45 -45
- package/dist/chunks/{usage-limits-j8br37jf.js → ripgrep-t2yw8h65.js} +19 -19
- package/dist/chunks/{usage-limits-tczq8hjw.js → ripgrep-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-b1q5yrpf.js → ripgrep-tqf554py.js} +16 -16
- package/dist/chunks/{usage-limits-hfzn2qcz.js → ripgrep-tqgfaemp.js} +16 -16
- package/dist/chunks/{usage-limits-twssxy5n.js → ripgrep-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-d83ky4yz.js → ripgrep-v1stdd41.js} +23 -23
- package/dist/chunks/{usage-limits-v2r1d0zg.js → ripgrep-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-70kwrepz.js → ripgrep-v3vj6w0p.js} +37 -37
- package/dist/chunks/{usage-limits-ajwh8a2m.js → ripgrep-v4vw7d5e.js} +19 -19
- package/dist/chunks/{usage-limits-rafkt0z2.js → ripgrep-vbjqtebd.js} +11 -11
- package/dist/chunks/{usage-limits-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{usage-limits-zmwx25fz.js → ripgrep-vwvg46tm.js} +2 -2
- package/dist/chunks/{usage-limits-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-k8wsz496.js → ripgrep-w52ybf1s.js} +54 -54
- package/dist/chunks/{usage-limits-gw72g5rd.js → ripgrep-w5q9nec7.js} +55 -55
- package/dist/chunks/{usage-limits-w687dnns.js → ripgrep-w687dnns.js} +1 -1
- package/dist/chunks/{usage-limits-zebz0vxm.js → ripgrep-waaaz1pk.js} +87 -87
- package/dist/chunks/{usage-limits-786a3n23.js → ripgrep-wakh2edy.js} +18 -18
- package/dist/chunks/{usage-limits-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-4h11cdqv.js → ripgrep-wcxk9yeq.js} +8 -8
- package/dist/chunks/{usage-limits-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-bxvxsyd1.js → ripgrep-whpc6sfg.js} +3 -3
- package/dist/chunks/{usage-limits-v1thstnx.js → ripgrep-whwj36b7.js} +28 -28
- package/dist/chunks/{usage-limits-g1rb9a0a.js → ripgrep-wj35k8fd.js} +23 -23
- package/dist/chunks/{usage-limits-9cx9sm2q.js → ripgrep-wnhgecwx.js} +34 -3
- package/dist/chunks/{usage-limits-4b10zywb.js → ripgrep-wqwapjjj.js} +12 -12
- package/dist/chunks/{usage-limits-m0c6s6tz.js → ripgrep-wsh0m2bq.js} +22 -22
- package/dist/chunks/{usage-limits-06x5j3v9.js → ripgrep-wyyb2rea.js} +2 -2
- package/dist/chunks/{usage-limits-99xv457n.js → ripgrep-x2gs057w.js} +16 -16
- package/dist/chunks/{usage-limits-esmvgmdv.js → ripgrep-x3y1gccb.js} +25 -25
- package/dist/chunks/{usage-limits-x8nvjgx0.js → ripgrep-x8nvjgx0.js} +1 -1
- package/dist/chunks/{usage-limits-pv9367se.js → ripgrep-xbazz2d9.js} +11 -11
- package/dist/chunks/{usage-limits-bstexjd6.js → ripgrep-xd9cc171.js} +5 -5
- package/dist/chunks/{usage-limits-4pd4gjsb.js → ripgrep-xjzq7hnt.js} +13 -13
- package/dist/chunks/{usage-limits-b0snh2yy.js → ripgrep-xmdremne.js} +5 -5
- package/dist/chunks/{usage-limits-h04a6mba.js → ripgrep-xn661xyh.js} +23 -23
- package/dist/chunks/{usage-limits-19xpstvy.js → ripgrep-xsvyg0zg.js} +12 -12
- package/dist/chunks/{usage-limits-gtn9c16a.js → ripgrep-xt0z8zst.js} +4 -4
- package/dist/chunks/{usage-limits-aksnr6dh.js → ripgrep-xtd7xn7c.js} +15 -15
- package/dist/chunks/{usage-limits-d77k1mxa.js → ripgrep-y00x4xpa.js} +4 -4
- package/dist/chunks/{usage-limits-wqp5dnfd.js → ripgrep-y1eshr2q.js} +12 -12
- package/dist/chunks/{usage-limits-yb20nhc3.js → ripgrep-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-w2kjqv84.js → ripgrep-yby3zgg4.js} +2 -2
- package/dist/chunks/{usage-limits-1bfdjpda.js → ripgrep-yhnsyv94.js} +8 -8
- package/dist/chunks/{usage-limits-dw7w55f6.js → ripgrep-yjk9nwe0.js} +11 -11
- package/dist/chunks/{usage-limits-ety99mph.js → ripgrep-yzhzc5rz.js} +11 -11
- package/dist/chunks/{usage-limits-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{usage-limits-z38nccrw.js → ripgrep-z38nccrw.js} +1 -1
- package/dist/chunks/{usage-limits-as3mfafy.js → ripgrep-z83xd19b.js} +13 -13
- package/dist/chunks/{usage-limits-qdaz62qt.js → ripgrep-zegc5h6d.js} +15 -15
- package/dist/chunks/{usage-limits-7g056v1e.js → ripgrep-zgd7st2n.js} +29 -29
- package/dist/chunks/{usage-limits-zgkm4kzm.js → ripgrep-zgkm4kzm.js} +3 -3
- package/dist/chunks/{usage-limits-zgd8t41s.js → ripgrep-zh7bbm8x.js} +9 -9
- package/dist/chunks/{usage-limits-nw38f88x.js → ripgrep-zj9d1drk.js} +5 -5
- package/dist/chunks/{usage-limits-jpk5pzfk.js → ripgrep-znpwn00m.js} +6 -6
- 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 +91 -91
- package/dist/config/discovery.js +90 -90
- 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 +121 -121
- package/dist/config/plugin/command.js +219 -219
- 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 +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- 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 +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.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 +96 -96
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +125 -117
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- 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 +89 -89
- 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 +4 -2
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- 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 +121 -121
- 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 +106 -106
- 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 +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- 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 +2 -2
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -232
- 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 +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +162 -162
- 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 +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- 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 +155 -155
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +172 -172
- 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 +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +215 -215
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- 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 +156 -156
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +220 -220
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- 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 +12 -12
- package/dist/types/generate.d.ts +39 -7
- package/dist/types/model-resolver.d.ts +6 -1
- package/dist/types/model-retry.d.ts +2 -0
- package/dist/types/model.d.ts +3 -0
- package/dist/types/provider.d.ts +2 -0
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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/usage-limits-00ve6mdn.js +0 -18
- package/dist/chunks/usage-limits-38s79n5z.js +0 -257
- package/dist/chunks/usage-limits-fa1x4yc8.js +0 -82
- package/dist/chunks/usage-limits-fsr9be33.js +0 -26
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1jakw16s.js → ripgrep-1jakw16s.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4m86bj6y.js → ripgrep-4m86bj6y.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → ripgrep-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a058387c.js → ripgrep-a058387c.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → ripgrep-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → ripgrep-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → ripgrep-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → ripgrep-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-ncqqe42p.js → ripgrep-ncqqe42p.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → ripgrep-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service87,
|
|
3
|
-
node91
|
|
4
|
-
} from "./usage-limits-8k57k3bn.js";
|
|
5
1
|
import {
|
|
6
2
|
Service86,
|
|
7
3
|
node90
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-9mv4bqkt.js";
|
|
5
|
+
import {
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./ripgrep-tqf554py.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID10,
|
|
26
|
+
Info: () => Info21,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service65,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node68
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID10 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event14 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info21 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID10,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service65 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const db = (yield*
|
|
59
|
-
const bus = yield*
|
|
57
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
58
|
+
const db = (yield* Service86).db;
|
|
59
|
+
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info21({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service65.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info21({
|
|
95
|
+
id: input.id ?? ID10.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node68 = makeGlobalNode({ service: Service65, layer, deps: [node90, node89, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID10, OAuth3, Key4, External2, Value2, Event14, Info21, Service65, node68, exports_credential };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./ripgrep-2p6ra54c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info8,
|
|
9
|
+
ID4,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-8haq8m5n.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin9,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin9 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info8.make({
|
|
439
|
+
id: ID4.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info8.make({
|
|
446
|
+
id: ID4.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service59;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-g3dtbvmz.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make8 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make8();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-sqbb0ctm.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./ripgrep-9mv4bqkt.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-x8nvjgx0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./ripgrep-tqf554py.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-ep59zg61.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-gtgtppsz.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-d6x0x4gv.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info7,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service34,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
63
|
-
list: () =>
|
|
62
|
+
layer: () => layer17,
|
|
63
|
+
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make17,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node36,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info7,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service34 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
const database = yield*
|
|
189
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
|
+
const database = yield* Service86;
|
|
191
191
|
const db = database.db;
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service85;
|
|
193
193
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
194
194
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
195
195
|
if (existing === undefined)
|
|
@@ -206,7 +206,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -226,7 +226,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
226
226
|
}
|
|
227
227
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
228
228
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
229
|
-
const pending = (yield*
|
|
229
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
230
230
|
if (pending)
|
|
231
231
|
return pending;
|
|
232
232
|
return yield* admit({
|
|
@@ -251,7 +251,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
251
251
|
delivery: "queue"
|
|
252
252
|
})));
|
|
253
253
|
return {
|
|
254
|
-
list: (sessionID) =>
|
|
254
|
+
list: (sessionID) => list3(db, sessionID),
|
|
255
255
|
reconcile,
|
|
256
256
|
admit,
|
|
257
257
|
admitCompaction,
|
|
@@ -260,8 +260,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer17 = Layer.effect(Service34, make17());
|
|
264
|
+
var node36 = makeGlobalNode({ service: Service34, layer: layer17, deps: [node90, node89] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
310
310
|
to: input.delivery
|
|
311
311
|
}));
|
|
312
312
|
var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
313
|
-
var
|
|
313
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
314
314
|
return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
|
|
315
315
|
});
|
|
316
316
|
var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service34, make17, layer17, node36, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./ripgrep-2p6ra54c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service7
|
|
7
|
+
} from "./ripgrep-szez8t3h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/compaction.ts
|
|
16
16
|
var exports_compaction = {};
|
|
17
17
|
__export(exports_compaction, {
|
|
18
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.compaction",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service59;
|
|
27
|
+
const compaction = yield* Service7;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
29
29
|
yield* compaction.transform((editor) => {
|
|
30
30
|
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.background_compaction === true });
|
|
@@ -41,4 +41,4 @@ var Plugin35 = define({
|
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { Plugin19, exports_compaction };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-tqf554py.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-ar2j3j0f.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service64,
|
|
15
|
+
node67,
|
|
16
|
+
Event13
|
|
17
|
+
} from "./ripgrep-zgd7st2n.js";
|
|
18
18
|
import {
|
|
19
19
|
Service83,
|
|
20
20
|
node87
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-wyyb2rea.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider3, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event12,
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info18,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service63,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node66,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -324,8 +324,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
324
324
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
325
325
|
|
|
326
326
|
// src/provider.ts
|
|
327
|
-
import { Event as
|
|
328
|
-
var
|
|
327
|
+
import { Event as Event12 } from "@opencode/schema/provider";
|
|
328
|
+
var ID8 = Provider.ID;
|
|
329
329
|
var AISDK_PREFIX2 = "aisdk:";
|
|
330
330
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
331
331
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -572,9 +572,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
572
572
|
var Cache2 = Provider.Cache;
|
|
573
573
|
var Transport2 = Provider.Transport;
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
|
-
var
|
|
575
|
+
var Info18 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service63 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,9 +587,9 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
591
|
-
const bus = yield*
|
|
592
|
-
const integrations = yield*
|
|
590
|
+
var layer = Layer.effect(Service63, Effect2.gen(function* () {
|
|
591
|
+
const bus = yield* Service85;
|
|
592
|
+
const integrations = yield* Service64;
|
|
593
593
|
const location = yield* Service83;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
@@ -601,7 +601,7 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
601
601
|
const current = records.get(id);
|
|
602
602
|
if (current)
|
|
603
603
|
return current;
|
|
604
|
-
const added = { provider:
|
|
604
|
+
const added = { provider: Info18.empty(id), models: new Map };
|
|
605
605
|
records.set(id, added);
|
|
606
606
|
maps.add(added.models);
|
|
607
607
|
return added;
|
|
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
682
682
|
const available = Array.from(records.values()).filter((record) => {
|
|
683
683
|
if (record.provider.activation === "disabled")
|
|
684
684
|
return false;
|
|
685
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
685
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
686
686
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
687
687
|
return false;
|
|
688
688
|
if (record.provider.activation === "enabled")
|
|
@@ -708,8 +708,8 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
708
708
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
|
-
yield* bus.subscribe([
|
|
712
|
-
return
|
|
711
|
+
yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
+
return Service63.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var
|
|
721
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [node89, node67, node87] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info18, Service63, node66, exports_provider3, Event12 };
|