- 在 launcher 中注册 codex 后端,兼容 ~/.codex/sessions 日期嵌套目录 - 解析 session_meta.payload.cwd 过滤当前目录会话 - 添加 myagents codex 子命令与 mycodex 独立入口、补全及 Makefile 链接 - 更新 pyproject.toml 控制台脚本与 README 文档 - 补充 codex 相关单元测试,45 tests passed
42 lines
832 B
TOML
42 lines
832 B
TOML
[project]
|
|
name = "myagents"
|
|
version = "0.1.0"
|
|
description = "Myagents CLI: unified launcher for AI coding agents"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"click>=8.3.2",
|
|
"rich>=13.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
myagents = "myagents.cli:cli"
|
|
myclaude = "myagents.entrypoints:claude_main"
|
|
mykimi = "myagents.entrypoints:kimi_main"
|
|
mycodex = "myagents.entrypoints:codex_main"
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest>=8.0"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["myagents"]
|
|
|
|
[tool.black]
|
|
line-length = 80
|
|
target-version = ["py310"]
|
|
|
|
[tool.ruff]
|
|
line-length = 80
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM", "W"]
|
|
ignore = ["E501"]
|