- implement server-side allowlist via CLI positional roots (fallback)\n- implement client MCP Roots override semantics (replace server roots when available)\n- add realpath + in-root validation, traversal/glob rejection, extension and size checks\n- make write path default to <first_root>/downloads when file_path is omitted\n- reintroduce upload_file tool with the same path security model\n- update README with security model and usage\n- add tests for root resolution, replacement semantics, traversal checks, and default write path\n- add pytest and pytest-asyncio to dev dependencies
Added Black and flake8 to development dependencies to ensure
consistent code formatting and linting across the project.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add python-json-logger dependency.
- Configure file handler to use JsonFormatter for structured logging.
- Keep console handler with the existing text format.
- Refactor log_and_format_error to log a dictionary with structured error data.
- Bumped version to 2.0.0 in pyproject.toml and updated dependencies.
- Expanded README.md to reflect new features, including comprehensive tools for chat, group, and contact management.
- Added new functionalities for managing contacts, messages, and user profiles.
- Updated .gitignore to include .DS_Store files.
- Improved error handling and messaging in main.py.
- Enhanced overall documentation and usage examples for better user guidance.
- Added support for string session authentication in main.py.
- Introduced new tools for searching contacts and retrieving message context.
- Updated README.md with detailed usage examples and security considerations.
- Modified pyproject.toml for versioning and dependency updates.
- Expanded .gitignore to include Telegram session files.
- Deleted the pull request and issue templates for bug reports and feature requests to streamline the repository.
- Removed GitHub Actions workflows for publishing releases, linting, and testing as they are no longer needed.
- Updated the authors section in pyproject.toml to remove the email address for clarity.
- Bumped version to 1.5.0 and updated project description for clarity.
- Added build-system configuration for setuptools and wheel.
- Specified authors and license information.
- Updated Python version requirement to >=3.10.
- Included project URLs for homepage and bug tracker.
- Configured tools for code formatting (black) and linting (ruff).
- Set pytest options for testing.
- Updated .env.example with new Telegram API credentials and session string options.
- Expanded .gitignore to exclude session files and configuration.
- Refactored main.py to support string session authentication and added new functions for contact and message management.
- Updated README.md to reflect new features, installation instructions, and usage examples.
- Added python-dotenv as a dependency in pyproject.toml for environment variable management.