Commit Graph

89 Commits

Author SHA1 Message Date
semantic-release
e181da94df chore(release): 5.19.0
Automatically generated by python-semantic-release
2025-10-03 17:17:42 +00:00
semantic-release
a22bc14fac chore(release): 5.18.3
Automatically generated by python-semantic-release
2025-10-03 07:29:48 +00:00
semantic-release
862a0bfab5 chore(release): 5.18.2
Automatically generated by python-semantic-release
2025-10-02 19:13:39 +00:00
semantic-release
28c3000f58 chore(release): 5.18.1
Automatically generated by python-semantic-release
2025-10-02 18:17:20 +00:00
semantic-release
bf54beb221 chore(release): 5.18.0
Automatically generated by python-semantic-release
2025-10-02 17:44:32 +00:00
semantic-release
6a392f2dc0 chore(release): 5.17.4
Automatically generated by python-semantic-release
2025-10-02 13:25:13 +00:00
semantic-release
143b88acf6 chore(release): 5.17.3
Automatically generated by python-semantic-release
2025-10-02 10:58:07 +00:00
semantic-release
02c55d4c4b chore(release): 5.17.2
Automatically generated by python-semantic-release
2025-10-02 09:50:07 +00:00
semantic-release
962747e308 chore(release): 5.17.1
Automatically generated by python-semantic-release
2025-10-02 09:05:23 +00:00
semantic-release
f172ba9b09 chore(release): 5.17.0
Automatically generated by python-semantic-release
2025-10-02 02:02:21 +00:00
semantic-release
10a3fdc250 chore(release): 5.16.0
Automatically generated by python-semantic-release
2025-10-01 19:09:26 +00:00
semantic-release
25f4e38217 chore(release): 5.15.0
Automatically generated by python-semantic-release
2025-10-01 18:39:58 +00:00
semantic-release
26e8d9f217 chore(release): 5.14.1
Automatically generated by python-semantic-release
2025-10-01 16:24:26 +00:00
semantic-release
050c82d6af chore(release): 5.14.0
Automatically generated by python-semantic-release
2025-10-01 16:01:20 +00:00
semantic-release
ce0b59ae14 chore(release): 5.13.0
Automatically generated by python-semantic-release
2025-10-01 15:52:11 +00:00
semantic-release
fc2a83d24a chore(release): 5.12.1
Automatically generated by python-semantic-release
2025-10-01 15:28:24 +00:00
semantic-release
8ce9ce26e6 chore(release): 5.12.0
Automatically generated by python-semantic-release
2025-10-01 14:54:18 +00:00
semantic-release
25441ac147 chore(release): 5.11.2
Automatically generated by python-semantic-release
2025-10-01 14:24:54 +00:00
semantic-release
d40ef88ca6 chore(release): 5.11.1
Automatically generated by python-semantic-release
2025-10-01 14:18:10 +00:00
semantic-release
8749b4c6a8 chore(release): 5.11.0
Automatically generated by python-semantic-release
2025-08-26 07:09:02 +00:00
semantic-release
2c74f1e3c6 chore(release): 5.10.3
Automatically generated by python-semantic-release
2025-08-24 17:29:54 +00:00
semantic-release
f3dbe06fea chore(release): 5.10.2
Automatically generated by python-semantic-release
2025-08-24 17:25:54 +00:00
semantic-release
6a362969fd chore(release): 5.10.0
Automatically generated by python-semantic-release
2025-08-22 05:24:39 +00:00
semantic-release
eedd9dd437 chore(release): 5.9.0
Automatically generated by python-semantic-release
2025-08-21 10:05:14 +00:00
Fahad
1c973afb00 fix: escape backslashes in TOML regex pattern
Fixed TOML decode error in pyproject.toml version_pattern field
2025-08-20 16:28:43 +04:00
Fahad
340b58f2e7 fix: restore proper version 5.8.6
Correcting version from semantic-release auto-update back to proper 5.8.6
2025-08-20 16:26:46 +04:00
Fahad
90a4195381 fix: establish version 5.8.6 and add version sync automation
- Set version to 5.8.6 in pyproject.toml to match config.py
- Add automatic version sync script for GitHub Actions
- Configure semantic-release for proper version tracking
- Ensure __updated__ field auto-updates with each release
2025-08-20 16:26:16 +04:00
semantic-release
284352baa8 chore(release): 1.1.0
Automatically generated by python-semantic-release
2025-08-20 12:23:45 +00:00
Fahad
2966dcf268 feat: improvements to precommit
fix: version
2025-08-20 16:22:52 +04:00
semantic-release
f9c1ab4205 chore(release): 1.0.0
Automatically generated by python-semantic-release
2025-08-20 04:37:06 +00:00
Sven Lito
22f729a150 Merge branch 'main' of https://github.com/BeehiveInnovations/zen-mcp-server 2025-08-12 13:27:29 +07:00
Beehive Innovations
e6213d4ca1 Merge pull request #227 from svnlto/fix/uvx-resource-packaging
fix: uvx resource packaging issues for OpenRouter functionality
2025-08-11 12:31:49 -07:00
Sven Lito
5e599b9e7d Complete PR review feedback implementation with clean importlib.resources approach
- Remove redundant path checks between Path("conf/custom_models.json") and Path.cwd() variants
- Implement proper importlib.resources.files('conf') approach for robust packaging
- Create conf/__init__.py to make conf a proper Python package
- Update pyproject.toml to include conf* in package discovery
- Clean up verbose comments and simplify resource loading logic
- Fix test mocking to use correct importlib.resources.files target
- All tests passing (8/8) with proper resource and fallback functionality

Addresses all gemini-code-assist bot feedback from PR #227
2025-08-10 22:13:25 +07:00
Sven Lito
7c6ec4a928 fix: resolve pip detection inconsistency in non-interactive shells
- Convert virtual environment Python paths to absolute paths to ensure
  consistency across different shell environments (Git Bash, WSL, etc.)
- Add enhanced diagnostic information when pip detection fails to help
  users troubleshoot path and environment issues
- Improve error messages with specific guidance for different platforms
- Fix black configuration to exclude .zen_venv directory from formatting
- Add comprehensive test suite for pip detection edge cases

Fixes #188
2025-08-08 23:49:24 +07:00
Sven Lito
af3a81543c feat: streamline GitHub Actions workflows and improve contributor experience
- Replace complex auto-version.yml with simple PR Docker build workflow
  - Builds Docker images for all PRs using pr-number-sha tagging
  - Removes redundant versioning logic (semantic-release handles this)
  - Adds automatic PR comments with Docker usage instructions

- Optimize test.yml workflow triggers
  - Remove redundant push triggers on main branch
  - Focus on PR testing only for better developer feedback

- Add docker-release.yml for production releases
  - Triggers on GitHub release publication
  - Multi-platform builds (linux/amd64, linux/arm64)
  - Updates release notes with Docker installation instructions

- Add semantic-release.yml workflow for automated versioning
  - Uses conventional commits for version bumping
  - Automatically generates releases and tags
  - Integrates with Docker workflow via release triggers

- Add pre-commit configuration for automatic code quality
  - Includes ruff (with auto-fix), black, isort
  - Provides faster development workflow option

- Enhance contribution documentation
  - Add pre-commit hook option as recommended approach
  - Keep manual script option for comprehensive testing
  - Improve developer workflow guidance

Fixes #215 (automatic changelog generation)
Addresses #110 (Docker builds automation)
References #107 (improved version tracking)

This creates a clean, modern CI/CD pipeline that eliminates redundancy
while addressing multiple community requests around changelog generation,
Docker builds, and release automation.
2025-08-08 17:33:51 +07:00
Husam Alshehadat
707e6507ed feat: Add uvx support 2025-06-27 10:14:26 -07:00
Beehive Innovations
4151c3c3a5 Migration from Docker to Standalone Python Server (#73)
* Migration from docker to standalone server
Migration handling
Fixed tests
Use simpler in-memory storage
Support for concurrent logging to disk
Simplified direct connections to localhost

* Migration from docker / redis to standalone script
Updated tests
Updated run script
Fixed requirements
Use dotenv
Ask if user would like to install MCP in Claude Desktop once
Updated docs

* More cleanup and references to docker removed

* Cleanup

* Comments

* Fixed tests

* Fix GitHub Actions workflow for standalone Python architecture

- Install requirements-dev.txt for pytest and testing dependencies
- Remove Docker setup from simulation tests (now standalone)
- Simplify linting job to use requirements-dev.txt
- Update simulation tests to run directly without Docker

Fixes unit test failures in CI due to missing pytest dependency.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Remove simulation tests from GitHub Actions

- Removed simulation-tests job that makes real API calls
- Keep only unit tests (mocked, no API costs) and linting
- Simulation tests should be run manually with real API keys
- Reduces CI costs and complexity

GitHub Actions now only runs:
- Unit tests (569 tests, all mocked)
- Code quality checks (ruff, black)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fixed tests

* Fixed tests

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-06-18 23:41:22 +04:00
Fahad
fb66825bf6 Rebranding, refactoring, renaming, cleanup, updated docs 2025-06-12 10:40:43 +04:00
Fahad
27add4d05d feat: Major refactoring and improvements v2.11.0
## 🚀 Major Improvements

### Docker Environment Simplification
- **BREAKING**: Simplified Docker configuration by auto-detecting sandbox from WORKSPACE_ROOT
- Removed redundant MCP_PROJECT_ROOT requirement for Docker setups
- Updated all Docker config examples and setup scripts
- Added security validation for dangerous WORKSPACE_ROOT paths

### Security Enhancements
- **CRITICAL**: Fixed insecure PROJECT_ROOT fallback to use current directory instead of home
- Enhanced path validation with proper Docker environment detection
- Removed information disclosure in error messages
- Strengthened symlink and path traversal protection

### File Handling Optimization
- **PERFORMANCE**: Optimized read_files() to return content only (removed summary)
- Unified file reading across all tools using standardized file_utils routines
- Fixed review_changes tool to use consistent file loading patterns
- Improved token management and reduced unnecessary processing

### Tool Improvements
- **UX**: Enhanced ReviewCodeTool to require user context for targeted reviews
- Removed deprecated _get_secure_container_path function and _sanitize_filename
- Standardized file access patterns across analyze, review_changes, and other tools
- Added contextual prompting to align reviews with user expectations

### Code Quality & Testing
- Updated all tests for new function signatures and requirements
- Added comprehensive Docker path integration tests
- Achieved 100% test coverage (95 tests passing)
- Full compliance with ruff, black, and isort linting standards

### Configuration & Deployment
- Added pyproject.toml for modern Python packaging
- Streamlined Docker setup removing redundant environment variables
- Updated setup scripts across all platforms (Windows, macOS, Linux)
- Improved error handling and validation throughout

## 🔧 Technical Changes

- **Removed**: `_get_secure_container_path()`, `_sanitize_filename()`, unused SANDBOX_MODE
- **Enhanced**: Path translation, security validation, token management
- **Standardized**: File reading patterns, error handling, Docker detection
- **Updated**: All tool prompts for better context alignment

## 🛡️ Security Notes

This release significantly improves the security posture by:
- Eliminating broad filesystem access defaults
- Adding validation for Docker environment variables
- Removing information disclosure in error paths
- Strengthening path traversal and symlink protections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-10 09:50:05 +04:00