luigidemasi opened a new pull request, #27886:
URL: https://github.com/apache/camel/pull/27886

   # Description
   
   Implements [CAMEL-25668](https://issues.apache.org/jira/browse/CAMEL-25668).
   
   Extracts `TypeSafeAiSemanticAdapter` into `camel-semantic-typesafe-ai`, 
allowing the `camel-typesafe-ai` component to run without Semantic 
dependencies. Renames `camel-wolf-defender` to `camel-semantic-wolf-defender`, 
keeping its adapter, inference implementation and supporting classes together. 
Existing Java package and class names are preserved.
   
   TypeSafe validates text and structured state at both the component and 
expert boundaries. Explicit media parts and unsupported binary objects are 
rejected before HTTP, including direct adapter calls and batches, while 
ordinary application records remain accepted. The merged Semantic media 
contract from #27850 is retained, including reserved `$semanticInput` rejection 
and media detection for selected message bodies. Wolf Defender remains 
text-only.
   
   Updates reactor/BOM registration, catalog metadata and documentation, 
website symlinks, JBang dependency resolution and YAML bean coverage. The 4.24 
upgrade guide explains that TypeSafe Semantic users add 
`camel-semantic-typesafe-ai`, while Wolf Defender users replace the old 
artifact with `camel-semantic-wolf-defender`.
   
   ## Validation
   
   Validated locally with Java 25 against `main` at `a97d481a20a9`, including 
merged #27850:
   
   - Full root `mvn -B -ntp clean install -DskipTests -DskipITs`: all 705 
reactor modules passed, including formatting and code generation.
   - Full unit suites together for Semantic, OpenAI, Semantic OpenAI, TypeSafe 
AI, both extracted/renamed experts, packaging tooling, catalog, YAML DSL and 
Kamelet Main.
   - JBang `SemanticCommandTest`, `SemanticMediaInputTest` and 
`SemanticResultFormatterTest`, plus the full TUI unit suite.
   - Combined test result: 5,117 passed, 9 skipped (eight manual tests and the 
opt-in Ollama benchmark), zero failures or errors.
   - The configured Antora documentation check passed against the exact signed 
commit.
   - Regression coverage for reserved envelopes, explicit media parts, data 
URLs, media content types, selected text headers and ordinary structured data. 
Generated documentation mirrors and website symlink targets were checked.
   
   # Target
   
   - [x] I checked that the commit targets `main`.
   
   # Tracking
   
   - [x] The change is tracked by 
[CAMEL-25668](https://issues.apache.org/jira/browse/CAMEL-25668).
   
   # Apache Camel coding standards and style
   
   - [x] The commit has a meaningful subject and body.
   - [x] I ran the full root build with tests skipped and included all related 
generated changes.
   
   # AI-assisted contributions
   
   - [x] AI-generated code is attributed with a `Co-authored-by` trailer, and 
this description identifies the AI tool used.
   
   _Generated by OpenAI Codex via /oss-fix-issue on behalf of 
[luigidemasi](https://github.com/luigidemasi) (Luigi De Masi)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to