Full Changelog: 1.0.2...1.1.0
π€ Sub-Agent Management System (Major Feature)
Core Implementation:
- SubAgentManager (src/commands/sub-agent-manager.ts) - 860+ lines of comprehensive sub-agent
management - Sub-Agent Types (src/types/sub-agent.ts) - Type definitions and interfaces for sub-agent
handling - Filesystem Integration - Enhanced filesystem manager with sub-agent storage/retrieval
capabilities
Key Features:
- Create Sub-Agents
- Template-based creation (3 built-in templates: code-reviewer, debugger, data-analyst)
- From-scratch creation with custom prompts
- Tool selection from 13+ available tools (Read, Edit, Bash, etc.) - Management Operations
- List installed sub-agents (global/local)
- Edit existing sub-agents (description, tools, system prompt)
- Delete sub-agents with confirmation
- Validate sub-agent configuration - Search & Install
- Search remote sub-agent repository
- Paginated results with navigation
- Install from search results
- Convert commands to sub-agents automatically
π§ Enhanced Navigation System
Navigation Utilities (src/utils/navigation.ts):
- MenuNavigator class - Breadcrumb navigation with history stack
- NavigationUtils - Enhanced select prompts with ESC handling
- MenuBuilder - Programmatic menu construction
- Global navigation state management
Features:
- Breadcrumb display (π Main Menu > Sub-Agents > Create)
- Back button navigation with context-aware text
- ESC key handling for user-friendly experience
- Graceful exit with Ctrl+C handling
π Filesystem Enhancements
Sub-Agent Storage:
- Global storage: ~/.claude/agents/
- Project storage: ./.claude/agents/
- YAML frontmatter parsing for sub-agent metadata
- File validation and error handling
π§ CLI Integration
Updated Main CLI (src/cli.ts):
- New sub-agent menu option in main interface
- Integration with navigation system
- Enhanced user experience with consistent UI patterns
π¦ Version & Dependencies
- Package version: Bumped to 1.1.0
- New dependencies: Enhanced @inquirer/prompts usage
- Build system: Maintained existing TypeScript build pipeline
π― Key Technical Achievements
- 860+ lines of new sub-agent management code
- Template system for rapid sub-agent creation
- Conversion system to transform commands into sub-agents
- Comprehensive validation for sub-agent configurations
- Search integration with remote repository support