npm run dev pytest git statusOutput streams live into chat and logs.
curl -fsSL https://app.factory.ai/cli | sh.
Then edit `~/.jetbrains/acp.json`:
```json
{
"agent_servers": {
"Factory Droid": {
"command": "/path/to/droid",
"args": ["exec", "--output-format", "acp"]
}
}
}
```
To authenticate with an API key instead of browser login, add `FACTORY_API_KEY`:
```json
{
"agent_servers": {
"Factory Droid": {
"command": "/path/to/droid",
"args": ["exec", "--output-format", "acp"],
"env": {
"FACTORY_API_KEY": "your_api_key"
}
}
}
}
```