# `MingaClaudeBridge`
[🔗](https://github.com/jsmestad/minga-claude-bridge/blob/main/lib/minga_claude_bridge.ex#L1)

Minga extension that serves the Claude models of the user's Claude subscription through the `claude` CLI.

`init/1` registers `MingaClaudeBridge.Route` as the model route `"claude_bridge"` ("Claude (subscription)", short name "Claude", with a setup row for `/model`) and keeps the returned reporter for `MingaClaudeBridge.Status`. The extension's child is `MingaClaudeBridge.Supervisor`.

The route needs Minga with model routes and plan usage (jsmestad/minga#3734 and #3756). On an older Minga, `init/1` returns an error naming that requirement instead of crashing the editor.

# `route_id`

```elixir
@spec route_id() :: String.t()
```

The route id, also the key of the `routes.<id>.env` credential entry.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
