* 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>
23 lines
781 B
Python
23 lines
781 B
Python
"""
|
|
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"]
|