Vibe.Gateway.SessionBridge (vibe v0.2.3)

Copy Markdown View Source

Bridges Vibe session assistant stream events back to an external gateway.

A bridge is created per accepted gateway message. It subscribes to the target Vibe session and forwards only assistant-facing stream events to a Vibe.Gateway.StreamConsumer, keeping Telegram/Slack/etc. delivery outside the session and agent internals.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start(message, session_id, opts \\ [])

@spec start(Vibe.Gateway.Message.t(), String.t(), keyword()) ::
  {:ok, pid()} | {:error, term()}

start_link(opts)

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