mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-28 06:20:15 -04:00
0fd719067d
Co-authored-by: R44VC0RP <R44VC0RP@users.noreply.github.com> Co-authored-by: nexxeln <nexxeln@users.noreply.github.com> Co-authored-by: thdxr <thdxr@users.noreply.github.com>
6 lines
216 B
TypeScript
6 lines
216 B
TypeScript
import { Permission } from "@opencode-ai/core/permission"
|
|
import { Layer } from "effect"
|
|
|
|
export const permissionLayer = (overrides: Partial<Permission.Interface> = {}) =>
|
|
Layer.mock(Permission.Service, overrides)
|