-
Notifications
You must be signed in to change notification settings - Fork 7.9k
feat(opencode): agent architecture overhaul and app fixes Fixes #<ISSUE_ID> #10340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Parallel processing - Handle multiple independent tasks simultaneously Persistent context - Remember conversations across subagent calls Smart context management - Handle long conversations without losing important info Self-healing - Automatically recover from most tool errors without manual intervention
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, I found a couple of potentially related PRs that touch on related areas, though none appear to be direct duplicates of PR #10340: Potentially Related PRs:
However, these are older PRs addressing narrower aspects of session/subagent management. PR #10340 appears to be a comprehensive architectural redesign covering parallel processing, persistent context, smart context management, and self-healing execution all in one major update. The search results consistently return PR #10340 itself when searching for the core keywords, suggesting this is a unique, large-scale architectural enhancement without a direct duplicate. |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
ACP Bug Fixes AddedI've added critical fixes for ACP communication bugs that were causing application stalls and memory leaks: Fixes Included
Test Results✅ All 19 new regression tests pass Documentation
These fixes resolve critical issues preventing ACP from working reliably when the client runs in a different directory than the server. |
What does this PR do?
Introduces a major overhaul to the agent architecture to improve performance and reliability, alongside app fixes.
Parallel Processing: Decoupled reasoning from execution to enable concurrent subtasks.
Persistent Context: Subagents now retain state across invocations within a session.
Smart Context: Implemented a priority-based sliding window to preserve recent and high-value context.
Self-Healing: Agents can now auto-recover from tool failures via a supervisor feedback loop.
App Fixes: Resolved missing folder suggestions and project icon rendering issues.
How did you verify your code works?
Parallel Execution: Verified concurrent subtask execution and result aggregation.
Persistence: Tested subagent memory retention across multiple calls.
Resilience: Simulated tool failures to confirm the supervisor correctly triggers retries.
App: Verified folder suggestion paths and fallback icons in the UI.