Croway commented on PR #30801:
URL: https://github.com/apache/camel/pull/30801#issuecomment-7187236677

   Thanks to both reviewers. I pushed dc4234534a9b and 6bf46702bd6d.
   
   - **Upgrade guide (both reviews):** you're right. stdio added tools through 
the SDK `addTool`, which checks the schemas, so the tool either failed the 
start or was left out with the registry WARN, as in `legacy` and `dual`. The 
era that served such a tool was `modern`. The entry now says so (6bf46702bd6d).
   - **`..;` (both reviews):** done in dc4234534a9b. Each segment of the 
decoded value now counts only up to its first `;`. So `..;x`, `.;x` and 
`%2e%2e%3b` no longer match, while `a;b` and `42;..` still do. The check still 
reads the value only once. The component doc and its catalog copy are updated.
   - **A schema validator per `toolAdded`:** 
`McpJsonDefaults.getSchemaValidator()` doesn't create a new validator. In 
mcp-core 2.2.0, `McpServiceLoader.getDefault()` caches the instance the first 
time it is looked up and returns it after that. The stdio engine keeps it in a 
field only because it looks it up under the application class loader, as it 
does for the JSON mapper. So I left the Vert.x engine as it is.
   - **Description:** fixed. Fixed `ai-resource` routes and 
`McpResourceReadHandler` are in 4.23.0, and templates and prompts are new in 
4.24.0.
   - **JIRA:** I filed CAMEL-27563 (dot segments) and CAMEL-27564 (invalid 
schemas), both with fix version 4.24.0 and linked to CAMEL-26360. The title now 
lists all three tickets. The caller identity part stays under CAMEL-26360.
   
   _Claude Code on behalf of Federico Mariani_
   


-- 
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