From 543dc44004d9eab342eedadde8f8d4389124dc5c Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 7 Nov 2025 19:13:41 +0100 Subject: [PATCH] feat: bump project version to 1.22.0 refactor: remove assistant version print fix: use "rp" instead of "pr" in tests --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- rp/core/assistant.py | 13 ------------- tests/test_logging.py | 6 +++--- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 022b6aa..8808165 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,14 @@ + +## Version 1.21.0 - 2025-11-07 + +The project has been updated to version 1.21.0, and the release notes for version 1.20.0 are now included in the changelog. + +**Changes:** 2 files, 10 lines +**Languages:** Markdown (8 lines), TOML (2 lines) + ## Version 1.20.0 - 2025-11-07 The project has been updated to version 1.20.0. This release includes updated documentation and version information. diff --git a/pyproject.toml b/pyproject.toml index 9731144..0512ea7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rp" -version = "1.20.0" +version = "1.21.0" description = "R python edition. The ultimate autonomous AI CLI." readme = "README.md" requires-python = ">=3.10" diff --git a/rp/core/assistant.py b/rp/core/assistant.py index 0160f5d..97043d3 100644 --- a/rp/core/assistant.py +++ b/rp/core/assistant.py @@ -375,19 +375,6 @@ class Assistant: def run_repl(self): self.setup_readline() signal.signal(signal.SIGINT, self.signal_handler) - print( - f"{Colors.BOLD}{Colors.CYAN}╔══════════════════════════════════════════════╗{Colors.RESET}" - ) - print( - f"{Colors.BOLD}{Colors.CYAN}║{Colors.RESET}{Colors.BOLD} RP Assistant v{__import__('rp').__version__} {Colors.RESET}{Colors.BOLD}{Colors.CYAN}║{Colors.RESET}" - ) - print( - f"{Colors.BOLD}{Colors.CYAN}╚══════════════════════════════════════════════╝{Colors.RESET}" - ) - print( - f"{Colors.GRAY}Type 'help' for commands, 'exit' to quit, or start chatting.{Colors.RESET}" - ) - print(f"{Colors.GRAY}AI calls will show costs and progress indicators.{Colors.RESET}\n") while True: try: if self.background_monitoring: diff --git a/tests/test_logging.py b/tests/test_logging.py index 5cdcf46..0fc35cc 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -20,7 +20,7 @@ class TestLogging: result = setup_logging(verbose=False) mock_makedirs.assert_called_once_with("/tmp/logs", exist_ok=True) - mock_get_logger.assert_called_once_with("pr") + mock_get_logger.assert_called_once_with("rp") mock_logger.setLevel.assert_called_once_with(20) # INFO level mock_handler.assert_called_once() assert result == mock_logger @@ -49,7 +49,7 @@ class TestLogging: result = setup_logging(verbose=True) mock_makedirs.assert_not_called() - mock_get_logger.assert_called_once_with("pr") + mock_get_logger.assert_called_once_with("rp") mock_logger.setLevel.assert_called_once_with(10) # DEBUG level mock_logger.handlers.clear.assert_called_once() mock_file_handler.assert_called_once() @@ -63,7 +63,7 @@ class TestLogging: result = get_logger() - mock_get_logger.assert_called_once_with("pr") + mock_get_logger.assert_called_once_with("rp") assert result == mock_logger @patch("rp.core.logging.logging.getLogger")