Roo-Code/src
Roo Code 89308c0454 fix: preserve reasoning.text type in consolidateReasoningDetails for Gemini models
Fixes two bugs causing assistant content[] to be stripped on Turn 2 for
google/gemini-3.1-pro-preview via OpenRouter:

1. consolidateReasoningDetails() used a shared type variable across all
   entries in a group. When reasoning.text and reasoning.encrypted entries
   shared the same index, the text entry type was overwritten to
   "reasoning.encrypted". Now tracks types separately for text vs
   encrypted entries.

2. The corrupted block filter dropped any reasoning.encrypted entry without
   a data field, including mislabeled text entries that had a text field.
   Now only drops entries that have neither data nor text.

Closes #11629
2026-02-20 22:53:57 +00:00
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
activate ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
api fix: preserve reasoning.text type in consolidateReasoningDetails for Gemini models 2026-02-20 22:53:57 +00:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core feat: restore Unbound as a provider (#11624) 2026-02-20 10:37:13 -07:00
extension feat: add DeleteQueuedMessage IPC command (#11464) 2026-02-18 10:42:48 -07:00
i18n feat: add per-workspace indexing opt-in and stop/cancel control (#11456) 2026-02-18 23:09:17 -07:00
integrations Inline terminal rendering parity with the VSCode Terminal (#11361) 2026-02-20 00:19:56 -07:00
services fix: prevent git templates from leaking into shadow checkpoint repos (#8629) 2026-02-20 08:39:10 -07:00
shared feat: restore Unbound as a provider (#11624) 2026-02-20 10:37:13 -07:00
types Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
utils Reapply Batch 1: 22 clean non-AI-SDK cherry-picks (#11473) 2026-02-14 13:47:12 -07:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
package.json Changeset version bump (#11642) 2026-02-20 12:16:35 -07:00
package.nls.ca.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.de.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.es.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.fr.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.hi.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.id.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.it.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.ja.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.ko.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.nl.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.pl.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.pt-BR.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.ru.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.tr.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.vi.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.zh-CN.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
package.nls.zh-TW.json ux: improve worktree selector and creation UX (#10940) 2026-01-24 22:06:37 +00:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00