Files
Dirigent/docs/INTEGRATION.md
zhi af33d747d9 feat: complete Dirigent rename + all TASKLIST items
- Task 1: Identity prompt now includes Discord userId
- Task 2: Added configurable schedulingIdentifier (default: ➡️)
- Task 3: Moderator handoff uses <@userId>+identifier instead of semantic messages
- Task 4: All prompts/comments/help text converted to English
- Task 5: Full project rename WhisperGate → Dirigent across all files

Breaking: config key changed from plugins.entries.whispergate to plugins.entries.dirigent
Breaking: channel policies file renamed to dirigent-channel-policies.json
Breaking: tool name changed from whispergate_tools to dirigent_tools
2026-03-03 10:10:27 +00:00

2.4 KiB

Dirigent Integration (No-touch Template)

This guide does not change your current OpenClaw config automatically. It only generates a JSON snippet you can review.

Generate config snippet

node scripts/render-openclaw-config.mjs \
  /absolute/path/to/Dirigent/plugin \
  openai \
  dirigent-no-reply-v1 \
  561921120408698910

Arguments:

  1. plugin path
  2. provider alias
  3. model name
  4. bypass user ids (comma-separated, optional)

Output

The script prints JSON for:

  • plugins.load.paths
  • plugins.entries.dirigent.config

You can merge this snippet manually into your openclaw.json.

Installer script (with rollback)

For production-like install with automatic rollback on error (Node-only installer):

node ./scripts/install-dirigent-openclaw.mjs --install
# or wrapper
./scripts/install-dirigent-openclaw.sh --install

Uninstall (revert all recorded config changes):

node ./scripts/install-dirigent-openclaw.mjs --uninstall
# or wrapper
./scripts/install-dirigent-openclaw.sh --uninstall
# or specify a record explicitly
# RECORD_FILE=~/.openclaw/dirigent-install-records/dirigent-YYYYmmddHHMMSS.json \
#   node ./scripts/install-dirigent-openclaw.mjs --uninstall

Environment overrides:

  • PLUGIN_PATH
  • NO_REPLY_PROVIDER_ID
  • NO_REPLY_MODEL_ID
  • NO_REPLY_BASE_URL
  • NO_REPLY_API_KEY
  • LIST_MODE (human-list or agent-list)
  • HUMAN_LIST_JSON
  • AGENT_LIST_JSON
  • CHANNEL_POLICIES_FILE (standalone channel policy file path)
  • CHANNEL_POLICIES_JSON (only used to initialize file when missing)
  • END_SYMBOLS_JSON

The script:

  • writes via openclaw config set ... --json
  • creates config backup first
  • restores backup automatically if any install step fails
  • restarts gateway during install, then validates dirigentway/no-reply is visible via openclaw models list/status
  • writes a change record for every install/uninstall:
    • directory: ~/.openclaw/dirigent-install-records/
    • latest pointer: ~/.openclaw/dirigent-install-record-latest.json

Policy state semantics:

  • channel policy file is loaded once into memory on startup
  • runtime decisions use in-memory state
  • use dirigent_policy tool to update state (memory first, then file persist)
  • manual file edits do not auto-apply until next restart

Notes

  • Keep no-reply API bound to loopback/private network.
  • If you use API auth, set AUTH_TOKEN and align provider apiKey usage.