🚀 Major Enhancement: Workflow-Based Tool Architecture v5.5.0 (#95)
* WIP: new workflow architecture * WIP: further improvements and cleanup * WIP: cleanup and docks, replace old tool with new * WIP: cleanup and docks, replace old tool with new * WIP: new planner implementation using workflow * WIP: precommit tool working as a workflow instead of a basic tool Support for passing False to use_assistant_model to skip external models completely and use Claude only * WIP: precommit workflow version swapped with old * WIP: codereview * WIP: replaced codereview * WIP: replaced codereview * WIP: replaced refactor * WIP: workflow for thinkdeep * WIP: ensure files get embedded correctly * WIP: thinkdeep replaced with workflow version * WIP: improved messaging when an external model's response is received * WIP: analyze tool swapped * WIP: updated tests * Extract only the content when building history * Use "relevant_files" for workflow tools only * WIP: updated tests * Extract only the content when building history * Use "relevant_files" for workflow tools only * WIP: fixed get_completion_next_steps_message missing param * Fixed tests Request for files consistently * Fixed tests Request for files consistently * Fixed tests * New testgen workflow tool Updated docs * Swap testgen workflow * Fix CI test failures by excluding API-dependent tests - Update GitHub Actions workflow to exclude simulation tests that require API keys - Fix collaboration tests to properly mock workflow tool expert analysis calls - Update test assertions to handle new workflow tool response format - Ensure unit tests run without external API dependencies in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * WIP - Update tests to match new tools * WIP - Update tests to match new tools --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
4dae6e457e
commit
69a3121452
22
tools/workflow/__init__.py
Normal file
22
tools/workflow/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
Workflow tools for Zen MCP.
|
||||
|
||||
Workflow tools follow a multi-step pattern with forced pauses between steps
|
||||
to encourage thorough investigation and analysis. They inherit from WorkflowTool
|
||||
which combines BaseTool with BaseWorkflowMixin.
|
||||
|
||||
Available workflow tools:
|
||||
- debug: Systematic investigation and root cause analysis
|
||||
- planner: Sequential planning (special case - no AI calls)
|
||||
- analyze: Code analysis workflow
|
||||
- codereview: Code review workflow
|
||||
- precommit: Pre-commit validation workflow
|
||||
- refactor: Refactoring analysis workflow
|
||||
- thinkdeep: Deep thinking workflow
|
||||
"""
|
||||
|
||||
from .base import WorkflowTool
|
||||
from .schema_builders import WorkflowSchemaBuilder
|
||||
from .workflow_mixin import BaseWorkflowMixin
|
||||
|
||||
__all__ = ["WorkflowTool", "WorkflowSchemaBuilder", "BaseWorkflowMixin"]
|
||||
Reference in New Issue
Block a user