Metadata-Version: 2.4
Name: promptbridge
Version: 1.1.2
Summary: CLI Wrapper with Prompt Optimization - Bridge between you and AI CLI tools (opencode, claude, gemini)
Author: Art_John
License: MIT
Project-URL: Homepage, https://promptbridge.store-art.com
Keywords: cli,ai,prompt,optimization,bridge,opencode,claude,gemini,windows,cross-platform,tui
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: prompt_toolkit>=3.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Provides-Extra: tui
Requires-Dist: textual>=0.40.0; extra == "tui"
Provides-Extra: windows
Requires-Dist: textual>=0.40.0; extra == "windows"
Requires-Dist: pywinpty>=2.0.0; extra == "windows"
Provides-Extra: all
Requires-Dist: textual>=0.40.0; extra == "all"
Requires-Dist: pywinpty>=2.0.0; sys_platform == "win32" and extra == "all"

# PromptBridge

Use AI CLI tools more smartly.

PromptBridge is a prompt optimization wrapper for AI coding assistants like Claude Code, Gemini CLI, and OpenCode. It automatically transforms simple requests into detailed prompts that AI can understand better.

## Features

- **Prompt Optimization**: Expand short requests into specific instructions
- **Multi-CLI Support**: Works with Claude Code, Gemini CLI, OpenCode
- **Seamless Integration**: Naturally integrates into your existing CLI workflow
- **Credit-Based**: Pay only for what you use

## Installation

```bash
pip install promptbridge
```

## Quick Start

```bash
# 1. Launch CLI
pb claude

# 2. Login
[PromptBridge]> !login

# 3. Use prompt optimization
[PromptBridge]> !opt create a login page
```

**Before (Original):**
```
create a login page
```

**After (Optimized):**
```
Please implement a login page using React and TypeScript.

Requirements:
- Email and password input fields
- Form validation (email format, password min 8 characters)
- Loading state display
- Error message handling
- Responsive design
...
```

## Supported CLIs

| CLI | Command |
|-----|---------|
| Claude Code | `pb claude` |
| Gemini CLI | `pb gemini` |
| OpenCode | `pb opencode` |

## Commands

| Command | Description |
|---------|-------------|
| `!login` | Login to your account |
| `!logout` | Logout |
| `!status` | Check credit balance |
| `!opt <prompt>` | Optimize prompt and send to CLI |
| `!help` | Show help |
| `!quit` | Exit |

## Requirements

- Python 3.9+
- At least one supported CLI installed

## Sign Up

Visit https://promptbridge.store-art.com to create an account.

## License

MIT License
