Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 17436d7

Browse files
committed
Remove Roo Code Cloud and evals
1 parent 22d845c commit 17436d7

446 files changed

Lines changed: 392 additions & 36803 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/evals.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

PRIVACY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Roo Code respects your privacy and is committed to transparency about how we han
66

77
### **Where Your Data Goes (And Where It Doesn’t)**
88

9-
- **Code & Files**: Roo Code accesses files on your local machine when needed for AI-assisted features. When you send commands to Roo Code, relevant files may be transmitted to your chosen AI model provider (e.g., OpenAI, Anthropic, OpenRouter) to generate responses. If you select Roo Code Cloud as the model provider (proxy mode), your code may transit Roo Code servers only to forward it to the upstream provider. We do not store your code; it is deleted immediately after forwarding. Otherwise, your code is sent directly to the provider. AI providers may store data per their privacy policies.
9+
- **Code & Files**: Roo Code accesses files on your local machine when needed for AI-assisted features. When you send commands to Roo Code, relevant files may be transmitted to your chosen AI model provider (e.g., OpenAI, Anthropic, OpenRouter) to generate responses. AI providers may store data per their privacy policies.
1010
- **Commands**: Any commands executed through Roo Code happen on your local environment. However, when you use AI-powered features, the relevant code and context from your commands may be transmitted to your chosen AI model provider (e.g., OpenAI, Anthropic, OpenRouter) to generate responses. We do not have access to or store this data, but AI providers may process it per their privacy policies.
11-
- **Prompts & AI Requests**: When you use AI-powered features, your prompts and relevant project context are sent to your chosen AI model provider (e.g., OpenAI, Anthropic, OpenRouter) to generate responses. We do not store or process this data. These AI providers have their own privacy policies and may store data per their terms of service. If you choose Roo Code Cloud as the provider (proxy mode), prompts may transit Roo Code servers only to forward them to the upstream model and are not stored.
11+
- **Prompts & AI Requests**: When you use AI-powered features, your prompts and relevant project context are sent to your chosen AI model provider (e.g., OpenAI, Anthropic, OpenRouter) to generate responses. We do not store or process this data. These AI providers have their own privacy policies and may store data per their terms of service.
1212
- **API Keys & Credentials**: If you enter an API key (e.g., to connect an AI model), it is stored locally on your device and never sent to us or any third party, except the provider you have chosen.
1313
- **Telemetry (Usage Data)**: We collect anonymous feature usage and error data to help us improve Roo Code. This telemetry is powered by PostHog and includes your VS Code machine ID, feature usage patterns, and exception reports. This telemetry does **not** collect personally identifiable information, your code, or AI prompts. You can opt out of this telemetry at any time through the settings.
1414

apps/cli/README.md

Lines changed: 22 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -130,101 +130,42 @@ printf '{"command":"start","requestId":"1","prompt":"1+1=?"}\n' | roo --print --
130130
printf '{"command":"start","requestId":"1","taskId":"018f7fc8-7c96-7f7c-98aa-2ec4ff7f6d87","prompt":"1+1=?"}\n' | roo --print --stdin-prompt-stream --output-format stream-json
131131
```
132132

133-
### Roo Code Cloud Authentication
134-
135-
To use Roo Code Cloud features (like the provider proxy), you need to authenticate:
136-
137-
```bash
138-
# Log in to Roo Code Cloud (opens browser)
139-
roo auth login
140-
141-
# Check authentication status
142-
roo auth status
143-
144-
# Log out
145-
roo auth logout
146-
```
147-
148-
The `auth login` command:
149-
150-
1. Opens your browser to authenticate with Roo Code Cloud
151-
2. Receives a secure token via localhost callback
152-
3. Stores the token in `~/.config/roo/credentials.json`
153-
154-
Tokens are valid for 90 days. The CLI will prompt you to re-authenticate when your token expires.
155-
156-
**Authentication Flow:**
157-
158-
```
159-
┌──────┐ ┌─────────┐ ┌───────────────┐
160-
│ CLI │ │ Browser │ │ Roo Code Cloud│
161-
└──┬───┘ └────┬────┘ └───────┬───────┘
162-
│ │ │
163-
│ Open auth URL │ │
164-
│─────────────────>│ │
165-
│ │ │
166-
│ │ Authenticate │
167-
│ │─────────────────────>│
168-
│ │ │
169-
│ │<─────────────────────│
170-
│ │ Token via callback │
171-
│<─────────────────│ │
172-
│ │ │
173-
│ Store token │ │
174-
│ │ │
175-
```
176-
177133
## Options
178134

179-
| Option | Description | Default |
180-
| --------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------- |
181-
| `[prompt]` | Your prompt (positional argument, optional) | None |
182-
| `--prompt-file <path>` | Read prompt from a file instead of command line argument | None |
183-
| `--create-with-session-id <session-id>` | Create a new task using the provided session ID (UUID) | None |
184-
| `-w, --workspace <path>` | Workspace path to operate in | Current directory |
185-
| `-p, --print` | Print response and exit (non-interactive mode) | `false` |
186-
| `--stdin-prompt-stream` | Read NDJSON control commands from stdin (requires `--print`) | `false` |
187-
| `-e, --extension <path>` | Path to the extension bundle directory | Auto-detected |
188-
| `-d, --debug` | Enable debug output (includes detailed debug information, prompts, paths, etc) | `false` |
189-
| `-a, --require-approval` | Require manual approval before actions execute | `false` |
190-
| `-k, --api-key <key>` | API key for the LLM provider | From env var |
191-
| `--provider <provider>` | API provider (roo, anthropic, openai, openrouter, etc.) | `openrouter` (or `roo` if authenticated) |
192-
| `-m, --model <model>` | Model to use | `anthropic/claude-opus-4.6` |
193-
| `--mode <mode>` | Mode to start in (code, architect, ask, debug, etc.) | `code` |
194-
| `--terminal-shell <path>` | Absolute shell path for inline terminal command execution | Auto-detected shell |
195-
| `-r, --reasoning-effort <effort>` | Reasoning effort level (unspecified, disabled, none, minimal, low, medium, high, xhigh) | `medium` |
196-
| `--consecutive-mistake-limit <n>` | Consecutive error/repetition limit before guidance prompt (`0` disables the limit) | `10` |
197-
| `--ephemeral` | Run without persisting state (uses temporary storage) | `false` |
198-
| `--oneshot` | Exit upon task completion | `false` |
199-
| `--output-format <format>` | Output format with `--print`: `text`, `json`, or `stream-json` | `text` |
200-
201-
## Auth Commands
202-
203-
| Command | Description |
204-
| ----------------- | ---------------------------------- |
205-
| `roo auth login` | Authenticate with Roo Code Cloud |
206-
| `roo auth logout` | Clear stored authentication token |
207-
| `roo auth status` | Show current authentication status |
135+
| Option | Description | Default |
136+
| --------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------- |
137+
| `[prompt]` | Your prompt (positional argument, optional) | None |
138+
| `--prompt-file <path>` | Read prompt from a file instead of command line argument | None |
139+
| `--create-with-session-id <session-id>` | Create a new task using the provided session ID (UUID) | None |
140+
| `-w, --workspace <path>` | Workspace path to operate in | Current directory |
141+
| `-p, --print` | Print response and exit (non-interactive mode) | `false` |
142+
| `--stdin-prompt-stream` | Read NDJSON control commands from stdin (requires `--print`) | `false` |
143+
| `-e, --extension <path>` | Path to the extension bundle directory | Auto-detected |
144+
| `-d, --debug` | Enable debug output (includes detailed debug information, prompts, paths, etc) | `false` |
145+
| `-a, --require-approval` | Require manual approval before actions execute | `false` |
146+
| `-k, --api-key <key>` | API key for the LLM provider | From env var |
147+
| `--provider <provider>` | API provider (anthropic, openai, openrouter, etc.) | `openrouter` |
148+
| `-m, --model <model>` | Model to use | `anthropic/claude-opus-4.6` |
149+
| `--mode <mode>` | Mode to start in (code, architect, ask, debug, etc.) | `code` |
150+
| `--terminal-shell <path>` | Absolute shell path for inline terminal command execution | Auto-detected shell |
151+
| `-r, --reasoning-effort <effort>` | Reasoning effort level (unspecified, disabled, none, minimal, low, medium, high, xhigh) | `medium` |
152+
| `--consecutive-mistake-limit <n>` | Consecutive error/repetition limit before guidance prompt (`0` disables the limit) | `10` |
153+
| `--ephemeral` | Run without persisting state (uses temporary storage) | `false` |
154+
| `--oneshot` | Exit upon task completion | `false` |
155+
| `--output-format <format>` | Output format with `--print`: `text`, `json`, or `stream-json` | `text` |
208156

209157
## Environment Variables
210158

211159
The CLI will look for API keys in environment variables if not provided via `--api-key`:
212160

213161
| Provider | Environment Variable |
214162
| ----------------- | --------------------------- |
215-
| roo | `ROO_API_KEY` |
216163
| anthropic | `ANTHROPIC_API_KEY` |
217164
| openai-native | `OPENAI_API_KEY` |
218165
| openrouter | `OPENROUTER_API_KEY` |
219166
| gemini | `GOOGLE_API_KEY` |
220167
| vercel-ai-gateway | `VERCEL_AI_GATEWAY_API_KEY` |
221168

222-
**Authentication Environment Variables:**
223-
224-
| Variable | Description |
225-
| ----------------- | -------------------------------------------------------------------- |
226-
| `ROO_WEB_APP_URL` | Override the Roo Code Cloud URL (default: `https://app.roocode.com`) |
227-
228169
## Architecture
229170

230171
```
@@ -268,7 +209,7 @@ The CLI will look for API keys in environment variables if not provided via `--a
268209

269210
```bash
270211
# Run directly from source (no build required)
271-
pnpm dev --provider roo --api-key $ROO_API_KEY --print "Hello"
212+
pnpm dev --provider openrouter --api-key $OPENROUTER_API_KEY --print "Hello"
272213

273214
# Run tests
274215
pnpm test
@@ -280,12 +221,6 @@ pnpm check-types
280221
pnpm lint
281222
```
282223

283-
By default the `start` script points `ROO_CODE_PROVIDER_URL` at `http://localhost:8080/proxy` for local development. To point at the production API instead, override the environment variable:
284-
285-
```bash
286-
ROO_CODE_PROVIDER_URL=https://api.roocode.com/proxy pnpm dev --provider roo --api-key $ROO_API_KEY --print "Hello"
287-
```
288-
289224
## Releasing
290225

291226
Official releases are created via the GitHub Actions workflow at `.github/workflows/cli-release.yml`.

apps/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"test:integration": "tsx scripts/integration/run.ts",
1717
"build": "tsup",
1818
"build:extension": "pnpm --filter roo-cline bundle",
19-
"dev": "ROO_AUTH_BASE_URL=https://app.roocode.com ROO_SDK_BASE_URL=https://cloud-api.roocode.com ROO_CODE_PROVIDER_URL=https://api.roocode.com/proxy tsx src/index.ts",
20-
"dev:local": "ROO_AUTH_BASE_URL=http://localhost:3000 ROO_SDK_BASE_URL=http://localhost:3001 ROO_CODE_PROVIDER_URL=http://localhost:8080/proxy tsx src/index.ts",
19+
"dev": "tsx src/index.ts",
20+
"dev:local": "tsx src/index.ts",
2121
"clean": "rimraf dist .turbo"
2222
},
2323
"dependencies": {

apps/cli/scripts/integration/cases/create-with-session-id-resume-loads-correct-session.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function createSessionWithCustomId(
8888
"dev",
8989
"--print",
9090
"--provider",
91-
"roo",
91+
"openrouter",
9292
"--output-format",
9393
"stream-json",
9494
"--workspace",
@@ -148,7 +148,7 @@ async function resumeSessionAndSendMarker(
148148
"--print",
149149
"--stdin-prompt-stream",
150150
"--provider",
151-
"roo",
151+
"openrouter",
152152
"--output-format",
153153
"stream-json",
154154
"--workspace",

apps/cli/scripts/integration/lib/stream-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export async function runStreamCase(options: RunStreamCaseOptions): Promise<void
6969

7070
const child = execa(
7171
"pnpm",
72-
["dev", "--print", "--stdin-prompt-stream", "--provider", "roo", "--output-format", "stream-json"],
72+
["dev", "--print", "--stdin-prompt-stream", "--provider", "openrouter", "--output-format", "stream-json"],
7373
{
7474
cwd: cliRoot,
7575
stdin: "pipe",

apps/cli/src/agent/extension-host.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ export class ExtensionHost extends EventEmitter implements ExtensionHostInterfac
446446
// Apply CLI settings to the runtime config and context proxy BEFORE
447447
// sending webviewDidLaunch. This prevents a race condition where the
448448
// webviewDidLaunch handler's first-time init sync reads default state
449-
// (apiProvider: "anthropic") instead of the CLI-provided settings.
449+
// instead of the CLI-provided settings.
450450
setRuntimeConfigValues("roo-cline", this.initialSettings as Record<string, unknown>)
451451
this.sendToExtension({ type: "updateSettings", updatedSettings: this.initialSettings })
452452

apps/cli/src/commands/auth/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)