Metadata-Version: 2.4
Name: prismcode
Version: 0.1.12
Summary: AI coding assistant with dependency-aware context management
Project-URL: Homepage, https://github.com/yourusername/prismcode
Project-URL: Documentation, https://github.com/yourusername/prismcode#readme
Project-URL: Repository, https://github.com/yourusername/prismcode.git
Project-URL: Issues, https://github.com/yourusername/prismcode/issues
Author-email: JAzco4 <115545051+Jimmys-Code@users.noreply.github.com>
License: MIT
Keywords: ai,assistant,coding,development,llm
Classifier: Development Status :: 3 - Alpha
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.10
Requires-Dist: aiohttp==3.13.3
Requires-Dist: cryptography>=41.0.0
Requires-Dist: diskcache==5.6.3
Requires-Dist: flask-socketio==5.6.0
Requires-Dist: flask==3.1.2
Requires-Dist: httpx==0.28.1
Requires-Dist: jinja2==3.1.6
Requires-Dist: litellm==1.81.0
Requires-Dist: markdown-it-py==4.0.0
Requires-Dist: openai==2.15.0
Requires-Dist: pydantic-core==2.41.5
Requires-Dist: pydantic==2.12.5
Requires-Dist: pygments==2.19.2
Requires-Dist: python-dotenv==1.2.1
Requires-Dist: python-socketio==5.16.0
Requires-Dist: rich==14.2.0
Requires-Dist: tiktoken==0.12.0
Requires-Dist: werkzeug==3.1.5
Description-Content-Type: text/markdown

# Prism Code

An AI coding assistant with dependency-aware context management and real-time streaming.

## Features

- **Smart Context Management** - Two-layer history system with automatic compaction
- **Dependency-Aware Focus** - Built-in dependency graph analysis to focus on relevant files
- **Real-time Streaming** - Web UI with live streaming responses and tool execution
- **File Operations** - Edit, create, read, and manage files with fuzzy matching
- **Session Management** - Persistent chat sessions with history
- **Multiple Interfaces** - Web UI, Terminal UI, or CLI

## Installation

### From PyPI (Coming Soon)

```bash
pip install prismcode
```

### From Source

```bash
git clone https://github.com/yourusername/prismcode.git
cd prismcode
uv sync
```

## Usage

### Web Interface (Recommended)

Start the web interface:

```bash
prismweb
```

Then open http://localhost:5000 in your browser.

### Terminal Interface

For a rich terminal experience:

```bash
prism
```

Commands:
- `/help` - Show available commands
- `/sessions` - List all sessions
- `/new` - Start a new session
- `/load <session_id>` - Load a previous session
- `/toggle-diff` - Toggle detailed diff display

## Configuration

Create a `.env` file in your project root:

```bash
# Required: Your LLM API key
ANTHROPIC_API_KEY=your_key_here
# or
OPENAI_API_KEY=your_key_here

# Optional: Configure default model
DEFAULT_MODEL=claude-3-5-sonnet-20241022
```

## Development

Install development dependencies:

```bash
uv sync
```

Run tests:

```bash
pytest
```

## Project Structure

- `cli/` - Terminal interface
- `core/` - Core agent logic and context management
- `tools/` - File operations and dependency analysis tools
- `prism/` - Dependency graph analysis
- `static/` & `templates/` - Web UI assets
- `run_web.py` - Web server entry point

## License

MIT License - see LICENSE file for details
