Roo-Code/packages/types
Daniel Riccio b223d71a7f
fix: update MCP configuration to use direct object format in YAML
- Updated schema to accept { mcp: { included: [...] } } directly as a GroupEntry
- Modified McpSelector to create the direct object format instead of tuple
- Updated getGroupName and getGroupOptions helpers to handle the new format
- Updated MCP server section to properly extract included list from both formats

This resolves the nested array issue in YAML generation when toggling MCP
checkbox and selecting specific servers. The YAML now correctly generates:
  - mcp:
      included: [...]
Instead of the previous nested structure.
2025-08-06 11:06:41 -05:00
..
npm Bump @roo-code/types to v1.44.0 (#6675) 2025-08-04 07:58:11 -10:00
src fix: update MCP configuration to use direct object format in YAML 2025-08-06 11:06:41 -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