@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service64,
|
|
4
|
+
node67
|
|
5
|
+
} from "./ripgrep-zgd7st2n.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service63,
|
|
19
|
+
node66
|
|
20
|
+
} from "./ripgrep-mnjz2ecc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service53,
|
|
23
|
+
node56
|
|
24
|
+
} from "./ripgrep-wqwapjjj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID7,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service62,
|
|
30
|
+
node65,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-bwsv21wr.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,26 +41,34 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service52,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node55,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
|
-
import {
|
|
57
|
+
import {
|
|
58
|
+
DecisionModel,
|
|
59
|
+
DecisionModelCompatibility,
|
|
60
|
+
DecisionModelSchema,
|
|
61
|
+
HttpOptions,
|
|
62
|
+
ImageModelSchema,
|
|
63
|
+
LanguageModel,
|
|
64
|
+
ProviderConfigurationError
|
|
65
|
+
} from "@opencode/ai/effect";
|
|
58
66
|
import { Auth, mergeHttpOptions } from "@opencode/ai/route";
|
|
59
67
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
68
|
import { Npm } from "@opencode/util/npm";
|
|
61
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
70
|
+
providerID: ID8,
|
|
71
|
+
modelID: ID7,
|
|
64
72
|
variant: VariantID2
|
|
65
73
|
}) {
|
|
66
74
|
get message() {
|
|
@@ -69,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
80
|
+
providerID: ID8,
|
|
81
|
+
modelID: ID7,
|
|
74
82
|
package: Schema.String
|
|
75
83
|
}) {
|
|
76
84
|
get message() {
|
|
@@ -80,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
88
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
89
|
|
|
82
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
91
|
+
providerID: ID8,
|
|
92
|
+
modelID: ID7,
|
|
85
93
|
package: Schema.String,
|
|
86
94
|
detail: Schema.String
|
|
87
95
|
}) {
|
|
@@ -91,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
102
|
+
providerID: ID8,
|
|
103
|
+
modelID: ID7,
|
|
96
104
|
package: Schema.String,
|
|
97
105
|
phase: InitializationPhase2,
|
|
98
106
|
detail: Schema.String
|
|
@@ -103,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
111
|
}
|
|
104
112
|
|
|
105
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
114
|
+
providerID: ID8,
|
|
115
|
+
modelID: ID7,
|
|
108
116
|
variables: Schema.Array(Schema.String)
|
|
109
117
|
}) {
|
|
110
118
|
get message() {
|
|
@@ -113,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
121
|
}
|
|
114
122
|
|
|
115
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
124
|
+
providerID: ID8,
|
|
125
|
+
modelID: ID7,
|
|
118
126
|
route: Schema.String
|
|
119
127
|
}) {
|
|
120
128
|
get message() {
|
|
@@ -122,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
130
|
}
|
|
123
131
|
}
|
|
124
132
|
|
|
125
|
-
class
|
|
133
|
+
class Service52 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
134
|
}
|
|
127
135
|
var withVariant2 = (model, variantID) => {
|
|
128
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -146,9 +154,8 @@ var fromCatalogModel2 = (model, credential, dependencies) => resolveCatalogModel
|
|
|
146
154
|
return Effect.fail(new UnsupportedCompactionError2({ providerID: model.providerID, modelID: model.id, route: resolved.route.id }));
|
|
147
155
|
}));
|
|
148
156
|
var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(function* (model, credential, dependencies) {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
if (isAISDK2(resolved.package)) {
|
|
157
|
+
if (isAISDK2(model.package)) {
|
|
158
|
+
const resolved = prepareRuntimeModel(model);
|
|
152
159
|
const loadAISDK = dependencies?.loadAISDK;
|
|
153
160
|
if (!loadAISDK)
|
|
154
161
|
return yield* unsupported(resolved);
|
|
@@ -158,18 +165,7 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
|
|
|
158
165
|
}) ?? {});
|
|
159
166
|
return yield* loadAISDK({ ...resolved, settings }).pipe(Effect.mapError((error) => initialization(resolved, "init", error.cause)));
|
|
160
167
|
}
|
|
161
|
-
const
|
|
162
|
-
if (!specifier)
|
|
163
|
-
return yield* unsupported(resolved);
|
|
164
|
-
const mapped = yield* prepareProviderSettings(resolved, nativeSettings2(configured));
|
|
165
|
-
const module = yield* (dependencies?.loadPackage ?? loadPackage2)(specifier).pipe(Effect.mapError((error) => initialization(resolved, "load", error.cause)));
|
|
166
|
-
const settings = {
|
|
167
|
-
...credential ? Struct.omit(mapped, ["accessToken", "apiKey", "authToken"]) : mapped,
|
|
168
|
-
...resolved.canonical === undefined ? {} : { provider: resolved.canonical },
|
|
169
|
-
...nativeCredentialSettings(resolved, specifier, credential),
|
|
170
|
-
headers: resolved.headers,
|
|
171
|
-
body: resolved.body
|
|
172
|
-
};
|
|
168
|
+
const { resolved, configured, module, settings } = yield* loadCatalogPackage(model, credential, dependencies);
|
|
173
169
|
return yield* Effect.try({
|
|
174
170
|
try: () => {
|
|
175
171
|
const runtime = module.model(resolved.modelID ?? resolved.id, settings);
|
|
@@ -182,14 +178,49 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
|
|
|
182
178
|
}
|
|
183
179
|
});
|
|
184
180
|
},
|
|
185
|
-
catch: (cause) => cause
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
181
|
+
catch: (cause) => constructionError(resolved, cause)
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
var loadCatalogPackage = Effect.fn("ModelResolver.loadCatalogPackage")(function* (model, credential, dependencies) {
|
|
185
|
+
const resolved = prepareRuntimeModel(model);
|
|
186
|
+
const configured = { ...resolved.settings, ...credential?.metadata };
|
|
187
|
+
const specifier = packageName2(resolved.package);
|
|
188
|
+
if (!specifier || isAISDK2(specifier))
|
|
189
|
+
return yield* unsupported(resolved);
|
|
190
|
+
const mapped = yield* prepareProviderSettings(resolved, nativeSettings2(configured));
|
|
191
|
+
const module = yield* (dependencies?.loadPackage ?? loadPackage2)(specifier).pipe(Effect.mapError((error) => initialization(resolved, "load", error.cause)));
|
|
192
|
+
const settings = {
|
|
193
|
+
...credential ? Struct.omit(mapped, ["accessToken", "apiKey", "authToken"]) : mapped,
|
|
194
|
+
...resolved.canonical === undefined ? {} : { provider: resolved.canonical },
|
|
195
|
+
...nativeCredentialSettings(resolved, specifier, credential),
|
|
196
|
+
headers: resolved.headers,
|
|
197
|
+
body: resolved.body
|
|
198
|
+
};
|
|
199
|
+
return { resolved, configured, module, settings };
|
|
200
|
+
});
|
|
201
|
+
var fromCatalogMedia = Effect.fn("ModelResolver.fromCatalogMedia")(function* (model, is, credential, dependencies) {
|
|
202
|
+
const { resolved, module, settings } = yield* loadCatalogPackage(model, credential, dependencies);
|
|
203
|
+
const runtime = yield* Effect.try({
|
|
204
|
+
try: () => module.model(resolved.modelID ?? resolved.id, settings),
|
|
205
|
+
catch: (cause) => constructionError(resolved, cause)
|
|
191
206
|
});
|
|
207
|
+
const mediaInput = resolved.compatibility?.mediaInput;
|
|
208
|
+
const adapted = runtime instanceof DecisionModel && mediaInput !== undefined ? new DecisionModel({
|
|
209
|
+
...runtime,
|
|
210
|
+
compatibility: DecisionModelCompatibility.make({ ...runtime.compatibility, mediaInput })
|
|
211
|
+
}) : runtime;
|
|
212
|
+
if (!is(adapted))
|
|
213
|
+
return yield* unsupported(resolved);
|
|
214
|
+
return adapted;
|
|
192
215
|
});
|
|
216
|
+
var constructionError = (model, cause) => cause instanceof ProviderConfigurationError ? new ModelConfigurationError2({
|
|
217
|
+
providerID: model.providerID,
|
|
218
|
+
modelID: model.id,
|
|
219
|
+
package: model.package ?? "unknown",
|
|
220
|
+
detail: cause.message
|
|
221
|
+
}) : initialization(model, "construct", cause);
|
|
222
|
+
var isImageModel = Schema.is(ImageModelSchema);
|
|
223
|
+
var isDecisionModel = Schema.is(DecisionModelSchema);
|
|
193
224
|
function prepareRuntimeModel(model) {
|
|
194
225
|
if (model.settings?.apiKey !== "")
|
|
195
226
|
return model;
|
|
@@ -234,7 +265,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
265
|
return tokenSettings(specifier, credential.access);
|
|
235
266
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
267
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
268
|
+
if (model.providerID === ID8.azure)
|
|
238
269
|
return tokenSettings(specifier, "azure-cli");
|
|
239
270
|
return {};
|
|
240
271
|
};
|
|
@@ -269,25 +300,30 @@ var causeMessage = (cause) => {
|
|
|
269
300
|
};
|
|
270
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
303
|
+
var layer24 = Layer.effect(Service52, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service63;
|
|
305
|
+
const models = yield* Service62;
|
|
306
|
+
const integrations = yield* Service64;
|
|
276
307
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
278
|
-
const
|
|
308
|
+
const aisdk = yield* Service53;
|
|
309
|
+
const dependencies = {
|
|
310
|
+
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
|
+
loadAISDK: (model) => aisdk.model(model)
|
|
312
|
+
};
|
|
313
|
+
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
279
314
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
315
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
281
316
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
317
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
318
|
const runtimeInfo = {
|
|
284
319
|
...selectedVariant,
|
|
285
320
|
settings: mergeOverlay2(provider?.settings, modelSettings2(selectedVariant.settings))
|
|
286
321
|
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
});
|
|
322
|
+
return { provider, credential, runtimeInfo };
|
|
323
|
+
});
|
|
324
|
+
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
325
|
+
const { provider, credential, runtimeInfo } = yield* prepare(selected, variant);
|
|
326
|
+
const model = yield* fromCatalogModel2(runtimeInfo, credential, dependencies);
|
|
291
327
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
292
328
|
return {
|
|
293
329
|
model: runtime,
|
|
@@ -305,14 +341,27 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
305
341
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
342
|
};
|
|
307
343
|
});
|
|
308
|
-
|
|
344
|
+
const loadMedia = Effect.fnUntraced(function* (ref, type, is) {
|
|
345
|
+
const info = (yield* models.available([type])).find((model) => model.providerID === ref.providerID && model.id === ref.id);
|
|
346
|
+
if (!info)
|
|
347
|
+
return;
|
|
348
|
+
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
|
+
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
|
+
});
|
|
351
|
+
return Service52.of({
|
|
309
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
354
|
if (!selected)
|
|
312
355
|
return;
|
|
313
356
|
return yield* load(selected, requested?.variant);
|
|
314
357
|
}),
|
|
315
|
-
resolveModel: load
|
|
358
|
+
resolveModel: load,
|
|
359
|
+
resolveImage: Effect.fn("ModelResolver.resolveImage")(function* (ref) {
|
|
360
|
+
return yield* loadMedia(ref, "image", isImageModel);
|
|
361
|
+
}),
|
|
362
|
+
resolveDecision: Effect.fn("ModelResolver.resolveDecision")(function* (ref) {
|
|
363
|
+
return yield* loadMedia(ref, "decision", isDecisionModel);
|
|
364
|
+
})
|
|
316
365
|
});
|
|
317
366
|
}));
|
|
318
367
|
function hasConfiguredAuth(model) {
|
|
@@ -322,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
371
|
const name = packageName2(packageName);
|
|
323
372
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
373
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
374
|
+
var node55 = makeLocationNode({
|
|
375
|
+
service: Service52,
|
|
376
|
+
layer: layer24,
|
|
377
|
+
deps: [node66, node65, node67, Npm.node, node56]
|
|
329
378
|
});
|
|
330
379
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
380
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node55, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-tqf554py.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-56hhdn6r.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service15,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available3,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured2,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
node: () => node18
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Global } from "@opencode/util/global";
|
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
37
|
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service15 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
59
59
|
const runFork = Effect.runForkWith(context);
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service15.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
265
|
-
deps: [
|
|
261
|
+
var layer10 = makeLayer();
|
|
262
|
+
var configured2 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service15,
|
|
264
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
265
|
+
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node18 = configured2();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options2, UnavailableError3, NotFoundError3, Service15, layer10, configured2, node18, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-mnjz2ecc.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-bwsv21wr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info13 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info16 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info13, exports_provider2 };
|