czlonkowski
91ad08493c
fix: resolve TypeScript compilation blockers in AI validation tests (Phase 1)
FIXED ISSUES:
✅ Export WorkflowNode, WorkflowJson, ReverseConnection, ValidationIssue types
✅ Fix test function signatures for 3 validators requiring context
✅ Fix SearXNG import name typo (validateSearXNGTool → validateSearXngTool)
✅ Update WolframAlpha test expectations (credentials error, not toolDescription)
CHANGES:
- src/services/ai-node-validator.ts: Re-export types for test files
- tests/unit/services/ai-tool-validators.test.ts:
* Add reverseMap and workflow parameters to validateVectorStoreTool calls
* Add reverseMap parameter to validateWorkflowTool calls
* Add reverseMap parameter to validateAIAgentTool calls
* Fix import: validateSearXngTool (not SearXNG)
* Fix WolframAlpha tests to match actual validator behavior
RESULTS:
- TypeScript compiles cleanly (0 errors)
- Tests execute without compilation errors
- 33/64 tests passing (+9 from before)
- Phase 1 COMPLETE
Related to comprehensive plan for fixing AI validation implementation.
Next: Phase 2 (Fix critical validation bugs)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 23:09:30 +02:00
..
2025-10-06 22:46:36 +02:00
2025-10-06 23:09:30 +02:00
2025-09-22 23:16:24 +02:00
2025-07-30 14:13:19 +02:00
2025-07-30 14:13:19 +02:00
2025-07-30 13:44:35 +02:00
2025-07-30 13:44:35 +02:00
2025-07-30 13:44:35 +02:00
2025-09-29 18:51:59 +02:00
2025-09-25 07:51:04 +02:00
2025-09-29 18:11:15 +02:00
2025-07-28 14:15:09 +02:00
2025-10-01 00:01:59 +02:00
2025-09-22 23:16:24 +02:00
2025-07-30 13:44:35 +02:00
2025-07-28 14:15:09 +02:00
2025-08-02 00:42:25 +02:00
2025-08-07 17:57:08 +02:00
2025-10-06 16:25:48 +02:00
2025-10-04 20:15:49 +02:00
2025-09-24 11:40:40 +02:00
2025-07-28 15:52:57 +02:00
2025-09-25 09:41:57 +02:00
2025-09-25 07:51:04 +02:00
2025-07-28 14:15:09 +02:00
2025-07-30 13:44:35 +02:00
2025-07-28 14:15:09 +02:00
2025-09-25 09:17:02 +02:00
2025-09-25 07:51:04 +02:00
2025-07-28 14:15:09 +02:00
2025-09-15 23:46:33 +02:00
2025-09-22 23:16:24 +02:00
2025-09-29 18:09:06 +02:00
2025-09-24 11:40:40 +02:00
2025-10-06 07:25:32 +02:00
2025-08-02 00:42:25 +02:00
2025-10-02 13:55:13 +02:00
2025-10-05 16:05:19 +02:00
2025-09-22 21:05:27 +02:00
2025-09-22 23:16:24 +02:00
2025-08-07 17:57:08 +02:00
2025-08-07 17:57:08 +02:00
2025-10-02 14:46:32 +02:00
2025-09-22 21:05:27 +02:00
2025-10-02 13:02:32 +02:00
2025-07-30 13:44:35 +02:00