Skip to content

v0.2.2 — provider token pool + runtime provider add

Choose a tag to compare

@mostlydev mostlydev released this 25 Mar 02:15
· 46 commits to master since this release
b20e7e1

What's new

  • Provider token pool: Multi-key pool per provider with states ready/cooldown/dead/disabled. Proxy retries across keys on 401/429/5xx with failure classification and Retry-After support.
  • Runtime provider add: POST /providers/add UI route — add a new provider (name, base URL, auth type, API key) at runtime with no restart. Persists to .claw-auth/providers.json with source: runtime.
  • ProviderState.Source: New field (seed/runtime) survives JSON round-trips.
  • UI bearer auth: All routes gated by CLLAMA_UI_TOKEN when configured.
  • Key management routes: POST /keys/add and POST /keys/delete.
  • Webhook alerts: CLLAMA_ALERT_WEBHOOKS and CLLAMA_ALERT_MENTIONS for pool events.