Skip to content

v0.8.0 — Provider selector (cld / cldor)

Choose a tag to compare

@Adoom666 Adoom666 released this 04 Aug 14:54
· 762 commits to main since this release

Provider selector on session launch

Every path that spawns a new CLI session now opens a provider-selection modal first, so you pick which backend the session runs on instead of always getting the default.

  • claude — launches the session through your cld zsh function (Keychain OAuth token, standard Anthropic endpoint).
  • any OpenRouter model — launches through cldor <model>, which points Claude Code at OpenRouter with an isolated CLAUDE_CONFIG_DIR and maps the opus/sonnet/haiku/subagent model slots to your chosen model.

Models are add- and remove-able inline in the same modal and persist to config.json, so your model list survives restarts and follows the project.

No secrets are ever handled by the app — the Keychain lookup happens inside the zsh function itself.

Rejoining or adopting an already-running tmux session is unchanged (no command is constructed on that path, so no prompt appears).

New API

  • GET /api/v1/providers — list available providers
  • GET /api/v1/providers/models — list saved OpenRouter models
  • POST /api/v1/providers/models — add a model
  • DELETE /api/v1/providers/models/{model} — remove a model

UX details

  • Full keyboard support: arrow keys, Enter, type-ahead, hover sync.
  • Esc closes reliably (capture-phase key handling, avoiding the focus-scoped listener bug).
  • CSP-safe — no inline scripts.

Security hardening

  • Model IDs are validated with fullmatch, which rejects trailing newlines and leading dashes that could otherwise be smuggled into the launch command as options.
  • showConfirmModal now escapes title, message, and details centrally, closing an HTML-injection path in confirmation dialogs.

Install (macOS, Apple Silicon): download the DMG below, open it, drag Cloude Code to Applications.

shasum -a 256 "Cloude.Code-0.8.0-arm64.dmg"
db4e27391539c7b207f67802e206cd3d7775298f93b24b87a1291e2023ffe034