Commit graph

5685 commits

Author SHA1 Message Date
Roo Code
eabbe464f6 fix: Complete type fixes for Files Changed Overview feature 2025-09-03 14:25:21 +00:00
Roo Code
886e8178cb fix: Add remaining missing types for Files Changed Overview feature 2025-09-03 14:22:31 +00:00
Roo Code
db6cd50669 fix: Add missing types for Files Changed Overview feature 2025-09-03 14:17:15 +00:00
Roo Code
007b47a70f Merge branch 'origin/main' into fco-clean - resolved conflicts 2025-09-03 14:12:44 +00:00
github-actions[bot]
130ce2936e
Changeset version bump (#7630)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-09-03 09:49:02 -04:00
github-actions[bot]
c0b9e7adcf
Update contributors list (#7629)
Co-authored-by: mrubens <2600+mrubens@users.noreply.github.com>
2025-09-03 09:46:27 -04:00
Matt Rubens
7f5d82f8c6
chore: add changeset for v3.26.5 (#7628) 2025-09-03 09:45:20 -04:00
Mohammad Danaee nia
84bc7035ee
Update chutes.ts to add Qwen3 235B A22B Thinking 2507 model (#7578)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-09-03 09:27:24 -04:00
Chris Estreich
43ff486d42
Publish subtask events (#7626) 2025-09-03 04:05:54 -07:00
Chris Estreich
bcb71dbebf
More socket-io client logging improvements (#7620) 2025-09-03 00:59:48 -07:00
Chris Estreich
aa4144e10e
More socket-io client fixes from PR feedback (#7619) 2025-09-03 00:41:56 -07:00
Chris Estreich
c1509da9bd
Fix socket-io client event handling (#7618) 2025-09-03 00:39:26 -07:00
Matt Rubens
f8973d9539
Never give up in socket transport (#7616) 2025-09-03 02:47:15 -04:00
Chris Estreich
641c058587
Send custom modes to the extension bridge (#7612) 2025-09-02 23:11:45 -07:00
Shawn
22e86515be Fix TypeScript compilation errors and FileChangeManager logic after rebase
- Remove deprecated BridgeOrchestrator imports and usage from Task.ts, extension.ts
- Replace removed getUserSettings() method calls with fallbacks
- Fix type compatibility issues with clineMessages parameter
- Fix FileChangeManager baseline assignment and rejection logic
  - Auto-assign fromCheckpoint as initial baseline when files enter FCO
  - Fix rejection to preserve existing baselines
  - Fix acceptance to properly update baselines to current checkpoint
  - Add missing mock setups in tests for applyPerFileBaselines calls
  - Update test expectations to match calculated line differences
- All TypeScript type checking now passes (11/11 packages)
2025-09-03 01:44:24 -04:00
Hannes Rudolph
8af0d556b1 fix: add cache reporting support for OpenAI-Native provider (#7602)
* fix: add cache reporting support for OpenAI-Native provider

- Add normalizeUsage method to properly extract cache tokens from Responses API
- Support both detailed token shapes (input_tokens_details) and legacy fields
- Calculate cache read/write tokens with proper fallbacks
- Include reasoning tokens when available in output_tokens_details
- Ensure accurate cost calculation using uncached input tokens

This fixes the issue where caching information was not being reported
when using the OpenAI-Native provider with the Responses API.

* fix: improve cache token normalization and add comprehensive tests

- Add fallback to derive total input tokens from details when totals are missing
- Remove unused convertToOpenAiMessages import
- Add comment explaining cost calculation alignment with Gemini provider
- Add comprehensive test coverage for normalizeUsage method covering:
  - Detailed token shapes with cached/miss tokens
  - Legacy field names and SSE-only events
  - Edge cases including missing totals with details-only
  - Cost calculation with uncached input tokens

* fix: address PR review comments

- Remove incorrect fallback to missFromDetails for cache write tokens
- Fix cost calculation to pass total input tokens (calculateApiCostOpenAI handles subtraction)
- Improve readability by extracting cache detail checks to intermediate variables
- Remove redundant ?? undefined
- Update tests to reflect correct behavior (miss tokens are not cache writes)
- Add clarifying comments about cache miss vs cache write tokens
2025-09-03 00:24:29 -04:00
John Richmond
a0e13fe388 Cloud: fix provider syncing (#7603)
ClineProvider creation was moved before CloudService which broke
the old way of doing things.
2025-09-03 00:24:29 -04:00
Bruno Bergher
0eb97d0e21 Shows a pill with the base Roo Code Cloud URL when not pointing to pr… (#7555)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-09-03 00:24:29 -04:00
roomote[bot]
84543c5ace feat: add configurable embedding batch size for code indexing (#7464)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-03 00:24:29 -04:00
github-actions[bot]
005ab1b0b5 Changeset version bump (#7580)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-09-03 00:24:29 -04:00
github-actions[bot]
21554737f2 Update contributors list (#7462)
Co-authored-by: mrubens <2600+mrubens@users.noreply.github.com>
2025-09-03 00:24:29 -04:00
Matt Rubens
953da9faa7 v3.26.4 (#7579) 2025-09-03 00:24:29 -04:00
Christiaan Arnoldus
4a128df413 Fix claudeCode.notFound translation key (#7571)
I think I saw someone post a screenshot where "errors.claudeCode.notFound" was shown untranslated.
2025-09-03 00:24:29 -04:00
Matt Rubens
1771dfe1e7 Disconnect extension bridge on logout (#7563)
* Disconnect extension bridge on logout

* Remove bad test

* Cleanup
2025-09-03 00:24:28 -04:00
roomote[bot]
2ba16b7bad feat: add Ollama API key support for Turbo mode (#7425)
* feat: add Ollama API key support for Turbo mode

- Add ollamaApiKey field to ProviderSettings schema
- Add ollamaApiKey to SECRET_STATE_KEYS for secure storage
- Update Ollama and NativeOllama providers to use API key for authentication
- Add UI field for Ollama API key (shown when custom base URL is provided)
- Add test coverage for API key functionality

This enables users to use Ollama Turbo with datacenter-grade hardware by providing an API key for authenticated Ollama instances or cloud services.

* fix: use VSCodeTextField for Ollama API key field

Remove non-existent ApiKeyField import and use standard VSCodeTextField with password type, matching other provider implementations

* Add missing translation keys for Ollama API key support

- Add providers.ollama.apiKey and providers.ollama.apiKeyHelp to all 18 language files
- Support for authenticated Ollama instances and cloud services
- Relates to PR #7425

* refactor: improve type safety for Ollama client configuration

- Replace 'any' type with proper OllamaOptions (Config) type
- Import Config type from ollama package for better type checking

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-03 00:24:28 -04:00
roomote[bot]
ec45503a98 feat: rename Account tab to Cloud tab (#7558)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-09-03 00:24:28 -04:00
Daniel
68b68a22cd feat: optimize memory usage for image handling in webview (#7556)
* feat: optimize memory usage for image handling in webview

- Replace base64 image data with webview URIs to reduce memory footprint
- Add proper resource roots to webview for workspace file access
- Implement convertToWebviewUri method for safe file-to-URI conversion
- Update ImageViewer to handle both webview URIs and file paths separately
- Add image message type for proper image rendering in chat
- Improve error handling and display for failed image loads
- Add comprehensive tests for ImageViewer component
- Format display paths as relative for better readability

This change significantly reduces memory usage by avoiding base64 encoding
of images and instead using VSCode's webview URI system for direct file
access. Images are now loaded on-demand from disk rather than being held
in memory as base64 strings.

* fix: address PR review comments

- Use safeJsonParse instead of JSON.parse in ChatRow.tsx
- Add type definition for parsed image info
- Add more specific error types in ClineProvider.ts
- Add comprehensive JSDoc comments to ImageBlock.tsx
- Improve error handling and type safety

* fix: address MrUbens' review comments

- Remove hardcoded 'rc1' pattern in formatDisplayPath, use generic workspace detection
- Internationalize 'No image data' text using i18n system

* chore: remove useless comment

* chore(i18n): add image.noData to all locales to fix translation check

* test: update ImageViewer.spec to align with i18n key and flexible path formatting
2025-09-03 00:24:28 -04:00
Piotr Wilkin (ilintar)
08d3b6c5ab fix: special tokens should not break task processing (#7540) 2025-09-03 00:24:28 -04:00
Chris Estreich
565d2df3e8 Fix evals (#7547) 2025-09-03 00:24:28 -04:00
Matt Rubens
6655709872 Putting the Roo in Roo-leases (#7546) 2025-09-03 00:24:28 -04:00
Chris Estreich
ce12bffb8c Mode and provider profile selector (#7545) 2025-09-03 00:17:56 -04:00
github-actions[bot]
b2c233385d Changeset version bump (#7542)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-09-02 23:35:17 -04:00
Matt Rubens
49d994de0f chore: add changeset for v3.26.3 (#7541) 2025-09-02 23:35:17 -04:00
Daniel
df556e72f9 refactor: flatten image generation settings structure (#7536) 2025-09-02 23:33:20 -04:00
roomote[bot]
666db9a7f4 feat: sync extension bridge settings with cloud (#7535)
- Use CloudService.getUserSettings() for remoteControlEnabled instead of global state
- Update CloudService.updateUserSettings when toggling remote control
- Add BridgeOrchestrator.connectOrDisconnect handling in settings update handler
- Remove dependency on contentProxy/globalSettings for remote control state
---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: John Richmond <5629+jr@users.noreply.github.com>
2025-09-02 23:26:36 -04:00
roomote[bot]
1797b653ed feat: add optional input image parameter to image generation tool (#7525)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-02 23:22:10 -04:00
Chris Estreich
1cbb57b1a1 Implement deferred task subscriptions (#7517) 2025-09-02 23:22:10 -04:00
Chris Estreich
be4fe29935 Refactor the extension bridge (#7515) 2025-09-02 23:22:10 -04:00
Chris Estreich
bdf128a79e Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-09-02 23:22:10 -04:00
Chris Hasson
1e7d33eb76 Show console logging in vitests when the --no-silent flag is set (#7467)
By default, all of the tests run in silent mode with monkey-patched the console logging so no console logging will ever appear in test output.
This confuses the agent- sometimes it will add console logging to help it debug things, and it won't see the logs that it expects.

Adds src/utils/vitest-verbosity.ts to handle verbosity resolution and console logging.
Modifies src/vitest.config.ts and webview-ui/vitest.config.ts to integrate the new verbosity control.
Removes manual console suppression from src/vitest.setup.ts and webview-ui/vitest.setup.ts as it's now handled dynamically.

Co-authored-by: Chris Hasson <noreply@example.com>
2025-09-02 23:15:28 -04:00
github-actions[bot]
cb2efe2e22 Changeset version bump (#7491)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-09-02 23:15:28 -04:00
Daniel
313a674d9e fix: prevent dirty state on initial mount in ImageGenerationSettings (#7495) 2025-09-02 23:15:28 -04:00
Matt Rubens
fce45487b8 Add padding to image model picker (#7494) 2025-09-02 23:15:27 -04:00
Daniel
0829f0595f feat: update OpenRouter API to support input/output modalities and filter image generation models (#7492) 2025-09-02 23:15:27 -04:00
Matt Rubens
76a64cbbb3 Support free imagegen (#7493) 2025-09-02 23:15:27 -04:00
Matt Rubens
761297d8bc Release v3.26.2 (#7490) 2025-09-02 23:15:27 -04:00
Matt Rubens
cf8b15d9b0 Make the default image filename more generic (#7479) 2025-09-02 23:15:27 -04:00
Daniel
ef88be25fc feat: add image generation tool with OpenRouter integration (#7474)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: cte <cestreich@gmail.com>
2025-09-02 23:15:27 -04:00
Matt Rubens
5150dd96b8 Bump cloud to 0.25.0 (#7475) 2025-09-02 23:11:59 -04:00
Daniel
daa50ed495 Fix GPT-5 Responses API issues with condensing and image support (#7067)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
2025-09-02 23:11:59 -04:00