Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- action() - Method in record class com.tnsai.server.hooks.HookConfig
-
Returns the value of the
actionrecord component. - addAgent(String, String) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with the given role to the session's group.
- addAgent(String, String, String, String) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with the given role, provider, and model to the session's group.
- addAgent(String, String, String, String, String, String) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with role identity (goal/domain) and LLM configuration.
- addAgent(String, String, String, String, String, String, String) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with role identity, LLM, and optional display name.
- addAgent(String, String, String, String, String, String, String, List<DynamicToolMethod>) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with full configuration: role identity, LLM, name, and tools.
- addAgent(String, String, String, String, String, List<WsProtocol.RoleDef>) - Method in class com.tnsai.server.session.SessionManager
-
Add a multi-role agent with optional display name.
- addAgent(String, String, String, String, List<DynamicToolMethod>) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with the given role, provider, model, and additional tools.
- addAgent(String, String, List<DynamicToolMethod>) - Method in class com.tnsai.server.session.SessionManager
-
Add an agent with the given role and additional tools to the session's group.
- addConnection(String, WsContext) - Method in class com.tnsai.server.ws.WsConnectionManager
- addDocument(Document) - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- addDocument(String, Map<String, Object>) - Method in class com.tnsai.server.rag.RagService
-
Adds a document to the knowledge base.
- after(Context) - Method in class com.tnsai.server.security.IdempotencyFilter
- AgentAdd(int, String, String, String, String, String, String, String, List<WsProtocol.RoleDef>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Creates an instance of a
AgentAddrecord class. - AgentFactory - Class in com.tnsai.server.agent
-
Creates agents for chat sessions.
- AgentFactory(Supplier<LLMClient>) - Constructor for class com.tnsai.server.agent.AgentFactory
- AgentFactory(Supplier<LLMClient>, Path) - Constructor for class com.tnsai.server.agent.AgentFactory
- AgentFactory(Supplier<LLMClient>, Path, LiabilitySink, AgentPrincipalProvider) - Constructor for class com.tnsai.server.agent.AgentFactory
-
Full-control constructor (TNS-298) — caller wires the optional retention sink and required identity provider.
- agentId() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
agentIdrecord component. - agentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
agentIdrecord component. - AgentInfo(String, String, String, String, String, String, String, List<String>, List<String>) - Constructor for record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Creates an instance of a
AgentInforecord class. - AgentRemove(int, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Creates an instance of a
AgentRemoverecord class. - agents() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns the value of the
agentsrecord component. - AgentState(int, String, String, String, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Creates an instance of a
AgentStaterecord class. - AgentState(String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
- AgentState(String, String, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
- ALL - Static variable in class com.tnsai.server.hooks.HookMatcher
-
Matches all tools.
- allowLoopback() - Method in class com.tnsai.server.security.OriginPolicy
- allowPublic() - Method in record class com.tnsai.server.security.BindPolicy
-
Returns the value of the
allowPublicrecord component. - alwaysTrust(String) - Method in class com.tnsai.server.ws.WsToolApprovalFilter
-
Marks a tool as always trusted for this session.
- applyTo(Agent) - Method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Register this registry's hooks as a
ToolCallListeneron the agent. - args() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
argsrecord component. - args() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
argsrecord component. - attachChatTo(Agent) - Method in class com.tnsai.server.rag.RagService
-
Attaches this session corpus to an agent as a canonical live chat binding.
- AuditEntry(int, String, String, String, String, String, String, String, long, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Creates an instance of a
AuditEntryrecord class. - AuditEntry(String, String, String, String, String, long, String) - Constructor for record class com.tnsai.server.audit.AuditService.AuditEntry
-
Creates an instance of a
AuditEntryrecord class. - AuditEntry(String, String, String, String, String, String, long, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
- AuditService - Class in com.tnsai.server.audit
-
Thread-safe audit trail for tool call decisions within a session.
- AuditService() - Constructor for class com.tnsai.server.audit.AuditService
- AuditService.AuditEntry - Record Class in com.tnsai.server.audit
-
Immutable audit entry for a tool call decision.
- authConfig(AuthConfig) - Method in class com.tnsai.server.TnsServer.Builder
-
Authentication policy (TNS-302).
- AuthConfig - Record Class in com.tnsai.server.security
-
Authentication configuration for
TnsServer(TNS-302). - AuthConfig(String) - Constructor for record class com.tnsai.server.security.AuthConfig
-
Creates an instance of a
AuthConfigrecord class. - AuthFilter - Class in com.tnsai.server.security
-
HTTP + WebSocket authentication filter (TNS-302).
- AuthFilter(AuthConfig) - Constructor for class com.tnsai.server.security.AuthFilter
- AutonomyChanged(int, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Creates an instance of a
AutonomyChangedrecord class. - AutonomyChanged(String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
- AutonomyLevel - Enum Class in com.tnsai.server.ws
-
Autonomy levels controlling when user approval is required for tool calls.
B
- bearerToken() - Method in record class com.tnsai.server.security.AuthConfig
-
Returns the value of the
bearerTokenrecord component. - before(Context) - Method in class com.tnsai.server.security.AuthFilter
-
Runs as
before(...)for HTTP andwsBeforeUpgrade(...)for the WS upgrade. - before(Context) - Method in class com.tnsai.server.security.IdempotencyFilter
- before(Context) - Method in class com.tnsai.server.security.OriginPolicy
-
wsBeforeUpgradehandler. - before(Context) - Method in class com.tnsai.server.security.WsCapabilityGate
- bindPolicy(BindPolicy) - Method in class com.tnsai.server.TnsServer.Builder
-
Bind policy for the listener (TNS-302).
- BindPolicy - Record Class in com.tnsai.server.security
-
Bind policy for the HTTP/WS listener (TNS-302).
- BindPolicy(String, boolean) - Constructor for record class com.tnsai.server.security.BindPolicy
-
Creates an instance of a
BindPolicyrecord class. - BM25Stream - Class in com.tnsai.server.rag.retrieval
-
BM25-based keyword retrieval, bounded by a Caffeine LRU cache (issue #36).
- BM25Stream() - Constructor for class com.tnsai.server.rag.retrieval.BM25Stream
- BM25Stream(int, Duration) - Constructor for class com.tnsai.server.rag.retrieval.BM25Stream
- broadcast(String, WsProtocol.ServerEvent) - Method in class com.tnsai.server.ws.WsConnectionManager
- build() - Method in class com.tnsai.server.rag.retrieval.HybridRetriever.Builder
- build() - Method in class com.tnsai.server.TnsServer.Builder
- BUILD_TEST - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
Build/test operations — auto-approve
- buildContextPrompt(String, int) - Method in class com.tnsai.server.rag.RagService
-
Searches the knowledge base and formats the results as a context block suitable for prepending to a user message before LLM invocation.
- builder() - Static method in class com.tnsai.server.rag.retrieval.HybridRetriever
- builder() - Static method in class com.tnsai.server.TnsServer
- Builder() - Constructor for class com.tnsai.server.rag.retrieval.HybridRetriever.Builder
C
- Cancel(int, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.Cancel
-
Creates an instance of a
Cancelrecord class. - cancelAll() - Static method in class com.tnsai.server.tools.McpProxyTool
-
Cancels all pending MCP calls.
- cancelAll() - Method in class com.tnsai.server.ws.WsToolApprovalFilter
-
Cancel all pending approvals (e.g., on disconnect).
- CAUTIOUS - Enum constant in enum class com.tnsai.server.ws.AutonomyLevel
- Chat(int, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Creates an instance of a
Chatrecord class. - CHAT_SOURCE - Static variable in class com.tnsai.server.rag.RagService
-
Canonical chat source name for a session corpus.
- CHAT_TOP_K - Static variable in class com.tnsai.server.rag.RagService
-
How many results the session corpus gives chat.
- check(Context, String) - Method in class com.tnsai.server.security.SessionCapabilityGate
-
Verify or mint a capability for
sessionId. - chunk(Path, String, String) - Static method in class com.tnsai.server.rag.CodeChunker
-
Splits one source file into bounded retrieval documents.
- chunkCount() - Method in record class com.tnsai.server.rag.FileIndexer.IndexResult
-
Returns the value of the
chunkCountrecord component. - chunkCount() - Method in record class com.tnsai.server.rag.IndexStatus
-
Returns the value of the
chunkCountrecord component. - chunkCount() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns the value of the
chunkCountrecord component. - classifyCommand(String) - Static method in class com.tnsai.server.tools.ServerShellTools
-
Risk classification (preserved verbatim from legacy ShellTool).
- classifyWriteRisk(String, String) - Static method in class com.tnsai.server.tools.ServerGitTools
-
Risk classification per ADR-7 (preserved verbatim from legacy GitWriteTool).
- clear() - Method in class com.tnsai.server.audit.AuditService
-
Removes all entries.
- clear() - Method in class com.tnsai.server.rag.RagService
-
Clears the knowledge base and resets all counters.
- clear() - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- clearHashes() - Method in class com.tnsai.server.rag.FileIndexer
-
Forgets the manifest of previous runs, forcing a full re-index on the next run.
- code() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns the value of the
coderecord component. - CodeChunker - Class in com.tnsai.server.rag
-
Server-facing source-code chunking facade.
- com.tnsai.server - package com.tnsai.server
- com.tnsai.server.agent - package com.tnsai.server.agent
- com.tnsai.server.audit - package com.tnsai.server.audit
- com.tnsai.server.health - package com.tnsai.server.health
- com.tnsai.server.hooks - package com.tnsai.server.hooks
- com.tnsai.server.rag - package com.tnsai.server.rag
- com.tnsai.server.rag.retrieval - package com.tnsai.server.rag.retrieval
- com.tnsai.server.security - package com.tnsai.server.security
- com.tnsai.server.session - package com.tnsai.server.session
- com.tnsai.server.tools - package com.tnsai.server.tools
- com.tnsai.server.ws - package com.tnsai.server.ws
- command() - Method in record class com.tnsai.server.hooks.HookAction
-
Returns the value of the
commandrecord component. - command(String) - Static method in record class com.tnsai.server.hooks.HookAction
-
Convenience factory for command actions.
- COMMAND - Enum constant in enum class com.tnsai.server.hooks.HookActionType
-
Execute a shell command.
- COMMITTED - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
- committedChunks() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
committedChunksrecord component. - COMPLETE - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
- completeCall(String, String, String) - Static method in class com.tnsai.server.tools.McpProxyTool
-
Completes a pending MCP tool call with the result from the CLI.
- config() - Method in class com.tnsai.server.security.AuthFilter
- config() - Method in class com.tnsai.server.security.WorkspaceGuard
- content() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Returns the value of the
contentrecord component. - content() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns the value of the
contentrecord component. - contentLength() - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Returns the value of the
contentLengthrecord component. - contentLength() - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Returns the value of the
contentLengthrecord component. - cost() - Method in record class com.tnsai.server.ws.WsProtocol.Usage
-
Returns the value of the
costrecord component. - countFiles(Path) - Method in class com.tnsai.server.security.WorkspaceGuard
-
Count files under
rootand throw if it exceedsWorkspaceConfig.maxFileCount(). - createAgent(String, String) - Method in class com.tnsai.server.agent.AgentFactory
-
Create an agent with the given ID and role.
- createAgent(String, String, String, String, String, String, List<DynamicToolMethod>) - Method in class com.tnsai.server.agent.AgentFactory
-
Create an agent with full configuration: role identity (name/goal/domain), LLM provider/model, and additional tools.
- createAgent(String, String, String, String, List<WsProtocol.RoleDef>, List<DynamicToolMethod>) - Method in class com.tnsai.server.agent.AgentFactory
-
Create an agent with multiple roles from RoleDef list.
- createAgent(String, String, String, String, List<DynamicToolMethod>) - Method in class com.tnsai.server.agent.AgentFactory
-
Create an agent with the given ID, role, provider, model, and additional tools.
- createAgent(String, String, List<DynamicToolMethod>) - Method in class com.tnsai.server.agent.AgentFactory
-
Create an agent with the given ID, role, and additional tools (e.g.
- currentFile() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
currentFilerecord component. - currentFile() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns the value of the
currentFilerecord component. - cwd() - Static method in record class com.tnsai.server.security.WorkspaceConfig
-
JVM working directory as the only root.
D
- decision() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
decisionrecord component. - decision() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Returns the value of the
decisionrecord component. - decision() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
decisionrecord component. - DeclarativeHookExecutor - Class in com.tnsai.server.hooks
-
Executes hook actions (shell commands, log messages).
- DeclarativeHookExecutor() - Constructor for class com.tnsai.server.hooks.DeclarativeHookExecutor
- DeclarativeHookRegistry - Class in com.tnsai.server.hooks
-
Parses declarative hook definitions from YAML and registers them as runtime listeners on agents.
- DEFAULT_EXPIRE_AFTER_ACCESS - Static variable in class com.tnsai.server.rag.retrieval.BM25Stream
- DEFAULT_HOST - Static variable in record class com.tnsai.server.security.BindPolicy
- DEFAULT_MAX_FILES - Static variable in record class com.tnsai.server.security.WorkspaceConfig
- DEFAULT_MAXIMUM_SIZE - Static variable in class com.tnsai.server.rag.retrieval.BM25Stream
- DEFAULT_TTL - Static variable in class com.tnsai.server.security.IdempotencyFilter
- description() - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Returns the value of the
descriptionrecord component. - DESTRUCTIVE - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
Destructive operations (rm -rf, git reset) — require explicit approval
- detectLanguage(String) - Static method in class com.tnsai.server.rag.CodeChunker
-
Derives the canonical language key from a file name.
- disabled() - Static method in record class com.tnsai.server.security.AuthConfig
-
Auth disabled — only valid combined with a loopback bind policy.
- DISCOVERED - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
- documentId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Returns the value of the
documentIdrecord component. - documentId() - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Returns the value of the
documentIdrecord component. - documentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Returns the value of the
documentIdrecord component. - documentId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns the value of the
documentIdrecord component. - DocumentInfo(String, String, int, Map<String, Object>) - Constructor for record class com.tnsai.server.rag.RagService.DocumentInfo
-
Creates an instance of a
DocumentInforecord class. - documents() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns the value of the
documentsrecord component. - domain() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
domainrecord component. - domain() - Method in record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Returns the value of the
domainrecord component. - Done(int, String, String, WsProtocol.Usage) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Creates an instance of a
Donerecord class. - Done(String, WsProtocol.Usage) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
- duration() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
durationrecord component.
E
- EMPTY - Static variable in record class com.tnsai.server.rag.IndexStatus
-
Empty status — nothing indexed yet.
- ENV - Static variable in class com.tnsai.server.security.OriginPolicy
- equals(Object) - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.hooks.HookAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.hooks.HookConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.rag.FileIndexer.IndexResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.rag.IndexStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.security.AuthConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.security.BindPolicy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.security.WorkspaceConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Cancel
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbList
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.tnsai.server.ws.WsProtocol.Usage
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns the value of the
errorrecord component. - Error(int, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Creates an instance of a
Errorrecord class. - Error(String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
- Error(String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
- ESCALATION - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
Privilege escalation (sudo, su) — always reject
- event() - Method in record class com.tnsai.server.hooks.HookConfig
-
Returns the value of the
eventrecord component. - execute(HookAction, Map<String, String>) - Method in class com.tnsai.server.hooks.DeclarativeHookExecutor
-
Execute a hook action with the given context variables.
- execute(HookAction, Map<String, String>) - Method in interface com.tnsai.server.hooks.HookExecutor
-
Execute a hook action with the given context variables.
- exists(String) - Method in class com.tnsai.server.session.SessionManager
- explicitOrigins() - Method in class com.tnsai.server.security.OriginPolicy
F
- FAILED - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
- failedFiles() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
failedFilesrecord component. - fileCount() - Method in record class com.tnsai.server.rag.FileIndexer.IndexResult
-
Returns the value of the
fileCountrecord component. - fileCount() - Method in record class com.tnsai.server.rag.IndexStatus
-
Returns the value of the
fileCountrecord component. - fileCount() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns the value of the
fileCountrecord component. - FileIndexer - Class in com.tnsai.server.rag
-
Server index adapter over the canonical
FileIngestionService. - FileIndexer() - Constructor for class com.tnsai.server.rag.FileIndexer
-
Creates an indexer using the shared default admission caps.
- FileIndexer(FileIngestionService.Limits) - Constructor for class com.tnsai.server.rag.FileIndexer
-
Creates an indexer with the same admission-cap policy as
FileIngestionService. - FileIndexer.IndexProgress - Record Class in com.tnsai.server.rag
-
Progress snapshot during discovery, normalization, and index mutation.
- FileIndexer.IndexResult - Record Class in com.tnsai.server.rag
-
Summary of a completed index run.
- FileIndexer.ProgressStage - Enum Class in com.tnsai.server.rag
-
Indexing lifecycle stage.
- fileRead(String) - Method in class com.tnsai.server.tools.ServerFileTools
- fileWrite(String, String) - Method in class com.tnsai.server.tools.ServerFileTools
- fireEvent(HookEvent, Map<String, String>) - Method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Fire hooks for the given event with context variables.
- fireToolEvent(HookEvent, String, Map<String, String>) - Method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Fire hooks for a tool-specific event.
- found() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns the value of the
foundrecord component. - fromEnv() - Static method in class com.tnsai.server.security.OriginPolicy
-
Reads
TNSAI_ALLOWED_ORIGINS(comma-separated) and combines it with the loopback default. - fromEnv() - Static method in record class com.tnsai.server.security.WorkspaceConfig
-
Reads roots from
TNSAI_WORKSPACE_ROOT(File.pathSeparator-separated). - fromYaml(InputStream) - Static method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Parse hooks from a YAML input stream.
- fromYaml(InputStream, HookExecutor) - Static method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Parse hooks from a YAML input stream with a custom executor.
- fromYaml(String) - Static method in enum class com.tnsai.server.hooks.HookActionType
-
Parse a YAML string like "command" or "log" into an enum constant.
- fromYaml(String) - Static method in enum class com.tnsai.server.hooks.HookEvent
-
Parse a YAML string like "preToolUse" or "pre_tool_use" into an enum constant.
- FULL_AUTO - Enum constant in enum class com.tnsai.server.ws.AutonomyLevel
G
- get(String) - Method in class com.tnsai.server.session.SessionManager
- getActiveConnectionCount() - Method in class com.tnsai.server.ws.WsConnectionManager
- getActiveSessions() - Method in class com.tnsai.server.session.SessionManager
- getActiveSessions() - Method in class com.tnsai.server.ws.WsConnectionManager
- getAllSessions() - Method in class com.tnsai.server.session.SessionManager
- getAuditService() - Method in class com.tnsai.server.session.SessionInfo
- getAuthConfig() - Method in class com.tnsai.server.TnsServer
- getAutonomyLevel() - Method in class com.tnsai.server.session.SessionInfo
- getBindPolicy() - Method in class com.tnsai.server.TnsServer
- getCapabilityStore() - Method in class com.tnsai.server.TnsServer
- getConnectionManager() - Method in class com.tnsai.server.TnsServer
- getCreatedAt() - Method in class com.tnsai.server.session.SessionInfo
- getDocument(String) - Method in class com.tnsai.server.rag.RagService
-
Gets a specific document by ID.
- getEntries() - Method in class com.tnsai.server.audit.AuditService
-
Returns all entries in chronological order.
- getEntries(int) - Method in class com.tnsai.server.audit.AuditService
-
Returns the most recent
limitentries in chronological order. - getGroup() - Method in class com.tnsai.server.session.SessionInfo
- getHealthRegistry() - Method in class com.tnsai.server.TnsServer
- getHooks() - Method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Returns an unmodifiable view of all registered hooks.
- getHooksForEvent(HookEvent) - Method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Returns hooks registered for a specific event.
- getLastActivity() - Method in class com.tnsai.server.session.SessionInfo
- getMaximumSize() - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- getOrCreate(String) - Method in class com.tnsai.server.session.SessionManager
-
Get or create a session.
- getPendingCount() - Static method in class com.tnsai.server.tools.McpProxyTool
-
Returns the number of pending MCP calls (for monitoring/testing).
- getPort() - Method in class com.tnsai.server.TnsServer
- getRag(String) - Method in class com.tnsai.server.session.SessionManager
-
Returns (or lazily creates) the
RagServicefor the given session. - getSessionCount() - Method in class com.tnsai.server.session.SessionManager
- getSessionId() - Method in class com.tnsai.server.session.SessionInfo
- getSessionId(WsContext) - Method in class com.tnsai.server.ws.WsConnectionManager
- getSessionManager() - Method in class com.tnsai.server.TnsServer
- getStatus() - Method in class com.tnsai.server.rag.RagService
-
Returns a snapshot of the current index status.
- getToolCallId(String) - Method in class com.tnsai.server.ws.WsToolCallListener
-
Gets the current tool call ID for a given tool name (used by approval filter).
- getWorkspaceGuard() - Method in class com.tnsai.server.TnsServer
- gitRead(String, String) - Method in class com.tnsai.server.tools.ServerGitTools
- gitWrite(String, String, String) - Method in class com.tnsai.server.tools.ServerGitTools
- goal() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
goalrecord component. - goal() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
goalrecord component. - goal() - Method in record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Returns the value of the
goalrecord component.
H
- handleApproval(String, String) - Method in class com.tnsai.server.ws.WsToolApprovalFilter
-
Called when the client sends a tool_approve response.
- has(String) - Method in class com.tnsai.server.security.SessionCapabilityStore
-
Whether a token has been minted for this session.
- hasActiveConnections() - Method in class com.tnsai.server.ws.WsConnectionManager
- hasConnectionsFor(String) - Method in class com.tnsai.server.ws.WsConnectionManager
-
Returns true if the given session still has at least one registered connection.
- hashCode() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.hooks.HookAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.hooks.HookConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.rag.FileIndexer.IndexResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.rag.IndexStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.security.AuthConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.security.BindPolicy
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.security.WorkspaceConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Cancel
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbList
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.tnsai.server.ws.WsProtocol.Usage
-
Returns a hash code value for this object.
- HEADER - Static variable in class com.tnsai.server.security.IdempotencyFilter
- HEADER - Static variable in class com.tnsai.server.security.SessionCapabilityStore
- healthRegistry(HealthRegistry) - Method in class com.tnsai.server.TnsServer.Builder
- HookAction - Record Class in com.tnsai.server.hooks
-
Action to execute when a hook fires.
- HookAction(HookActionType, String, String) - Constructor for record class com.tnsai.server.hooks.HookAction
-
Creates an instance of a
HookActionrecord class. - HookActionType - Enum Class in com.tnsai.server.hooks
-
Action types that a hook can perform when triggered.
- HookConfig - Record Class in com.tnsai.server.hooks
-
A single declarative hook definition, typically parsed from YAML.
- HookConfig(HookEvent, HookMatcher, HookAction) - Constructor for record class com.tnsai.server.hooks.HookConfig
-
Creates an instance of a
HookConfigrecord class. - HookEvent - Enum Class in com.tnsai.server.hooks
-
Lifecycle events that hooks can listen for.
- HookExecutor - Interface in com.tnsai.server.hooks
-
Executes a hook action with context variables.
- HookMatcher - Class in com.tnsai.server.hooks
-
Matches tool names against a pattern.
- HookMatcher(String) - Constructor for class com.tnsai.server.hooks.HookMatcher
- host() - Method in record class com.tnsai.server.security.BindPolicy
-
Returns the value of the
hostrecord component. - HybridRetriever - Class in com.tnsai.server.rag.retrieval
-
Combines multiple
RetrievalStreams using Reciprocal Rank Fusion (RRF). - HybridRetriever.Builder - Class in com.tnsai.server.rag.retrieval
I
- id() - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
idrecord component. - id() - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Returns the value of the
idrecord component. - IdempotencyFilter - Class in com.tnsai.server.security
-
Opt-in HTTP
Idempotency-Keygate for mutating requests (TAN-3374). - IdempotencyFilter(IdempotencyStore) - Constructor for class com.tnsai.server.security.IdempotencyFilter
- IdempotencyFilter(IdempotencyStore, Duration, Duration) - Constructor for class com.tnsai.server.security.IdempotencyFilter
- idempotencyStore(IdempotencyStore) - Method in class com.tnsai.server.TnsServer.Builder
-
HTTP
Idempotency-Keystore (TAN-3374). - IdleShutdownManager - Class in com.tnsai.server.health
-
Auto-shuts down the server after a configurable idle period (default: 30 min) when no active WebSocket connections exist (ADR-2).
- IdleShutdownManager(WsConnectionManager, Duration, Runnable) - Constructor for class com.tnsai.server.health.IdleShutdownManager
- idleTimeout(Duration) - Method in class com.tnsai.server.TnsServer.Builder
- index(KnowledgeSourceConfig, KnowledgeBase, BM25Stream, Consumer<FileIndexer.IndexProgress>) - Method in class com.tnsai.server.rag.FileIndexer
-
Indexes one canonical FILE source, including its declared format, selectors, and knowledge-unit slicing policy.
- index(Path, KnowledgeBase, BM25Stream, Consumer<FileIndexer.IndexProgress>) - Method in class com.tnsai.server.rag.FileIndexer
-
Indexes one supported file or all supported files under a directory.
- indexDirectory(Path, Consumer<FileIndexer.IndexProgress>) - Method in class com.tnsai.server.rag.RagService
-
Indexes all supported files under the given directory.
- IndexDone(int, String, String, int, int) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Creates an instance of a
IndexDonerecord class. - IndexDone(String, int, int) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
- indexedFiles() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
indexedFilesrecord component. - indexedFiles() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns the value of the
indexedFilesrecord component. - IndexProgress(int, int, String) - Constructor for record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Retains the original public constructor for source and binary compatibility.
- IndexProgress(int, int, String, FileIndexer.ProgressStage, int, int, int) - Constructor for record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Creates an instance of a
IndexProgressrecord class. - IndexProgress(int, String, String, int, int, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Creates an instance of a
IndexProgressrecord class. - IndexProgress(String, int, int, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
- IndexResult(int, int) - Constructor for record class com.tnsai.server.rag.FileIndexer.IndexResult
-
Creates an instance of a
IndexResultrecord class. - IndexStart(int, String, String, String, int) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Creates an instance of a
IndexStartrecord class. - IndexStart(String, String, int) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
- IndexStatus - Record Class in com.tnsai.server.rag
-
Snapshot of the current index state for a session's RAG pipeline.
- IndexStatus(int, int, long, String) - Constructor for record class com.tnsai.server.rag.IndexStatus
-
Creates an instance of a
IndexStatusrecord class. - inputSchema() - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Returns the value of the
inputSchemarecord component. - isAllowed(String) - Method in class com.tnsai.server.security.OriginPolicy
-
Returns
truewhenorigin(HTTPOriginheader value) is allowed under this policy. - isAllowed(String, Map<String, Object>) - Method in class com.tnsai.server.ws.WsToolApprovalFilter
- isAvailable() - Method in class com.tnsai.server.rag.retrieval.KnowledgeBaseStream
- isAvailable() - Method in interface com.tnsai.server.rag.retrieval.RetrievalStream
- isEnabled() - Method in record class com.tnsai.server.security.AuthConfig
- isLoopback() - Method in record class com.tnsai.server.security.BindPolicy
-
Whether this host string addresses only the local machine.
- isRejected() - Method in enum class com.tnsai.server.tools.ToolRisk
- isRunning() - Method in class com.tnsai.server.TnsServer
K
- KbAdd(int, String, String, Map<String, Object>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Creates an instance of a
KbAddrecord class. - KbAdded(int, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Creates an instance of a
KbAddedrecord class. - KbAdded(String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
- KbDocInfo(String, String, int, Map<String, Object>) - Constructor for record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Creates an instance of a
KbDocInforecord class. - KbList(int, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbList
-
Creates an instance of a
KbListrecord class. - KbListResult(int, String, String, List<WsProtocol.KbDocInfo>, int) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Creates an instance of a
KbListResultrecord class. - KbListResult(String, List<WsProtocol.KbDocInfo>, int) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
- KbRemove(int, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Creates an instance of a
KbRemoverecord class. - KbRemoved(int, String, String, String, boolean) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Creates an instance of a
KbRemovedrecord class. - KbRemoved(String, String, boolean) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
- KbSearch(int, String, String, Integer, Double) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Creates an instance of a
KbSearchrecord class. - KbSearchHit(String, String, double, Map<String, Object>) - Constructor for record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Creates an instance of a
KbSearchHitrecord class. - KbSearchResult(int, String, String, List<WsProtocol.KbSearchHit>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Creates an instance of a
KbSearchResultrecord class. - KbSearchResult(String, List<WsProtocol.KbSearchHit>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
- KnowledgeBaseStream - Class in com.tnsai.server.rag.retrieval
-
Wraps the existing
KnowledgeBaseTF-IDF search as aRetrievalStream. - KnowledgeBaseStream(KnowledgeBase) - Constructor for class com.tnsai.server.rag.retrieval.KnowledgeBaseStream
L
- label() - Method in enum class com.tnsai.server.tools.ToolRisk
- lastIndexedAt() - Method in record class com.tnsai.server.rag.IndexStatus
-
Returns the value of the
lastIndexedAtrecord component. - level() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Returns the value of the
levelrecord component. - level() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Returns the value of the
levelrecord component. - liabilitySink(LiabilitySink) - Method in class com.tnsai.server.TnsServer.Builder
-
Liability sink for every per-session agent dispatch (TNS-298).
- limit() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns the value of the
limitrecord component. - listDocuments() - Method in class com.tnsai.server.rag.RagService
-
Lists all documents in the knowledge base with basic metadata.
- llmClientSupplier(Supplier<LLMClient>) - Method in class com.tnsai.server.TnsServer.Builder
- log(String) - Static method in record class com.tnsai.server.hooks.HookAction
-
Convenience factory for log actions.
- LOG - Enum constant in enum class com.tnsai.server.hooks.HookActionType
-
Log a message.
- loopback() - Static method in record class com.tnsai.server.security.BindPolicy
-
Default policy: loopback bind, public access disabled.
- loopback() - Static method in class com.tnsai.server.security.OriginPolicy
-
Default policy: accept missing Origin + any loopback host on any port.
M
- main(String[]) - Static method in class com.tnsai.server.TnsServerMain
- MANUAL - Enum constant in enum class com.tnsai.server.ws.AutonomyLevel
- matcher() - Method in record class com.tnsai.server.hooks.HookConfig
-
Returns the value of the
matcherrecord component. - matches(String) - Method in class com.tnsai.server.hooks.HookMatcher
-
Returns true if the given tool name matches this pattern.
- MAX_FILES_ENV - Static variable in record class com.tnsai.server.security.WorkspaceConfig
- MAX_KEY_LENGTH - Static variable in class com.tnsai.server.security.IdempotencyFilter
- maxFileCount() - Method in record class com.tnsai.server.security.WorkspaceConfig
-
Returns the value of the
maxFileCountrecord component. - McpCall(int, String, String, String, String, String, Map<String, Object>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Creates an instance of a
McpCallrecord class. - McpCall(String, String, String, String, Map<String, Object>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
- McpProxyTool - Class in com.tnsai.server.tools
-
Factory + dispatcher for MCP proxy tools.
- McpResult(int, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Creates an instance of a
McpResultrecord class. - McpToolDef(String, String, String, Map<String, Object>) - Constructor for record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Creates an instance of a
McpToolDefrecord class. - McpTools(int, String, List<WsProtocol.McpToolDef>) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Creates an instance of a
McpToolsrecord class. - message() - Method in record class com.tnsai.server.hooks.HookAction
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Returns the value of the
messagerecord component. - message() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns the value of the
messagerecord component. - metadata() - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Returns the value of the
metadatarecord component. - mintIfAbsent(String) - Method in class com.tnsai.server.security.SessionCapabilityStore
-
Returns the token for
sessionId, minting one on first call. - model() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
modelrecord component. - model() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
modelrecord component. - model() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
modelrecord component.
N
- name() - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- name() - Method in class com.tnsai.server.rag.retrieval.KnowledgeBaseStream
- name() - Method in interface com.tnsai.server.rag.retrieval.RetrievalStream
- name() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Returns the value of the
namerecord component. - name() - Method in record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Returns the value of the
namerecord component. - NETWORK - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
Network operations (curl, wget) — ask user
- NORMALIZED - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
O
- of(List<HookConfig>) - Static method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Create a registry from pre-built hook configs (for programmatic/test use).
- of(List<HookConfig>, HookExecutor) - Static method in class com.tnsai.server.hooks.DeclarativeHookRegistry
-
Create a registry from pre-built hook configs with a custom executor.
- ON_ERROR - Enum constant in enum class com.tnsai.server.hooks.HookEvent
- ON_START - Enum constant in enum class com.tnsai.server.hooks.HookEvent
- ON_STOP - Enum constant in enum class com.tnsai.server.hooks.HookEvent
- onClose(WsCloseContext) - Method in class com.tnsai.server.ws.WsHandler
- onConnect(WsConnectContext) - Method in class com.tnsai.server.ws.WsHandler
- onConnectionClosed() - Method in class com.tnsai.server.health.IdleShutdownManager
-
Called when a connection is closed.
- onConnectionOpened() - Method in class com.tnsai.server.health.IdleShutdownManager
-
Called when a connection is established.
- onError(WsErrorContext) - Method in class com.tnsai.server.ws.WsHandler
- onIdleShutdown(Runnable) - Method in class com.tnsai.server.TnsServer.Builder
- onMessage(WsMessageContext) - Method in class com.tnsai.server.ws.WsHandler
- onToolCallComplete(String, Object, boolean, long) - Method in class com.tnsai.server.ws.WsToolCallListener
- onToolCallStart(String, Map<String, Object>) - Method in class com.tnsai.server.ws.WsToolCallListener
- originPolicy(OriginPolicy) - Method in class com.tnsai.server.TnsServer.Builder
-
WebSocket Origin allowlist (TNS-302).
- OriginPolicy - Class in com.tnsai.server.security
-
Origin allowlist for the WebSocket upgrade (TNS-302).
P
- path() - Method in record class com.tnsai.server.rag.IndexStatus
-
Returns the value of the
pathrecord component. - path() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns the value of the
pathrecord component. - pattern() - Method in class com.tnsai.server.hooks.HookMatcher
- port(int) - Method in class com.tnsai.server.TnsServer.Builder
- POST_TOOL_USE - Enum constant in enum class com.tnsai.server.hooks.HookEvent
- PRE_TOOL_USE - Enum constant in enum class com.tnsai.server.hooks.HookEvent
- preview() - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Returns the value of the
previewrecord component. - preview() - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Returns the value of the
previewrecord component. - principalProvider(AgentPrincipalProvider) - Method in class com.tnsai.server.TnsServer.Builder
-
Principal provider used to mint identities for every per-session agent (TNS-298).
- PROTOCOL_VERSION - Static variable in class com.tnsai.server.ws.WsProtocol
- provider() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
providerrecord component. - provider() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
providerrecord component. - provider() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
providerrecord component.
Q
- query() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns the value of the
queryrecord component.
R
- RagService - Class in com.tnsai.server.rag
-
Orchestrates the RAG pipeline for a single session.
- RagService() - Constructor for class com.tnsai.server.rag.RagService
- RagService.DocumentInfo - Record Class in com.tnsai.server.rag
-
Summary info for a document in the knowledge base.
- READ_ONLY - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
Safe read-only operations — auto-approve
- record(AuditService.AuditEntry) - Method in class com.tnsai.server.audit.AuditService
-
Record an audit entry.
- remove(String) - Method in class com.tnsai.server.security.SessionCapabilityStore
-
Drop the token when the session is removed.
- remove(String) - Method in class com.tnsai.server.session.SessionManager
-
Remove a session and dissolve its group.
- removeAgent(String, String) - Method in class com.tnsai.server.session.SessionManager
-
Remove an agent from the session's group.
- removeConnection(WsContext) - Method in class com.tnsai.server.ws.WsConnectionManager
- removeDocument(String) - Method in class com.tnsai.server.rag.RagService
-
Removes a document from the knowledge base.
- removeDocument(String) - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- replaceAgentsWithTools(String, List<DynamicToolMethod>) - Method in class com.tnsai.server.session.SessionManager
-
Replaces all agents in the session with new ones that include the given tools.
- replaceDocuments(Collection<String>, List<Document>) - Method in class com.tnsai.server.rag.retrieval.BM25Stream
-
Removes then adds documents as one generation under the index lock.
- requiresApproval() - Method in enum class com.tnsai.server.tools.ToolRisk
- requiresApproval(ToolRisk) - Method in enum class com.tnsai.server.ws.AutonomyLevel
-
Returns
trueif this autonomy level requires user approval for the given risk. - result() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns the value of the
resultrecord component. - result() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
resultrecord component. - results() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Returns the value of the
resultsrecord component. - RetrievalStream - Interface in com.tnsai.server.rag.retrieval
-
A pluggable retrieval stream that ranks documents for a query.
- retrieve(String, int) - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- retrieve(String, int) - Method in class com.tnsai.server.rag.retrieval.HybridRetriever
- retrieve(String, int) - Method in class com.tnsai.server.rag.retrieval.KnowledgeBaseStream
- retrieve(String, int) - Method in interface com.tnsai.server.rag.retrieval.RetrievalStream
- risk() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
riskrecord component. - risk() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
riskrecord component. - risk() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
riskrecord component. - risk() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
riskrecord component. - role() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
rolerecord component. - role() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
rolerecord component. - role() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
rolerecord component. - RoleDef(String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Creates an instance of a
RoleDefrecord class. - roles() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
rolesrecord component. - roles() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
rolesrecord component. - ROOT_ENV - Static variable in record class com.tnsai.server.security.WorkspaceConfig
- roots() - Method in record class com.tnsai.server.security.WorkspaceConfig
-
Returns the value of the
rootsrecord component. - roots(Path...) - Static method in record class com.tnsai.server.security.WorkspaceConfig
-
Custom roots; each is canonicalised to its absolute real path.
S
- score() - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Returns the value of the
scorerecord component. - search(String, int) - Method in class com.tnsai.server.rag.RagService
-
Searches the knowledge base.
- server() - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Returns the value of the
serverrecord component. - server() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
serverrecord component. - ServerFileTools - Class in com.tnsai.server.tools
-
Function-shape file tools sandboxed to a working directory.
- ServerFileTools(Path) - Constructor for class com.tnsai.server.tools.ServerFileTools
- ServerGitTools - Class in com.tnsai.server.tools
-
Function-shape git tools for tnsai-server.
- ServerGitTools(Path) - Constructor for class com.tnsai.server.tools.ServerGitTools
- ServerShellTools - Class in com.tnsai.server.tools
-
Function-shape shell-execute tool with risk classification (ADR-8).
- ServerShellTools(Path) - Constructor for class com.tnsai.server.tools.ServerShellTools
- ServerShellTools(Path, long) - Constructor for class com.tnsai.server.tools.ServerShellTools
- SessionCapabilityGate - Class in com.tnsai.server.security
-
HTTP gate that enforces per-session capability ownership (TNS-302).
- SessionCapabilityGate(SessionManager, SessionCapabilityStore) - Constructor for class com.tnsai.server.security.SessionCapabilityGate
- SessionCapabilityStore - Class in com.tnsai.server.security
-
Per-session capability tokens (TNS-302).
- SessionCapabilityStore() - Constructor for class com.tnsai.server.security.SessionCapabilityStore
- sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Cancel
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbList
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in interface com.tnsai.server.ws.WsProtocol.ClientEvent
- sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in interface com.tnsai.server.ws.WsProtocol.ServerEvent
- sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
sessionIdrecord component. - SessionInfo - Class in com.tnsai.server.session
-
Metadata for an active chat session.
- SessionInfo(String, AgentGroup) - Constructor for class com.tnsai.server.session.SessionInfo
- SessionManager - Class in com.tnsai.server.session
-
Maps sessionId to AgentGroup.
- SessionManager(AgentFactory) - Constructor for class com.tnsai.server.session.SessionManager
- SetAutonomy(int, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Creates an instance of a
SetAutonomyrecord class. - setAutonomyLevel(AutonomyLevel) - Method in class com.tnsai.server.session.SessionInfo
- setAutonomyLevel(AutonomyLevel) - Method in class com.tnsai.server.ws.WsToolApprovalFilter
- shellExecute(String) - Method in class com.tnsai.server.tools.ServerShellTools
- shutdown() - Method in class com.tnsai.server.ws.WsHandler
- size() - Method in class com.tnsai.server.audit.AuditService
-
Returns the current number of entries.
- size() - Method in class com.tnsai.server.rag.retrieval.BM25Stream
- size() - Method in class com.tnsai.server.security.SessionCapabilityStore
- SKIPPED - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
- skippedFiles() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
skippedFilesrecord component. - stage() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
stagerecord component. - start() - Method in class com.tnsai.server.health.IdleShutdownManager
-
Start monitoring.
- start() - Method in class com.tnsai.server.TnsServer
- status() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
statusrecord component. - status() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
statusrecord component. - stop() - Method in class com.tnsai.server.health.IdleShutdownManager
- stop() - Method in class com.tnsai.server.TnsServer
- store() - Method in class com.tnsai.server.security.SessionCapabilityGate
- strategy() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns the value of the
strategyrecord component. - stream(RetrievalStream) - Method in class com.tnsai.server.rag.retrieval.HybridRetriever.Builder
- stream(RetrievalStream, double) - Method in class com.tnsai.server.rag.retrieval.HybridRetriever.Builder
- strict(String...) - Static method in class com.tnsai.server.security.OriginPolicy
-
Strict policy: only the explicit origins, no loopback wildcarding.
- summary() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
summaryrecord component. - SUPERVISED - Enum constant in enum class com.tnsai.server.ws.AutonomyLevel
T
- TeamUpdate(int, String, String, List<WsProtocol.AgentInfo>, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Creates an instance of a
TeamUpdaterecord class. - TeamUpdate(String, List<WsProtocol.AgentInfo>, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
- threshold() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns the value of the
thresholdrecord component. - timestamp() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
timestamprecord component. - TnsServer - Class in com.tnsai.server
-
TnsAI WebSocket backend -- framework-first, shared by any protocol v1 compatible client.
- TnsServer.Builder - Class in com.tnsai.server
- TnsServerMain - Class in com.tnsai.server
-
Entry point for the TnsAI Server fat JAR.
- TnsServerMain() - Constructor for class com.tnsai.server.TnsServerMain
- toDynamicToolMethod(String, String, Map<String, Object>, String, String, WsConnectionManager) - Static method in class com.tnsai.server.tools.McpProxyTool
-
Build a
DynamicToolMethodfronting an MCP-server tool. - Token(int, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Creates an instance of a
Tokenrecord class. - Token(String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
- TOKEN_ENV - Static variable in record class com.tnsai.server.security.AuthConfig
- tokens() - Method in record class com.tnsai.server.ws.WsProtocol.Usage
-
Returns the value of the
tokensrecord component. - tool() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
toolrecord component. - tool() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
toolrecord component. - tool() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
toolrecord component. - tool() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
toolrecord component. - tool() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
toolrecord component. - tool() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
toolrecord component. - ToolApprove(int, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Creates an instance of a
ToolApproverecord class. - ToolApproveRequest(int, String, String, String, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Creates an instance of a
ToolApproveRequestrecord class. - ToolApproveRequest(String, String, String, String, String, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
- toolCallId() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
toolCallIdrecord component. - ToolResult(int, String, String, String, String, String, long, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Creates an instance of a
ToolResultrecord class. - ToolResult(String, String, String, String, long, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
- ToolRisk - Enum Class in com.tnsai.server.tools
-
Risk classification for tool operations (ADR-8).
- tools() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns the value of the
toolsrecord component. - tools() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Returns the value of the
toolsrecord component. - ToolStart(int, String, String, String, String, String, Map<String, Object>, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Creates an instance of a
ToolStartrecord class. - ToolStart(String, String, String, String, Map<String, Object>, String) - Constructor for record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
- toString() - Method in record class com.tnsai.server.audit.AuditService.AuditEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.hooks.HookAction
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.hooks.HookConfig
-
Returns a string representation of this record class.
- toString() - Method in class com.tnsai.server.hooks.HookMatcher
- toString() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.rag.FileIndexer.IndexResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.rag.IndexStatus
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.rag.RagService.DocumentInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.security.AuthConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.security.BindPolicy
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.security.WorkspaceConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.AgentInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Cancel
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbList
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.KbDocInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.KbSearchHit
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.McpToolDef
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.RoleDef
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns a string representation of this record class.
- toString() - Method in record class com.tnsai.server.ws.WsProtocol.Usage
-
Returns a string representation of this record class.
- totalCount() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns the value of the
totalCountrecord component. - totalFiles() - Method in record class com.tnsai.server.rag.FileIndexer.IndexProgress
-
Returns the value of the
totalFilesrecord component. - totalFiles() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns the value of the
totalFilesrecord component. - totalFiles() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns the value of the
totalFilesrecord component. - touch() - Method in class com.tnsai.server.session.SessionInfo
- type() - Method in record class com.tnsai.server.hooks.HookAction
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
typerecord component. - type() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
typerecord component. - type() - Method in interface com.tnsai.server.ws.WsProtocol.ServerEvent
U
- UNCHANGED - Enum constant in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
- UNKNOWN - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
Unknown commands — treat as high risk
- usage() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Returns the value of the
usagerecord component. - Usage(int, double) - Constructor for record class com.tnsai.server.ws.WsProtocol.Usage
-
Creates an instance of a
Usagerecord class.
V
- v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentAdd
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.AgentRemove
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Cancel
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.Chat
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbAdd
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbList
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbRemove
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.KbSearch
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpResult
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.McpTools
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.SetAutonomy
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ClientEvent.ToolApprove
-
Returns the value of the
vrecord component. - v() - Method in interface com.tnsai.server.ws.WsProtocol.ClientEvent
- v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AgentState
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AuditEntry
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.AutonomyChanged
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Done
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Error
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexDone
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexProgress
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.IndexStart
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbAdded
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbListResult
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbRemoved
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.KbSearchResult
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.McpCall
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.TeamUpdate
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.Token
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolApproveRequest
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolResult
-
Returns the value of the
vrecord component. - v() - Method in record class com.tnsai.server.ws.WsProtocol.ServerEvent.ToolStart
-
Returns the value of the
vrecord component. - v() - Method in interface com.tnsai.server.ws.WsProtocol.ServerEvent
- validate() - Method in record class com.tnsai.server.security.BindPolicy
-
Throws if the policy would open a non-loopback listener without explicit opt-in.
- validate(String) - Method in class com.tnsai.server.security.WorkspaceGuard
-
Canonicalise the supplied path and verify it is under at least one allowlisted root.
- valueOf(String) - Static method in enum class com.tnsai.server.hooks.HookActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.server.hooks.HookEvent
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.server.tools.ToolRisk
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tnsai.server.ws.AutonomyLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.tnsai.server.hooks.HookActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.server.hooks.HookEvent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.server.rag.FileIndexer.ProgressStage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.server.tools.ToolRisk
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tnsai.server.ws.AutonomyLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(String, String) - Method in class com.tnsai.server.security.SessionCapabilityStore
-
Constant-time comparison of
presentedagainst the stored token forsessionId. - VERSION - Static variable in class com.tnsai.server.VersionInfo
-
Resolved version read from the Maven-generated pom.properties, or
"unknown". - VersionInfo - Class in com.tnsai.server
-
Provides runtime access to the tnsai-server artifact version.
W
- with(String...) - Static method in class com.tnsai.server.security.OriginPolicy
-
Policy that accepts loopback plus the explicit origin list.
- withMaxFileCount(int) - Method in record class com.tnsai.server.security.WorkspaceConfig
- withToken(String) - Static method in record class com.tnsai.server.security.AuthConfig
-
Auth required with the given Bearer token.
- workspaceConfig(WorkspaceConfig) - Method in class com.tnsai.server.TnsServer.Builder
-
Workspace allowlist + indexing caps (TNS-302).
- WorkspaceConfig - Record Class in com.tnsai.server.security
-
Workspace allowlist + caps for
/api/index(TNS-302). - WorkspaceConfig(List<Path>, int) - Constructor for record class com.tnsai.server.security.WorkspaceConfig
-
Creates an instance of a
WorkspaceConfigrecord class. - WorkspaceGuard - Class in com.tnsai.server.security
-
Validates a client-supplied path against
WorkspaceConfig(TNS-302). - WorkspaceGuard(WorkspaceConfig) - Constructor for class com.tnsai.server.security.WorkspaceGuard
- WorkspaceGuard.WorkspaceViolation - Exception Class in com.tnsai.server.security
-
Thrown when a request resolves to a path outside every allowlisted root.
- WorkspaceViolation(String) - Constructor for exception class com.tnsai.server.security.WorkspaceGuard.WorkspaceViolation
- WRITE - Enum constant in enum class com.tnsai.server.tools.ToolRisk
-
File write operations — ask user
- WsCapabilityGate - Class in com.tnsai.server.security
-
WebSocket upgrade-time capability gate (TNS-302).
- WsCapabilityGate(SessionManager, SessionCapabilityStore) - Constructor for class com.tnsai.server.security.WsCapabilityGate
- WsConnectionManager - Class in com.tnsai.server.ws
-
Tracks active WebSocket connections per session.
- WsConnectionManager(ObjectMapper) - Constructor for class com.tnsai.server.ws.WsConnectionManager
- WsHandler - Class in com.tnsai.server.ws
-
WebSocket event handler.
- WsHandler(SessionManager, WsConnectionManager, IdleShutdownManager, ObjectMapper) - Constructor for class com.tnsai.server.ws.WsHandler
- WsHandler(SessionManager, WsConnectionManager, IdleShutdownManager, ObjectMapper, SessionCapabilityStore) - Constructor for class com.tnsai.server.ws.WsHandler
- WsProtocol - Class in com.tnsai.server.ws
-
WebSocket Protocol v1 — all client/server event types.
- WsProtocol.AgentInfo - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent - Interface in com.tnsai.server.ws
- WsProtocol.ClientEvent.AgentAdd - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.AgentRemove - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.Cancel - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.Chat - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.KbAdd - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.KbList - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.KbRemove - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.KbSearch - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.McpResult - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.McpTools - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.SetAutonomy - Record Class in com.tnsai.server.ws
- WsProtocol.ClientEvent.ToolApprove - Record Class in com.tnsai.server.ws
- WsProtocol.KbDocInfo - Record Class in com.tnsai.server.ws
- WsProtocol.KbSearchHit - Record Class in com.tnsai.server.ws
- WsProtocol.McpToolDef - Record Class in com.tnsai.server.ws
- WsProtocol.RoleDef - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent - Interface in com.tnsai.server.ws
- WsProtocol.ServerEvent.AgentState - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.AuditEntry - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.AutonomyChanged - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.Done - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.Error - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.IndexDone - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.IndexProgress - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.IndexStart - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.KbAdded - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.KbListResult - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.KbRemoved - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.KbSearchResult - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.McpCall - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.TeamUpdate - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.Token - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.ToolApproveRequest - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.ToolResult - Record Class in com.tnsai.server.ws
- WsProtocol.ServerEvent.ToolStart - Record Class in com.tnsai.server.ws
- WsProtocol.Usage - Record Class in com.tnsai.server.ws
- WsToolApprovalFilter - Class in com.tnsai.server.ws
-
Tool call filter that sends approval requests to WebSocket clients and blocks until the user responds.
- WsToolApprovalFilter(String, String, WsConnectionManager, AuditService) - Constructor for class com.tnsai.server.ws.WsToolApprovalFilter
- WsToolCallListener - Class in com.tnsai.server.ws
-
Broadcasts tool call lifecycle events to WebSocket clients.
- WsToolCallListener(String, String, WsConnectionManager) - Constructor for class com.tnsai.server.ws.WsToolCallListener
Y
- YAML schema - Search tag in class com.tnsai.server.hooks.DeclarativeHookRegistry
- Section
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form