Compare commits

...

1 Commits

Author SHA1 Message Date
HAL9000 9d4f8b18e8 fix(cli): consolidate context registrations onto context.app
The actor.py module was importing a separate actor_context app for 'agents actor context' commands, which conflicted with the main context.app registration in main.py that registers ACMS project context commands (add, list, show, analyze). When both were registered as sub-apps named 'context' on actor.app in Typer, the last one registered would overwrite the first, making ACMS commands unreachable at 'agents actor context add/list/show'.

This fix changes the import to use context.app directly, consolidating all CLI context functionality into a single Typer instance and restoring accessibility of 'add', 'list', 'show', and other project context commands at 'agents actor context [add,list,show,...]'.
2026-05-17 05:26:40 +00:00
+1 -1
View File
@@ -19,7 +19,7 @@ from cleveragents.application.container import get_container
from cleveragents.cli.commands._resolve_actor import (
resolve_config_files as _resolve_config_files,
)
from cleveragents.cli.commands.actor_context import app as actor_context_app
from cleveragents.cli.commands.context import app as actor_context_app
from cleveragents.cli.formatting import OutputFormat, format_output
from cleveragents.core.exceptions import (
BusinessRuleViolation,