messages | Annotated[Sequence[AnyMessage], add_messages] | InputState / OutputState | Tracks the primary conversation history between the user and the assistant. |
source_schema_code | str | None | InputState | The raw relational schema C# source code submitted by the user. |
source_query_code | str | None | InputState | The raw relational LINQ query C# source code submitted by the user. |
translation_type | TranslationType | None | InputState | Scope of the translation (SCHEMA, QUERY, or BOTH). |
source_target | FrameworkEnum | None | InputState | Standardized origin framework identifier (e.g., DOTNET_EFCORE). |
source_target_version | str | None | InputState | Target version of the source database library if specified. |
destination_target | FrameworkEnum | None | InputState | Standardized target framework identifier (e.g., JAVA_SPRING_DATA_MONGODB). |
destination_target_version | str | None | InputState | Target version of the destination database library if specified. |
translated_schema_code | str | None | OutputState | The successfully compiled target Java schema entities and context configs. |
translated_query_code | str | None | OutputState | The successfully compiled target Cypher or Mongo query strings. |
source_validation_schema_code | str | None | OutputState | Full, runnable C# validation class containing mock contexts. |
source_validation_harness_code | str | None | OutputState | Runnable C# console app containing LINQ query execution & JSON serialization. |
target_validation_schema_code | str | None | OutputState | Full, runnable Java validation class containing driver settings. |
target_validation_harness_code | str | None | OutputState | Runnable Java console app containing Cypher/Mongo executions & JSON dumps. |
explanation_message | str | None | OutputState | Final structural evaluation critique or successful validation report. |
source_validation_entry_type_name | str | None | State (Internal) | Entrypoint class name used by the sandbox to execute C# validation. |
target_validation_entry_type_name | str | None | State (Internal) | Entrypoint class name used by the sandbox to execute Java validation. |
source_query_validation_results | QueryValidationResults | None | State (Internal) | Extracted JSON payload containing count, first row sample, and last row sample from source query. |
target_query_validation_results | QueryValidationResults | None | State (Internal) | Extracted JSON payload containing count, first row sample, and last row sample from target query. |
query_equivalence_deep_diffs | dict[str, QueryEquivalenceDeepDiff] | None | State (Internal) | Comparative evaluation differences generated by DeepDiff. |
schema_context | str | State (Internal) | Ground-truth database mappings retrieved via MCP tools prior to translation. |
translation_messages | Annotated[Sequence[AnyMessage], add_messages] | State (Internal) | Isolated thread specifically for the compile-and-retry generation cycles. |
extraction_loop_count | int | State (Internal) | Counter tracking initial input parsing retry attempts. |
translation_loop_count | int | State (Internal) | Counter tracking compilation / validation retry loops (capped at 3). |