@@ -19,11 +19,8 @@ import { type ToolModule } from './server.toolsUser';
1919 * @property maxDocsToLoad - Maximum number of docs to load.
2020 * @property maxSearchLength - Maximum length for search strings.
2121 * @property recommendedMaxDocsToLoad - Recommended maximum number of docs to load.
22- * @property {('cli' | 'programmatic' | 'test') } mode - Specifies the mode of operation.
23- * Defaults to `'programmatic'`.
24- * - `'cli'`: Functionality is being executed in a cli context. Allows process exits.
25- * - `'programmatic'`: Functionality is invoked programmatically. Allows process exits.
26- * - `'test'`: Functionality is being tested. Does NOT allow process exits.
22+ * @property {typeof MODE_LEVELS } mode - Specifies the mode of operation.
23+ * @property {ModeOptions } modeOptions - Mode-specific options.
2724 * @property name - Name of the package.
2825 * @property nodeVersion - Node.js major version.
2926 * @property {PatternFlyOptions } patternflyOptions - PatternFly-specific options.
@@ -373,10 +370,10 @@ const URL_REGEX = /^(https?:)\/\//i;
373370 *
374371 * Each mode represents an operational domain:
375372 * - `cli`: Command-line interface mode.
376- * - `test`: Testing or debugging mode.
377373 * - `programmatic`: Programmatic interaction mode where the application is used as a library or API.
374+ * - `test`: Testing or debugging mode.
378375 */
379- const MODE_LEVELS : DefaultOptions [ 'mode' ] [ ] = [ 'cli' , 'test ' , 'programmatic ' ] ;
376+ const MODE_LEVELS : DefaultOptions [ 'mode' ] [ ] = [ 'cli' , 'programmatic ' , 'test ' ] ;
380377
381378const PF_EXTERNAL_EXAMPLES_VERSION = 'v6.4.0' ;
382379
0 commit comments