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

3 files changed

Lines changed: 859 additions & 31 deletions

File tree

0 commit comments

Comments
 (0)