feat: add sub-agent delegation, recall tool, and plan mode with struc…#261
Open
zjsy888 wants to merge 2 commits into
Open
feat: add sub-agent delegation, recall tool, and plan mode with struc…#261zjsy888 wants to merge 2 commits into
zjsy888 wants to merge 2 commits into
Conversation
…tured execution ## New Tools ### Delegate tool - Sub-agent delegation for parallel task execution (up to 8 sub-agents) - Sub-agent runner with isolated context per agent - Configurable tools, iterations, and timeouts per sub-agent ### Recall tool - Search conversation history and code index across sessions - Supports categories: code, decision, error, fact, all - Optional file path filtering - Code index module for code entity tracking ## Plan Mode Enhancements - Structured execution plan with verification and fallback strategies - Step lifecycle: pending -> in_progress -> complete/failed/skipped - Max retries per step with rollback, skip, or ask_user fallbacks ## Infrastructure - Context manager for session-level context tracking - Conversation memory for persistent session recall - Cost calculator and usage tracker with per-model aggregation - Hooks manager for tool lifecycle extensibility - Shell session management ## UI - ContextBar component for session context display - Updated App, PromptInput, slash commands for new tools All 334 tests passing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…tured execution
New Tools
Delegate tool
Recall tool
Plan Mode Enhancements
Infrastructure
UI
All 334 tests passing.