Full Changelog: v0.3.8...v0.3.9
Improved Error Messages
-
Agentic Mode: Added custom error messages for JSON Schema validation
- Clear guidance when
useToolis missing: prompts user to select a tool or request schemas first - Invalid tool name: shows available tools list
- Missing tool parameters: explains the required format
"toolName": { ...parameters } - When all requested schemas are already in
hasDefinitions: suggests proceeding with tool execution
- Clear guidance when
-
Workflow Mode: Enhanced validation feedback
- Invalid
decisionvalue: shows valid options (proceed,retry,complete) - Invalid
actionvalue: lists available tool names
- Invalid
-
Sampling Mode: Added required field validation
- Missing
userRequest: prompts for task description - Missing
context: prompts for relevant context
- Missing
-
Code Execution Plugin: Improved schema validation
- Requires
hasDefinitionswhen executing code - Guides user to request schemas before code execution
- Better feedback when all schemas are already available
- Requires
Bug Fixes
- Empty arguments handling: Calling a tool with
{}now returns helpful error messages instead of empty results - Schema cleanup:
errorMessagefields are now removed from schemas sent to models (AJV-specific, not part of JSON Schema spec)
Dependencies
- Added
ajv-errorsfor custom JSON Schema error messages