|
|
@@ -10926,25 +10926,6 @@
|
|
|
"type": "string",
|
|
|
"enum": ["ask", "allow", "deny"]
|
|
|
},
|
|
|
- "PermissionObjectConfig": {
|
|
|
- "type": "object",
|
|
|
- "propertyNames": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "additionalProperties": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- }
|
|
|
- },
|
|
|
- "PermissionRuleConfig": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/PermissionObjectConfig"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
"PermissionConfig": {
|
|
|
"anyOf": [
|
|
|
{
|
|
|
@@ -10952,58 +10933,24 @@
|
|
|
},
|
|
|
{
|
|
|
"type": "object",
|
|
|
- "properties": {
|
|
|
- "read": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "edit": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "glob": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "grep": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "list": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "bash": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "task": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "external_directory": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "todowrite": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- "question": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- "webfetch": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- "websearch": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- "codesearch": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- "lsp": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- },
|
|
|
- "doom_loop": {
|
|
|
- "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
- },
|
|
|
- "skill": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
- }
|
|
|
+ "propertyNames": {
|
|
|
+ "type": "string"
|
|
|
},
|
|
|
"additionalProperties": {
|
|
|
- "$ref": "#/components/schemas/PermissionRuleConfig"
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "object",
|
|
|
+ "propertyNames": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "additionalProperties": {
|
|
|
+ "$ref": "#/components/schemas/PermissionActionConfig"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
}
|
|
|
]
|