refine: cleanup remaining whispergate refs, improve docs and TASKLIST formatting
- Fix enableWhispergatePolicyTool → enableDirigentPolicyTool in config schema and example - Fix whisper-gateway → dirigentway in install script - Add v0.2.0 changelog entry - Improve README with scheduling identifier docs and English text - Clean up plugin README with moderator handoff format docs - Reformat TASKLIST with cleaner done markers
This commit is contained in:
@@ -4,9 +4,7 @@
|
||||
|
||||
- `message:received` caches a per-session decision from deterministic rules.
|
||||
- `before_model_resolve` applies `providerOverride + modelOverride` when decision says no-reply.
|
||||
- `before_prompt_build` prepends instruction `你的这次发言必须以🔚作为结尾。` when decision is:
|
||||
- `bypass_sender`
|
||||
- `end_symbol:*`
|
||||
- `before_prompt_build` prepends end-marker instruction + scheduling identifier instruction when decision allows speaking.
|
||||
|
||||
## Rules (in order)
|
||||
|
||||
@@ -30,12 +28,14 @@ Optional:
|
||||
- `humanList` (default [])
|
||||
- `agentList` (default [])
|
||||
- `channelPoliciesFile` (per-channel overrides in a standalone JSON file)
|
||||
- `enableWhispergatePolicyTool` (default true)
|
||||
- `schedulingIdentifier` (default `➡️`) — moderator handoff identifier
|
||||
- `enableDirigentPolicyTool` (default true)
|
||||
|
||||
Unified optional tool:
|
||||
- `dirigent_tools`
|
||||
- Discord actions: `channel-private-create`, `channel-private-update`, `member-list`
|
||||
- Policy actions: `policy-get`, `policy-set-channel`, `policy-delete-channel`
|
||||
- Turn actions: `turn-status`, `turn-advance`, `turn-reset`
|
||||
- `bypassUserIds` (deprecated alias of `humanList`)
|
||||
- `endSymbols` (default ["🔚"])
|
||||
- `enableDiscordControlTool` (default true)
|
||||
@@ -53,18 +53,21 @@ Policy file behavior:
|
||||
- direct file edits do NOT affect memory state
|
||||
- `dirigent_tools` policy actions update memory first, then persist to file (atomic write)
|
||||
|
||||
## Optional tool: `dirigent_tools`
|
||||
## Moderator handoff format
|
||||
|
||||
This plugin registers one unified optional tool: `dirigent_tools`.
|
||||
To use it, add tool allowlist entry for either:
|
||||
- tool name: `dirigent_tools`
|
||||
- plugin id: `dirigent`
|
||||
When the current speaker NO_REPLYs, the moderator bot sends: `<@NEXT_USER_ID>➡️`
|
||||
|
||||
Supported actions:
|
||||
- Discord: `channel-private-create`, `channel-private-update`, `member-list`
|
||||
- Policy: `policy-get`, `policy-set-channel`, `policy-delete-channel`
|
||||
This is a non-semantic scheduling message. The scheduling identifier (`➡️` by default) carries no meaning — it simply signals the next agent to check chat history and decide whether to speak.
|
||||
|
||||
## Slash command (Discord)
|
||||
|
||||
```
|
||||
/dirigent status
|
||||
/dirigent turn-status
|
||||
/dirigent turn-advance
|
||||
/dirigent turn-reset
|
||||
```
|
||||
|
||||
Debug logging:
|
||||
- set `enableDebugLogs: true` to emit detailed hook diagnostics
|
||||
- optionally set `debugLogChannelIds` to only log selected channel IDs
|
||||
- logs include key ctx fields + decision status at `message_received`, `before_model_resolve`, `before_prompt_build`
|
||||
|
||||
Reference in New Issue
Block a user