Spatio.Model.AgentSessionContext (spatio_sdk v0.0.2)

Identity bundle returned to the agent at SessionStart. One round-trip provides user + current org/workspace + connected accounts so the agent doesn't fish on its first turn.

Summary

Types

t()

@type t() :: %Spatio.Model.AgentSessionContext{
  connectedAccounts: [%{optional(String.t()) => any()}] | nil,
  currentOrganization: %{optional(String.t()) => any()} | nil,
  currentWorkspace: %{optional(String.t()) => any()} | nil,
  user: %{optional(String.t()) => any()} | nil
}

Functions

decode(value)