Skip to content

fix: Register AgentTreeCommand to fix test failures in PR #602#606

Merged
dwash96 merged 5 commits into
cecli-dev:v0.100.13from
szmania:cli-602-fix-agent-tree-command
Jul 15, 2026
Merged

fix: Register AgentTreeCommand to fix test failures in PR #602#606
dwash96 merged 5 commits into
cecli-dev:v0.100.13from
szmania:cli-602-fix-agent-tree-command

Conversation

@szmania

@szmania szmania commented Jul 14, 2026

Copy link
Copy Markdown

Summary

Fixes the test errors in PR #602 by properly registering the new /agent-tree command.

Changes

  • Modified: cecli/commands/__init__.py
    • Added import for AgentTreeCommand from .agent_tree
    • Added CommandRegistry.register(AgentTreeCommand) to register the command
    • Added AgentTreeCommand to the __all__ export list

Root Cause

The original PR #602 added the cecli/commands/agent_tree.py file with the new command implementation, but failed to register it in the commands package's __init__.py. This caused the command to not be discovered during testing, leading to test failures.

Testing

  • The command should now be properly loaded and available as /agent-tree
  • All existing tests should pass
  • Manual testing via /agent-tree command in agent mode should work

This fix addresses the test failures on Python 3.14 and other versions.

Your Name and others added 5 commits July 13, 2026 18:41
@dwash96 dwash96 changed the base branch from main to v0.100.13 July 15, 2026 12:13
@dwash96 dwash96 merged commit d36d492 into cecli-dev:v0.100.13 Jul 15, 2026
2 of 12 checks passed
This was referenced Jul 15, 2026
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.

2 participants