π§ v0.2.10 - Agent Removal System Restored
π§ Agent Removal System Restored - v0.2.10
π― Key Improvements
β Agent Removal Functionality
- Restored essential CLI removal options (
--remove,--yes-to-all) that were mistakenly removed during Helmsman cleanup - Implemented new Helmsman-free agent removal system with comprehensive
AgentRemoverclass - Fixed container/image detection by checking top-level context fields (
container_id,image_name) - Added comprehensive artifact discovery from context.yaml and Docker name patterns
- Support removal of Docker containers, images, build contexts, and localhost servers
- Maintain removal audit trail in context.yaml with detailed reporting
π§Ή Code Quality & Type Safety
- Fixed all mypy type annotation errors in agent removal system
- Added explicit type hints for better code maintainability
- Cleaned up duplicate code causing import conflicts
- Improved error handling and logging throughout removal process
π§ͺ Testing & Validation
- Thoroughly tested with both Google ADK and AWS Strands agents in Docker mode
- Verified proper removal of containers, images, and build contexts
- Updated chat endpoint routing tests to reflect current architecture
π What's Fixed
- Docker containers and images are now properly removed (not just build contexts)
- CLI removal commands work correctly across all supported frameworks
- Type checking passes cleanly for release readiness
- Removal process provides detailed progress feedback and error reporting
π Usage
# Remove an agent and all its artifacts
any-agent ./my-agent --remove --yes-to-all
# Interactive removal with confirmation
any-agent ./my-agent --removeFull Changelog: v0.2.9...v0.2.10