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

The bridge's process tree, started as the extension's child.

  * `MingaClaudeBridge.Registry` - finds a conversation's session.
  * `MingaClaudeBridge.SessionSupervisor` - a `DynamicSupervisor` for conversation sessions. Sessions are `:temporary`: a session that dies is replaced by the next request for its conversation.
  * `MingaClaudeBridge.TaskSupervisor` - background measurements of plan usage and context windows. Each owns a probe session that stops with it.
  * `MingaClaudeBridge.Status` - cached availability, plan usage, and context windows.

Stopping the extension stops this tree. Each session's `terminate/2` stops its transport, which ends the `claude` process.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link(keyword()) :: Supervisor.on_start()
```

Starts the tree. Options: `:name` and `:status` (options for `MingaClaudeBridge.Status`).

---

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