Metadata-Version: 2.4
Name: sphinx-ai-cli
Version: 1.0.6
Summary: CLI for Sphinx AI
Author-email: Sphinx AI <support@sphinx.ai>
License: Proprietary
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
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
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: backoff>=2.0.0
Requires-Dist: nodeenv>=1.6.0
Requires-Dist: PyYAML>=6.0
Requires-Dist: rich>=13.0.0
Requires-Dist: prompt-toolkit>=3.0.0
Requires-Dist: questionary>=2.0.0
Provides-Extra: dev
Requires-Dist: ruff>=0.14.0; extra == "dev"

## 🚀 Quick Start

```bash
# Start Sphinx CLI (interactive mode by default)
sphinx-cli
```

## 🎨 Interactive Mode (Default)

Running `sphinx-cli` starts an interactive terminal-based chat interface similar to Claude Code or Cursor agent:

### Features:
- **Notebook Selection**: Automatically scans your directory for `.ipynb` files and lets you choose one
- **Notebook Creation**: Prompts to create a new notebook if none are found in your directory
- **Beautiful UI**: Clean terminal interface with minimal design
- **Thinking Indicators**: Shows cycling verbs in dim cyan while Sphinx processes (Thinking, Analyzing, Processing, Debugging, etc.)
- **Conversational Chat**: Type natural language prompts and get responses
- **Real-time Feedback**: See processing status with animated indicators

### Usage:
```bash
# Start interactive mode (default - will prompt for notebook selection or creation)
sphinx-cli

# Start with a specific notebook (creates it if it doesn't exist)
sphinx-cli --notebook-filepath ./my-notebook.ipynb

# Use with existing Jupyter server
sphinx-cli --jupyter-server-url http://localhost:8888 --jupyter-server-token your_token
```

### In Interactive Mode:
- Type your questions naturally at the `>` prompt
- See real-time thinking indicators while Sphinx works
- Type `exit` to end the session
- Press `Ctrl+C` to interrupt at any time

## 📋 Commands

- `sphinx-cli` - Start interactive chat mode (default)
- `sphinx-cli login` - Authenticate with Sphinx (opens web browser)
- `sphinx-cli logout` - Clear stored authentication tokens
- `sphinx-cli status` - Check authentication status
- `sphinx-cli chat --notebook-filepath <path> --prompt <prompt>` - Run a single non-interactive chat
