Added
- Type-safe context validation with generic AgentContext
- New tool registration decorators (tool, tool_plain) with type validation
- Type validation for SwarmStream and Swarm public API
- Explicit agent switching via ToolResult.switch_to method
Changed
- **BREAKING**: Refactored Core API to be fully type-safe
- **BREAKING**: Reworked agent switching to be stateless and explicit
- **BREAKING**: Simplified Chat components with unified ChatContext
- Reorganized examples into basics and advanced categories
- Updated all documentation to reflect type-safe API changes
Removed
- Experimental SwarmTeam prototype module
- Generic message types in favor of type-safe alternatives
- Swarm team types and exceptions
Fixed
- Yield agent completion event at iteration end