Go to file
Lucio Lelii 76aa3fa71d refactor(assistant): extract JSON response parsing into AssistantResponseParser
Cluster D from the structural analysis: parsePlan/parseBlockDraft/
parseConnections and their JSON-extraction helpers (readJsonObject,
extractJsonObject/OrArray, tryExtractBalancedJson, isLikelyNoConnectionsText)
had zero field dependencies - a pure string/JSON parsing layer.

- New AssistantResponseParser holds the parsing logic and the
  LENIENT_ASSISTANT_MAPPER it needs
- AssistantFlowPlan, AssistantBlockPlan, AssistantContainerPlan,
  PlanOperation, AssistantConfiguredBlockDraft, AssistantConnectionDraft,
  ParsedPlan, ParsedBlockDraft, ParsedConnections promoted from private
  to package-private nested types in FlowAssistantService so the new
  parser (and future extractions) can share them without duplication
- parseConnectionsOrInferSequential stays in FlowAssistantService since
  it also calls inferSequentialConnections (connection-resolution
  cluster, not yet extracted)

3175 -> 2988 lines (-187, now under 3000). Behavior-preserving: pure
extraction, no logic changes.

Verified with `mvn test`: 462 tests, 0 failures, 0 errors.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-09-02 10:12:50 +02:00
.mvn/wrapper upgrade to springboot 4 2026-05-05 19:22:53 +02:00
src refactor(assistant): extract JSON response parsing into AssistantResponseParser 2026-09-02 10:12:50 +02:00
.gitattributes first commit 2025-03-27 11:38:06 +01:00
.gitignore Improve assistant model routing and diagnostics 2026-05-20 12:27:09 +02:00
Dockerfile Update Dockerfile for Java 25 2026-04-17 14:11:02 +02:00
mvnw first commit 2025-03-27 11:38:06 +01:00
mvnw.cmd first commit 2025-03-27 11:38:06 +01:00
ollama-preloaded-docker image for test with ollama added 2025-09-29 17:00:57 +02:00
pom.xml fix(concurrency): harden static holders populated by Spring constructors 2026-09-02 09:53:13 +02:00
run_service.sh feat: support provider selection for flow assistant 2026-09-01 15:34:41 +02:00