# Peacock Professional Edition

**Workspace color + AI chat in one extension.** Like [Peacock](https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock): subtly change the color of your VS Code workspace to identify multiple instances. Plus: chat with all major AI APIs (OpenAI, Claude, Gemini, Ollama, Groq, Mistral, OpenRouter). Explain, refactor, generate code.

## Features

### Peacock-style workspace color
- **Change to Favorite Color** – Peacock, Angular Red, React Blue, Vue Green, Node Green, JavaScript Yellow, Azure Blue
- **Enter Custom Color** – Any hex color (e.g. `#0d9488`)
- **Reset Workspace Colors** – Restore default
- Affects title bar, activity bar, status bar (configurable)

### AI chat (same as Claude AI Pro)
- **Multi-AI provider**: OpenAI, Anthropic (Claude), Google (Gemini), Ollama, Groq, Mistral, OpenRouter
- **AI Chat** – Sidebar panel with conversation history
- **Explain / Refactor / Fix** – Right-click selected code
- **Generate Code** – From description
- **Add Comments** – Generate documentation
- **Generate Tests** – Unit tests from code
- **Ask Question** – Quick question

## Commands

| Command | Shortcut |
|--------|----------|
| Open Peacock AI Chat | `Ctrl+Shift+P` (Mac: `Cmd+Shift+P`) |
| Change to Favorite Color | Command Palette |
| Enter Custom Color | Command Palette |
| Reset Workspace Colors | Command Palette |
| Select AI Provider | In chat header |
| Explain / Refactor / Fix Code | Right-click selection |

## Configuration

Search **Peacock Professional Edition** in Settings:

- **peacockPro.provider** – AI provider (openai, anthropic, google, ollama, groq, mistral, openrouter)
- **peacockPro.openai.apiKey**, **peacockPro.anthropic.apiKey**, etc. – API keys
- **peacockPro.affectTitleBar**, **peacockPro.affectActivityBar**, **peacockPro.affectStatusBar** – Which UI parts get the workspace color

## Requirements

- VS Code 1.75+
- API key(s) for your chosen AI provider(s)

**Note:** If the extension icon does not appear, copy `logo.png` from another extension folder (e.g. Peacock-Pro) into `Peacock-Professional-Edition`.

## References

- [Peacock (John Papa)](https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock) – Original Peacock extension for workspace color

## License

MIT
