Metadata-Version: 2.4
Name: spidercode
Version: 2.3.2
Summary: SpiderCode Agent - Autonomous coding assistant with hacker-style CLI
Author: SpiderCode Team
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: aiohttp>=3.9.0
Requires-Dist: fastapi>=0.104.0
Requires-Dist: uvicorn>=0.24.0
Requires-Dist: websockets>=12.0

# SpiderCode Agent

Autonomous coding assistant powered by LLM with hacker-style CLI.

## Quick Start

```bash
pip install spidercode

# Make sure Ollama is running with a model loaded
spidercode chat
```

If `spidercode` command not found on Windows:
```bash
python -m spidercode chat
```

## Commands

| Command | Description |
|---------|-------------|
| `spidercode chat` | Interactive chat session (hacker-style) |
| `spidercode run "task"` | Execute a single task |
| `spidercode init` | Create default config |
| `spidercode serve` | Start API server |
| `spidercode scan [path]` | Scan project structure |

## Configuration

Edit `~/.spidercode/config.yaml` or create one with `spidercode init`.

Default config connects to Ollama at `http://localhost:11434/v1`.

## API

Start the API server: `spidercode serve`

- `POST /chat` - Send a chat message
- `POST /tool` - Execute a tool
- `POST /plan` - Create a plan
- `POST /execute` - Execute a task
- `POST /cancel` - Cancel current task
- `GET /history` - Get chat history
- `GET /projects` - Get project info
- `GET /health` - Health check

## License

MIT
