refactor(tooling): merge discord_control and whispergate_policy into whispergateway_tools
This commit is contained in:
@@ -31,6 +31,11 @@ Optional:
|
||||
- `agentList` (default [])
|
||||
- `channelPoliciesFile` (per-channel overrides in a standalone JSON file)
|
||||
- `enableWhispergatePolicyTool` (default true)
|
||||
|
||||
Unified optional tool:
|
||||
- `whispergateway_tools`
|
||||
- Discord actions: `channel-private-create`, `channel-private-update`, `member-list`
|
||||
- Policy actions: `policy-get`, `policy-set-channel`, `policy-delete-channel`
|
||||
- `bypassUserIds` (deprecated alias of `humanList`)
|
||||
- `endSymbols` (default ["🔚"])
|
||||
- `enableDiscordControlTool` (default true)
|
||||
@@ -44,16 +49,15 @@ Policy file behavior:
|
||||
- loaded once on startup into memory
|
||||
- runtime decisions read memory state only
|
||||
- direct file edits do NOT affect memory state
|
||||
- `whispergate_policy` tool updates memory first, then persists to file (atomic write)
|
||||
- `whispergateway_tools` policy actions update memory first, then persist to file (atomic write)
|
||||
|
||||
## Optional tool: `discord_control`
|
||||
## Optional tool: `whispergateway_tools`
|
||||
|
||||
This plugin now registers an optional tool named `discord_control`.
|
||||
This plugin registers one unified optional tool: `whispergateway_tools`.
|
||||
To use it, add tool allowlist entry for either:
|
||||
- tool name: `discord_control`
|
||||
- tool name: `whispergateway_tools`
|
||||
- plugin id: `whispergate`
|
||||
|
||||
Supported actions:
|
||||
- `channel-private-create`
|
||||
- `channel-private-update`
|
||||
- `member-list`
|
||||
- Discord: `channel-private-create`, `channel-private-update`, `member-list`
|
||||
- Policy: `policy-get`, `policy-set-channel`, `policy-delete-channel`
|
||||
|
||||
Reference in New Issue
Block a user