Commit Graph

29 Commits

Author SHA1 Message Date
zhi
fd1bf449a4 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
2026-03-03 10:13:39 +00:00
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
zhi
a6f2be44b7 feat: moderator bot presence via Discord Gateway
Use Node.js built-in WebSocket to maintain a minimal Discord Gateway
connection for the moderator bot, keeping it 'online' with a
'Watching Moderating' status. Handles heartbeat, reconnect, and resume.

Also fix package-plugin.mjs to include moderator-presence.ts in dist.
2026-02-28 12:33:58 +00:00
zhi
fb50b62509 fix: include turn-manager.ts in package-plugin.mjs
The packaging script didn't copy turn-manager.ts to dist, causing
'Cannot find module ./turn-manager.js' at gateway startup.
2026-02-28 12:27:58 +00:00
zhi
f74b3978e7 fix(installer): resolve plugin path relative to repo instead of hardcoded operator path
PLUGIN_PATH defaulted to /root/.openclaw/workspace-operator/... regardless
of which workspace the installer was run from. Now resolves relative to
the script location (../dist/whispergate).
2026-02-27 14:25:12 +00:00
zhi
fd6c4dd3a2 fix: remove gateway restart from installer, let user restart manually
Root cause: installer called 'openclaw gateway restart' (async via systemd)
then immediately validated model visibility — race condition caused validation
to fail and rollback the correct config.

Fix: remove restart + validation from script entirely. Script only writes config.
User restarts gateway manually after install completes.

Also fix CONFIG.example.json: contextWindow 4096->200000, maxTokens 64->8192
(OpenClaw requires minimum 16000 contextWindow).
2026-02-26 08:47:43 +00:00
15975e3970 fix(installer): raise no-reply model contextWindow/maxTokens to satisfy OpenClaw minimums 2026-02-26 06:30:56 +00:00
8d34bf257b fix(installer): write providers map by object key to avoid quoted provider id and restore providers atomically on uninstall 2026-02-26 06:26:52 +00:00
875cd66d34 feat(installer): restart gateway and validate custom no-reply model visibility after install 2026-02-26 06:14:06 +00:00
1746fb33ad fix(installer): uninstall now selects latest install record instead of latest pointer 2026-02-26 06:04:17 +00:00
46e56c6760 refactor(installer): replace bash installer logic with node-only implementation 2026-02-26 00:41:56 +00:00
714168e4bf fix(installer): pass CHANNEL_POLICIES_FILE env when resolving policy path 2026-02-26 00:38:32 +00:00
682d9a336e feat(policy-file): move channel overrides to standalone channelPoliciesFile with hot reload 2026-02-26 00:28:34 +00:00
d6f908b813 feat(policy): add per-channel channelPolicies with hot-reload list mode/lists 2026-02-26 00:23:47 +00:00
6d463a4572 feat(config): add hot-reload config + listMode (human-list/agent-list) 2026-02-26 00:18:05 +00:00
7f1d6bb3f7 fix(plugin-path): align packaged dir with plugin id to remove mismatch warning 2026-02-25 23:27:16 +00:00
f5ec6f9b15 chore(installer): change default no-reply provider/model ids 2026-02-25 23:21:42 +00:00
c119697f7f fix(installer): make uninstall atomic for plugins and pass rollback test 2026-02-25 23:19:58 +00:00
6ff9858b18 fix(installer): atomic plugins write and valid json defaults for install flags 2026-02-25 23:18:07 +00:00
9d752ca090 feat(installer): add --install/--uninstall with recorded full rollback 2026-02-25 23:08:02 +00:00
2f269c25b4 feat(installer): add openclaw config-set installer with automatic rollback 2026-02-25 23:04:14 +00:00
8097ab7484 docs(discord-control): add runnable examples and smoke script 2026-02-25 22:02:00 +00:00
0c6d8bb2c5 feat(release): add plugin packaging script and release notes 2026-02-25 14:09:14 +00:00
1acaebf73f feat(dev): add no-touch OpenClaw config renderer and integration guide 2026-02-25 13:47:00 +00:00
b99ec7c281 test(api): add isolated no-reply API integration test script 2026-02-25 13:45:57 +00:00
d2fc8c89dd test: add rule-case validator for no-reply and 🔚 injection paths 2026-02-25 12:53:45 +00:00
f76d952b59 chore(dev): add docker compose up/down helper scripts 2026-02-25 10:45:06 +00:00
0e98f0877b chore(plugin): add package metadata and plugin file checker 2026-02-25 10:44:33 +00:00
d1f4252f37 docs: add smoke script and auth-aware verification steps 2026-02-25 10:43:23 +00:00