42 lines
1.8 KiB
JSON
42 lines
1.8 KiB
JSON
{
|
|
"id": "whispergate",
|
|
"name": "WhisperGate",
|
|
"version": "0.1.0",
|
|
"description": "Rule-based no-reply gate with provider/model override",
|
|
"entry": "./index.ts",
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"enabled": { "type": "boolean", "default": true },
|
|
"discordOnly": { "type": "boolean", "default": true },
|
|
"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": {}
|
|
},
|
|
"bypassUserIds": { "type": "array", "items": { "type": "string" }, "default": [] },
|
|
"endSymbols": { "type": "array", "items": { "type": "string" }, "default": ["🔚"] },
|
|
"noReplyProvider": { "type": "string" },
|
|
"noReplyModel": { "type": "string" },
|
|
"enableDiscordControlTool": { "type": "boolean", "default": true },
|
|
"discordControlApiBaseUrl": { "type": "string", "default": "http://127.0.0.1:8790" },
|
|
"discordControlApiToken": { "type": "string" },
|
|
"discordControlCallerId": { "type": "string" }
|
|
},
|
|
"required": ["noReplyProvider", "noReplyModel"]
|
|
}
|
|
}
|