Vision-based auto-approval system for Claude Code CLI using MiniCPM-V vision model. Features: - Automatic detection and response to approval prompts - Screenshot capture and vision analysis via Ollama - Support for multiple screenshot tools (scrot, gnome-screenshot, etc.) - Configurable timing and behavior - Debug mode for troubleshooting - Comprehensive documentation Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Jean-Philippe Brule <jp@svrnty.io>
38 lines
874 B
Makefile
38 lines
874 B
Makefile
.PHONY: install install-dev uninstall test clean help
|
|
|
|
help:
|
|
@echo "Claude Vision Auto - Makefile"
|
|
@echo ""
|
|
@echo "Available targets:"
|
|
@echo " install - Install the package"
|
|
@echo " install-dev - Install in development mode"
|
|
@echo " uninstall - Uninstall the package"
|
|
@echo " test - Run tests"
|
|
@echo " clean - Clean build artifacts"
|
|
@echo " deps - Install system dependencies (Debian/Ubuntu)"
|
|
@echo ""
|
|
|
|
install:
|
|
pip3 install -e .
|
|
|
|
install-dev:
|
|
pip3 install -e ".[dev]"
|
|
|
|
uninstall:
|
|
pip3 uninstall -y claude-vision-auto
|
|
|
|
deps:
|
|
@echo "Installing system dependencies..."
|
|
sudo apt-get update
|
|
sudo apt-get install -y scrot python3-pip
|
|
|
|
test:
|
|
python3 -m pytest tests/
|
|
|
|
clean:
|
|
rm -rf build/
|
|
rm -rf dist/
|
|
rm -rf *.egg-info
|
|
find . -type d -name __pycache__ -exec rm -rf {} +
|
|
find . -type f -name "*.pyc" -delete
|