Enhance sandbox functionality and MCP tools
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 is contained in:
7
Makefile
7
Makefile
@@ -4,7 +4,8 @@
|
||||
IMAGE_NAME = pmo_crazy_coder
|
||||
TAG = latest
|
||||
PORT = 7860
|
||||
DOCKER_RUN_COMMON = --rm -p $(PORT):$(PORT) -v ./bac_a_sable:/sandbox
|
||||
SANDBOX_VOLUME = "./bac_a_sable"
|
||||
DOCKER_RUN_COMMON = --rm -p $(PORT):$(PORT) -v $(SANDBOX_VOLUME):/sandbox
|
||||
FULL_IMAGE_NAME = $(IMAGE_NAME):$(TAG)
|
||||
|
||||
all: run
|
||||
@@ -21,12 +22,12 @@ stamp/build_PMOCrazyCoder: stampdir Dockerfile
|
||||
@touch $@
|
||||
|
||||
build: stamp/build_PMOCrazyCoder
|
||||
run: build
|
||||
run: build $(SANDBOX_VOLUME)
|
||||
@echo Launching the PMOCrazyCoder MCP server
|
||||
@docker run $(DOCKER_RUN_COMMON) \
|
||||
$(FULL_IMAGE_NAME)
|
||||
|
||||
debug: build
|
||||
debug: build $(SANDBOX_VOLUME)
|
||||
@echo Launching the PMOCrazyCoder MCP server in debug mode
|
||||
@docker run $(DOCKER_RUN_COMMON) \
|
||||
-it \
|
||||
|
||||
Reference in New Issue
Block a user