@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-x8nvjgx0.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service87,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node91
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service87 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -777,7 +777,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
777
777
|
kind: index === 0 ? "main" : "linked"
|
|
778
778
|
}));
|
|
779
779
|
});
|
|
780
|
-
return
|
|
780
|
+
return Service87.of({
|
|
781
781
|
repo: { discover, fingerprint, clone, create },
|
|
782
782
|
remote: { get: remote },
|
|
783
783
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -794,7 +794,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
794
794
|
objects: { pack: packObjects }
|
|
795
795
|
});
|
|
796
796
|
}));
|
|
797
|
-
var
|
|
797
|
+
var node91 = makeGlobalNode({ service: Service87, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
798
798
|
function run(cwd, proc, args) {
|
|
799
799
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
800
800
|
}
|
|
@@ -861,4 +861,4 @@ function resolvePath(cwd, value) {
|
|
|
861
861
|
return path.resolve(cwd, normalized);
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
864
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service87, node91, exports_git3 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./ripgrep-tqf554py.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-wyyb2rea.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-4m70se6x.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service42,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node44
|
|
20
|
+
} from "./ripgrep-56hhdn6r.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service58,
|
|
23
|
+
node61
|
|
24
|
+
} from "./ripgrep-bxe7n28z.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service40,
|
|
27
|
+
node42
|
|
28
|
+
} from "./ripgrep-wcxk9yeq.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-8whp40kv.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service59,
|
|
35
|
+
node62
|
|
36
|
+
} from "./ripgrep-2p6ra54c.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-rvdapjqy.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service39,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node41
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service39 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
91
|
-
const bus = yield*
|
|
90
|
+
var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
91
|
+
const bus = yield* Service85;
|
|
92
92
|
const location = yield* Service83;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
94
|
+
const shell = yield* Service42;
|
|
95
95
|
const environment = yield* Service81;
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
96
|
+
const hooks = yield* Service58;
|
|
97
|
+
const environments = yield* Service40;
|
|
98
|
+
const config = yield* Service59;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service39.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node41 = makeLocationNode({
|
|
342
|
+
service: Service39,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
|
-
|
|
345
|
+
node89,
|
|
346
346
|
node87,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
348
|
+
node44,
|
|
349
349
|
node84,
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
node61,
|
|
351
|
+
node42,
|
|
352
|
+
node62,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service39, cleanup2, node41, exports_shell4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dfsm4808.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint6
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin6 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin8 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin8 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint6, Plugin6, exports_tinyfish };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-wyyb2rea.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./ripgrep-2p6ra54c.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-s2rjrqgv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin26
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin26 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service59;
|
|
35
35
|
const location = yield* Service83;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin26, exports_reference };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dfsm4808.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin3,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin3 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin4 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin3, exports_firecrawl };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-8whp40kv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-k28m6mdm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./ripgrep-cy5ayqt4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./ripgrep-v4vw7d5e.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info25,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-gw22fdws.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin41,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin41 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service45;
|
|
104
|
+
const permission = yield* Service55;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin21 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info25,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin41, exports_opencode };
|