adk_live_session_sup (erlang_adk v0.7.0)

View Source

Dynamic supervisor for server-owned Live sessions.

Sensitive provider and transport configuration is handed to an empty child after it starts, so API keys never enter supervisor child specifications.

Summary

Functions

child_spec(Options)

-spec child_spec(term()) -> supervisor:child_spec().

init(_)

start_link()

-spec start_link() -> supervisor:startlink_ret().

start_session(SessionId, Principal, Config)

-spec start_session(binary(), binary(), map()) -> {ok, pid()} | {error, term()}.