Skip to content

Commit a2a9aec

Browse files
committed
refactor(sdk): improve loadLocalAgents to return validation errors
- Add TypeScript overloads so validate: true returns { agents, validationErrors } - Add AgentValidationError and LoadLocalAgentsResult types - Export new types from SDK index - Move validateAgents to static import (fix dynamic import pattern) - Add comprehensive tests for loadLocalAgents with type safety - Fix early return to respect validate flag
1 parent ee3087b commit a2a9aec

File tree

3 files changed

+859
-31
lines changed

3 files changed

+859
-31
lines changed

0 commit comments

Comments
 (0)