Skip to content

Conversation

@jack-work
Copy link

@jack-work jack-work commented Jan 30, 2026

Summary

Three fixes to align nix-clawbot with the openclaw config schema:

  1. byProvider → byChannel: Queue config was using messages.queue.byProvider but openclaw expects messages.queue.byChannel

  2. telegram → channels.telegram: Telegram config was generated at root level but openclaw expects it under channels.telegram

  3. gateway.auth.tokenFile: Added new option to inject gateway auth token from a file at activation time, supporting proper secret management

Fixes

Changes

  • Renamed byProvider to byChannel in option definitions and mkRoutingConfig
  • Updated mkTelegramConfig to generate channels.telegram instead of root-level telegram
  • Added gateway.auth.tokenFile option at both global and instance levels
  • Added moltbotGatewayAuth activation step to inject token from file

Test plan

  • Build home-manager config with changes
  • Verify generated JSON contains byChannel instead of byProvider
  • Verify generated JSON contains channels.telegram instead of root-level telegram
  • Verify gateway token is injected from file during activation

🤖 Generated with Claude Code

@jack-work jack-work changed the title Fix byProvider → byChannel to match openclaw schema Fix config schema: byChannel and channels.telegram Jan 30, 2026
@jack-work jack-work changed the title Fix config schema: byChannel and channels.telegram Fix config schema alignment with openclaw Jan 30, 2026
Copy extensions/ and docs/ alongside dist/, node_modules/, ui/.
Fixes workspace bootstrapping and plugin discovery.

Closes openclaw#14, closes openclaw#18

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module generates config keys rejected by OpenClaw 2026.1.29 Generated config contains invalid key: messages.queue.byProvider

1 participant