Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(ChatMessage) - Method in class uno.anahata.ai.context.ContextManager
-
Adds a new message to the conversation context.
- addAll(Collection) - Method in class uno.anahata.ai.swing.AttachmentsPanel
- addContextListener(ContextListener) - Method in class uno.anahata.ai.Chat
-
Adds a listener to be notified of changes in the conversation context.
- addDependencies(Part, List) - Method in class uno.anahata.ai.ChatMessage
-
Adds a list of dependent parts to a source part's dependency list, merging with any existing dependencies for that source part.
- addListener(ContextListener) - Method in class uno.anahata.ai.context.ContextManager
-
Adds a listener to be notified of changes to the conversation history.
- addListener(StatusListener) - Method in class uno.anahata.ai.status.StatusManager
-
Adds a listener to be notified of status changes.
- addNotify() - Method in class uno.anahata.ai.swing.StatusPanel
- addStagedFile(File) - Method in class uno.anahata.ai.swing.AttachmentsPanel
- addStatusListener(StatusListener) - Method in class uno.anahata.ai.Chat
-
Adds a listener to be notified of changes in the chat's operational status.
- addToUserPrompt(List) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Adds the contents of specified files as blobs to the next user feedback message.
- AIToolMethod - Annotation Type in uno.anahata.ai.tools
-
Annotation used to mark a static method as a tool (function) that can be called by the AI model.
- AIToolParam - Annotation Type in uno.anahata.ai.tools
-
Annotation used to provide metadata for a parameter of a method annotated with
AIToolMethod. - ALWAYS - Enum constant in enum uno.anahata.ai.tools.FunctionConfirmation
-
The user wants to always approve this tool in the future without prompting.
- ALWAYS - Enum constant in enum uno.anahata.ai.tools.ToolCallStatus
-
The user's preference for this tool is 'Always', and it was executed.
- AnahataConfig - Class in uno.anahata.ai
-
Manages the global configuration and working directory for the Anahata AI framework.
- AnahataConfig() - Constructor for class uno.anahata.ai.AnahataConfig
- AnahataExecutors - Class in uno.anahata.ai
-
A utility class for creating and managing named
ExecutorServiceinstances for various asynchronous tasks within the Anahata AI framework. - AnahataExecutors() - Constructor for class uno.anahata.ai.AnahataExecutors
- API_CALL_IN_PROGRESS - Enum constant in enum uno.anahata.ai.status.ChatStatus
-
A normal API call is in progress (e.g., waiting for a model response).
- ApiExceptionRecord - Class in uno.anahata.ai.status
-
A record to hold structured information about a single API error event, including retry context.
- ApiExceptionRecord() - Constructor for class uno.anahata.ai.status.ApiExceptionRecord
- appendToFile(String, String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Appends content to the end of a file.
- ApplicationFramesContextProvider - Class in uno.anahata.ai.swing.context.provider
-
A ContextProvider that captures the screen and provides it as image parts.
- ApplicationFramesContextProvider() - Constructor for class uno.anahata.ai.swing.context.provider.ApplicationFramesContextProvider
- Architecture - Section in package uno.anahata.ai.media
- Architecture - Section in package uno.anahata.ai.status
- attach(JComponent) - Method in class uno.anahata.ai.swing.ScrollableTooltipPopup
-
Attaches the popup behavior to a target component.
- AttachmentsPanel - Class in uno.anahata.ai.swing
-
JPanel for attachments
- AttachmentsPanel() - Constructor for class uno.anahata.ai.swing.AttachmentsPanel
- AttachmentsPanel.StagedFile - Class in uno.anahata.ai.swing
-
Wrapper for attached files
- attachWindowCaptures() - Static method in class uno.anahata.ai.swing.tools.spi.ScreenCapture
- AudioPlayer - Class in uno.anahata.ai.media.util
-
A simple UI utility to play short, non-blocking notification sounds from resources.
- AudioTool - Class in uno.anahata.ai.media.functions.spi
-
AI-callable tools for audio recording.
- AudioTool() - Constructor for class uno.anahata.ai.media.functions.spi.AudioTool
- AUGMENTED_WORKSPACE - Enum constant in enum uno.anahata.ai.context.provider.ContextPosition
-
The context is injected as a temporary, just-in-time user message at the end of the prompt.
B
- behavior() - Element in annotation type uno.anahata.ai.tools.AIToolMethod
-
Defines how the output of this tool should be treated within the chat context.
- BLOB - Enum constant in enum uno.anahata.ai.swing.render.PartType
- BlobPartRenderer - Class in uno.anahata.ai.swing.render
- BlobPartRenderer() - Constructor for class uno.anahata.ai.swing.render.BlobPartRenderer
C
- cachedThreadPool - Static variable in class uno.anahata.ai.Executors
-
A shared
ExecutorServicethat creates new threads as needed and reuses them when available. - calculateApproxTokenSize(Part) - Static method in class uno.anahata.ai.internal.PartUtils
-
Estimates the token count of a
Partusing a simple heuristic (bytes / 4). - calculateSizeInBytes(Part) - Static method in class uno.anahata.ai.internal.PartUtils
-
Calculates the size of a
Partin bytes when serialized to JSON. - callingInstance - Static variable in class uno.anahata.ai.Chat
-
A ThreadLocal reference to the Chat instance currently executing a tool.
- cancelled - Variable in class uno.anahata.ai.tools.FunctionPrompter.PromptResult
-
Flag indicating if the user cancelled the entire dialog.
- CANCELLED - Enum constant in enum uno.anahata.ai.tools.ToolCallStatus
-
The user cancelled the entire confirmation dialog, so no calls in the batch were executed.
- Chat - Class in uno.anahata.ai
-
The central orchestrator for a Gemini AI chat session.
- Chat(ChatConfig, FunctionPrompter) - Constructor for class uno.anahata.ai.Chat
-
Constructs a new Chat instance with the specified configuration and prompter.
- ChatConfig - Class in uno.anahata.ai.config
-
Base configuration class for a Gemini AI chat session.
- ChatConfig() - Constructor for class uno.anahata.ai.config.ChatConfig
-
Constructs a new ChatConfig and initializes the default set of context providers.
- ChatMessage - Class in uno.anahata.ai
-
A rich, stateful representation of a single message in the chat history.
- ChatMessage() - Constructor for class uno.anahata.ai.ChatMessage
- ChatMessageJPanel - Class in uno.anahata.ai.swing
-
A JPanel that holds a single rendered ChatMessage.
- ChatMessageJPanel(ChatMessage) - Constructor for class uno.anahata.ai.swing.ChatMessageJPanel
- ChatPanel - Class in uno.anahata.ai.swing
- ChatPanel() - Constructor for class uno.anahata.ai.swing.ChatPanel
-
Creates a new ChatPanel with default configuration and syntax highlighting.
- ChatPanel(SwingChatConfig) - Constructor for class uno.anahata.ai.swing.ChatPanel
-
Creates a new ChatPanel with the specified configuration and default syntax highlighting.
- ChatPanel(SwingChatConfig, EditorKitProvider) - Constructor for class uno.anahata.ai.swing.ChatPanel
-
Creates a new ChatPanel with the specified configuration and custom syntax highlighting.
- ChatStatus - Enum in uno.anahata.ai.status
-
Defines the possible operational states of a
Chatsession. - ChatStatusEvent - Class in uno.anahata.ai.status
-
An event object that provides rich, contextual information about a change in the Chat's status.
- ChatStatusEvent() - Constructor for class uno.anahata.ai.status.ChatStatusEvent
- ChatStatusProvider - Class in uno.anahata.ai.context.provider.spi
-
A context provider that injects high-level information about the current chat session's state into the model's prompt.
- ChatStatusProvider() - Constructor for class uno.anahata.ai.context.provider.spi.ChatStatusProvider
- chatTemp - Static variable in class uno.anahata.ai.tools.spi.RunningJVM
-
A thread-safe map that can be used by the model to persist state across multiple dynamic code executions.
- checkAutobackupOrStartupContent() - Method in class uno.anahata.ai.swing.ChatPanel
- ClasspathPrinter - Class in uno.anahata.ai.tools.spi
-
A utility class for formatting complex Java classpaths into a readable, hierarchical tree structure.
- ClasspathPrinter() - Constructor for class uno.anahata.ai.tools.spi.ClasspathPrinter
- clear() - Method in class uno.anahata.ai.Chat
-
Clears the conversation history and resets the status manager.
- clear() - Method in class uno.anahata.ai.context.ContextManager
-
Clears all messages from the context and resets the token count.
- clearApiErrors() - Method in class uno.anahata.ai.status.StatusManager
-
Clears the history of API errors.
- clearFunctionConfirmation(FunctionCall) - Method in class uno.anahata.ai.config.ChatConfig
-
Clears any stored user preferences for a specific tool call.
- clearStagedParts() - Method in class uno.anahata.ai.swing.AttachmentsPanel
- cloneAndRemoveParts(Content, List) - Static method in class uno.anahata.ai.internal.ContentUtils
-
Creates a new
Contentobject that is a clone of the original, but with a list of specificParts removed. - close() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- CODE_EXECUTION_RESULT - Enum constant in enum uno.anahata.ai.swing.render.PartType
- CodeBlockRenderer - Class in uno.anahata.ai.swing.render
-
A utility class responsible for creating syntax-highlighted code block components.
- CodeExecutionResultPartRenderer - Class in uno.anahata.ai.swing.render
-
Renders the content of a CodeExecutionResult part as plain text.
- CodeExecutionResultPartRenderer() - Constructor for class uno.anahata.ai.swing.render.CodeExecutionResultPartRenderer
- compileAndExecuteJava(String, String, String[]) - Static method in class uno.anahata.ai.tools.spi.RunningJVM
-
Compiles and executes a Java class named
Anahatathat implementsCallable. - compileJava(String, String, String, String[]) - Static method in class uno.anahata.ai.tools.spi.RunningJVM
-
Compiles Java source code in memory and returns the resulting Class object.
- COMPLETED - Enum constant in enum uno.anahata.ai.tools.JobInfo.JobStatus
-
The job has finished successfully.
- ConfigManager - Class in uno.anahata.ai.config
-
Manages configuration-related tasks for a
Chatsession. - ConfigManager(Chat) - Constructor for class uno.anahata.ai.config.ConfigManager
-
Constructs a new ConfigManager for the given Chat instance.
- ContentFactory - Class in uno.anahata.ai.context.provider
-
A factory for generating content parts from registered
ContextProviders. - ContentFactory() - Constructor for class uno.anahata.ai.context.provider.ContentFactory
- ContentRenderer - Class in uno.anahata.ai.swing.render
- ContentRenderer(ChatPanel) - Constructor for class uno.anahata.ai.swing.render.ContentRenderer
- ContentRenderer.ScrollablePanel - Class in uno.anahata.ai.swing.render
- ContentRenderer.WrappingEditorPane - Class in uno.anahata.ai.swing.render
- ContentUtils - Class in uno.anahata.ai.internal
-
Utility methods for working with the Google GenAI
Contentobject. - ContentUtils() - Constructor for class uno.anahata.ai.internal.ContentUtils
- ContextBehavior - Enum in uno.anahata.ai.tools
-
Defines how the output of an
AIToolMethodshould be treated within the conversation context. - contextChanged(Chat) - Method in interface uno.anahata.ai.context.ContextListener
-
Fired whenever the context has changed in any way (messages added, removed, or modified).
- contextChanged(Chat) - Method in class uno.anahata.ai.swing.ChatPanel
- contextChanged(Chat) - Method in class uno.anahata.ai.swing.ConversationPanel
- contextCleared(Chat) - Method in interface uno.anahata.ai.context.ContextListener
-
Fired when the entire context is cleared, usually on a chat restart.
- contextCleared(Chat) - Method in class uno.anahata.ai.swing.ChatPanel
- contextCleared(Chat) - Method in class uno.anahata.ai.swing.ConversationPanel
- ContextHeatmapPanel - Class in uno.anahata.ai.swing
- ContextHeatmapPanel() - Constructor for class uno.anahata.ai.swing.ContextHeatmapPanel
- ContextHeatmapPanel.PartInfo - Class in uno.anahata.ai.swing
- contextLastModified - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The last modified timestamp of the resource as recorded in the context.
- ContextListener - Interface in uno.anahata.ai.context
-
A listener interface for receiving notifications about changes in the conversation context.
- ContextManager - Class in uno.anahata.ai.context
-
Manages the conversation context (history) for a
Chatsession. - ContextManager(Chat) - Constructor for class uno.anahata.ai.context.ContextManager
-
Constructs a new ContextManager for the given Chat instance.
- ContextPosition - Enum in uno.anahata.ai.context.provider
-
Defines the possible locations where a
ContextProvidercan inject its content into the model's prompt. - ContextProvider - Class in uno.anahata.ai.context.provider
-
An abstract base class for modules that contribute dynamic context or instructions to the AI model's prompt.
- ContextProvider(ContextPosition) - Constructor for class uno.anahata.ai.context.provider.ContextProvider
-
Constructs a ContextProvider with a specific target position.
- ContextProvidersPanel - Class in uno.anahata.ai.swing
- ContextProvidersPanel(ChatPanel) - Constructor for class uno.anahata.ai.swing.ContextProvidersPanel
- ContextPruner - Class in uno.anahata.ai.context.pruning
-
Handles the pruning of messages and specific content parts from the conversation context.
- ContextPruner(ContextManager) - Constructor for class uno.anahata.ai.context.pruning.ContextPruner
-
Constructs a new ContextPruner for the given ContextManager.
- contextSize - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The size of the resource as recorded in the context.
- ContextSummaryProvider - Class in uno.anahata.ai.context.provider.spi
-
A critical context provider that injects a detailed, machine-readable summary of the entire conversation history into the model's prompt.
- ContextSummaryProvider() - Constructor for class uno.anahata.ai.context.provider.spi.ContextSummaryProvider
-
Constructs a new ContextSummaryProvider, targeting the
ContextPosition.AUGMENTED_WORKSPACEposition. - ContextUsageBar - Class in uno.anahata.ai.swing
-
A custom JPanel that renders a progress bar for context window usage.
- ContextUsageBar(ChatPanel) - Constructor for class uno.anahata.ai.swing.ContextUsageBar
- ContextWindow - Class in uno.anahata.ai.tools.spi
-
A set of tools for inspecting and managing the AI's conversation context window.
- ContextWindow() - Constructor for class uno.anahata.ai.tools.spi.ContextWindow
- ConversationPanel - Class in uno.anahata.ai.swing
- ConversationPanel(ChatPanel) - Constructor for class uno.anahata.ai.swing.ConversationPanel
- convertMapToObject(Map, Class) - Static method in class uno.anahata.ai.internal.JacksonUtils
-
Deserializes a
Map<String, Object>back into a specific POJO type. - convertObjectToMap(String, Object) - Static method in class uno.anahata.ai.internal.JacksonUtils
-
Converts an object to a
Map<String, Object>, replicating the logic required by the GeminiFunctionResponsetype. - convertValue(Object, Type) - Static method in class uno.anahata.ai.internal.JacksonUtils
-
Deserializes a generic object (typically a Map or List of Maps) back into a specific type, including complex generic types.
- copyFile(String, String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Copies a file.
- Core Components: - Section in package uno.anahata.ai.context
- Core Concepts: - Section in package uno.anahata.ai.context.stateful
- CoreSystemInstructionsMdFileProvider - Class in uno.anahata.ai.context.provider.spi
-
A context provider that loads the core system instructions from a Markdown file in the classpath.
- CoreSystemInstructionsMdFileProvider() - Constructor for class uno.anahata.ai.context.provider.spi.CoreSystemInstructionsMdFileProvider
- Core Tools: - Section in package uno.anahata.ai.tools.spi
- create(String, String) - Static method in class uno.anahata.ai.tools.spi.Images
-
Generates a single image from a text prompt and saves it to the local file system.
- createDirectories(String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Creates a directory structure.
- createFile(String, String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Creates a new file with the given content.
D
- declaration - Variable in class uno.anahata.ai.tools.FunctionInfo
-
The Gemini API function declaration, including name, description, and schema.
- defaultCompilerClasspath - Static variable in class uno.anahata.ai.tools.spi.RunningJVM
-
The default classpath used by the compiler.
- DefaultEditorKitProvider - Class in uno.anahata.ai.swing.render.editorkit
-
A default implementation of EditorKitProvider that provides the standard kits available in a vanilla Swing environment.
- DefaultEditorKitProvider() - Constructor for class uno.anahata.ai.swing.render.editorkit.DefaultEditorKitProvider
- DELETED - Enum constant in enum uno.anahata.ai.context.stateful.ResourceStatus
-
The resource has been deleted from the disk.
- deleteFile(String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Deletes a file and prunes it from the context.
- describePart(Part) - Method in class uno.anahata.ai.context.session.SessionManager
-
Generates a concise description of a content part, including its type and a summary of its content.
- deserialize(byte[], Class) - Static method in class uno.anahata.ai.internal.KryoUtils
-
Deserializes an object from a byte array.
- detectAndParse(File) - Static method in class uno.anahata.ai.internal.TikaUtils
-
Detects the file type and parses the text content from a given file.
- detectMimeType(File) - Static method in class uno.anahata.ai.internal.TikaUtils
-
Detects the MIME type of a given file.
- DISABLED - Enum constant in enum uno.anahata.ai.tools.ToolCallStatus
-
The model attempted to call a tool while function calling was disabled by the user.
- diskLastModified - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The current last modified timestamp of the resource on disk.
- diskSize - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The current size of the resource on disk.
- DJDashboard - Class in uno.anahata.ai.media.functions.spi
-
An interactive dashboard for the DJ Engine, providing real-time visual feedback and manual controls for the user.
- DJDashboard(DJEngine) - Constructor for class uno.anahata.ai.media.functions.spi.DJDashboard
- DJEngine - Class in uno.anahata.ai.media.functions.spi
-
The core engine for the DJ Tool, managing MIDI sequencing and synthesis.
- DJEngine() - Constructor for class uno.anahata.ai.media.functions.spi.DJEngine
- DJTool - Class in uno.anahata.ai.media.functions.spi
-
A tool that manages a persistent, background MIDI sequencer to allow for continuous music playback that can be modified across multiple user turns, simulating a live DJ session.
- DJTool() - Constructor for class uno.anahata.ai.media.functions.spi.DJTool
- DJWindow - Class in uno.anahata.ai.media.functions.spi
-
A dedicated window for the DJ Dashboard, separating Swing window management from the core DJ Engine logic.
- DJWindow(DJEngine) - Constructor for class uno.anahata.ai.media.functions.spi.DJWindow
E
- EditorKitProvider - Interface in uno.anahata.ai.swing.render.editorkit
-
An interface for providing an EditorKit for a given programming language.
- ensureThreadIsAliveAndReady() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- EnvironmentVariablesProvider - Class in uno.anahata.ai.context.provider.spi
-
A context provider that injects the current system environment variables into the model's prompt.
- EnvironmentVariablesProvider() - Constructor for class uno.anahata.ai.context.provider.spi.EnvironmentVariablesProvider
- EPHEMERAL - Enum constant in enum uno.anahata.ai.tools.ContextBehavior
-
The result is ephemeral and does not represent a lasting state.
- ERROR - Enum constant in enum uno.anahata.ai.context.stateful.ResourceStatus
-
An error occurred while checking the status of the resource on disk.
- EXECUTABLE_CODE - Enum constant in enum uno.anahata.ai.swing.render.PartType
- ExecutableCodePartRenderer - Class in uno.anahata.ai.swing.render
-
Renders the content of an ExecutableCode part, which is a request from the model to execute a block of code.
- ExecutableCodePartRenderer() - Constructor for class uno.anahata.ai.swing.render.ExecutableCodePartRenderer
- executedCalls - Variable in class uno.anahata.ai.tools.FunctionProcessingResult
-
A list of all tool calls that were approved and successfully executed during this turn.
- ExecutedToolCall - Class in uno.anahata.ai.tools
-
Represents a tool call that has been successfully executed.
- ExecutedToolCall() - Constructor for class uno.anahata.ai.tools.ExecutedToolCall
- Executors - Class in uno.anahata.ai
-
Provides a shared, cached thread pool for general-purpose asynchronous tasks.
- Executors() - Constructor for class uno.anahata.ai.Executors
F
- FAILED - Enum constant in enum uno.anahata.ai.tools.JobInfo.JobStatus
-
The job failed with an error.
- FailureTracker - Class in uno.anahata.ai.tools
-
Tracks consecutive failures of tool calls and implements a temporary blocking mechanism.
- FailureTracker(Chat) - Constructor for class uno.anahata.ai.tools.FailureTracker
-
Constructs a new FailureTracker for the given Chat instance.
- fileExists(String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Checks if a file or directory exists.
- FileInfo - Class in uno.anahata.ai.tools.spi.pojos
-
A POJO that encapsulates file content and metadata for context-aware operations.
- FileInfo(String) - Constructor for class uno.anahata.ai.tools.spi.pojos.FileInfo
-
Constructs a FileInfo object by reading the file at the specified path.
- formatDuration(long) - Static method in class uno.anahata.ai.swing.TimeUtils
-
Formats a duration in milliseconds into a human-readable string (e.g., "120ms", "1.52s", "1m 32s").
- formatMillis(long) - Static method in class uno.anahata.ai.swing.TimeUtils
-
Formats a duration in milliseconds into a HH:MM:SS string.
- formatMillisConcise(long) - Static method in class uno.anahata.ai.swing.TimeUtils
-
Formats a duration in milliseconds into a concise string like "1h 2m 3s".
- formatSmartTimestamp(Instant) - Static method in class uno.anahata.ai.swing.TimeUtils
-
Formats an Instant into a compact, smart string.
- formatValue(Object) - Static method in class uno.anahata.ai.internal.TextUtils
-
Formats a value for display in a summary, escaping newlines and truncating in the middle if necessary.
- from(Part) - Static method in enum uno.anahata.ai.swing.render.PartType
- fromString(String) - Static method in enum uno.anahata.ai.MessageRole
-
Parses a string role value into the corresponding enum constant.
- FUNCTION_CALL - Enum constant in enum uno.anahata.ai.swing.render.PartType
- FUNCTION_RESPONSE - Enum constant in enum uno.anahata.ai.swing.render.PartType
- FunctionCallPartRenderer - Class in uno.anahata.ai.swing.render
- FunctionCallPartRenderer(SwingChatConfig.UITheme) - Constructor for class uno.anahata.ai.swing.render.FunctionCallPartRenderer
- FunctionConfirmation - Enum in uno.anahata.ai.tools
-
Represents the user's choice when prompted to confirm the execution of one or more tool calls.
- functionConfirmations - Variable in class uno.anahata.ai.tools.FunctionPrompter.PromptResult
-
A map linking each proposed
FunctionCallto the user'sFunctionConfirmation. - FunctionInfo - Class in uno.anahata.ai.tools
-
A metadata class that links a Gemini
FunctionDeclarationto its underlying JavaMethodimplementation. - FunctionInfo() - Constructor for class uno.anahata.ai.tools.FunctionInfo
- FunctionProcessingResult - Class in uno.anahata.ai.tools
-
Summarizes the outcome of the entire user interaction and execution phase for a given turn where tool calls were proposed.
- FunctionProcessingResult() - Constructor for class uno.anahata.ai.tools.FunctionProcessingResult
- FunctionPrompter - Interface in uno.anahata.ai.tools
-
An interface for UI components that can prompt the user to confirm a batch of function calls.
- FunctionPrompter.PromptResult - Class in uno.anahata.ai.tools
-
A value object holding the results of a user confirmation prompt.
- FunctionResponsePartRenderer - Class in uno.anahata.ai.swing.render
- FunctionResponsePartRenderer(SwingChatConfig.UITheme) - Constructor for class uno.anahata.ai.swing.render.FunctionResponsePartRenderer
G
- GeminiAdapter - Class in uno.anahata.ai.gemini
-
A utility class for adapting Java types and objects to the Gemini API's data structures.
- GeminiAdapter() - Constructor for class uno.anahata.ai.gemini.GeminiAdapter
- GeminiAPI - Class in uno.anahata.ai.gemini
-
Manages the connection to the Gemini API, including API key rotation and model selection.
- GeminiAPI(ChatConfig) - Constructor for class uno.anahata.ai.gemini.GeminiAPI
-
Constructs a new GeminiAPI instance and loads API keys from the configuration.
- GeminiKeysPanel - Class in uno.anahata.ai.swing
- GeminiKeysPanel(ChatConfig) - Constructor for class uno.anahata.ai.swing.GeminiKeysPanel
- generateInlinedSchemaString(Type) - Static method in class uno.anahata.ai.tools.schema.SchemaProvider2
-
Generates a complete, inlined JSON schema for a given Java type.
- generateInlinedSchemaString(Type, String, Type) - Static method in class uno.anahata.ai.tools.schema.SchemaProvider2
-
Generates a complete, inlined JSON schema for a wrapper type, but with the schema for a specific 'result' type surgically injected into its 'result' property.
- getAllDependencies() - Method in class uno.anahata.ai.ChatMessage
-
Gets a set of all parts that are involved in any dependency relationship within this message.
- getAllDependencies(Part) - Method in class uno.anahata.ai.ChatMessage
-
Performs a full graph traversal to find all parts connected to the startPart, including the startPart itself.
- getAlwaysApproveFunctions() - Method in class uno.anahata.ai.tools.ToolManager
-
Gets the set of tool names that are configured to be always approved.
- getApi() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the Gemini API adapter associated with this configuration.
- getApiErrors() - Method in class uno.anahata.ai.status.StatusManager
-
Gets an unmodifiable list of all recorded API errors.
- getApiInitialDelayMillis() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the initial delay for exponential backoff on API retries.
- getApiKeyFileName() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the name of the file where Gemini API keys are stored.
- getApiMaxDelayMillis() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the maximum delay for exponential backoff on API retries.
- getApiMaxRetries() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the maximum number of retries for API calls.
- getAutobackupFile() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the file used for automatic session backups.
- getAvailableModelIds() - Method in class uno.anahata.ai.gemini.GeminiAPI
-
Gets the list of all available model IDs.
- getCallingInstance() - Static method in class uno.anahata.ai.Chat
-
Gets the Chat instance associated with the current thread.
- getCallingInstance() - Static method in class uno.anahata.ai.context.ContextManager
-
Gets the ContextManager for the currently executing tool.
- getChatMessageForPart(Part) - Method in class uno.anahata.ai.context.ContextManager
-
Finds the ChatMessage that contains a specific Part instance.
- getClient() - Method in class uno.anahata.ai.gemini.GeminiAPI
-
Gets a new
Clientinstance using the next available API key in the pool. - getColor(ChatStatus) - Static method in class uno.anahata.ai.swing.SwingChatConfig
- getColorForContextUsage(double) - Static method in class uno.anahata.ai.swing.SwingChatConfig
- getContext() - Method in class uno.anahata.ai.Chat
-
Gets the current conversation history as a list of
ChatMessageobjects. - getContext() - Method in class uno.anahata.ai.context.ContextManager
-
Returns a copy of the current conversation history.
- getContextBehavior(String) - Method in class uno.anahata.ai.tools.ToolManager
-
Gets the context behavior (EPHEMERAL or STATEFUL_REPLACE) for a specific tool.
- getContextProviders() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the list of context providers.
- getContextProviders(ContextPosition, boolean) - Method in class uno.anahata.ai.config.ConfigManager
-
Gets a list of context providers that match the specified position and enabled state.
- getContextSummary() - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Generates a detailed Markdown summary of all messages and parts in the context.
- getContextWindowUsage() - Method in class uno.anahata.ai.Chat
-
Calculates the current context window usage as a percentage of the token threshold.
- getContextWindowUsageFormatted() - Method in class uno.anahata.ai.Chat
-
Gets a formatted string representing the current context window usage percentage.
- getCurrentStation() - Static method in class uno.anahata.ai.media.functions.spi.RadioTool
- getDashboard() - Method in class uno.anahata.ai.media.functions.spi.DJWindow
- getDefaultCompilerClasspath() - Static method in class uno.anahata.ai.tools.spi.RunningJVM
-
Gets the current default compiler classpath.
- getDefaultRendererForType(PartType) - Method in class uno.anahata.ai.swing.render.ContentRenderer
- getDescription() - Method in class uno.anahata.ai.context.provider.ContextProvider
-
Gets a brief, human-readable description of what this provider does.
- getDisplayName() - Method in class uno.anahata.ai.context.provider.ContextProvider
-
Gets the human-readable display name for this provider.
- getDisplayName() - Method in class uno.anahata.ai.context.provider.spi.ChatStatusProvider
- getDisplayName() - Method in class uno.anahata.ai.context.provider.spi.ContextSummaryProvider
- getDisplayName() - Method in class uno.anahata.ai.context.provider.spi.CoreSystemInstructionsMdFileProvider
- getDisplayName() - Method in class uno.anahata.ai.context.provider.spi.EnvironmentVariablesProvider
- getDisplayName() - Method in class uno.anahata.ai.context.provider.spi.StatefulResourcesProvider
- getDisplayName() - Method in class uno.anahata.ai.context.provider.spi.SystemPropertiesProvider
- getDisplayName() - Method in class uno.anahata.ai.swing.context.provider.ApplicationFramesContextProvider
- getEditorKitForLanguage(String) - Method in class uno.anahata.ai.swing.render.editorkit.DefaultEditorKitProvider
- getEditorKitForLanguage(String) - Method in interface uno.anahata.ai.swing.render.editorkit.EditorKitProvider
-
Gets a Swing EditorKit suitable for rendering the specified language.
- getElapsedString(Instant, Instant) - Static method in class uno.anahata.ai.swing.TimeUtils
-
Calculates and formats the elapsed time between two Instants.
- getFailureTrackerMaxFailures() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the maximum number of consecutive failures allowed for a tool before it is blocked.
- getFailureTrackerTimeWindowMs() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the time window within which failures are tracked for blocking.
- getFunctionCall() - Method in class uno.anahata.ai.swing.render.InteractiveFunctionCallRenderer
- getFunctionConfirmation(FunctionCall) - Method in class uno.anahata.ai.config.ChatConfig
-
Retrieves the stored user preference for a specific tool call.
- getFunctionInfos() - Method in class uno.anahata.ai.tools.ToolManager
-
Gets a list of information about all registered functions.
- getFunctionTool() - Method in class uno.anahata.ai.tools.ToolManager
-
Gets the
Toolobject containing all registered function declarations. - getGeminiSchema(Class) - Static method in class uno.anahata.ai.gemini.GeminiAdapter
-
Generates a Gemini
Schemafor a given Java class. - getGeminiSchema(Type) - Static method in class uno.anahata.ai.gemini.GeminiAdapter
-
Generates a Gemini
Schemafor a given Java type. - getGeminiSchema(Type, boolean) - Static method in class uno.anahata.ai.gemini.GeminiAdapter
-
Generates a Gemini
Schemafor a given Java type, with an option to include a JSON schema ID. - getGoogleGenAIClient() - Method in class uno.anahata.ai.Chat
-
Gets the underlying Google GenAI client used by this chat session.
- getGson() - Static method in class uno.anahata.ai.internal.GsonUtils
-
Gets the default, compact GSON instance.
- getIcon(String) - Static method in class uno.anahata.ai.swing.IconUtils
-
Loads an icon from the classpath resources and scales it to a 24x24 size.
- getIconHeight() - Method in class uno.anahata.ai.swing.MicrophoneIcon
- getIconHeight() - Method in class uno.anahata.ai.swing.RecordingIcon
- getIconWidth() - Method in class uno.anahata.ai.swing.MicrophoneIcon
- getIconWidth() - Method in class uno.anahata.ai.swing.RecordingIcon
- getId() - Method in class uno.anahata.ai.context.provider.ContextProvider
-
Gets the unique identifier for this provider.
- getId() - Method in class uno.anahata.ai.context.provider.spi.ChatStatusProvider
- getId() - Method in class uno.anahata.ai.context.provider.spi.ContextSummaryProvider
- getId() - Method in class uno.anahata.ai.context.provider.spi.CoreSystemInstructionsMdFileProvider
- getId() - Method in class uno.anahata.ai.context.provider.spi.EnvironmentVariablesProvider
- getId() - Method in class uno.anahata.ai.context.provider.spi.StatefulResourcesProvider
- getId() - Method in class uno.anahata.ai.context.provider.spi.SystemPropertiesProvider
- getId() - Method in class uno.anahata.ai.swing.context.provider.ApplicationFramesContextProvider
- getKryo() - Static method in class uno.anahata.ai.internal.KryoUtils
-
Gets the Kryo instance associated with the current thread.
- getLastApiError() - Method in class uno.anahata.ai.status.StatusManager
-
Gets the most recent API error record.
- getLastModified() - Method in interface uno.anahata.ai.context.stateful.StatefulResource
-
Gets the last modified timestamp of the resource.
- getLastStyle() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- getModelId() - Method in class uno.anahata.ai.gemini.GeminiAPI
-
Gets the currently selected model ID.
- getNeverApproveFunctions() - Method in class uno.anahata.ai.tools.ToolManager
-
Gets the set of tool names that are configured to be never approved.
- getParts(Chat) - Method in class uno.anahata.ai.context.provider.ContextProvider
-
Generates a list of
Partobjects to be included in the model's prompt. - getParts(Chat) - Method in class uno.anahata.ai.context.provider.spi.ChatStatusProvider
- getParts(Chat) - Method in class uno.anahata.ai.context.provider.spi.ContextSummaryProvider
- getParts(Chat) - Method in class uno.anahata.ai.context.provider.spi.CoreSystemInstructionsMdFileProvider
- getParts(Chat) - Method in class uno.anahata.ai.context.provider.spi.EnvironmentVariablesProvider
- getParts(Chat) - Method in class uno.anahata.ai.context.provider.spi.StatefulResourcesProvider
- getParts(Chat) - Method in class uno.anahata.ai.context.provider.spi.SystemPropertiesProvider
- getParts(Chat) - Method in class uno.anahata.ai.swing.context.provider.ApplicationFramesContextProvider
- getPreferredScrollableViewportSize() - Method in class uno.anahata.ai.swing.render.ContentRenderer.ScrollablePanel
- getPreferredScrollableViewportSize() - Method in class uno.anahata.ai.swing.render.ContentRenderer.WrappingEditorPane
- getPreferredScrollableViewportSize() - Method in class uno.anahata.ai.swing.render.GroundingMetadataRenderer
- getPreferredScrollableViewportSize() - Method in class uno.anahata.ai.swing.ScrollablePanel
- getPrettyPrintedDefaultCompilerClasspath() - Static method in class uno.anahata.ai.tools.spi.RunningJVM
-
Returns a pretty-printed, tree-like representation of the default classpath.
- getResourceId() - Method in interface uno.anahata.ai.context.stateful.StatefulResource
-
Gets the unique identifier for this resource.
- getResourceId() - Method in class uno.anahata.ai.tools.spi.pojos.FileInfo
- getResourceIdIfStateful(FunctionResponse, ToolManager) - Static method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Checks a FunctionResponse to see if it's from a STATEFUL_REPLACE tool, and if so, extracts the resource ID.
- getResourceStatus(FunctionResponse) - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Gets the status of a single resource directly from its FunctionResponse.
- getResourceStatus(Part, ChatMessage) - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Gets the status of a stateful resource associated with a part.
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.render.ContentRenderer.ScrollablePanel
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.render.ContentRenderer.WrappingEditorPane
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.render.GroundingMetadataRenderer
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.ScrollablePanel
- getScrollableTracksViewportHeight() - Method in class uno.anahata.ai.swing.render.ContentRenderer.ScrollablePanel
- getScrollableTracksViewportHeight() - Method in class uno.anahata.ai.swing.render.ContentRenderer.WrappingEditorPane
- getScrollableTracksViewportHeight() - Method in class uno.anahata.ai.swing.render.GroundingMetadataRenderer
- getScrollableTracksViewportHeight() - Method in class uno.anahata.ai.swing.ScrollablePanel
- getScrollableTracksViewportWidth() - Method in class uno.anahata.ai.swing.render.ContentRenderer.ScrollablePanel
- getScrollableTracksViewportWidth() - Method in class uno.anahata.ai.swing.render.ContentRenderer.WrappingEditorPane
- getScrollableTracksViewportWidth() - Method in class uno.anahata.ai.swing.render.GroundingMetadataRenderer
- getScrollableTracksViewportWidth() - Method in class uno.anahata.ai.swing.ScrollablePanel
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.render.ContentRenderer.ScrollablePanel
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.render.ContentRenderer.WrappingEditorPane
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.render.GroundingMetadataRenderer
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class uno.anahata.ai.swing.ScrollablePanel
- getScrollState(JScrollPane, Function) - Static method in class uno.anahata.ai.swing.util.SwingUtils
-
Captures the precise scroll state of a JScrollPane.
- getSelectedState() - Method in class uno.anahata.ai.swing.render.InteractiveFunctionCallRenderer
- getSessionId() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the unique identifier for the chat session.
- getSessionId() - Method in class uno.anahata.ai.swing.SwingChatConfig
- getShortId() - Method in class uno.anahata.ai.Chat
-
Gets a short, human-readable identifier for the chat session.
- getSize() - Method in interface uno.anahata.ai.context.stateful.StatefulResource
-
Gets the size of the resource in bytes.
- getSize() - Method in class uno.anahata.ai.tools.FunctionInfo
-
Calculates the approximate size of the function declaration in characters when serialized to JSON.
- getStagedParts() - Method in class uno.anahata.ai.swing.AttachmentsPanel
- getStartupContent() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the startup content to be sent to the model when the session is initialized.
- getStartupParts() - Method in class uno.anahata.ai.config.ChatConfig
-
Reads startup instructions from a
startup.mdfile in the working directory. - getStatefulResourcesOverview() - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Generates a list of statuses for all unique stateful resources currently in the context.
- getSummaryAsString() - Method in class uno.anahata.ai.context.session.SessionManager
-
Generates a human-readable Markdown table summarizing the entire conversation context.
- getTempo() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- getTheme() - Method in class uno.anahata.ai.swing.SwingChatConfig
- getTickLength() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- getTickPosition() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- getTokenCount() - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Gets the current total token count in the context window.
- getTokenThreshold() - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Gets the current token threshold.
- getToolCallId(Part) - Static method in class uno.anahata.ai.gemini.GeminiAdapter
-
Extracts the tool call ID from a Part, checking both FunctionCall and FunctionResponse.
- getToolClasses() - Method in class uno.anahata.ai.config.ChatConfig
-
Gets the list of Java classes containing methods annotated with
@AIToolMethod. - getToolClasses() - Method in class uno.anahata.ai.swing.SwingChatConfig
- getToolConfig() - Method in class uno.anahata.ai.tools.ToolManager
-
Gets the tool configuration for API calls.
- getToolMethod(String) - Method in class uno.anahata.ai.tools.ToolManager
-
Gets the Java Method associated with a specific tool name.
- getTotalTokenCount() - Method in class uno.anahata.ai.context.ContextManager
-
Gets the total token count of the conversation.
- getTrackInstrument(String) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- getWorkingFolder() - Static method in class uno.anahata.ai.AnahataConfig
-
Gets the application's root working directory.
- getWorkingFolder() - Method in class uno.anahata.ai.config.ChatConfig
-
Deprecated.
- getWorkingFolder(String) - Static method in class uno.anahata.ai.AnahataConfig
-
Gets a subfolder within the application's root working directory.
- getWorkingFolder(String) - Method in class uno.anahata.ai.config.ChatConfig
-
Deprecated.Use
AnahataConfig.getWorkingFolder(String)directly. - GroundingMetadataRenderer - Class in uno.anahata.ai.swing.render
- GroundingMetadataRenderer(GroundingMetadata, SwingChatConfig.UITheme) - Constructor for class uno.anahata.ai.swing.render.GroundingMetadataRenderer
- GsonUtils - Class in uno.anahata.ai.internal
-
Utility class for GSON-based JSON operations.
- GsonUtils() - Constructor for class uno.anahata.ai.internal.GsonUtils
H
- handleStatefulReplace(ChatMessage, ToolManager) - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Scans a new message for stateful resources and prunes any older versions of the same resources from the conversation history.
- hide() - Method in class uno.anahata.ai.swing.ScrollableTooltipPopup
I
- IconUtils - Class in uno.anahata.ai.swing
-
A utility class for handling icons.
- IconUtils() - Constructor for class uno.anahata.ai.swing.IconUtils
- IdentifiedFunctionCall - Class in uno.anahata.ai.tools
-
Represents a
FunctionCallthat has been assigned a short, unique, turn-specific ID. - IdentifiedFunctionCall() - Constructor for class uno.anahata.ai.tools.IdentifiedFunctionCall
- IDLE_WAITING_FOR_USER - Enum constant in enum uno.anahata.ai.status.ChatStatus
-
The model has finished processing and is waiting for the user's next input.
- Images - Class in uno.anahata.ai.tools.spi
-
A tool provider for generating images using the Gemini API.
- Images() - Constructor for class uno.anahata.ai.tools.spi.Images
- init() - Method in class uno.anahata.ai.Chat
-
Initializes the chat session, sending any configured startup instructions to the model.
- initDefaultCompilerClasspath() - Static method in class uno.anahata.ai.tools.spi.RunningJVM
-
Initializes the default compiler classpath from the system property.
- InputPanel - Class in uno.anahata.ai.swing
- InputPanel(ChatPanel) - Constructor for class uno.anahata.ai.swing.InputPanel
- InteractiveFunctionCallRenderer - Class in uno.anahata.ai.swing.render
- InteractiveFunctionCallRenderer(FunctionCall, FunctionConfirmation, SwingChatConfig.UITheme) - Constructor for class uno.anahata.ai.swing.render.InteractiveFunctionCallRenderer
- isBlocked(FunctionCall) - Method in class uno.anahata.ai.tools.FailureTracker
-
Checks if a specific function call is currently blocked due to repeated failures.
- isNullOrEmpty(Object) - Static method in class uno.anahata.ai.internal.TextUtils
-
Checks if an object is null, a blank string, or an empty collection/map.
- isRecording() - Static method in class uno.anahata.ai.media.util.Microphone
- isStatefulPart(Part, ChatMessage) - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Checks if a specific Part is associated with a stateful resource interaction.
- isStatefulToolCall(String) - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Checks if a specific tool call ID is associated with a stateful resource in the current context.
- isTrackMuted(String) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
J
- JacksonUtils - Class in uno.anahata.ai.internal
-
A generic utility class for Jackson-based JSON operations.
- JacksonUtils() - Constructor for class uno.anahata.ai.internal.JacksonUtils
- JobInfo - Class in uno.anahata.ai.tools
-
A data class representing the state and result of an asynchronous background job.
- JobInfo() - Constructor for class uno.anahata.ai.tools.JobInfo
- JobInfo.JobStatus - Enum in uno.anahata.ai.tools
-
Defines the possible states of a background job.
K
- Key Architectural Concepts: - Section in package uno.anahata.ai.swing
- Key Classes: - Section in package uno.anahata.ai
- Key Components: - Section in package uno.anahata.ai.context.stateful
- Key Components: - Section in package uno.anahata.ai.gemini
- Key Components: - Section in package uno.anahata.ai.swing.render
- Key Components: - Section in package uno.anahata.ai.tools
- Key Responsibilities: - Section in package uno.anahata.ai.internal
- KryoUtils - Class in uno.anahata.ai.internal
-
Utility class for high-performance object serialization using the Kryo library.
- KryoUtils() - Constructor for class uno.anahata.ai.internal.KryoUtils
L
- listDirectory(String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Lists the contents of a directory.
- listSavedSessions() - Method in class uno.anahata.ai.context.session.SessionManager
-
Lists the names of all saved sessions in the sessions directory.
- listSavedSessions() - Static method in class uno.anahata.ai.tools.spi.Session
-
Lists all available saved chat sessions.
- listStations() - Static method in class uno.anahata.ai.media.functions.spi.RadioTool
- loadSession(String) - Method in class uno.anahata.ai.context.session.SessionManager
-
Loads a conversation history from a saved session file.
- loadSession(String) - Static method in class uno.anahata.ai.tools.spi.Session
-
Loads a conversation history from a saved session file.
- LocalFiles - Class in uno.anahata.ai.tools.spi
-
A comprehensive, context-aware file operations tool provider.
- LocalFiles() - Constructor for class uno.anahata.ai.tools.spi.LocalFiles
- LocalShell - Class in uno.anahata.ai.tools.spi
-
A tool provider that allows the AI model to execute commands in the local bash shell.
- LocalShell() - Constructor for class uno.anahata.ai.tools.spi.LocalShell
M
- main(String[]) - Static method in class uno.anahata.ai.swing.Main
- Main - Class in uno.anahata.ai.swing
- Main() - Constructor for class uno.anahata.ai.swing.Main
- makeGenerateContentConfig() - Method in class uno.anahata.ai.config.ConfigManager
-
Constructs the
GenerateContentConfigfor an API call. - MAX_RETRIES_REACHED - Enum constant in enum uno.anahata.ai.status.ChatStatus
-
The assistant has hit the maximum number of retries and has stopped.
- message() - Method in class uno.anahata.ai.tools.spi.ReloadTest
- MessageRole - Enum in uno.anahata.ai
-
A type-safe enum representing the role of the author of a
ChatMessage. - method - Variable in class uno.anahata.ai.tools.FunctionInfo
-
The Java method that implements the tool's logic.
- Microphone - Class in uno.anahata.ai.media.util
-
A low-level service for controlling the microphone and playing back recorded audio.
- MicrophoneIcon - Class in uno.anahata.ai.swing
-
A simple, programmatically drawn Icon that shows a microphone.
- MicrophoneIcon(int) - Constructor for class uno.anahata.ai.swing.MicrophoneIcon
- minimumLayoutSize(Container) - Method in class uno.anahata.ai.swing.WrapLayout
-
Returns the minimum dimensions needed to layout the visible components contained in the specified target container.
- MODEL - Enum constant in enum uno.anahata.ai.MessageRole
-
The model that is generating responses.
- moveFile(String, String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Moves or renames a file.
- MultiPartResponse - Class in uno.anahata.ai.tools
-
A special return type for tools that need to send multiple, distinct parts back to the model in a subsequent user message.
- MultiPartResponse() - Constructor for class uno.anahata.ai.tools.MultiPartResponse
N
- NEVER - Enum constant in enum uno.anahata.ai.tools.FunctionConfirmation
-
The user wants to never allow this tool to be executed.
- NEVER - Enum constant in enum uno.anahata.ai.tools.ToolCallStatus
-
The user's preference for this tool is 'Never', and it was not executed.
- newCachedThreadPoolExecutor(String) - Static method in class uno.anahata.ai.AnahataExecutors
-
Creates a new cached thread pool.
- newFixedThreadPoolExecutor(int, String) - Static method in class uno.anahata.ai.AnahataExecutors
-
Creates a new thread pool with a fixed number of threads.
- NO - Enum constant in enum uno.anahata.ai.tools.FunctionConfirmation
-
The user denied this specific execution for the current turn.
- NO - Enum constant in enum uno.anahata.ai.tools.ToolCallStatus
-
The user explicitly denied this tool call for this turn.
- NOT_IN_CONTEXT - Enum constant in enum uno.anahata.ai.context.stateful.ResourceStatus
-
The resource exists on disk but has not been loaded into the context.
- Note() - Constructor for class uno.anahata.ai.media.functions.spi.PianoTool.Note
- notifyHistoryChange() - Method in class uno.anahata.ai.context.ContextManager
-
Notifies listeners of a change in the conversation history and triggers an automatic backup.
- notifyJobCompletion(JobInfo) - Method in class uno.anahata.ai.Chat
-
Notifies the chat session that an asynchronous job has completed.
O
- OBJECT_MAPPER - Static variable in class uno.anahata.ai.tools.schema.SchemaProvider2
-
The Jackson ObjectMapper used for internal JSON processing and schema generation.
- OLDER - Enum constant in enum uno.anahata.ai.context.stateful.ResourceStatus
-
The resource on disk is older than the one in the context (should be rare).
- OptionalSerializer - Class in uno.anahata.ai.internal.kryo
-
A custom Kryo serializer for
Optional. - OptionalSerializer() - Constructor for class uno.anahata.ai.internal.kryo.OptionalSerializer
-
Constructs a new OptionalSerializer and marks it as immutable.
- outcomes - Variable in class uno.anahata.ai.tools.FunctionProcessingResult
-
A definitive list of outcomes for every tool call proposed by the model in this turn, including those that were denied or cancelled.
P
- paintComponent(Graphics) - Method in class uno.anahata.ai.swing.ContextUsageBar
- paintIcon(Component, Graphics, int, int) - Method in class uno.anahata.ai.swing.MicrophoneIcon
- paintIcon(Component, Graphics, int, int) - Method in class uno.anahata.ai.swing.RecordingIcon
- partId - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The unique ID of the FunctionResponse Part that introduced this stateful resource into the context (messageId/partIndex).
- PartRenderer - Interface in uno.anahata.ai.swing.render
-
An interface for rendering a specific
Partof a model's response into a JComponent. - PartType - Enum in uno.anahata.ai.swing.render
- PartUtils - Class in uno.anahata.ai.internal
-
Utility methods for working with Gemini
Partobjects. - PartUtils() - Constructor for class uno.anahata.ai.internal.PartUtils
- PianoTool - Class in uno.anahata.ai.media.functions.spi
-
AI-callable tools for playing simple melodies using the Java MIDI synthesizer.
- PianoTool() - Constructor for class uno.anahata.ai.media.functions.spi.PianoTool
- PianoTool.Note - Class in uno.anahata.ai.media.functions.spi
- play(byte[]) - Static method in class uno.anahata.ai.media.util.Microphone
- playMelody(List) - Static method in class uno.anahata.ai.media.functions.spi.PianoTool
- playPsytrance() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- playSound(String) - Static method in class uno.anahata.ai.media.util.AudioPlayer
-
Plays a short, non-blocking notification sound from the application's resources.
- playTechno() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- preferredLayoutSize(Container) - Method in class uno.anahata.ai.swing.WrapLayout
-
Returns the preferred dimensions for this layout given the visible components in the specified target container.
- prettyPrint(Object) - Static method in class uno.anahata.ai.internal.GsonUtils
-
Pretty prints an object to a JSON string.
- prettyPrint(String) - Static method in class uno.anahata.ai.tools.spi.ClasspathPrinter
-
Prints the given classpath string as a hierarchical tree, grouping JARs by their parent directory and showing counts.
- processFunctionCalls(ChatMessage) - Method in class uno.anahata.ai.tools.ToolManager
-
Processes a list of function calls proposed by the model.
- processProvider(ContextProvider) - Method in class uno.anahata.ai.context.provider.ContentFactory
-
Executes a single provider, calculates timing and size, and formats the output parts.
- processText(String, Integer, Integer, String, Integer) - Static method in class uno.anahata.ai.internal.TextUtils
-
Processes a block of text with pagination, filtering, and line truncation.
- produceParts(ContextPosition) - Method in class uno.anahata.ai.context.provider.ContentFactory
-
Produces a list of content parts from all enabled context providers for the given position.
- produceParts(ContextPosition, boolean) - Method in class uno.anahata.ai.context.provider.ContentFactory
-
Produces a list of content parts from all enabled context providers for the given position.
- prompt(ChatMessage, Chat) - Method in class uno.anahata.ai.swing.SwingFunctionPrompter
- prompt(ChatMessage, Chat) - Method in interface uno.anahata.ai.tools.FunctionPrompter
-
Prompts the user to confirm a list of function calls from the model's response.
- PromptResult(Map, String, boolean) - Constructor for class uno.anahata.ai.tools.FunctionPrompter.PromptResult
-
Constructs a new PromptResult.
- providers - Variable in class uno.anahata.ai.config.ChatConfig
-
The list of context providers registered for this configuration.
- pruneEphemeralToolCall(String, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes a single ephemeral tool call and its associated response.
- pruneEphemeralToolCalls(List, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes a list of ephemeral tool calls and their associated responses.
- pruneEphemeralToolCalls(List, String) - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Prunes ephemeral tool calls and their responses by ID.
- pruneEphemeralToolCalls(ToolManager) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Implements the automatic pruning of old tool calls based on the "ephemeral" rules.
- pruneMessages(List, String) - Method in class uno.anahata.ai.context.ContextManager
-
Prunes a set of messages from the context by their sequential IDs.
- pruneMessages(List, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes entire ChatMessage objects from the context based on their unique sequential IDs.
- pruneOther(List, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes non-tool parts (text, blobs, etc.) from the context.
- pruneOther(List, String) - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Prunes specific non-tool parts from the context.
- pruneParts(long, List, String) - Method in class uno.anahata.ai.context.ContextManager
-
Prunes specific parts from a message.
- pruneParts(long, List, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes specific parts from a single ChatMessage, identified by the message's sequential ID and the parts' indices.
- prunePartsByReference(List, String) - Method in class uno.anahata.ai.context.ContextManager
-
Prunes specific parts from the context by their object references.
- prunePartsByReference(List, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
The low-level workhorse method that removes a given set of Part objects from the context.
- pruneStatefulResources(List, String) - Method in class uno.anahata.ai.context.stateful.ResourceTracker
-
Prunes all messages and parts associated with a list of stateful resource IDs.
- pruneStatefulResources(List, String) - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Prunes all parts associated with specific stateful resources.
- pruneToolCall(String, String) - Method in class uno.anahata.ai.context.ContextManager
-
Prunes a specific tool call and its associated response from the context.
- pruneToolCall(String, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes a single tool call (ephemeral or stateful) by its ID.
- pruneToolCalls(List, String) - Method in class uno.anahata.ai.context.pruning.ContextPruner
-
Prunes a list of tool calls by their IDs.
- pulse() - Method in class uno.anahata.ai.media.functions.spi.DJDashboard
R
- RadioTool - Class in uno.anahata.ai.media.functions.spi
-
AI-callable tools for playing internet radio streams.
- RadioTool() - Constructor for class uno.anahata.ai.media.functions.spi.RadioTool
- RadioToolPanel - Class in uno.anahata.ai.media.functions.spi
-
A refined, non-modal UI for controlling the RadioTool with a split-pane layout and a fancy LED display.
- RadioToolPanel() - Constructor for class uno.anahata.ai.media.functions.spi.RadioToolPanel
- rawResult - Variable in class uno.anahata.ai.tools.ExecutedToolCall
-
The raw Java
Objectreturned by the tool method before it was converted to a JSON-compatible Map. - read(Kryo, Input, Class) - Method in class uno.anahata.ai.internal.kryo.OptionalSerializer
- readBinaryFile(String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Reads a binary file and returns its raw bytes.
- readFile(String) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Reads a text file and returns a
FileInfoobject. - recordApiError(String, String, int, long, Throwable) - Method in class uno.anahata.ai.status.StatusManager
-
Records an API error and updates the status to
WAITING_WITH_BACKOFF. - recordFailure(FunctionCall, Exception) - Method in class uno.anahata.ai.tools.FailureTracker
-
Records a failure for a specific function call.
- RecordingIcon - Class in uno.anahata.ai.swing
-
A simple, programmatically drawn Icon that shows a filled red circle to indicate that a recording is in progress.
- RecordingIcon(int) - Constructor for class uno.anahata.ai.swing.RecordingIcon
- recordUserInputTime() - Method in class uno.anahata.ai.status.StatusManager
-
Records the timestamp of the most recent user input.
- redraw() - Method in class uno.anahata.ai.swing.ConversationPanel
- refresh() - Method in class uno.anahata.ai.swing.ContextProvidersPanel
- refresh() - Method in class uno.anahata.ai.swing.ContextUsageBar
- refresh() - Method in class uno.anahata.ai.swing.StatusPanel
- refresh() - Method in class uno.anahata.ai.swing.ToolsPanel
- registerRenderer(Part, PartRenderer) - Method in class uno.anahata.ai.swing.render.ContentRenderer
- ReloadTest - Class in uno.anahata.ai.tools.spi
- ReloadTest() - Constructor for class uno.anahata.ai.tools.spi.ReloadTest
- removeListener(ContextListener) - Method in class uno.anahata.ai.context.ContextManager
-
Removes a previously added context listener.
- removeListener(StatusListener) - Method in class uno.anahata.ai.status.StatusManager
-
Removes a previously added status listener.
- removeNotify() - Method in class uno.anahata.ai.swing.StatusPanel
- removeStatusListener(StatusListener) - Method in class uno.anahata.ai.Chat
-
Removes a previously added status listener.
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.BlobPartRenderer
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.CodeExecutionResultPartRenderer
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.ExecutableCodePartRenderer
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.FunctionCallPartRenderer
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.FunctionResponsePartRenderer
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.InteractiveFunctionCallRenderer
- render(Part, EditorKitProvider) - Method in interface uno.anahata.ai.swing.render.PartRenderer
-
Renders a given Part into a JComponent.
- render(Part, EditorKitProvider) - Method in class uno.anahata.ai.swing.render.TextPartRenderer
- render(String, String, EditorKitProvider) - Static method in class uno.anahata.ai.swing.render.CodeBlockRenderer
-
Creates a syntax-highlighted JEditorPane for the given code, wraps it in a JScrollPane, and returns the component.
- render(ChatMessage) - Method in class uno.anahata.ai.swing.render.ContentRenderer
- required() - Element in annotation type uno.anahata.ai.tools.AIToolParam
-
Indicates whether this parameter is required for the tool to function.
- requiresApproval() - Element in annotation type uno.anahata.ai.tools.AIToolMethod
-
Determines whether the user must explicitly approve the execution of this tool via a confirmation dialog.
- reset() - Method in class uno.anahata.ai.status.StatusManager
-
Resets the status manager to its initial state.
- resetIdCounter(int) - Method in class uno.anahata.ai.tools.ToolManager
-
Resets the tool call ID counter to a specific value.
- resetMessageCounter(long) - Method in class uno.anahata.ai.Chat
-
Resets the sequential message counter to a specific value.
- resource - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
A transient reference to the actual resource object from the context.
- resourceId - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The unique identifier of the resource (e.g., absolute file path).
- ResourceStatus - Enum in uno.anahata.ai.context.stateful
-
Represents the status of a stateful resource in the context, indicating whether the version in memory is valid, stale, or has been deleted from disk.
- ResourceTracker - Class in uno.anahata.ai.context.stateful
-
Tracks and manages stateful resources within the conversation context.
- ResourceTracker(ContextManager) - Constructor for class uno.anahata.ai.context.stateful.ResourceTracker
-
Constructs a new ResourceTracker for the given ContextManager.
- response - Variable in class uno.anahata.ai.tools.ExecutedToolCall
-
The
FunctionResponseobject that will be sent back to the model. - restartChat() - Method in class uno.anahata.ai.swing.ChatPanel
- run() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- RUNNING - Enum constant in enum uno.anahata.ai.tools.JobInfo.JobStatus
-
The job is currently executing.
- RunningJVM - Class in uno.anahata.ai.tools.spi
-
Provides tools for the AI model to compile and execute Java source code within the application's running JVM.
- RunningJVM() - Constructor for class uno.anahata.ai.tools.spi.RunningJVM
- runShell(String) - Static method in class uno.anahata.ai.tools.spi.LocalShell
-
Executes a shell command using
bash -c.
S
- sanitize(Content, AtomicInteger) - Static method in class uno.anahata.ai.gemini.GeminiAdapter
-
Inspects a Content object from the model and ensures every FunctionCall part has a stable ID.
- saveSession(String) - Method in class uno.anahata.ai.context.session.SessionManager
-
Saves the current conversation history to a file.
- saveSession(String) - Static method in class uno.anahata.ai.tools.spi.Session
-
Saves the current conversation history to a file.
- SchemaProvider2 - Class in uno.anahata.ai.tools.schema
-
A clean, focused provider for generating OpenAPI/Swagger compliant JSON schemas from Java types.
- SchemaProvider2() - Constructor for class uno.anahata.ai.tools.schema.SchemaProvider2
- ScreenCapture - Class in uno.anahata.ai.swing.tools.spi
- ScreenCapture() - Constructor for class uno.anahata.ai.swing.tools.spi.ScreenCapture
- screenshotAllJFrames() - Static method in class uno.anahata.ai.swing.UICapture
- screenshotAllScreenDevices() - Static method in class uno.anahata.ai.swing.UICapture
- SCREENSHOTS_DIR - Static variable in class uno.anahata.ai.swing.UICapture
- ScrollablePanel - Class in uno.anahata.ai.swing
-
A flexible JPanel that implements the Scrollable interface, allowing for configurable scrolling behavior.
- ScrollablePanel() - Constructor for class uno.anahata.ai.swing.render.ContentRenderer.ScrollablePanel
- ScrollablePanel() - Constructor for class uno.anahata.ai.swing.ScrollablePanel
-
Default constructor.
- ScrollablePanel(int) - Constructor for class uno.anahata.ai.swing.ScrollablePanel
-
Creates a new ScrollablePanel with a specific scrolling orientation.
- ScrollableTooltipPopup - Class in uno.anahata.ai.swing
-
A reusable utility class to display a scrollable JTextArea inside a JPopupMenu when hovering over a target component.
- ScrollableTooltipPopup() - Constructor for class uno.anahata.ai.swing.ScrollableTooltipPopup
- ScrollState() - Constructor for class uno.anahata.ai.swing.util.SwingUtils.ScrollState
- sendContent(Content) - Method in class uno.anahata.ai.Chat
-
Sends a structured
Contentobject to the model and initiates the processing loop. - sendText(String) - Method in class uno.anahata.ai.Chat
-
Sends a simple text message from the user to the model.
- serialize(Object) - Static method in class uno.anahata.ai.internal.KryoUtils
-
Serializes an object into a byte array.
- Session - Class in uno.anahata.ai.tools.spi
-
A tool provider for managing chat sessions using Kryo serialization.
- Session() - Constructor for class uno.anahata.ai.tools.spi.Session
- SessionManager - Class in uno.anahata.ai.context.session
-
Manages the persistence and summarization of chat sessions.
- SessionManager(ContextManager) - Constructor for class uno.anahata.ai.context.session.SessionManager
-
Constructs a new SessionManager for the given ContextManager.
- setContent(String) - Method in class uno.anahata.ai.swing.ScrollableTooltipPopup
-
Sets the content to be displayed in the popup.
- setContext(List) - Method in class uno.anahata.ai.context.ContextManager
-
Replaces the entire conversation history with a new list of messages.
- setDefaultCompilerClasspath(String) - Static method in class uno.anahata.ai.tools.spi.RunningJVM
-
Sets a new default compiler classpath.
- setFunctionConfirmation(FunctionCall, FunctionConfirmation) - Method in class uno.anahata.ai.config.ChatConfig
-
Stores a user preference for a specific tool call.
- setLastUsage(GenerateContentResponseUsageMetadata) - Method in class uno.anahata.ai.status.StatusManager
-
Sets the usage metadata from the last API response.
- setModelId(String) - Method in class uno.anahata.ai.gemini.GeminiAPI
-
Sets the model ID to be used for subsequent requests.
- setPulseListener(Consumer) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- setScrollableTracksViewportHeight(boolean) - Method in class uno.anahata.ai.swing.ScrollablePanel
- setScrollableTracksViewportWidth(boolean) - Method in class uno.anahata.ai.swing.ScrollablePanel
- setStatus(ChatStatus) - Method in class uno.anahata.ai.status.StatusManager
-
Updates the current operational status and notifies listeners.
- setTempo(int) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- setTempo(int) - Static method in class uno.anahata.ai.media.functions.spi.DJTool
- setTokenThreshold(int) - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Sets a new token threshold.
- setToolManager(ToolManager) - Method in class uno.anahata.ai.swing.ContextHeatmapPanel
- setTrackInstrument(String, int) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- setTrackInstrument(String, int) - Static method in class uno.anahata.ai.media.functions.spi.DJTool
- setTrackMute(String, boolean) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- setTrackMute(String, boolean) - Static method in class uno.anahata.ai.media.functions.spi.DJTool
- SHARED_CPU_EXECUTOR - Static variable in class uno.anahata.ai.AnahataExecutors
-
A shared, fixed-size thread pool optimized for CPU-intensive, parallelizable tasks.
- showFileChooser() - Method in class uno.anahata.ai.swing.AttachmentsPanel
- shutdown() - Method in class uno.anahata.ai.Chat
-
Shuts down the chat session and its associated executor service.
- sourceCallPart - Variable in class uno.anahata.ai.tools.ExecutedToolCall
-
The original
Partfrom the model's message that contained theFunctionCall. - stagedParts - Variable in class uno.anahata.ai.swing.AttachmentsPanel
- STALE - Enum constant in enum uno.anahata.ai.context.stateful.ResourceStatus
-
The resource on disk has been modified more recently than the one in the context.
- start(String) - Static method in class uno.anahata.ai.media.functions.spi.DJTool
- start(String) - Static method in class uno.anahata.ai.media.functions.spi.RadioTool
-
Internal playback method used by the UI and the start tools.
- STARTED - Enum constant in enum uno.anahata.ai.tools.JobInfo.JobStatus
-
The job has been submitted and is starting.
- startMusic(String) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- startRandom() - Static method in class uno.anahata.ai.media.functions.spi.RadioTool
- startRecording() - Static method in class uno.anahata.ai.media.functions.spi.AudioTool
- startRecording() - Static method in class uno.anahata.ai.media.util.Microphone
- startStation(String) - Static method in class uno.anahata.ai.media.functions.spi.RadioTool
- STATEFUL_REPLACE - Enum constant in enum uno.anahata.ai.tools.ContextBehavior
-
The result represents a stateful resource (like a file's content) that should replace any previous version of the same resource in the context.
- StatefulResource - Interface in uno.anahata.ai.context.stateful
-
An interface for objects that represent a stateful resource in the conversation context.
- StatefulResourcesProvider - Class in uno.anahata.ai.context.provider.spi
-
A context provider that injects a table of all stateful resources (e.g., files) currently tracked in the conversation context.
- StatefulResourcesProvider() - Constructor for class uno.anahata.ai.context.provider.spi.StatefulResourcesProvider
-
Constructs a new StatefulResourcesProvider, targeting the
ContextPosition.AUGMENTED_WORKSPACEposition. - StatefulResourceStatus - Class in uno.anahata.ai.context.stateful
-
A data class that holds the complete status of a stateful resource, comparing its state in the chat context versus its state on the physical disk.
- StatefulResourceStatus() - Constructor for class uno.anahata.ai.context.stateful.StatefulResourceStatus
- status - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The calculated status comparing the context and disk states.
- statusChanged(ChatStatus, String) - Method in interface uno.anahata.ai.status.StatusListener
-
Called when the chat's operational status changes.
- statusChanged(ChatStatus, String) - Method in class uno.anahata.ai.swing.ChatPanel
- statusChanged(ChatStatus, String) - Method in class uno.anahata.ai.swing.ConversationPanel
- StatusListener - Interface in uno.anahata.ai.status
-
Listener interface for receiving real-time status updates from a
Chatsession. - StatusManager - Class in uno.anahata.ai.status
-
Manages and broadcasts the operational status of a
Chatsession. - StatusManager(Chat) - Constructor for class uno.anahata.ai.status.StatusManager
-
Constructs a new StatusManager for the given Chat instance.
- StatusPanel - Class in uno.anahata.ai.swing
- StatusPanel(ChatPanel) - Constructor for class uno.anahata.ai.swing.StatusPanel
- stop() - Static method in class uno.anahata.ai.media.functions.spi.DJTool
- stop() - Static method in class uno.anahata.ai.media.functions.spi.RadioTool
- stopMusic() - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- stopRecording() - Static method in class uno.anahata.ai.media.functions.spi.AudioTool
- stopRecording() - Static method in class uno.anahata.ai.media.util.Microphone
- submitCommand(Runnable) - Method in class uno.anahata.ai.media.functions.spi.DJEngine
- Subpackages: - Section in package uno.anahata.ai.context
- Subpackages: - Section in package uno.anahata.ai.internal
- Subpackages: - Section in package uno.anahata.ai.swing.render
- Subpackages: - Section in package uno.anahata.ai.tools
- Subpackages: - Section in package uno.anahata.ai.tools.spi
- summarizeMessage(ChatMessage) - Method in class uno.anahata.ai.context.session.SessionManager
-
Summarizes a single ChatMessage into Markdown table rows.
- SwingChatConfig - Class in uno.anahata.ai.swing
-
A simple, concrete ChatConfig for standalone Swing applications.
- SwingChatConfig() - Constructor for class uno.anahata.ai.swing.SwingChatConfig
- SwingChatConfig.UITheme - Class in uno.anahata.ai.swing
- SwingFunctionPrompter - Class in uno.anahata.ai.swing
-
A combined JDialog and FunctionPrompter implementation for Swing.
- SwingFunctionPrompter(ChatPanel) - Constructor for class uno.anahata.ai.swing.SwingFunctionPrompter
- SwingUtils - Class in uno.anahata.ai.swing.util
-
General Swing utility methods.
- SwingUtils.ScrollState<T> - Class in uno.anahata.ai.swing.util
-
A generic data class to hold the state of a scroll pane's viewport, anchored to a stable model object.
- SYSTEM_INSTRUCTIONS - Enum constant in enum uno.anahata.ai.context.provider.ContextPosition
-
The context is injected as a permanent system instruction at the beginning of the chat.
- SystemPropertiesProvider - Class in uno.anahata.ai.context.provider.spi
-
A context provider that injects the current JVM system properties into the model's prompt.
- SystemPropertiesProvider() - Constructor for class uno.anahata.ai.context.provider.spi.SystemPropertiesProvider
T
- takeDeviceScreenshot(int) - Static method in class uno.anahata.ai.swing.tools.spi.ScreenCapture
- TEXT - Enum constant in enum uno.anahata.ai.swing.render.PartType
- TextChunk - Class in uno.anahata.ai.tools.spi.pojos
-
A data transfer object representing a processed chunk of text.
- TextChunk() - Constructor for class uno.anahata.ai.tools.spi.pojos.TextChunk
- TextPartRenderer - Class in uno.anahata.ai.swing.render
- TextPartRenderer() - Constructor for class uno.anahata.ai.swing.render.TextPartRenderer
- TextUtils - Class in uno.anahata.ai.internal
-
Utility methods for processing and formatting text content.
- TextUtils() - Constructor for class uno.anahata.ai.internal.TextUtils
- TikaUtils - Class in uno.anahata.ai.internal
-
Utility class for file type detection and content extraction using Apache Tika.
- TikaUtils() - Constructor for class uno.anahata.ai.internal.TikaUtils
- TIMESTAMP_FORMAT - Static variable in class uno.anahata.ai.swing.UICapture
- TimeUtils - Class in uno.anahata.ai.swing
-
Utility class for time-related formatting.
- TimeUtils() - Constructor for class uno.anahata.ai.swing.TimeUtils
- toggleContextProviders(List, boolean) - Static method in class uno.anahata.ai.tools.spi.ContextWindow
-
Enables or disables specific context providers.
- TOOL - Enum constant in enum uno.anahata.ai.MessageRole
-
The tool that is providing function responses.
- TOOL_EXECUTION_IN_PROGRESS - Enum constant in enum uno.anahata.ai.status.ChatStatus
-
Local tool (function) execution is in progress.
- toolCallId - Variable in class uno.anahata.ai.context.stateful.StatefulResourceStatus
-
The ID of the FunctionCall/FunctionResponse pair that introduced this stateful resource into the context.
- ToolCallOutcome - Class in uno.anahata.ai.tools
-
A data class that represents the final outcome of a single proposed tool call.
- ToolCallOutcome() - Constructor for class uno.anahata.ai.tools.ToolCallOutcome
- ToolCallStatus - Enum in uno.anahata.ai.tools
-
Represents the definitive final status of a tool call after user interaction and execution attempts.
- ToolManager - Class in uno.anahata.ai.tools
-
Manages the registration, identification, and execution of local tools (functions).
- ToolManager(Chat, FunctionPrompter) - Constructor for class uno.anahata.ai.tools.ToolManager
-
Constructs a new ToolManager for the given Chat instance and prompter.
- ToolsPanel - Class in uno.anahata.ai.swing
- ToolsPanel(Chat, SwingChatConfig) - Constructor for class uno.anahata.ai.swing.ToolsPanel
- toPart(File) - Static method in class uno.anahata.ai.internal.PartUtils
-
Converts a local file into a Gemini
Partcontaining aBlob. - toString() - Method in enum uno.anahata.ai.status.ChatStatus
- toString() - Method in class uno.anahata.ai.tools.spi.pojos.FileInfo
- toString(Blob) - Static method in class uno.anahata.ai.internal.PartUtils
-
Returns a human-readable string representation of a
Blob. - Tree - Class in uno.anahata.ai.tools.schema.test
- Tree() - Constructor for class uno.anahata.ai.tools.schema.test.Tree
- TreeNode - Class in uno.anahata.ai.tools.schema.test
- TreeNode() - Constructor for class uno.anahata.ai.tools.schema.test.TreeNode
- triggerAutobackup() - Method in class uno.anahata.ai.context.session.SessionManager
-
Triggers an asynchronous automatic backup of the current session.
U
- UICapture - Class in uno.anahata.ai.swing
- UICapture() - Constructor for class uno.anahata.ai.swing.UICapture
- UITheme() - Constructor for class uno.anahata.ai.swing.SwingChatConfig.UITheme
- UNKNOWN - Enum constant in enum uno.anahata.ai.swing.render.PartType
- uno.anahata.ai - package uno.anahata.ai
-
Provides the core, high-level classes that orchestrate the AI chat application.
- uno.anahata.ai.config - package uno.anahata.ai.config
-
Provides the core configuration framework for chat sessions.
- uno.anahata.ai.context - package uno.anahata.ai.context
-
Provides the core classes and subpackages for managing the chat conversation's state and history.
- uno.anahata.ai.context.provider - package uno.anahata.ai.context.provider
-
Defines the framework for dynamically injecting contextual information into the AI model's prompt.
- uno.anahata.ai.context.provider.spi - package uno.anahata.ai.context.provider.spi
-
This package contains a set of concrete implementations of the
ContextProviderinterface, each designed to inject a specific type of information into the system prompt, creating a rich and dynamic context for the AI. - uno.anahata.ai.context.pruning - package uno.anahata.ai.context.pruning
-
Provides the logic for context pruning.
- uno.anahata.ai.context.session - package uno.anahata.ai.context.session
-
Manages the persistence of chat sessions.
- uno.anahata.ai.context.stateful - package uno.anahata.ai.context.stateful
-
This package provides a robust framework for managing "stateful resources" local resources, primarily files, whose state can change independently of the chat conversation.
- uno.anahata.ai.gemini - package uno.anahata.ai.gemini
-
This package serves as the primary bridge between the application and the Google Gemini API.
- uno.anahata.ai.internal - package uno.anahata.ai.internal
-
Provides a comprehensive suite of internal utility classes that support the core functionalities of the Gemini client.
- uno.anahata.ai.internal.kryo - package uno.anahata.ai.internal.kryo
-
Contains custom serializers for the Kryo serialization framework.
- uno.anahata.ai.media - package uno.anahata.ai.media
-
Provides a comprehensive framework for handling audio and other media, neatly separating high-level, AI-callable tools from their low-level implementations.
- uno.anahata.ai.media.functions.spi - package uno.anahata.ai.media.functions.spi
- uno.anahata.ai.media.util - package uno.anahata.ai.media.util
- uno.anahata.ai.model.core - package uno.anahata.ai.model.core
-
Defines the core domain model for the AI assistant, providing a model-agnostic representation of the conversation and its components.
- uno.anahata.ai.model.tools - package uno.anahata.ai.model.tools
-
Defines the domain model for the tool (function) calling subsystem.
- uno.anahata.ai.status - package uno.anahata.ai.status
-
Provides a robust, event-driven framework for monitoring and broadcasting the real-time operational status of the chat application.
- uno.anahata.ai.swing - package uno.anahata.ai.swing
-
Provides a comprehensive and well-structured Swing-based user interface for the AI assistant.
- uno.anahata.ai.swing.config - package uno.anahata.ai.swing.config
-
Provides configuration UI components for the AI assistant.
- uno.anahata.ai.swing.config.systeminstructions.spi - package uno.anahata.ai.swing.config.systeminstructions.spi
-
Provides UI-specific implementations of the system instruction framework.
- uno.anahata.ai.swing.context - package uno.anahata.ai.swing.context
-
Provides UI components for managing the conversation context.
- uno.anahata.ai.swing.context.provider - package uno.anahata.ai.swing.context.provider
-
Provides UI components for managing the conversation context providers.
- uno.anahata.ai.swing.render - package uno.anahata.ai.swing.render
-
Provides a framework of specialized renderers for displaying different types of message parts.
- uno.anahata.ai.swing.render.editorkit - package uno.anahata.ai.swing.render.editorkit
-
Provides an abstraction layer for supplying syntax highlighting engines (EditorKits) to the UI.
- uno.anahata.ai.swing.tools - package uno.anahata.ai.swing.tools
-
Provides UI-specific local tool implementations.
- uno.anahata.ai.swing.tools.spi - package uno.anahata.ai.swing.tools.spi
-
Contains the Service Provider Interface (SPI) for UI-specific local tools.
- uno.anahata.ai.swing.util - package uno.anahata.ai.swing.util
- uno.anahata.ai.tools - package uno.anahata.ai.tools
-
Provides the core framework for defining and managing local tools (functions) that the AI model can execute.
- uno.anahata.ai.tools.schema - package uno.anahata.ai.tools.schema
-
Provides the logic for generating JSON schemas from Java classes and methods.
- uno.anahata.ai.tools.schema.test - package uno.anahata.ai.tools.schema.test
- uno.anahata.ai.tools.spi - package uno.anahata.ai.tools.spi
-
Provides a Service Provider Interface (SPI) with a collection of pre-built, general-purpose local tools.
- uno.anahata.ai.tools.spi.pojos - package uno.anahata.ai.tools.spi.pojos
-
Contains Plain Old Java Objects (POJOs) used as data transfer objects for the tools in the SPI.
- updateContext(List) - Method in class uno.anahata.ai.swing.ContextHeatmapPanel
- updatePlaybackState(String, boolean) - Method in class uno.anahata.ai.media.functions.spi.RadioToolPanel
- updateStagedFilesUI() - Method in class uno.anahata.ai.swing.AttachmentsPanel
- USER - Enum constant in enum uno.anahata.ai.MessageRole
-
The user who is interacting with the model.
- userComment - Variable in class uno.anahata.ai.tools.FunctionProcessingResult
-
Any text the user entered in the comment box of the confirmation dialog.
- userComment - Variable in class uno.anahata.ai.tools.FunctionPrompter.PromptResult
-
Any text the user entered in the comment box of the dialog.
V
- VALID - Enum constant in enum uno.anahata.ai.context.stateful.ResourceStatus
-
The resource in the context is identical to the one on disk.
- value() - Element in annotation type uno.anahata.ai.tools.AIToolMethod
-
A detailed, human-readable description of what the tool does.
- value() - Element in annotation type uno.anahata.ai.tools.AIToolParam
-
A detailed description of what this parameter represents and any constraints on its value.
- valueOf(String) - Static method in enum uno.anahata.ai.context.provider.ContextPosition
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.context.stateful.ResourceStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.MessageRole
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.status.ChatStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.swing.render.PartType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.tools.ContextBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.tools.FunctionConfirmation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.tools.JobInfo.JobStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum uno.anahata.ai.tools.ToolCallStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum uno.anahata.ai.context.provider.ContextPosition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.context.stateful.ResourceStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.MessageRole
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.status.ChatStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.swing.render.PartType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.tools.ContextBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.tools.FunctionConfirmation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.tools.JobInfo.JobStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum uno.anahata.ai.tools.ToolCallStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WAITING_WITH_BACKOFF - Enum constant in enum uno.anahata.ai.status.ChatStatus
-
An API error occurred, and the system is in retry mode with exponential backoff.
- WrapLayout - Class in uno.anahata.ai.swing
-
A modified version of FlowLayout that allows components to wrap to the next line.
- WrapLayout() - Constructor for class uno.anahata.ai.swing.WrapLayout
-
Constructs a new
WrapLayoutwith a left alignment and a default 5-unit horizontal and vertical gap. - WrapLayout(int) - Constructor for class uno.anahata.ai.swing.WrapLayout
-
Constructs a new
FlowLayoutwith the specified alignment and a default 5-unit horizontal and vertical gap. - WrapLayout(int, int, int) - Constructor for class uno.anahata.ai.swing.WrapLayout
-
Creates a new flow layout manager with the indicated alignment and the indicated horizontal and vertical gaps.
- WrappingEditorPane() - Constructor for class uno.anahata.ai.swing.render.ContentRenderer.WrappingEditorPane
- write(Kryo, Output, Optional) - Method in class uno.anahata.ai.internal.kryo.OptionalSerializer
- writeFile(String, String, long) - Static method in class uno.anahata.ai.tools.spi.LocalFiles
-
Writes content to an existing file, using optimistic locking.
Y
- YES - Enum constant in enum uno.anahata.ai.tools.FunctionConfirmation
-
The user approved this specific execution for the current turn.
- YES - Enum constant in enum uno.anahata.ai.tools.ToolCallStatus
-
The user explicitly approved this tool call for this turn, and it was executed.
All Classes and Interfaces|All Packages|Serialized Form

AnahataConfig.getWorkingFolder()directly.