Skip to main content

Module session

Module session 

Source
Expand description

Session state: resolved profiles + active pool + optional schema index.

Structs§

ConnectionInfo
ConnectionPolicy
ScopedContext
Target connection/database for a single tool call without mutating session context.
ToolSession

Enums§

CheckoutTarget
Checkout target: active session or an explicit scoped context.

Functions§

default_index_root
Index root: NEXQL_MCP_INDEX_DIR, else ~/.local/share/nexql-mcp (same as CLI).
policy_from_profile
resolve_index_root
Determine index root with workspace override support. Priority: explicit env var → project config index_dir → global default.