mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 10:18:46 +03:00
feat(core): stabilize top-level policies config (#55297)
This commit is contained in:
committed by
GitHub
Unverified
parent
1c28c2fec5
commit
f576da508d
@@ -2154,6 +2154,11 @@ export type ConfigEntry =
|
||||
enterprise?: { url?: string }
|
||||
username?: string
|
||||
permissions?: PermissionRuleset
|
||||
policies?: Array<{
|
||||
action: "provider.use" | "tool.use" | "integration.use"
|
||||
resource: string
|
||||
effect: "allow" | "deny"
|
||||
}>
|
||||
agents?: {
|
||||
[x: string]: {
|
||||
model?: string | { providerID: string; model: string; variant?: string }
|
||||
|
||||
Reference in New Issue
Block a user