diff --git a/docs/specification.md b/docs/specification.md index afc37b2ec..5bc89bc55 100644 --- a/docs/specification.md +++ b/docs/specification.md @@ -229,10 +229,6 @@ The following standards are integrated into the architecture: agents project unlink-resource [--yes|-y] <PROJECT> <RESOURCE_NAME> agents project list [(--namespace|-n) NS] [<REGEX>] agents project show <PROJECT> -agents validation add (--config|-c) <FILE> [--update] -agents validation attach [--project <PROJECT>|--plan <PLAN_ID>] - <RESOURCE> <VALIDATION> [<ARGS>...] -agents validation detach [--yes|-y] <ATTACHMENT_ID> agents project delete [--force|-f] [--yes|-y] <NAME> agents project context set[--view (strategize|execute|apply|default)] [--include-resource <INCLUDE_RESOURCE>]... @@ -270,6 +266,11 @@ The following standards are integrated into the architecture: [--strategy <STRATEGY>]... <PROJECT> +agents validation add (--config|-c) <FILE> [--update] +agents validation attach [--project <PROJECT>|--plan <PLAN_ID>] + <RESOURCE> <VALIDATION> [<ARGS>...] +agents validation detach [--yes|-y] <ATTACHMENT_ID> + agents actor run [(--output|-o) <OUTPUT_FILE>] [-v...] [--unsafe|-u] [--context <CONTEXT_NAME>] [--context-dir <CONTEXT_PATH>] [--load-context <LOAD_CONTEXT_NAME>] diff --git a/src/cleveragents/cli/commands/tool.py b/src/cleveragents/cli/commands/tool.py index ddf155a3f..379966325 100644 --- a/src/cleveragents/cli/commands/tool.py +++ b/src/cleveragents/cli/commands/tool.py @@ -246,7 +246,7 @@ def add( # If the YAML has a top-level 'tool:' key, extract its contents if isinstance(config_dict, dict) and 'tool' in config_dict: config_dict = config_dict['tool'] - + # Ignore 'cleveragents:' version header if present if isinstance(config_dict, dict) and 'cleveragents' in config_dict: del config_dict['cleveragents']