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>
50 lines
1.6 KiB
Python
50 lines
1.6 KiB
Python
"""
|
|
Setup script for Claude Vision Auto
|
|
"""
|
|
|
|
from setuptools import setup, find_packages
|
|
from pathlib import Path
|
|
|
|
# Read README
|
|
readme_file = Path(__file__).parent / "README.md"
|
|
long_description = readme_file.read_text() if readme_file.exists() else ""
|
|
|
|
setup(
|
|
name="claude-vision-auto",
|
|
version="1.0.0",
|
|
author="Svrnty",
|
|
author_email="jp@svrnty.io",
|
|
description="Vision-based auto-approval for Claude Code using MiniCPM-V",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://git.openharbor.io/svrnty/claude-vision-auto",
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Terminals",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
],
|
|
python_requires=">=3.8",
|
|
install_requires=[
|
|
"requests>=2.31.0",
|
|
],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"claude-vision=claude_vision_auto.main:main",
|
|
],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
)
|