Phantom.Session (phantom v0.1.0)
View SourceRepresents the state of the MCP session. This is the state across the conversation and is the bridge between the various transports (HTTP, stdio) to persistence, even if stateless.
Summary
Types
@type t() :: %Phantom.Session{ assigns: map(), id: binary(), meta: map(), prompts: [Phantom.Prompt.t()], resource_templates: [Phantom.ResourceTemplate.t()], router: module(), tools: [Phantom.Tool.t()], transport_pid: pid() | nil }