Commit graph

6267 commits

Author SHA1 Message Date
Hannes Rudolph
cd3d26a97a Fix draft persistence: save image-only drafts and add ChatView tests 2025-12-12 16:31:18 -07:00
Hannes Rudolph
841aa4057e fix: preserve draft message when switching tasks
The draft should persist at the workspace level regardless of which task
you're viewing. Removed the clearDraftMessage() call from showTaskWithId()
so the draft is only cleared when the message is actually sent, not when
switching between tasks.
2025-12-03 16:38:37 -07:00
Hannes Rudolph
50d40f260b feat: persist chat input text across VSCode restarts
- Add draft message storage key and methods to ClineProvider
- Add saveDraftMessage, getDraftMessage, clearDraftMessage WebviewMessage types
- Add draftMessage ExtensionMessage type
- Add webview message handlers for draft persistence
- Update ChatView.tsx with debounced save/restore logic (500ms debounce)
- Clear draft on task switch, message send, and chat reset
- Draft persists at workspace level (each workspace maintains its own draft)
- Add unit tests for draft message handlers
2025-12-02 18:27:39 -07:00
github-actions[bot]
74d1ed7276
Changeset version bump (#9764)
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-12-02 19:49:48 -05:00
Matt Rubens
fbc0f80961
chore: add changeset for v3.35.4 (#9763) 2025-12-02 19:45:22 -05:00
Daniel
aa40988e11
fix: handle malformed native tool calls to prevent hanging (#9758)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-02 19:40:43 -05:00
roomote[bot]
9a1d7a673b
fix: remove reasoning toggles for GLM-4.5 and GLM-4.6 on z.ai provider (#9752)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-02 14:20:48 -05:00
Hannes Rudolph
be69ef901e
Refactor: Remove line_count parameter from write_to_file tool (#9667) 2025-12-02 13:39:37 -05:00
github-actions[bot]
c91a19fbe7
Changeset version bump (#9745)
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-12-02 10:37:38 -05:00
Matt Rubens
562a799c5b
chore: add changeset for v3.35.3 (#9743) 2025-12-02 10:30:50 -05:00
Matt Rubens
aa507ad990
Add vendor confidentiality section to the system prompt for stealth models (#9742)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-12-02 10:23:54 -05:00
Bruno Bergher
9975a41be4
web: Homepage changes (#9675)
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>
2025-12-02 10:10:45 -05:00
Matt Rubens
152af1474e
Switch to new welcome view (#9741) 2025-12-02 10:02:12 -05:00
github-actions[bot]
906c6f0de4
Changeset version bump (#9738)
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-12-02 00:37:34 -05:00
Matt Rubens
954a6cbb43
chore: add changeset for v3.35.2 (#9737) 2025-12-02 00:34:18 -05:00
Matt Rubens
6f0addfab7
Assume all LiteLLM models support native tools (#9736) 2025-12-02 00:22:48 -05:00
Matt Rubens
700fe42669
Look for a tag in the Roo provider to default the model to native tool calling (#9735) 2025-12-02 00:12:57 -05:00
Matt Rubens
d2b274a9af
Allow models to contain default temperature (#9734) 2025-12-01 23:29:42 -05:00
Chris Estreich
b2b4f6411f
Pass app version to provider (#9730) 2025-12-01 16:04:33 -08:00
github-actions[bot]
ba7340f460
Changeset version bump (#9729)
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-12-01 18:31:54 -05:00
Matt Rubens
e7043e5cea
chore: add changeset for v3.35.1 (#9728) 2025-12-01 18:27:12 -05:00
Chris Estreich
3f4f7c0c41
Better IPC error logging (#9727) 2025-12-01 15:02:34 -08:00
Daniel
edd7cc0986
fix: flush pending tool results before task delegation (#9726)
When tools are called in parallel (e.g., update_todo_list + new_task),
the tool results accumulate in userMessageContent but aren't saved to
API history until all tools complete. When new_task triggers delegation,
the parent is disposed before these pending results are saved, causing
400 errors when the parent resumes (missing tool_result for tool_use).

This fix:
- Adds flushPendingToolResultsToHistory() method in Task.ts that saves
  pending userMessageContent to API history
- Calls this method in delegateParentAndOpenChild() before disposing the
  parent task
- Safe for both native/XML protocols and sequential/parallel execution
  (returns early if there's nothing to flush)
2025-12-01 17:32:54 -05:00
Chris Estreich
9b18014b4b
chore: bump version to v1.89.0 (#9718) 2025-12-01 14:25:48 -08:00
github-actions[bot]
35d4634b80
Changeset version bump (#9725)
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-12-01 16:51:25 -05:00
Matt Rubens
bfb3386785
chore: add changeset for v3.35.0 (#9724) 2025-12-01 16:44:24 -05:00
roomote[bot]
9dac7e7b63
fix: prevent navigation buttons from wrapping on smaller screens (#9721)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-01 16:39:28 -05:00
Daniel
ad28e12818
feat: add native tool support for LiteLLM provider (#9719) 2025-12-01 16:35:08 -05:00
Matt Rubens
be7659461a
Support tool calling in native ollama provider (#9696)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-01 15:28:01 -05:00
Matt Rubens
faa6c40ac1
Bedrock native tool calling (#9698) 2025-12-01 15:26:34 -05:00
Matt Rubens
8244f70d7b
Default grok code fast to native tools (#9717) 2025-12-01 15:07:05 -05:00
Matt Rubens
b5acebccf5
Add native tool support for vercel ai gateway (#9697)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-01 14:52:05 -05:00
Matt Rubens
eb120543e1
Add native tools support to Unbound (#9699)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-01 14:50:01 -05:00
Matt Rubens
0a2d1a41e4
Add NTC support for Cerebras (#9692) 2025-12-01 14:49:53 -05:00
Daniel
34c524f78e
feat(chutes): detect native tool support from API supported_features (#9715)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-01 12:57:26 -05:00
Silentflower
bf3e4d8f1f
fix: preserve tool_use blocks in summary for parallel tool calls (#9714)
Co-authored-by: huajiwuyan <huajiwuyan@gmail.com>
2025-12-01 11:17:45 -05:00
Matt Rubens
af7470908d
Remove TabContent wrapper from Modes and MCP (#9712) 2025-12-01 11:06:21 -05:00
Matt Rubens
48d3e4d2e8
Release: v1.88.0 (#9713) 2025-12-01 10:47:24 -05:00
Matt Rubens
75903052ae
Update a couple provider labels (#9711)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-01 10:44:12 -05:00
Bruno Bergher
49aad8576e
ux: Toolbar cleanup and settings consolidation (#9710)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-12-01 09:43:15 -05:00
Bruno Bergher
f26d5a479f
ux: Improvements to the new, RCC Provider centric onboarding flow (#9709)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-12-01 09:39:39 -05:00
Matt Rubens
4591e960ed
Add native tool calling for deepinfra (#9691) 2025-11-29 20:05:21 -05:00
Matt Rubens
ae29777062
Add Grok 4 Fast and Grok 4.1 Fast, plus xAI native tool calling (#9690)
* Add Grok 4 Fast and Grok 4.1 Fast

* Add native tool calling support
2025-11-29 19:41:42 -05:00
Hannes Rudolph
d2017c80cf
Add web-evals updates and kill run functionality (#9681)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
2025-11-29 13:08:56 -07:00
Hannes Rudolph
f9eb6d9cf3
feat: add debug buttons to view API and UI history (#9684)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-11-28 23:18:15 -05:00
Hannes Rudolph
933534896a
feat: add apply_patch native tool (#9663)
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
2025-11-28 23:07:03 -05:00
roomote[bot]
c688a6466e
fix: display install count in millions instead of thousands (#9677)
Co-authored-by: Roo Code <roomote@roocode.com>
2025-11-28 20:36:34 -05:00
Daniel
127ecf6ddd
feat: enable native tool calls for Vertex Gemini models (#9678)
Add supportsNativeTools: true to all Gemini-based models in the Vertex
provider. The VertexHandler extends GeminiHandler which already has full
native tool handling logic implemented.

Models updated:
- gemini-3-pro-preview
- gemini-2.5-flash-preview-05-20:thinking
- gemini-2.5-flash-preview-05-20
- gemini-2.5-flash
- gemini-2.5-flash-preview-04-17:thinking
- gemini-2.5-flash-preview-04-17
- gemini-2.5-pro-preview-03-25
- gemini-2.5-pro-preview-05-06
- gemini-2.5-pro-preview-06-05
- gemini-2.5-pro
- gemini-2.5-pro-exp-03-25
- gemini-2.0-pro-exp-02-05
- gemini-2.0-flash-001
- gemini-2.0-flash-lite-001
- gemini-2.0-flash-thinking-exp-01-21
- gemini-1.5-flash-002
- gemini-1.5-pro-002
- gemini-2.5-flash-lite-preview-06-17
2025-11-28 13:48:55 -05:00
Daniel
59ee1c9d04
feat: add native tools support for OpenAI-compatible providers (#9676)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-11-28 11:59:32 -05:00
Daniel
5d020991bd
feat(groq): enable native tool support for models that support function calling (#9673)
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-11-28 11:02:34 -05:00