Package uno.anahata.asi.toolkit.java
package uno.anahata.asi.toolkit.java
Provides the core machinery for dynamic Java compilation and execution.
This package implements a high-reload JVM environment where source code
provided by the model can be compiled and executed on-the-fly. It features
a sophisticated Java toolkit that
manages a dual-phase classloading strategy:
- Parent-First: For critical framework infrastructure (Agi, ToolContext, etc.) to prevent class identity mismatches.
- Child-First: For project-specific classes to enable instant hot-reloading of logic without restarting the JVM.
- Author:
- anahata
-
ClassDescriptionA session-scoped
URLClassLoaderthat maintains identity and holds in-memory compiled classes (AgiCompiledClass) across turns for an AGI session.Immutable source code descriptor for an in-memory Java class.Represents an in-memory compiled Java class within an AGI session.An in-memoryForwardingJavaFileManagerthat intercepts compiled bytecode output fromJavaCompilerand collects it directly into byte arrays.Simple in-memory class representation for compiler input.A powerful toolkit for compiling and executing Java code dynamically within the application's JVM.Represents a discovered or configured Java Development Kit (JDK) installation.

