@@ -34,14 +34,6 @@ import {pageIdSchema} from './tools/ToolDefinition.js';
3434import { createTools } from './tools/tools.js' ;
3535import { VERSION } from './version.js' ;
3636
37- export const CONDITION_TO_FLAG : Record < string , string > = {
38- computerVision : 'experimentalVision' ,
39- experimentalMemory : 'experimentalMemory' ,
40- experimentalInteropTools : 'experimentalInteropTools' ,
41- screencast : 'experimentalScreencast' ,
42- experimentalWebmcp : 'experimentalWebmcp' ,
43- } ;
44-
4537export function buildFlag ( category : ToolCategory ) {
4638 return category === ToolCategory . IN_PAGE
4739 ? 'categoryInPageTools'
@@ -88,9 +80,8 @@ function getConditionStatus(
8880 condition : string ,
8981 serverArgs : ReturnType < typeof parseArguments > ,
9082) : { conditionFlag ?: string ; disabled : boolean } {
91- const experimentalFlag = CONDITION_TO_FLAG [ condition ] ;
92- if ( experimentalFlag && ! serverArgs [ experimentalFlag ] ) {
93- return { conditionFlag : experimentalFlag , disabled : true } ;
83+ if ( condition && ! serverArgs [ condition ] ) {
84+ return { conditionFlag : condition , disabled : true } ;
9485 }
9586
9687 return { disabled : false } ;
0 commit comments