feat(policy-file): move channel overrides to standalone channelPoliciesFile with hot reload
This commit is contained in:
@@ -13,20 +13,7 @@
|
||||
"listMode": { "type": "string", "enum": ["human-list", "agent-list"], "default": "human-list" },
|
||||
"humanList": { "type": "array", "items": { "type": "string" }, "default": [] },
|
||||
"agentList": { "type": "array", "items": { "type": "string" }, "default": [] },
|
||||
"channelPolicies": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"listMode": { "type": "string", "enum": ["human-list", "agent-list"] },
|
||||
"humanList": { "type": "array", "items": { "type": "string" } },
|
||||
"agentList": { "type": "array", "items": { "type": "string" } },
|
||||
"endSymbols": { "type": "array", "items": { "type": "string" } }
|
||||
}
|
||||
},
|
||||
"default": {}
|
||||
},
|
||||
"channelPoliciesFile": { "type": "string", "default": "~/.openclaw/whispergate-channel-policies.json" },
|
||||
"bypassUserIds": { "type": "array", "items": { "type": "string" }, "default": [] },
|
||||
"endSymbols": { "type": "array", "items": { "type": "string" }, "default": ["🔚"] },
|
||||
"noReplyProvider": { "type": "string" },
|
||||
|
||||
Reference in New Issue
Block a user