chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-18 16:00:01 +00:00
parent 9918f389e7
commit c5c38cad9c
2 changed files with 6 additions and 5 deletions

View File

@@ -78,7 +78,11 @@ export const ReadTool = Tool.define(
yield* lsp.touchFile(filepath, false).pipe(Effect.ignore, Effect.forkIn(scope))
})
const readSample = Effect.fn("ReadTool.readSample")(function* (filepath: string, fileSize: number, sampleSize: number) {
const readSample = Effect.fn("ReadTool.readSample")(function* (
filepath: string,
fileSize: number,
sampleSize: number,
) {
if (fileSize === 0) return new Uint8Array()
return yield* Effect.scoped(