All Classes and Interfaces

Class
Description
Creates agents for chat sessions.
Thread-safe audit trail for tool call decisions within a session.
Immutable audit entry for a tool call decision.
Authentication configuration for TnsServer (TNS-302).
HTTP + WebSocket authentication filter (TNS-302).
Autonomy levels controlling when user approval is required for tool calls.
Bind policy for the HTTP/WS listener (TNS-302).
BM25-based keyword retrieval, bounded by a Caffeine LRU cache (issue #36).
Server-facing source-code chunking facade.
Executes hook actions (shell commands, log messages).
Parses declarative hook definitions from YAML and registers them as runtime listeners on agents.
Server index adapter over the canonical FileIngestionService.
Progress snapshot during discovery, normalization, and index mutation.
Summary of a completed index run.
Indexing lifecycle stage.
Action to execute when a hook fires.
Action types that a hook can perform when triggered.
A single declarative hook definition, typically parsed from YAML.
Lifecycle events that hooks can listen for.
Executes a hook action with context variables.
Matches tool names against a pattern.
Combines multiple RetrievalStreams using Reciprocal Rank Fusion (RRF).
 
Opt-in HTTP Idempotency-Key gate for mutating requests (TAN-3374).
Auto-shuts down the server after a configurable idle period (default: 30 min) when no active WebSocket connections exist (ADR-2).
Snapshot of the current index state for a session's RAG pipeline.
Wraps the existing KnowledgeBase TF-IDF search as a RetrievalStream.
Factory + dispatcher for MCP proxy tools.
Origin allowlist for the WebSocket upgrade (TNS-302).
Orchestrates the RAG pipeline for a single session.
Summary info for a document in the knowledge base.
A pluggable retrieval stream that ranks documents for a query.
Function-shape file tools sandboxed to a working directory.
Function-shape git tools for tnsai-server.
Function-shape shell-execute tool with risk classification (ADR-8).
HTTP gate that enforces per-session capability ownership (TNS-302).
Per-session capability tokens (TNS-302).
Metadata for an active chat session.
Maps sessionId to AgentGroup.
TnsAI WebSocket backend -- framework-first, shared by any protocol v1 compatible client.
 
Entry point for the TnsAI Server fat JAR.
Risk classification for tool operations (ADR-8).
Provides runtime access to the tnsai-server artifact version.
Workspace allowlist + caps for /api/index (TNS-302).
Validates a client-supplied path against WorkspaceConfig (TNS-302).
Thrown when a request resolves to a path outside every allowlisted root.
WebSocket upgrade-time capability gate (TNS-302).
Tracks active WebSocket connections per session.
WebSocket event handler.
WebSocket Protocol v1 — all client/server event types.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Tool call filter that sends approval requests to WebSocket clients and blocks until the user responds.
Broadcasts tool call lifecycle events to WebSocket clients.