Metadata-Version: 2.4
Name: ttypal-ai
Version: 0.1.0
Summary: Serial port debug tool for humans and AI agents
License: MIT
Keywords: serial,uart,debug,embedded,AI,automation
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: System :: Hardware
Classifier: Topic :: Software Development :: Embedded Systems
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyserial>=3.5
Requires-Dist: tomli-w>=1.0
Requires-Dist: tomli>=2.0; python_version < "3.11"
Dynamic: license-file

# ttypal

Serial port debug tool designed for both humans and AI agents.

## Features

- Interactive terminal (like minicom, but better)
- Auto-logging with timestamps and rotation
- External command injection via Unix socket (for AI/scripts)
- Record/replay serial sessions
- Board config management
- Claude Code plugin for AI-driven serial debugging

## Install

```bash
pip install ttypal
```

## Quick Start

```bash
# Interactive mode
ttypal

# Headless daemon (for AI automation)
ttypal-daemon start -b myboard

# Send commands from another process
ttypal-send --wait "# " "uname -a"

# Read recent serial output
ttypal-tail -n 50
```

## Claude Code Integration

```bash
claude --plugin-dir /path/to/ttypal
# Then use /ttypal skill or just ask AI to operate the serial port
```

## License

MIT
