Expand description
Session state: resolved profiles + active pool + optional schema index.
Structs§
- Connection
Info - Connection
Policy - Scoped
Context - Target connection/database for a single tool call without mutating session context.
- Tool
Session
Enums§
- Checkout
Target - 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.