Metadata-Version: 2.4
Name: bpsai-pair
Version: 2.8.0
Summary: CLI for AI pair-coding workflow
Author: BPS AI Software
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.12
Requires-Dist: rich>=13.7
Requires-Dist: pyyaml>=6.0
Requires-Dist: tiktoken>=0.5.0
Provides-Extra: trello
Requires-Dist: py-trello>=0.19.0; extra == "trello"
Provides-Extra: mcp
Requires-Dist: mcp>=1.0.0; extra == "mcp"
Provides-Extra: docs
Requires-Dist: sphinx>=7.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=2.0; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints>=2.0; extra == "docs"
Requires-Dist: sphinx-copybutton>=0.5; extra == "docs"
Requires-Dist: myst-parser>=2.0; extra == "docs"
Requires-Dist: sphinx-click>=5.0; extra == "docs"

# bpsai-pair CLI Package

The PairCoder CLI tool for AI pair programming workflows.

See [main README](../../README.md) for full documentation.

## Development

```bash
# Install for development
pip install -e .

# Run tests
pytest -v

# Build
python -m build
```

## Package Structure

```
bpsai_pair/
├── cli.py              # Main CLI entry point
├── ops.py              # Core operations
├── config.py           # Configuration handling
├── planning/           # Plan and task management
├── tasks/              # Lifecycle, archival
├── metrics/            # Token tracking
├── integrations/       # Time tracking (Toggl)
├── benchmarks/         # Benchmark framework
├── orchestration/      # Multi-agent routing
├── mcp/                # MCP server for AI tool integration
├── hooks.py            # Auto-hooks for task state changes
├── trello/             # Trello integration
└── data/               # Cookiecutter template
```

## MCP Server

PairCoder provides an MCP (Model Context Protocol) server for AI tool integration:

```bash
# Start MCP server (stdio transport)
bpsai-pair mcp serve

# List available tools
bpsai-pair mcp tools

# Test a tool locally
bpsai-pair mcp test paircoder_task_list
```

Install with MCP support:
```bash
pip install 'bpsai-pair[mcp]'
```
