Hannes Rudolph
524709de5f
feat(cli): complete SolidJS/OpenTUI migration — remove React/Ink legacy UI
...
- Delete entire src/ui/ directory (~80 files of React/Ink components, hooks, stores)
- Remove react, ink, @inkjs/ui, zustand, @types/react, ink-testing-library deps
- Move @opentui/core-darwin-arm64 to optionalDependencies with all 5 platform variants
- Remove unused opentui-spinner dependency
- Chain build scripts: 'build' now runs tsup && bun build-ui-next.ts
- Clean tsup.config.ts: restore clean:true, remove React JSX config
- Clean tsconfig.json: remove jsx/jsxImportSource React settings
Architecture improvements:
- Decompose prompt God Component (502→194 LOC + 5 extracted modules)
- Extract shared extension-logic.ts (295 LOC pure functions)
- Eliminate test harness duplication, fix missing todo handling bug
- Relocate tools.ts from ui/utils/ to lib/utils/
- Port onboarding from React/Ink to pure Node.js terminal prompts
- Type dynamic import with UINextModule interface
- Replace all 'as any' casts with precise types
- Fix context-window.ts broken @/ui/store.js import
- Fix all lint warnings (unused imports, prefer-const, no-control-regex)
Verification: tsc clean, 350 tests pass, zero React/Ink/Zustand references, lint clean
2026-02-06 20:26:21 -07:00
Hannes Rudolph
88092ec955
feat(cli): add ui-next Solid/OpenTUI runtime and build pipeline
2026-02-06 00:28:36 -07:00
Chris Estreich
aa49871a5d
fix(cli): resolve race condition causing provider switch during mode changes ( #11205 )
...
When using slash commands with `mode:` frontmatter (e.g., `/cli-release`
with `mode: code`), the CLI would fail with "Could not resolve
authentication method" from the Anthropic SDK, even when using a
non-Anthropic provider like `--provider roo`.
Root cause: In `markWebviewReady()`, the `webviewDidLaunch` message was
sent before `updateSettings`, creating a race condition. The
`webviewDidLaunch` handler's "first-time init" sync would read
`getState()` before CLI-provided settings were applied to the context
proxy. Since `getState()` defaults `apiProvider` to "anthropic" when
unset, this default was saved to the provider profile. When a slash
command triggered `handleModeSwitch()`, it found this corrupted profile
with `apiProvider: "anthropic"` (but no API key) and activated it,
overwriting the CLI's working roo provider configuration.
Fix:
1. Reorder `markWebviewReady()` to send `updateSettings` before
`webviewDidLaunch`, ensuring the context proxy has CLI-provided
values when the initialization handler runs.
2. Guard the first-time init sync with `checkExistKey(apiConfiguration)`
to prevent saving a profile with only the default "anthropic"
fallback and no actual API keys configured.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 18:26:41 -08:00
Chris Estreich
6214f4c162
Roo Code CLI v0.0.50 ( #11204 )
...
* Roo Code CLI v0.0.50
* docs(cli): add --exit-on-error to changelog
---------
Co-authored-by: Roo Code <roomote@roocode.com>
2026-02-04 18:14:15 -08:00
Chris Estreich
6e56619417
feat(cli): improve dev experience and roo provider API key support ( #11203 )
...
- Allow --api-key and ROO_API_KEY env var for the roo provider instead of
requiring cloud auth token
- Switch dev/start scripts to use tsx for running directly from source
without building first
- Fix path resolution (version.ts, extension.ts, extension-host.ts) to
work from both source and bundled locations
- Disable debug log file (~/.roo/cli-debug.log) unless --debug is passed
- Update README with complete env var table and dev workflow docs
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 16:17:29 -08:00
Chris Estreich
4647d0f3c5
fix(cli): correct example in install script ( #11170 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 23:04:41 -08:00
Chris Estreich
1c7ccb7b3d
Drop MacOS-13 cli support ( #11169 )
2026-02-02 22:33:56 -08:00
Chris Estreich
4592133624
Add cli support for linux ( #11167 )
2026-02-02 21:00:52 -08:00
Hannes Rudolph
f848795775
refactor: replace fetch_instructions with skill tool and built-in skills ( #11084 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-29 12:47:36 -07:00
Hannes Rudolph
0c53f1937a
Revert "refactor: replace fetch_instructions with skill tool and built-in skills" ( #11083 )
2026-01-29 11:46:58 -07:00
Hannes Rudolph
67e568f6bb
refactor: replace fetch_instructions with skill tool and built-in skills ( #10913 )
2026-01-29 07:48:08 -07:00
Daniel
84f7409f3c
feat: remove MCP SERVERS section from system prompt ( #10895 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-24 01:16:26 -05:00
roomote[bot]
1daac839ec
docs: fix CLI README to use correct command syntax ( #10923 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-23 13:24:48 -08:00
Chris Estreich
04256be956
Git worktree management ( #10458 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2026-01-20 13:39:24 -08:00
Chris Estreich
ea62173792
fix(cli): fix quiet mode tests by capturing console before host creation ( #10827 )
2026-01-18 10:07:49 -08:00
Chris Estreich
4093bff3ae
fix(cli): set integrationTest to true in ExtensionHost constructor ( #10826 )
2026-01-18 09:32:10 -08:00
Chris Estreich
fdf32bd55e
chore(cli): prepare release v0.0.49 ( #10825 )
2026-01-18 09:23:16 -08:00
Chris Estreich
6cc2a4c30e
Support different cli output formats: text, json, streaming json ( #10812 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-18 09:19:08 -08:00
Chris Estreich
6608ed618a
chore(cli): prepare release v0.0.48 ( #10800 )
2026-01-16 23:29:54 -08:00
Chris Estreich
98d35f7cfc
Use a redirect instead of a fetch for cli auth ( #10799 )
2026-01-16 23:26:04 -08:00
Chris Estreich
f6c77c1643
Release cli v0.0.47 ( #10798 )
2026-01-16 23:02:17 -08:00
Chris Estreich
8fa2c1d598
Claude-like cli flags, auth fixes ( #10797 )
...
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-16 22:54:24 -08:00
Chris Estreich
f58b908293
Roo Code Router fixes for the cli ( #10789 )
...
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2026-01-16 17:16:44 -08:00
Chris Estreich
a33117a83f
Some cleanup in ExtensionHost ( #10600 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-10 02:29:33 -08:00
Chris Estreich
fc21101a99
More file organization for the cli ( #10599 )
2026-01-09 23:22:51 -08:00
Chris Estreich
e8ed344b0f
Allow the cli release script to install locally for testing ( #10597 )
2026-01-09 20:40:46 -08:00
Chris Estreich
ea9717d7ba
Add a TUI ( #10480 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2026-01-09 19:19:58 -08:00
Matt Rubens
caa37792ca
chore(cli): change default model to anthropic/claude-opus-4.5 ( #10544 )
2026-01-08 18:01:15 -05:00
Chris Estreich
861139ca24
Add a cli installer ( #10474 )
...
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2026-01-06 03:27:44 -08:00
Chris Estreich
b11d53adf4
VSCode shim + basic cli ( #10452 )
...
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-05 10:24:05 -08:00