chore: generate

This commit is contained in:
opencode-agent[bot] 2026-08-16 06:39:30 +00:00
parent b080f216a5
commit 174c0a742c

View file

@ -95,7 +95,9 @@ function provide(node: Spec.Any, handlers: ReadonlyArray<LazyHandler>): Provided
const target = path.resolve(cpuProfile)
const previous = process.env.OPENCODE_CPU_PROFILE
process.env.OPENCODE_CPU_PROFILE = target
return yield* (node.name === "serve" ? CpuProfile.run(target, module.default(input)) : module.default(input)).pipe(
return yield* (
node.name === "serve" ? CpuProfile.run(target, module.default(input)) : module.default(input)
).pipe(
Effect.ensuring(
Effect.sync(() => {
if (previous === undefined) delete process.env.OPENCODE_CPU_PROFILE