image.ts 291 B

1234567
  1. import { Image } from "@opencode-ai/core/image"
  2. import { Effect, Layer } from "effect"
  3. /** Passthrough resizer for tests that build Tool.node without a Location. */
  4. export const imagePassthrough = Layer.mock(Image.Service, {
  5. normalize: (_resource, content) => Effect.succeed(content),
  6. })