Metadata-Version: 2.5
Name: hanzo-tools-vcs
Version: 0.1.3
Summary: Version control tools for Hanzo AI (HIP-0300): git, and repo for repositories on Hanzo git linked to GitHub
Project-URL: Homepage, https://github.com/hanzoai/python-sdk
Project-URL: Documentation, https://docs.hanzo.ai
Project-URL: Repository, https://github.com/hanzoai/python-sdk
Author-email: Hanzo AI Team <ai@hanzo.ai>
License-Expression: MIT
Keywords: git,hanzo,mcp,tools,vcs,version-control
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Requires-Dist: hanzo-tools>=0.3.8
Requires-Dist: mcp>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# hanzo-tools-vcs

Version control tools for Hanzo AI MCP (HIP-0300).

## Tools

- `git` - Unified version control (status, diff, commit, branch, log, …)
- `repo` - Your repositories on Hanzo git and the GitHub links that feed them,
  through `api.hanzo.ai` with your Hanzo credential: `list` (`GET /v1/sync`; each
  link's id, scope, source, target, direction, trigger, status, branch, url and
  last sync; `search` and `status` narrow it) and `sync` (`POST /v1/sync/{id}/run`,
  sync one now).

## Installation

```bash
pip install hanzo-tools-vcs
```

## Usage

```python
from hanzo_tools.vcs import TOOLS, register_tools

# Register with MCP server
register_tools(mcp_server)
```

## Part of hanzo-tools

This package is part of the modular [hanzo-tools](../hanzo-tools) ecosystem.
