Ajout et configuration d’un environnement de développement conteneurisé (devcontainer) avec support multi-langages (Go, Rust, Python), intégration d’outils LLM locaux/cloud (LM Studio, Claude Pro), et refonte des outils MCP : suppression du module sandbox, correction de la gestion des chemins projet dans jj.py, ajout d’une fonction jj_new_tool, et structuration du Makefile pour le build multiplateforme. Mise à jour des scripts (docker-entrypoint.sh, setup-devcontainer.sh), du README.md et de bin/jj-ai-commit.sh pour automatiser la génération de messages de commit à partir des résumés des fichiers modifiés.
- Added `json_extract` module to convert structured text to JSON using LOCAL_LLM_API
- Implemented robust error handling for API failures and malformed responses
- Added markdown backtick stripping to ensure clean JSON parsing
- Integrated AI-driven commit message generation via `jj_commit_message()` and `jj_auto_describe()`
- Provided comprehensive unit tests for all core functions
- Added support for custom/local LLM endpoints with fallback to default URL
- Restructure src/ into package src/crazy_mcp with modular tools
- Add jj.py and sandbox.py tool modules for jujutsu and sandbox management
- Remove circular dependency on crazy-mcp from pyproject.toml
- Fix async get_state call in PMOCrazyCoder.py increment tool
- Add bin/jj-ai-commit.sh for AI-generated commit messages from diffs
- Update entrypoint to copy all bin scripts and create config directory
Update Dockerfile to install additional tools (orla, rust-analyzer), configure user permissions, and set up bash completion.
Update docker-entrypoint.sh to export new environment variables and configure MCP language servers for multiple languages (Go, Python, Rust, TypeScript) with proper workspace and LSP settings.
Add new documentation file AGENTS.md with development guidelines and security rules.
Add pyproject.toml for Python project configuration with dependencies and dev tools.
Add src/PMOCrazyCoder.py as a new MCP server implementation with example tools.
Update Dockerfile to include clangd, replace npm packages with pyright and typescript-language-server, add GOPATH and GOBIN environment variables, and improve user creation. Update docker-entrypoint.sh to export environment variables, configure opencode.json, and set up MCP language server with proper configuration files.
Update devcontainer.json to set terminal shell and add empty features object
Update docker-compose.yml to change port mapping and add environment variable for LOCAL_LLM_API
Add new OpenCode configuration files for LLM settings and instructions
Update Dockerfile to install additional tools and dependencies including Go, Rust, Node.js, and Python packages
Modify docker-entrypoint.sh to handle MCP server initialization and shell configuration
Update LM client readme to reflect new API endpoint configuration
Add dev container configuration with docker-compose, Dockerfile, and entrypoint script
- Create .devcontainer/devcontainer.json for VS Code dev container
- Create .devcontainer/docker-compose.yml for container setup
- Add Dockerfile with Python, Go, Rust, R, and jj tools
- Add docker-entrypoint.sh to initialize .ai_index and start mcp-server
- Add Makefile for container management and MCP operations
- Add .gitignore entries for AI index
- Add OpenCode global instructions
- Add basic MCP server and tool for listing Go imports
- Add Zed integration configuration
- Update README with project vision and structure
Supprime les fichiers et répertoires obsolètes du projet, notamment le Dockerfile, les Makefiles, les scripts et les fichiers de configuration associés. Cela nettoie le dépôt en éliminant les éléments qui ne sont plus utilisés.
This commit refactors the Dockerfile to:
- Reintroduce the programmer user creation with sudo privileges
- Add necessary system dependencies for development tools
- Update Go installation to include PATH in root's bashrc
- Install github-linguist gem
It also includes the addition of a new linguist command module with functions to interact with GitHub Linguist for language statistics and file information retrieval.
This commit enhances the Docker setup by:
- Creating a dedicated programmer user with UID 1000
- Adding logrotate for log management
- Updating the Dockerfile to use the new user and expose port 7860
- Adding a startup script to manage MCP server and Open Code processes
- Updating the Makefile to include interactive mode and container naming
- Configuring log rotation for server logs
This commit enhances the sandbox functionality by:
- Adding a new jj_log tool to retrieve commit history
- Refactoring sandbox tools into dedicated modules
- Improving project management with session-based active projects
- Updating Docker configuration to properly mount the sandbox volume
- Adding proper error handling and documentation for all tools
- Updating dependencies and configuration files
This commit refactors the MCP server implementation, updates the Dockerfile with new development tools and dependencies, introduces a Makefile for building and running the application, and adds utility modules for sandbox management and Ollama integration. The server name has also been updated from 'echo-server' to 'PMO-Crazy-coder' in the configuration.
Ajout du Dockerfile pour containeriser l'application MCP
- Création du Dockerfile avec l'image Python 3.11 slim
- Installation du SDK FastMCP
- Copie du code source dans le conteneur
- Exposition du port 6666
- Configuration du point d'entrée
Ajout du fichier opencode.json pour la configuration MCP
Ajout du script Python src/mon_mcp.py avec les outils echo, shout et additionner
Ajout du fichier test.py pour les tests de l'API