feat(dev): add no-touch OpenClaw config renderer and integration guide
This commit is contained in:
34
docs/INTEGRATION.md
Normal file
34
docs/INTEGRATION.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# WhisperGate 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
|
||||
|
||||
```bash
|
||||
node scripts/render-openclaw-config.mjs \
|
||||
/absolute/path/to/WhisperGate/plugin \
|
||||
openai \
|
||||
whispergate-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.whispergate.config`
|
||||
|
||||
You can merge this snippet manually into your `openclaw.json`.
|
||||
|
||||
## Notes
|
||||
|
||||
- This repo does not run config mutation commands.
|
||||
- Keep no-reply API bound to loopback/private network.
|
||||
- If you use API auth, set `AUTH_TOKEN` and align provider apiKey usage.
|
||||
Reference in New Issue
Block a user