feat: wait for human reply (waitIdentifier 👤)
- Add waitIdentifier config (default: 👤) to DirigentConfig and plugin schema - Prompt injection: tells agents to end with 👤 when they need a human reply, warns to use sparingly (only when human is actively participating) - Detection in before_message_write and message_sent hooks - Turn manager: new waitingForHuman state - checkTurn() blocks all agents when waiting - onNewMessage() clears state on human message - Non-human messages ignored while waiting - resetTurn() also clears waiting state - All agents routed to no-reply model during waiting state - Update docs (FEAT.md, CHANGELOG.md, TASKLIST.md, README.md)
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
- Agents cycle in their original turn-order position
|
||||
- After all mentioned agents have spoken, original order restores and state goes dormant
|
||||
- Handles edge cases: all NO_REPLY, reset, non-agent mentions
|
||||
- **Wait for human reply**: New `waitIdentifier` (default: `👤`):
|
||||
- Agent ends with `👤` to signal it needs a human response
|
||||
- All agents go silent (routed to no-reply model) until a human speaks
|
||||
- Prompt injection warns agents to use sparingly (only when human is actively participating)
|
||||
- **Installer improvements**:
|
||||
- Dynamic OpenClaw dir resolution (`$OPENCLAW_DIR` → `openclaw` CLI → `~/.openclaw`)
|
||||
- Plugin installed to `$(openclaw_dir)/plugins/dirigent`
|
||||
|
||||
Reference in New Issue
Block a user