Skip to content

v26.315.3

Choose a tag to compare

@greatwhiz greatwhiz released this 15 Mar 20:27
· 208 commits to main since this release

Pairing-based channel auth & auto-pull cerebellum image

Pairing (new)

Unknown users who message the bot get a pairing code. The owner approves via cereworker approve <CODE> (CLI) or /approve <CODE> (TUI). Default dmPolicy: pairing — secure by default. Set dmPolicy: open for previous behavior.

  • PairingStore — SQLite-backed code generation, approval, expiry (1hr), rate limiting (3/channel)
  • ChannelManager enforcement in the handler wrapper — no interface changes
  • CLI: cereworker approve <CODE>, cereworker pairing list
  • TUI: /approve, /pairing slash commands, [PAIR] status indicator
  • Onboarding: dmPolicy prompt before channel credentials
  • Config allowFrom entries are pre-approved (skip pairing)

Docker auto-pull (fix)

Cerebellum image is now pulled from ghcr.io/producible/cereworker-cerebellum:latest when not found locally. No more "image not found" errors after npm install -g. Local compose build is still the fallback for source repo checkouts.

Telegram improvements

  • Username resolution: getUpdates fallback when getChat fails
  • Retry prompt: "Have the user message the bot, then confirm to retry"