isV1 only triggered on a fixed set of top-level keys, so a config with just $schema and a v1-shaped mcp block (servers directly under mcp, with enabled) was parsed as v2 and silently produced zero servers. Detect the v1 mcp shape (no servers wrapper, entries with a type) so these files migrate correctly. |
||
|---|---|---|
| .. | ||
| fixtures/plugin | ||
| agent.test.ts | ||
| command.test.ts | ||
| config.test.ts | ||
| plugin.test.ts | ||
| provider-options.test.ts | ||
| provider.test.ts | ||
| skill.test.ts | ||