Skip to content

πŸ”§ v0.2.10 - Agent Removal System Restored

Choose a tag to compare

@jwesleye jwesleye released this 19 Sep 16:47
· 5 commits to main since this release

πŸ”§ 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 AgentRemover class
  • 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 --remove

Full Changelog: v0.2.9...v0.2.10