# Update your Lyber connector

> Get new Lyber models in Codex, Hermes, OpenCode and Claude Code, and enable future release notices.

Source: https://www.lyber.ai/docs/agents/connector-updates/ · Markdown: https://www.lyber.ai/docs/md/agents/connector-updates.md

Released a new model but cannot see it? Finish active work, update the integration below, restart your harness and start a new conversation. Choose your model explicitly. Updating an integration does not migrate an active conversation.

> **One update to enable notices:** Older connectors cannot show a notice until you update them once. Current downloads support anonymous release checks; Hermes and Claude Code need the optional setup below. Future notices link back here; they never download or run an update for you.

> **New models without another download:** From Codex connector 1.2.0, Hermes provider 0.1.19 and OpenCode package 0.5.0-rc.12, your connector follows Lyber's model catalog. When Lyber marks a new model as ready for your connector, OpenCode lists it after a restart, Hermes in its next model listing, and Codex after you rerun the update command with the connector you already have. A model that needs new connector behavior still arrives as a connector update.

## Codex desktop and CLI

1. Finish active work and close Codex. [Download the current Codex connector](https://www.lyber.ai/lyber-codex-connect.py) again.
2. Open [Codex setup](https://www.lyber.ai/connect/#codex), select desktop or CLI and the model you want to use. Expand **Already connected? Update your Lyber models** and run its update command. Keep the model you already use if you only want to refresh the connector.
3. Restart Codex and start a new chat. For CLI, use the installed `lyber` launcher. Select HY4 Abliterated if you want the new model.

The update uses your saved key, protects later manual edits and retains the original restore point. A managed desktop relay checks releases in the background and shows an available update in its Lyber model descriptions. The CLI launcher prints a startup hint. A custom Windows-to-WSL relay needs its own installed source updated separately; the macOS/Linux installer does not update it.

## Hermes

1. Finish active work. Open [Hermes setup](https://www.lyber.ai/connect/#hermes) and choose your existing profile and desired model.
2. Rerun the current guided pairing command. For manual setup, download the new provider installer and use the command for your existing profile with `--update`. Do not create a replacement profile just to update.
3. Restart Hermes in that profile and start a new conversation. Identity, memory and stored credentials are retained. Modified managed files require review instead of being silently overwritten.

### Optional Hermes startup notices

Hermes loads model providers separately from session hooks. To enable hints, [download the notice companion installer](https://www.lyber.ai/lyber-hermes-notices.py), review it, then run the command below with your existing profile name. It installs only the notice plugin through the native Hermes plugin CLI. It does not handle API keys or send inference. When updating an existing companion, append `--update`; disable it with `hermes -p PROFILE plugins disable lyber-update-notices`.

```bash
python3 ~/Downloads/lyber-hermes-notices.py --profile default
```

With the companion enabled, current Hermes versions can show a human-only session-start hint while a Lyber model is selected. CLI hints require an interactive terminal; other supported surfaces use the native message display API. Older hosts without that API continue serving without a hint.

## OpenCode 2

1. Finish active work and close OpenCode. [Download the current OpenCode 2 package](https://www.lyber.ai/docs/agents/coding-agents/opencode/); the guide links its version and SHA-256 manifest.
2. Keep the old package directory for rollback. Replace the whole extracted package, including companion files. Keep its configured absolute path, or update only that entry in your `opencode.json` plugins array. Preserve other settings, credentials and session data.
3. Restart OpenCode and choose `lyber/hy4-abliterated#high` for HY4. Existing explicit `providers.lyber` overrides remain authoritative; review their model metadata separately.

This package targets OpenCode 2.2.5. The interactive server CLI can print update hints. For a TUI toast, also add the same package path to the `plugins` array in OpenCode 2 `cli.json`, preserving existing entries. The package includes an experimental desktop companion using the host toast. Local ZIP installations require explicit replacement; the host's package update command does not replace this directory. OpenCode 1 users should refresh the manual configuration from its guide.

## Claude Code

Claude Code connects directly to Lyber, so there is no required Lyber provider package to upgrade. Rerun the [current model setup](https://www.lyber.ai/docs/agents/coding-agents/claude-code/#hy4), then start a new session. Keep Claude Code itself current through its own updater. HY4 uses the exact ID `hy4-abliterated`; the guide sets its supported context and output options.

### Optional startup notices on macOS and Linux

Download [the release-check helper](https://www.lyber.ai/lyber-connector-updates.py) and [the optional hook settings](https://www.lyber.ai/lyber-claude-update-hooks.json) into `~/Downloads`. Review both files. After selecting Lyber with the setup guide, launch Claude Code with the settings file below. Keep these files in that location, or edit the hook command to match. The settings file adds a synchronous, display-only SessionStart hook; it does not replace your saved settings.

```bash
claude --settings ~/Downloads/lyber-claude-update-hooks.json
```

The hook only checks when `ANTHROPIC_BASE_URL` selects `https://api.lyber.ai`. It returns a human-visible system message, never model context, and never starts inference. Omit `--settings` to stop loading this optional hook. Native Windows hook installation is not qualified.

## Lyber Chat and API integrations

Refresh [Lyber Chat](https://www.lyber.ai/dashboard/chat/) and open a new conversation to load the current model catalog. Direct API integrations can refresh authenticated `GET /v1/models` and explicitly select the new ID. If your key is restricted to specific models, its owner must explicitly enable the new model or create a suitable key; updating a connector does not broaden key permissions.

## How release notices work

Connectors read a small public version manifest at most once per day, with a short timeout and a local cache. Only newer connector revisions create a hint, normally once per release. Desktop model-picker descriptions remain visible while an update is available. Checks send no API key, cookies, prompt or account details; the website receives an ordinary anonymous HTTP request. Offline or invalid responses leave your session working.

## How the model catalog is read

OpenCode and Hermes read Lyber's public catalog at `https://api.lyber.ai/v1/catalog`, at most once an hour, with a short timeout and a local copy for offline use. The request carries no API key, cookies, prompt or account details. The catalog supplies model names, limits, reasoning levels and image support; it never supplies commands or code. If it cannot be read, the models bundled with your connector remain. Codex reads the signed-in catalog with your saved key only when you run setup or update. Set `LYBER_LIVE_CATALOG=0` in the harness environment and restart to keep OpenCode and Hermes on their bundled list.

Set `LYBER_UPDATE_NOTICES=0` in the harness or relay process environment and restart to disable network checks. For the experimental OpenCode desktop companion, disable that companion in the host. The website announcement can be dismissed separately in your browser. A release notice never installs software, changes your model or modifies an active conversation.
