Skip to content

Commit de12c37

Browse files
committed
Update README
1 parent 036148c commit de12c37

1 file changed

Lines changed: 179 additions & 99 deletions

File tree

README.md

Lines changed: 179 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,142 @@
1+
[![JetBrains](https://img.shields.io/badge/JetBrains-Plugin-000000?style=flat&logo=jetbrains&logoColor=white)](https://github.com/Zoo-Code-Org/Zoo-Code-Jetbrains)
2+
[![X](https://img.shields.io/badge/ZooCode-000000?style=flat&logo=x&logoColor=white)](https://x.com/ZooCodeDev)
3+
[![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=flat&logo=youtube&logoColor=white)](https://youtube.com/@roocodeyt?feature=shared)
4+
[![Join Discord](https://img.shields.io/badge/Join%20Discord-5865F2?style=flat&logo=discord&logoColor=white)](https://discord.gg/VxfP4Vx3gX)
5+
[![Join r/ZooCode](https://img.shields.io/badge/Join%20r%2FZooCode-FF4500?style=flat&logo=reddit&logoColor=white)](https://www.reddit.com/r/ZooCode/)
6+
[![GitHub Issues](https://img.shields.io/badge/GitHub-Issues-181717?style=flat&logo=github&logoColor=white)](https://github.com/Zoo-Code-Org/Zoo-Code-Jetbrains/issues)
7+
8+
_Get help fast → [Join Discord](https://discord.gg/VxfP4Vx3gX) • Prefer async? → [Join r/ZooCode](https://www.reddit.com/r/ZooCode/)_
9+
110
# Zoo Code for JetBrains
211

3-
Run Zoo Code AI Assistant in JetBrains IDEs.
12+
> Your AI-Powered Dev Team, Right in Your JetBrains IDE
13+
14+
Zoo Code for JetBrains brings the [Zoo Code](https://github.com/Zoo-Code-Org/Zoo-Code) AI coding assistant to IntelliJ-based IDEs. It runs the Zoo Code extension through a bundled extension host and integrates it with JetBrains editors, terminals, menus, and tool windows.
15+
16+
## We are Zoo Code
17+
18+
Zoo Code continues development of this project after the Roo team wound down active Roo Code work to focus on [Roomote](https://roomote.dev/). We thank the Roo team for everything they built.
19+
20+
The core Zoo Code team includes developers who previously contributed to Roo and care deeply about this plugin. We will continue to make model updates, fix bugs, release features, and listen closely to the community. Join us on [Discord](https://discord.gg/VxfP4Vx3gX), [Reddit](https://www.reddit.com/r/ZooCode/), or [open a pull request or issue](https://github.com/Zoo-Code-Org/Zoo-Code).
21+
22+
_- Zoo Code Team_
23+
24+
## Roo Code to Zoo Code migration
25+
26+
Migrating from Roo Code? See the [Roo → Zoo migration guide](https://docs.zoocode.dev/roo-to-zoo-migration). If you need help during the transition, ask the community on [Discord](https://discord.gg/VxfP4Vx3gX) or [Reddit](https://www.reddit.com/r/ZooCode/).
27+
28+
## What's New in v3.70.0
29+
30+
- **OpenAI GPT-5.6 family** — Sol, Terra, and Luna are available through the OpenAI Codex and OpenAI Native provider paths.
31+
- **Grok 4.5 support** — use xAI's latest flagship model, with improved reasoning-effort formatting for Grok 4 Mini.
32+
- **Kenari provider support** — use an OpenAI-compatible AI gateway billed in Rupiah, with access to Claude, GPT, DeepSeek, GLM, Kimi, and more.
33+
- Access context compaction and context-window progress from the collapsed task header.
34+
- Fixes for terminal output loss and premature task completion on cold terminals.
35+
- Live vision-capability detection for image attachments with Zoo Gateway and Vercel AI Gateway models.
36+
- Dependency and tooling updates.
37+
38+
## What Can Zoo Code Do For You?
39+
40+
- Generate code from natural-language descriptions and specifications
41+
- Adapt through Code, Architect, Ask, Debug, and Custom modes
42+
- Refactor and debug existing code
43+
- Write and update documentation
44+
- Answer questions about your codebase
45+
- Automate repetitive tasks
46+
- Use Model Context Protocol (MCP) servers
47+
48+
## Modes
49+
50+
Zoo Code adapts to how you work:
51+
52+
- **Code Mode:** everyday coding, edits, and file operations
53+
- **Architect Mode:** plan systems, specifications, and migrations
54+
- **Ask Mode:** get fast answers, explanations, and documentation
55+
- **Debug Mode:** trace issues, add logs, and isolate root causes
56+
- **Custom Modes:** create specialized modes for your team or workflow
57+
58+
Learn more: [Using Modes](https://docs.zoocode.dev/basic-usage/using-modes)[Custom Modes](https://docs.zoocode.dev/advanced-usage/custom-modes)
459

5-
## Prerequisites
60+
## Supported IDEs
661

7-
- Node.js 16+ and npm
8-
- JDK 17+
62+
Zoo Code supports JetBrains IDEs based on the IntelliJ Platform, including:
63+
64+
- IntelliJ IDEA (Ultimate and Community)
65+
- WebStorm
66+
- PyCharm (Professional and Community)
67+
- PhpStorm
68+
- RubyMine
69+
- CLion
70+
- GoLand
71+
- DataGrip
72+
- Rider
73+
- Android Studio **2026.1.4 or newer** (currently available as a preview)
74+
75+
The plugin targets IntelliJ Platform build **233** (JetBrains 2023.3) or newer. Android Studio requires version **2026.1.4 or newer** because that release includes the JCEF support required by Zoo Code. At present, Android Studio 2026.1.4 is available through the preview channel.
76+
77+
## Requirements
78+
79+
### Using the plugin
80+
81+
- A supported JetBrains IDE based on IntelliJ Platform build 233 or newer
82+
- Android Studio 2026.1.4 or newer when using Android Studio; install a preview build until this version reaches the stable channel
83+
- A JCEF-enabled IDE runtime, which Zoo Code requires to render its interface
84+
- Node.js **20.6.0 or newer** available on your `PATH`
85+
86+
### Building from source
87+
88+
- Node.js 20.6.0 or newer and npm
89+
- JDK 17 or newer
990
- Git
10-
- curl or wget
11-
- unzip
91+
- Bash
92+
- `curl` or `wget`
93+
- `unzip`
1294

13-
## Build from Source
95+
## Installation
96+
97+
### Install a release build
1498

15-
### Quick Build
99+
1. Download the latest plugin ZIP from the [GitHub Releases](https://github.com/Zoo-Code-Org/Zoo-Code-Jetbrains/releases) page.
100+
2. Open your JetBrains IDE.
101+
3. Go to **Settings/Preferences → Plugins**.
102+
4. Select the gear icon, then **Install Plugin from Disk...**.
103+
5. Choose the downloaded `.zip` file.
104+
6. Restart the IDE when prompted.
105+
7. Open the **Zoo Code JetBrains** tool window from the right sidebar.
106+
107+
### Build and install from source
16108

17109
```bash
18-
# Clone the repository
19-
git clone https://github.com/ZooCodeInc/Roo-Code-JetBrains.git
20-
cd Roo-Code-JetBrains
110+
git clone https://github.com/Zoo-Code-Org/Zoo-Code-Jetbrains.git
111+
cd Zoo-Code-Jetbrains
21112

22-
# Run setup (initializes submodules, installs dependencies, applies patches)
113+
# Initialize submodules and install dependencies
23114
./scripts/setup.sh
24115

25-
# Build the plugin
116+
# Download the latest Zoo Code extension and build the plugin
26117
./scripts/build.sh
27118
```
28119

120+
The installable plugin is written to the `dist/` directory. Install that ZIP through **Settings/Preferences → Plugins → Install Plugin from Disk...**.
121+
122+
## Build from Source
123+
29124
The setup script handles:
125+
30126
- Git LFS initialization
31127
- Git submodule initialization and updates
32128
- Dependency installation
33129
- Patch application
34130
- Development environment setup
35131

36132
The build script then:
37-
- Downloads the latest Zoo Code extension from VSCode marketplace
133+
134+
- Downloads the latest Zoo Code extension from the VS Code Marketplace
38135
- Builds the Extension Host runtime
39-
- Creates the JetBrains plugin with Zoo Code integrated
40-
- Outputs a ready-to-install plugin in the `dist/` directory
136+
- Builds the JetBrains plugin with Zoo Code integrated
137+
- Writes a ready-to-install plugin to the `dist/` directory
41138

42-
### Build Options
139+
### Build options
43140

44141
```bash
45142
# Release build (default)
@@ -54,47 +151,46 @@ The build script then:
54151
# Clean build
55152
./scripts/build.sh --clean
56153

57-
# Skip specific components
58-
./scripts/build.sh --skip-host # Skip Extension Host build
59-
./scripts/build.sh --skip-idea # Skip IDEA plugin build
154+
# Use an existing downloaded extension
155+
./scripts/build.sh --skip-download
156+
157+
# Skip individual components
158+
./scripts/build.sh --skip-host
159+
./scripts/build.sh --skip-idea
60160

61161
# Verbose output
62162
./scripts/build.sh --verbose
63163

64-
# See all options
164+
# Show all options
65165
./scripts/build.sh --help
66166
```
67167

68-
### Build Output
168+
### Build output
69169

70-
After building, you'll find:
71-
- `dist/ZooCode-*.zip` - The JetBrains plugin file
72-
- `dist/extension_host/` - The Extension Host runtime
73-
- `dist/debug-resources/` - Debug resources (debug mode only)
74-
- `dist/README.md` - Installation instructions
170+
After a full build, the output directory contains:
75171

76-
## Manual Build Steps
172+
- `ZooCode-*.zip` — installable JetBrains plugin
173+
- `extension_host/` — compiled Extension Host runtime
174+
- `debug-resources/` — debug resources, when using debug mode
175+
- `README.md` — generated installation instructions
77176

78-
If you prefer to build components individually:
177+
For more build-system details, see [BUILD.md](BUILD.md).
79178

80-
### 1. Download and Prepare Zoo Code Extension
179+
## Development
81180

82-
```bash
83-
# The build script automatically downloads the latest version
84-
# Manual placement: extract VSIX to jetbrains_plugin/plugins/zoo-code/extension/
85-
```
181+
### Build individual components
86182

87-
### 2. Build Extension Host
183+
#### Extension Host
88184

89185
```bash
90186
cd extension_host
91187
npm install
92188
npm run build:extension # Production build
93189
# or
94-
npm run build # Development build
190+
npm run build # Development build
95191
```
96192

97-
### 3. Build IDEA Plugin
193+
#### JetBrains plugin
98194

99195
```bash
100196
cd jetbrains_plugin
@@ -106,99 +202,83 @@ cd jetbrains_plugin
106202
./gradlew -PdebugMode=idea -PvscodePlugin=zoo-code buildPlugin
107203
```
108204

109-
## Development
110-
111-
### Development Setup
205+
### Run the plugin in a development IDE
112206

113207
```bash
114-
# Clone and setup
115-
git clone https://github.com/ZooCodeInc/Roo-Code-JetBrains.git
116-
cd Roo-Code-JetBrains
117-
118-
# Run setup (handles submodules, dependencies, patches)
119-
./scripts/setup.sh
120-
121-
# Run Extension Host in development mode
122-
cd extension_host
123-
npm run dev
208+
cd jetbrains_plugin
209+
./gradlew runIde
124210
```
125211

126-
### Running the Plugin in Development
212+
### Run tests
127213

128214
```bash
129-
cd jetbrains_plugin
130-
./gradlew runIde
215+
./scripts/test.sh
131216
```
132217

133-
## Installation
218+
## Architecture
134219

135-
### Install from Built Plugin
220+
The integration consists of three main components:
136221

137-
1. Build the plugin using the instructions above
138-
2. Open your JetBrains IDE
139-
3. Go to Settings/Preferences → Plugins
140-
4. Click the gear icon → Install Plugin from Disk...
141-
5. Select the `.zip` file from `dist/` directory
142-
6. Restart your IDE
222+
1. **JetBrains Plugin (Kotlin):** integrates editors, terminals, commands, menus, webviews, and tool windows with the IDE.
223+
2. **Extension Host (Node.js):** provides a VS Code-compatible runtime for Zoo Code.
224+
3. **Zoo Code Extension:** supplies the AI assistant experience and is downloaded from the VS Code Marketplace during a full build.
225+
226+
The JetBrains plugin communicates with the Extension Host using RPC over Unix-domain sockets on macOS and Linux, or named pipes on Windows.
143227

144228
## Troubleshooting
145229

146-
### Build Fails
230+
### Plugin does not load
231+
232+
- Confirm Node.js 20.6.0 or newer is installed with `node --version`.
233+
- Make sure Node.js is available on the IDE process `PATH`.
234+
- Restart the IDE after installing the plugin.
235+
- Review the JetBrains IDE log for Zoo Code or Extension Host errors.
236+
- See [Known Issues](docs/KNOWN_ISSUES.md).
237+
238+
### Build fails
147239

148240
```bash
149-
# Re-run setup to ensure everything is initialized
241+
# Reinitialize the project
150242
./scripts/setup.sh --force
151243

152-
# Check prerequisites
153-
node --version # Should be 16+
154-
java --version # Should be 17+
244+
# Verify prerequisites
245+
node --version
246+
java --version
155247

156-
# Make scripts executable
157-
chmod +x scripts/*.sh
158-
chmod +x scripts/lib/*.sh
248+
# Ensure scripts are executable
249+
chmod +x scripts/*.sh scripts/lib/*.sh jetbrains_plugin/gradlew
159250

160-
# Clean build
161-
./scripts/build.sh --clean
251+
# Clean and rebuild
252+
./scripts/build.sh --clean --verbose
162253
```
163254

164-
### Permission Issues
165-
166-
```bash
167-
# Make gradlew executable
168-
cd jetbrains_plugin
169-
chmod +x gradlew
170-
```
255+
### Network errors downloading Zoo Code
171256

172-
### Network Errors Downloading Zoo Code
257+
Download the [Zoo Code VSIX](https://marketplace.visualstudio.com/items?itemName=ZooCodeOrganization.zoo-code), extract it to `jetbrains_plugin/plugins/zoo-code/extension/`, and build with:
173258

174259
```bash
175-
# Skip download and manually place extension
176260
./scripts/build.sh --skip-download
177-
# Download VSIX manually from: https://marketplace.visualstudio.com/items?itemName=ZooCodeOrganization.zoo-code
178-
# Extract to: jetbrains_plugin/plugins/zoo-code/extension/
179261
```
180262

181-
## Architecture
182-
183-
The plugin consists of three components:
263+
## Resources
184264

185-
1. **JetBrains Plugin** (Kotlin) - IDE integration
186-
2. **Extension Host** (Node.js) - Runs the Zoo Code extension
187-
3. **Zoo Code Extension** - The AI assistant
265+
- **[Documentation](https://docs.zoocode.dev):** Install, configure, and master Zoo Code.
266+
- **[Zoo Code repository](https://github.com/Zoo-Code-Org/Zoo-Code):** Follow development of the core extension.
267+
- **[YouTube channel](https://youtube.com/@roocodeyt?feature=shared):** Watch tutorials and feature demonstrations.
268+
- **[Discord server](https://discord.gg/VxfP4Vx3gX):** Get real-time help and join community discussions.
269+
- **[Reddit community](https://www.reddit.com/r/ZooCode/):** Share your experience and see what others are building.
270+
- **[JetBrains integration issues](https://github.com/Zoo-Code-Org/Zoo-Code-Jetbrains/issues):** Report integration-specific bugs.
271+
- **[Zoo Code issues](https://github.com/Zoo-Code-Org/Zoo-Code/issues):** Report issues with the core extension.
272+
- **[Feature requests](https://github.com/Zoo-Code-Org/Zoo-Code/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop):** Propose and discuss ideas.
188273

189-
Communication uses RPC over Unix sockets (macOS/Linux) or named pipes (Windows).
274+
## Contributing
190275

191-
## Environment Variables
276+
Community contributions are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.
192277

193-
For CI/CD or automated builds:
278+
## License
194279

195-
```bash
196-
export BUILD_MODE=release
197-
export VSCODE_PLUGIN_NAME=zoo-code
198-
export SKIP_IDEA_BUILD=false
199-
./scripts/build.sh
200-
```
280+
[Apache License 2.0 © 2026 Zoo Code Org](LICENSE)
201281

202-
## License
282+
---
203283

204-
Apache License 2.0
284+
**Enjoy Zoo Code!** Whether you keep it on a short leash or let it roam autonomously, we cannot wait to see what you build. If you have questions or feature ideas, visit [Reddit](https://www.reddit.com/r/ZooCode/), join [Discord](https://discord.gg/VxfP4Vx3gX), or open an [issue](https://github.com/Zoo-Code-Org/Zoo-Code-Jetbrains/issues). Happy coding!

0 commit comments

Comments
 (0)