Metadata-Version: 2.4
Name: claudecode-next
Version: 1.0.0
Summary: Claude.ai RE Client v4 — CLI client, session manager, and autonomous coding agent.
Author-email: Shaurya Mishra <shaur.codes@gmail.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/forshaur/claudecode-next
Project-URL: Bug Tracker, https://github.com/forshaur/claudecode-next/issues
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: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: curl_cffi>=0.5.10
Requires-Dist: tzlocal>=4.0
Provides-Extra: browser
Requires-Dist: playwright>=1.30.0; extra == "browser"
Dynamic: license-file

# ClaudeCode-Next

**An unofficial CLI coding agent that runs on the Claude.ai web interface.**

This tool lets you use Claude as a coding assistant from your terminal – reading files, running commands, refactoring code – without needing an API key or paying per-token. It extracts your Claude.ai session from your browser once, then works entirely from the CLI and it's completely free.

## What it does

- Read/write files in your project
- Run shell commands (git, npm, tests, builds)
- Search code and refactor across multiple files
- Interactive REPL with agent mode
- Workspace-restricted operations with confirmation

## How it's different

**Claude Code (official)** : Uses API keys, per-token billing, guaranteed reliability  
**This tool** : Uses your browser session, free with Claude.ai subscription, may break if the web UI changes

## Who it's for

- Developers without Claude API access
- Hobbyists who want to experiment with CLI coding agents
- Anyone who prefers the terminal over the chat interface

## Installation

```bash
pip install claudecode-next
```

For browser automation and automated cookie extraction:
```bash
pip install "claudecode-next[browser]"
playwright install chromium
```

## Quick Start

```bash
claudecode-next --auto-fetch
```

### Direct Prompts
```bash
claudecode-next --prompt "Explain quantum computing in simple terms"
```

Specify a model:
```bash
claudecode-next --model opus --prompt "Write a high-performance HTTP server in Rust"
```

### Agent Mode
Run the autonomous coding agent on a task:
```bash
claudecode-next --agent "Refactor utils.py to use pathlib"
```

### Credential Setup
Login via browser to capture session credentials:
```bash
claudecode-next --login
```
Or auto-fetch cookies from an existing Chrome session:
```bash
claudecode-next --auto-fetch
```
Or enter credentials manually:
```bash
claudecode-next --manual
```

## ⚠️ Disclaimer

This is an **unofficial, research-grade tool**. It's not endorsed by Anthropic, uses the Claude.ai web interface (which may violate ToS), and can break at any time, **developers won't be responsible for any misuse and damage caused by it**. Use responsibly and at your own risk.
