Vibe.Gateway.SessionKey (vibe v0.2.3)

Copy Markdown View Source

Deterministic session keys for external gateway conversations.

The rules intentionally mirror the useful Hermes gateway semantics while remaining explicit for Vibe: DMs are isolated by chat, group chats can isolate by participant, and threads/topics default to shared conversations unless configured otherwise.

Summary

Functions

Builds a deterministic gateway session key from source identity.

Types

opts()

@type opts() :: [
  group_sessions_per_user: boolean(),
  thread_sessions_per_user: boolean()
]

Functions

build(source, opts \\ [])

@spec build(Vibe.Gateway.Source.t(), opts()) :: String.t()

Builds a deterministic gateway session key from source identity.