mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-22 08:59:26 -10:00
Co-authored-by: R44VC0RP <[email protected]> Co-authored-by: nexxeln <[email protected]> Co-authored-by: thdxr <[email protected]>
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)
|