Package uno.anahata.ai.nb


package uno.anahata.ai.nb
This package contains the core integration classes that bridge the Anahata AI framework with the Apache NetBeans IDE. It is the central hub of the `anahata-netbeans-ai` plugin.

Key Components:

  • AnahataTopComponent: The primary UI component, a NetBeans TopComponent, that hosts the main chat interface (`ChatPanel`). It manages the lifecycle of a single chat session within the IDE.
  • LiveSessionsTopComponent: A session manager window that displays a live, sortable table of all active Anahata AI sessions. It allows users to monitor status, context usage, and switch between different chat instances.
  • NetBeansChatConfig: A crucial configuration class that extends the framework's SwingChatConfig. It registers all the NetBeans-specific tools (from the uno.anahata.ai.nb.tools package) and context providers, making the AI aware of the IDE's state.
  • AnahataInstaller: The NetBeans module installer class (ModuleInstall) responsible for setup and teardown logic, including the innovative session handoff mechanism that preserves chat windows across plugin reloads.
  • ShowDefaultCompilerClassPathAction: An example action that demonstrates how to integrate AI functionality into the NetBeans menus and UI.
This package serves as the foundation for the AI's deep integration into the NetBeans development workflow.
  • Classes
    Class
    Description
    The NetBeans module installer responsible for lifecycle management.
    The main TopComponent for the Anahata AI Assistant plugin.
    Table model for displaying active Anahata AI sessions.
    A TopComponent that displays a list of all active Anahata AI sessions.
    NetBeans-specific implementation of SwingChatConfig.
    Show gemini's compilers classpath on a new output tab.