Roo-Code/packages/types
Daniel Riccio e15ec38fa6
fix: properly handle Gemini settings with schema-level defaults
- Move enableUrlContext and enableGrounding to base schema as optional
- Make these fields required (non-optional) for Gemini provider specifically
- Add migration to set default values (true) for existing Gemini configs
- Clean up these fields from non-Gemini providers
- Ensure Gemini configs always have these fields defined

This eliminates the undefined state that was causing the Save button issue,
fixing it at the data layer rather than working around it in the UI.

Fixes #6616
2025-08-05 15:43:17 -05:00
..
npm Bump @roo-code/types to v1.44.0 (#6675) 2025-08-04 07:58:11 -10:00
src fix: properly handle Gemini settings with schema-level defaults 2025-08-05 15:43:17 -05:00
eslint.config.mjs Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
package.json Stop making types private (#6737) 2025-08-05 11:56:16 -07:00
tsconfig.json Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00