2025-11-04 05:17:27 +01:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61.0"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
2025-11-05 15:34:23 +01:00
|
|
|
name = "rp"
|
2025-12-13 14:10:08 +01:00
|
|
|
version = "1.75.0"
|
2025-11-05 15:34:23 +01:00
|
|
|
description = "R python edition. The ultimate autonomous AI CLI."
|
2025-11-04 05:17:27 +01:00
|
|
|
readme = "README.md"
|
2025-11-07 18:51:45 +01:00
|
|
|
requires-python = ">=3.10"
|
2025-11-04 05:17:27 +01:00
|
|
|
license = {text = "MIT"}
|
|
|
|
|
keywords = ["ai", "assistant", "cli", "automation", "openrouter", "autonomous"]
|
|
|
|
|
authors = [
|
2025-11-05 15:34:23 +01:00
|
|
|
{name = "retoor", email = "retoor@molodetz.nl"}
|
|
|
|
|
]
|
2025-12-03 19:17:37 +01:00
|
|
|
maintainers = [
|
|
|
|
|
{name = "retoor", email = "retoor@molodetz.nl"}
|
|
|
|
|
]
|
2025-11-05 15:34:23 +01:00
|
|
|
dependencies = [
|
|
|
|
|
"pydantic>=2.12.3",
|
2025-11-06 15:15:06 +01:00
|
|
|
"prompt_toolkit>=3.0.0",
|
2025-11-07 17:36:03 +01:00
|
|
|
"requests>=2.31.0",
|
2025-11-04 05:17:27 +01:00
|
|
|
]
|
|
|
|
|
classifiers = [
|
feat: add C/C++ language detection and dependency resolution with Makefile generation
Add comprehensive C and C++ project analysis including header classification (stdlib, POSIX, external), compiler flag suggestions, and Makefile generation. Extend DependencyResolver with C library package mappings for debian, fedora, arch, and brew platforms. Update ProjectAnalyzer with LANGUAGE_EXTENSIONS and BUILD_FILES mappings, rename python_version to language_version, and add build_system and compiler_flags fields to AnalysisResult. Enhance SafeCommandExecutor with incomplete argument detection for find, grep, and sed commands. Add metadata field to OperationResult in TransactionalFileSystem and fix hidden directory validation logic. Bump version to 1.69.0 and promote development status to Production/Stable.
2025-12-13 06:30:08 +01:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
2025-12-03 19:17:37 +01:00
|
|
|
"Environment :: Console",
|
2025-11-04 05:17:27 +01:00
|
|
|
"Intended Audience :: Developers",
|
2025-12-03 19:17:37 +01:00
|
|
|
"Intended Audience :: System Administrators",
|
2025-11-04 05:17:27 +01:00
|
|
|
"License :: OSI Approved :: MIT License",
|
2025-12-03 19:17:37 +01:00
|
|
|
"Operating System :: OS Independent",
|
2025-11-04 05:17:27 +01:00
|
|
|
"Programming Language :: Python :: 3",
|
2025-12-03 19:17:37 +01:00
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
|
"Programming Language :: Python :: 3.12",
|
2025-11-05 15:34:23 +01:00
|
|
|
"Programming Language :: Python :: 3.13",
|
2025-11-04 05:17:27 +01:00
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
2025-12-03 19:17:37 +01:00
|
|
|
"Topic :: Utilities",
|
|
|
|
|
"Typing :: Typed",
|
2025-11-04 05:17:27 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
dev = [
|
2025-11-05 15:34:23 +01:00
|
|
|
"pytest>=8.3.0",
|
|
|
|
|
"pytest-cov>=7.0.0",
|
|
|
|
|
"black>=25.9.0",
|
|
|
|
|
"flake8>=7.3.0",
|
|
|
|
|
"mypy>=1.18.2",
|
|
|
|
|
"pre-commit>=4.3.0",
|
2025-11-04 05:17:27 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.scripts]
|
feat: remove entire pr package including agents, autonomous, cache, config, and core modules
Delete the pr/ directory and all its submodules: pr/__init__.py, pr/__main__.py, pr/agents/ (agent_communication.py, agent_manager.py, agent_roles.py), pr/autonomous/ (detection.py, mode.py), pr/cache/, pr/config/, pr/core/, and pr/tools/. Update the Makefile implode target to use python -m rp.implode instead of direct cp. Add changelog entry for version 1.13.0 documenting the switch to synchronous HTTP client.
2025-11-07 18:42:32 +01:00
|
|
|
rp = "rp.__main__:main"
|
|
|
|
|
rpe = "rp.editor:main"
|
|
|
|
|
rpi = "rp.implode:main"
|
|
|
|
|
rpserver = "rp.server:main"
|
|
|
|
|
rpcgi = "rp.cgi:main"
|
2025-11-04 05:17:27 +01:00
|
|
|
|
|
|
|
|
[project.urls]
|
2025-11-04 08:20:03 +01:00
|
|
|
Homepage = "https://retoor.molodetz.nl/retoor/rp"
|
|
|
|
|
Documentation = "https://retoor.molodetz.nl/retoor/rp#readme"
|
|
|
|
|
Repository = "https://retoor.molodetz.nl/retoor/rp"
|
|
|
|
|
"Bug Tracker" = "https://retoor.molodetz.nl/retoor/rp/issues"
|
2025-11-04 05:17:27 +01:00
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
|
where = ["."]
|
feat: remove entire pr package including agents, autonomous, cache, config, and core modules
Delete the pr/ directory and all its submodules: pr/__init__.py, pr/__main__.py, pr/agents/ (agent_communication.py, agent_manager.py, agent_roles.py), pr/autonomous/ (detection.py, mode.py), pr/cache/, pr/config/, pr/core/, and pr/tools/. Update the Makefile implode target to use python -m rp.implode instead of direct cp. Add changelog entry for version 1.13.0 documenting the switch to synchronous HTTP client.
2025-11-07 18:42:32 +01:00
|
|
|
include = ["rp*"]
|
2025-12-03 19:17:37 +01:00
|
|
|
exclude = ["tests*", "ideas*", "nldr*", "fanclub*"]
|
|
|
|
|
|
|
|
|
|
[tool.setuptools.package-data]
|
|
|
|
|
rp = ["py.typed"]
|
2025-11-04 05:17:27 +01:00
|
|
|
|
2025-11-11 12:34:41 +01:00
|
|
|
|
2025-11-04 05:17:27 +01:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|
|
|
|
|
python_files = ["test_*.py"]
|
|
|
|
|
python_classes = ["Test*"]
|
|
|
|
|
python_functions = ["test_*"]
|
feat: remove entire pr package including agents, autonomous, cache, config, and core modules
Delete the pr/ directory and all its submodules: pr/__init__.py, pr/__main__.py, pr/agents/ (agent_communication.py, agent_manager.py, agent_roles.py), pr/autonomous/ (detection.py, mode.py), pr/cache/, pr/config/, pr/core/, and pr/tools/. Update the Makefile implode target to use python -m rp.implode instead of direct cp. Add changelog entry for version 1.13.0 documenting the switch to synchronous HTTP client.
2025-11-07 18:42:32 +01:00
|
|
|
addopts = "-v --cov=rp --cov-report=term-missing --cov-report=html"
|
2025-11-04 05:17:27 +01:00
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
|
line-length = 100
|
|
|
|
|
target-version = ['py38', 'py39', 'py310', 'py311']
|
|
|
|
|
include = '\.pyi?$'
|
|
|
|
|
extend-exclude = '''
|
|
|
|
|
/(
|
|
|
|
|
__pycache__
|
|
|
|
|
| \.git
|
|
|
|
|
| \.mypy_cache
|
|
|
|
|
| \.pytest_cache
|
|
|
|
|
| \.venv
|
|
|
|
|
| build
|
|
|
|
|
| dist
|
|
|
|
|
)/
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
[tool.mypy]
|
2025-11-05 15:34:23 +01:00
|
|
|
python_version = "3.13"
|
2025-11-04 05:17:27 +01:00
|
|
|
warn_return_any = true
|
|
|
|
|
warn_unused_configs = true
|
|
|
|
|
disallow_untyped_defs = false
|
|
|
|
|
disallow_incomplete_defs = false
|
|
|
|
|
check_untyped_defs = true
|
|
|
|
|
no_implicit_optional = true
|
|
|
|
|
warn_redundant_casts = true
|
|
|
|
|
warn_unused_ignores = true
|
|
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
feat: remove entire pr package including agents, autonomous, cache, config, and core modules
Delete the pr/ directory and all its submodules: pr/__init__.py, pr/__main__.py, pr/agents/ (agent_communication.py, agent_manager.py, agent_roles.py), pr/autonomous/ (detection.py, mode.py), pr/cache/, pr/config/, pr/core/, and pr/tools/. Update the Makefile implode target to use python -m rp.implode instead of direct cp. Add changelog entry for version 1.13.0 documenting the switch to synchronous HTTP client.
2025-11-07 18:42:32 +01:00
|
|
|
source = ["rp"]
|
2025-11-04 05:17:27 +01:00
|
|
|
omit = ["*/tests/*", "*/__pycache__/*"]
|
|
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
|
exclude_lines = [
|
|
|
|
|
"pragma: no cover",
|
|
|
|
|
"def __repr__",
|
|
|
|
|
"raise AssertionError",
|
|
|
|
|
"raise NotImplementedError",
|
|
|
|
|
"if __name__ == .__main__.:",
|
|
|
|
|
"if TYPE_CHECKING:",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
|
profile = "black"
|
|
|
|
|
line_length = 100
|
|
|
|
|
multi_line_output = 3
|
|
|
|
|
include_trailing_comma = true
|
|
|
|
|
force_grid_wrap = 0
|
|
|
|
|
use_parentheses = true
|
|
|
|
|
ensure_newline_before_comments = true
|
|
|
|
|
|
|
|
|
|
[tool.bandit]
|
2025-11-05 15:34:23 +01:00
|
|
|
exclude_dirs = ["tests", "venv", ".venv","__pycache__"]
|
2025-11-04 05:17:27 +01:00
|
|
|
skips = ["B101"]
|