MingaClaudeBridge.Supervisor (minga_claude_bridge v0.1.0)

Copy Markdown View Source

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.

Summary

Functions

Returns a specification to start this module under a supervisor.

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

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

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

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