Skip to content

Comments

Develop[Feature] Integrate Console Task Execution & Refine Execution Logic PR Description#1

Open
highgarden wants to merge 4 commits intomainfrom
develop
Open

Develop[Feature] Integrate Console Task Execution & Refine Execution Logic PR Description#1
highgarden wants to merge 4 commits intomainfrom
develop

Conversation

@highgarden
Copy link
Collaborator

[Feature] Integrate Console Task Execution & Refine Execution Logic

📝 Summary

This PR merges the develop branch into main. It introduces a structured 'Console Task Execution' system to visualize agent workflows in real-time and significantly hardens the backend logic for task auto-execution and dependency management. Additionally, it addresses stability issues with terminal sessions and local agent IPC.

🚀 Key Changes

1. Console Task Execution System

  • Console Store (consoleStore.ts): Implemented a new Pinia store to manage execution states, structured logs, and parallel execution contexts.
  • Visualization UI: Added new components (ConsoleFlowView, ConsoleTimeline, ConsoleTaskCard) to provide a clear view of the execution flow.
  • Structured Logging: Upgraded the logging system to handle structured data events for system and agent activities.

2. Enhanced Execution & Dependency Logic

  • Robust Dependency Check: Refined the checkAndExecuteDependentTasks handler to accurately evaluate complex dependencies and expression-based triggers.
  • Cycle Detection: Implemented logic to detect and prevent infinite execution loops during auto-execution.
  • Control Flow: Standardized the processInputSubmission flow and improved handling of explicit control.next branching.

3. Stability & Fixes

  • Terminal Stability: Resolved application crashes related to terminal services and fixed IPC communication issues with local agents (e.g., gemini-cli).
  • Code Quality: Resolved linting errors in GeminiProvider and performed general code cleanup.

4. UI/UX Improvements

  • Workspace Preview: Added a file preview feature for the project workspace, enabling users to view file contents directly within the UI.

✅ Impact

  • Visibility: Users gain clear, real-time visibility into how tasks are executing via the new Console View.
  • Reliability: Complex workflows run more reliably with improved protection against infinite loops and stale triggers.
  • Stability: Integration with local agents is now stable and crash-free.

- Add Console Store and components for structured activity logging
- Improve task execution handlers with better dependency and cycle detection
- Enhance auto-execution logic for dependent tasks
- Update local agent session and terminal services
- Refactor task repository and history tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant