mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 02:36:57 -04:00
8 lines
299 B
TypeScript
8 lines
299 B
TypeScript
import { Image } from "@opencode-ai/core/image"
|
|
import { Effect, Layer } from "effect"
|
|
|
|
/** Passthrough resizer for tests that build ToolRegistry.node without a Location. */
|
|
export const imagePassthrough = Layer.mock(Image.Service, {
|
|
normalize: (_resource, content) => Effect.succeed(content),
|
|
})
|