Commit graph

5634 commits

Author SHA1 Message Date
Daniel Riccio
e65a974b03
refactor: update checkpoint translations to remove specific 'code' references
- Changed 'restore code to checkpoint' to 'restore the checkpoint'
- Updated 'undo all code changes' to 'undo all changes' in edit/delete questions
- Applied changes consistently across all 18 language files
- Reflects that checkpoints can restore any type of changes, not just code
2025-09-04 17:31:19 -05:00
NaccOll
949bfa7318 fix: fix checkpoint unit test 2025-09-04 11:20:23 +08:00
NaccOll
7922443e94 feat: edit/delete user message 2025-09-04 11:03:53 +08:00
NaccOll
c792662ac9 fix: user message unit test 2025-09-04 11:02:53 +08:00
NaccOll
a1f4a30cab edit/delete user message by the following commit:
commit 6384ca56bd30b5cadfa3b61cee3124f521177eaf
Merge: 0c481a3cf 85268aaec
Author: NaccOll <wuyoubin0504@gmail.com>
Date:   Mon Aug 25 18:00:51 2025 +0800

    Merge branch 'will/edit-w-checkpoints' into main

commit 85268aaec7
Author: Will Li <willeli2002@gmail.com>
Date:   Fri Jul 25 09:57:08 2025 -0700

    remove some extra code

commit 0bd49d7e54
Merge: a78aed87a d62a26057
Author: Will Li <willeli2002@gmail.com>
Date:   Fri Jul 25 09:23:24 2025 -0700

    Merge branch 'main' into will/edit-w-checkpoints

commit a78aed87ae
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 23 04:06:27 2025 -0700

    further simplification

commit b8c5ddaa20
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 23 03:17:54 2025 -0700

    clean code more

commit 6657a7d894
Merge: 7baefefec 9956cc1f4
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 23 03:03:58 2025 -0700

    Merge branch 'main' into will/edit-w-checkpoints

commit 7baefefec6
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 23 01:20:46 2025 -0700

    reduce checkpoint changes

commit ab46f94c26
Merge: 15ce9e35e 5629199d5
Author: Matt Rubens <mrubens@users.noreply.github.com>
Date:   Tue Jul 22 14:51:14 2025 -0400

    Merge remote-tracking branch 'origin/main' into will/edit-w-checkpoints

commit 15ce9e35ed
Merge: 09d0b29fa 90148401e
Author: Will Li <willeli2002@gmail.com>
Date:   Fri Jul 18 15:33:21 2025 -0700

    merge main

commit 09d0b29fa0
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 17 08:41:08 2025 -0700

    fix typo

commit 17658baa01
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 17 08:39:36 2025 -0700

    fix weird autolint again

commit 2ab8d4982a
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 17 08:35:05 2025 -0700

    other merge fixes

commit 0e9954dfe7
Merge: 2c77f32be fb374b3e9
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 17 08:34:29 2025 -0700

    Merge branch 'main' into will/edit-w-checkpoints

commit 2c77f32be6
Author: Will Li <willeli2002@gmail.com>
Date:   Mon Jul 14 15:56:18 2025 -0700

    clean logging

commit 616c4b6f30
Author: Will Li <willeli2002@gmail.com>
Date:   Mon Jul 14 15:42:08 2025 -0700

    do translations

commit 701560823e
Author: Will Li <willeli2002@gmail.com>
Date:   Mon Jul 14 15:26:05 2025 -0700

    fix race cond and lint

commit caee1dc87f
Author: Will Li <willeli2002@gmail.com>
Date:   Mon Jul 14 14:52:06 2025 -0700

    tests, optimizations, refactors

commit bccffac992
Author: Will Li <willeli2002@gmail.com>
Date:   Mon Jul 14 11:41:27 2025 -0700

    working

commit 930e70e26f
Author: Will Li <willeli2002@gmail.com>
Date:   Sun Jul 13 18:03:51 2025 -0700

    refactor

commit 6044c1af74
Author: Will Li <willeli2002@gmail.com>
Date:   Sun Jul 13 15:26:24 2025 -0700

    initial print fix

commit 0872b8b044
Author: Will Li <willeli2002@gmail.com>
Date:   Sun Jul 13 10:36:45 2025 -0700

    cleaner code

commit d3c655d351
Author: Will Li <willeli2002@gmail.com>
Date:   Sun Jul 13 00:19:49 2025 -0700

    working version, still some default checkpointing bugs

commit 63c7c7c230
Author: Will Li <willeli2002@gmail.com>
Date:   Fri Jul 11 15:56:33 2025 -0700

    some merge fixes

commit 7b77d80a73
Merge: ce0c1821d 69c399673
Author: Will Li <willeli2002@gmail.com>
Date:   Fri Jul 11 09:49:47 2025 -0700

    Merge branch 'will/edit-delete-overhaul' into will/edit-w-checkpoints

commit 69c3996739
Merge: 4604211ff 406b366f4
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 10 20:46:31 2025 -0700

    Merge branch 'main' into will/edit-delete-overhaul

commit 4604211ffa
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 10 20:26:35 2025 -0700

    ui fix

commit 5edab52884
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 10 18:47:21 2025 -0700

    fixed image issue

commit f89d768101
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 10 17:26:36 2025 -0700

    remove option to skip notif

commit ce0c1821d0
Author: Will Li <willeli2002@gmail.com>
Date:   Thu Jul 10 17:10:12 2025 -0700

    temp push

commit 67fd5a78ad
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 17:08:10 2025 -0700

    add back hidden flag

commit a17bf98ad6
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 17:06:43 2025 -0700

    translations

commit ed4a2a7b19
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 16:48:11 2025 -0700

    ok finally tests working for real!

commit 303a9c8c1f
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 16:33:04 2025 -0700

    tests working

commit 24a8c10048
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 15:32:50 2025 -0700

    working functionality

commit d926a771bc
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 13:02:18 2025 -0700

    big UI improvements

commit ff8c188d3a
Author: Will Li <willeli2002@gmail.com>
Date:   Wed Jul 9 09:00:43 2025 -0700

    improved chat row first pass
2025-09-04 11:02:24 +08:00
Matt Rubens
e2c1a20a23
Release v3.26.6 (#7650) 2025-09-03 22:57:15 -04:00
roomote[bot]
e7f599bfb9
fix: use askApproval wrapper in insert_content and search_and_replace tools (#7649)
Fixes issue where isWriteProtected was incorrectly passed as the partial flag
to task.ask(), causing "Current ask promise was ignored (#1)" error.

Both tools now use the askApproval wrapper function which correctly handles
the parameter ordering, passing undefined for progressStatus and isWriteProtected
as the fourth parameter.

Fixes #7648

Co-authored-by: Roo Code <roomote@roocode.com>
2025-09-03 22:35:40 -04:00
WangXiaolong
0126c5dd46
feat: add Kimi K2 Turbo model configuration to moonshotModels (#7593)
* feat: add Kimi K2 Turbo model configuration to moonshotModels

* feat: update Kimi K2 Turbo pricing and cache read prices
2025-09-03 20:11:38 -04:00
淡草
1f5ee4307e
fix: preserve scroll position when switching tabs in settings (#7587)
* fix: preserve scroll position when switching tabs in settings

* ui(settings): restore scroll synchronously to prevent flicker; dx(ui): name TabContent for clearer DevTools

---------

Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-03 19:43:05 -04:00
Chris Estreich
c25cfdeaef
Publish token usage metrics (#7637) 2025-09-03 13:51:27 -07:00
John Richmond
f12f1934a7
Cloud: remove extension_bridge_enabled for personal users (#7638) 2025-09-03 13:49:55 -07:00
Matt Rubens
8dbd30af6c
Release: v1.73.0 (#7636) 2025-09-03 16:13:32 -04:00
Chris Estreich
280b75d2eb
Focus the extension when receiving bridge commands (#7633) 2025-09-03 12:23:50 -07:00
roomote[bot]
d7896924a9
feat: add run_slash_command tool for executing slash commands (#7473)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-09-03 14:14:55 -04: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
Chris Estreich
5196c75017
Move message queue to the extension host (#7604)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-09-02 19:12:18 -07:00
Daniel
7e24600877
feat: add auto-approve support for MCP access_resource tool (#7606) 2025-09-02 21:49:21 -04:00
Hannes Rudolph
d1baa6e849
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-02 19:59:16 -04:00
John Richmond
59d6e74ec0
Cloud: fix provider syncing (#7603)
ClineProvider creation was moved before CloudService which broke
the old way of doing things.
2025-09-02 15:18:21 -07:00
Bruno Bergher
2e59347a9d
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-01 21:38:05 -04:00
roomote[bot]
fe2b6126c6
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-01 21:36:56 -04:00
github-actions[bot]
ae8a639d6f
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-01 11:41:52 -04:00
github-actions[bot]
5092cdf247
Update contributors list (#7462)
Co-authored-by: mrubens <2600+mrubens@users.noreply.github.com>
2025-09-01 11:39:10 -04:00
Matt Rubens
00d26ee4bf
v3.26.4 (#7579) 2025-09-01 11:37:37 -04:00
Christiaan Arnoldus
97cfb962a0
Fix claudeCode.notFound translation key (#7571)
I think I saw someone post a screenshot where "errors.claudeCode.notFound" was shown untranslated.
2025-09-01 08:53:14 -04:00
Matt Rubens
c97027427b
Disconnect extension bridge on logout (#7563)
* Disconnect extension bridge on logout

* Remove bad test

* Cleanup
2025-09-01 08:50:52 -04:00
roomote[bot]
63b71d8299
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-08-30 19:20:31 -04:00
roomote[bot]
f5e0525536
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-08-30 18:57:00 -04:00
Daniel
fad219e001
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-08-30 15:57:30 -04:00
Piotr Wilkin (ilintar)
47f594f27b
fix: special tokens should not break task processing (#7540) 2025-08-30 10:40:40 -04:00
Chris Estreich
c7d7ad8197
Fix evals (#7547) 2025-08-29 20:10:58 -07:00
Matt Rubens
0e95f9312c
Putting the Roo in Roo-leases (#7546) 2025-08-29 23:00:59 -04:00
Chris Estreich
20929b0f16
Mode and provider profile selector (#7545) 2025-08-29 16:48:06 -07:00
github-actions[bot]
a1f9b7d55e
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-08-29 18:53:07 -04:00
Matt Rubens
63e40d2cc8
chore: add changeset for v3.26.3 (#7541) 2025-08-29 18:49:37 -04:00
Daniel
c3d84d295d
refactor: flatten image generation settings structure (#7536) 2025-08-29 18:35:24 -04:00
roomote[bot]
01458f1646
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-08-29 11:08:58 -07:00
roomote[bot]
b22a618ee2
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-08-29 11:08:21 -04:00
Chris Estreich
1d46bd1bbc
Implement deferred task subscriptions (#7517) 2025-08-29 02:43:06 -07:00
Chris Estreich
1e4c46fe6f
Refactor the extension bridge (#7515) 2025-08-29 00:28:38 -07:00
Chris Estreich
cd9e92fa9b
Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00