v1.0.0 - Major Release: Functional Wrapper Generation
v1.0.0 - Major Release: MCP Sampling & Refactor π
This release marks a significant milestone with the stable introduction of LLM-in-the-loop (MCP) sampling capabilities, alongside a major refactor of the codebase and expanded multi-provider support.
π New Features
MCP Sampling Implementation
- β¨ Full LLM-in-the-loop sampling with hybrid MCP/API fallback architecture
- π Multi-provider support: Anthropic, OpenAI, Gemini, Grok, Perplexity
- π Python sampling interface with Pyodide
- π TypeScript sampling interface with SSE streaming
- π Audit logging, metadata, and Docker integration for sampling
- π€ Multi-agent code review example (5 AI agents collaborating)
Configuration & Security
- π New
config/directory with sampling configuration schema - π Rate limiting implementation with
AsyncLockprotection - π‘οΈ
ContentFilterclass for secret/PII detection and redaction - β AJV deep schema validation for MCP tool calls
Developer Experience
- π New
.agent/folder with workflows and rules - π Comprehensive sampling documentation (
SAMPLING_SETUP.md,docs/sampling.md) - π‘ Working example: Multi-agent code review (
examples/multi-agent-code-review.ts)
CLI Wizard Improvements
- β Wizard now fetches real tools from MCP servers (#71)
- β Functional wrappers with actual tool functions (not empty skeletons)
β οΈ Breaking Changes
Directory Restructuring
Core components reorganized for better maintainability:
config/- Configuration and schemascaching/- Cache providerscore/- Server, handlers, middlewarevalidation/- Schema validation and securityexecutors/- Sandbox executorssampling/- LLM sampling providers
Migration: Update import paths if you import from this package directly. Most users unaffected.
π Bug Fixes
- Fixed critical security and data integrity issues
- Fixed hybrid sampling fallback (provider now created in MCP mode)
- Fixed TypeScript errors and improved installer flow
- Resolved test failures and deepened test coverage
- Applied sampling environment variables in config discovery
- Removed hardcoded Claude model, added multi-provider tests
- Fixed CLI wizard empty wrapper generation (#71)
π§ Configuration for Sampling
Quick Setup:
-
Create .env file:
cp .env.example .env
-
Add your API key:
CODE_EXECUTOR_SAMPLING_ENABLED=true CODE_EXECUTOR_AI_PROVIDER=gemini # or anthropic, openai, grok, perplexity GEMINI_API_KEY=your_key_here -
Use wrapper script (loads .env before starting):
{ "mcpServers": { "code-executor": { "command": "/path/to/start-with-env.sh" } } }
See SAMPLING_SETUP.md for complete setup guide.
π¦ Installation
npm
npm install -g code-executor-mcp@1.0.0Docker
docker pull aberemia24/code-executor-mcp:1.0.0
# or
docker pull aberemia24/code-executor-mcp:latestπ Stats
- +13,183 lines added
- -420 lines removed
- 133 files changed
- Multi-provider sampling support
- Enhanced security and validation
π Links
- npm: https://www.npmjs.com/package/code-executor-mcp
- Docker Hub: https://hub.docker.com/r/aberemia24/code-executor-mcp
- Documentation: https://github.com/aberemia24/code-executor-MCP#readme
- PR #68: #68
This release provides a powerful and extensible platform for LLM-driven applications with autonomous multi-agent capabilities.