refactor(cleanup): remove legacy CLI and complete EvoAgent migration cleanup

- Delete backend/cli.py and all CLI-specific tests (test_cli.py,
  test_openclaw_cli_service.py, test_skills_cli.py)
- Remove evotraders console script from pyproject.toml
- Update README/CLAUDE.md to reference python backend/main.py instead of CLI
- Add pytest-asyncio to dev dependencies
- Enhance EvoAgent with reload_runtime_assets and backward-compat attrs
- Align tests with updated API semantics and gateway process models

Constraint: CLI is deprecated in favor of split-service runtime model
Confidence: high
Scope-risk: moderate
This commit is contained in:
2026-04-02 02:06:46 +08:00
parent 3334a41e5a
commit 49d704c363
15 changed files with 117 additions and 2151 deletions

View File

@@ -60,6 +60,7 @@ docker-sandbox = [
]
dev = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"ruff>=0.6.9",
"black>=25.0.0"
]
@@ -70,9 +71,6 @@ Repository = "https://github.com/agentscope-ai/agentscope-samples/evotraders"
Documentation = "https://github.com/agentscope-ai/agentscope-samples/evotraders/README.md"
"Bug Tracker" = "https://github.com/agentscope-ai/agentscope-samples/issues"
[project.scripts]
evotraders = "backend.cli:app"
[tool.setuptools.packages.find]
include = ["backend*", "shared*"]