2.4 KiB
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:
- plugin path
- provider alias
- model name
- bypass user ids (comma-separated, optional)
Output
The script prints JSON for:
plugins.load.pathsplugins.entries.dirigent.config
You can merge this snippet manually into your openclaw.json.
Installer script
node ./scripts/install.mjs --install
# optional port override
node ./scripts/install.mjs --install --no-reply-port 8787
# or wrapper
./scripts/install-dirigent-openclaw.sh --install
Uninstall:
node ./scripts/install.mjs --uninstall
# or wrapper
./scripts/install-dirigent-openclaw.sh --uninstall
Environment overrides:
PLUGIN_PATHNO_REPLY_PROVIDER_IDNO_REPLY_MODEL_IDNO_REPLY_BASE_URLNO_REPLY_API_KEYLIST_MODE(human-listoragent-list)HUMAN_LIST_JSONAGENT_LIST_JSONCHANNEL_POLICIES_FILE(standalone channel policy file path)CHANNEL_POLICIES_JSON(only used to initialize file when missing)END_SYMBOLS_JSONMULTI_MESSAGE_START_MARKERMULTI_MESSAGE_END_MARKERMULTI_MESSAGE_PROMPT_MARKER
The script:
- writes via
openclaw config set ... --json - installs plugin + no-reply-api into
~/.openclaw/plugins - updates
plugins.entries.dirigentandmodels.providers.<no-reply-provider> - supports
--no-reply-port(also written intoplugins.entries.dirigent.config.noReplyPort) - does not maintain install/uninstall record files
Policy state semantics:
- channel policy file is loaded once into memory on startup
- runtime decisions use in-memory state
- use
dirigent_policytool 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_TOKENand align provider apiKey usage. - Multi-message mode markers default to
↗️/↙️/⤵️when no overrides are supplied. - Shuffle mode is not configured globally in the current implementation; it is a per-channel runtime toggle controlled with
/dirigent turn-shuffling,/dirigent turn-shuffling on, and/dirigent turn-shuffling off.