File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,20 +24,15 @@ import {
2424 ListRootsResultSchema ,
2525 RootsListChangedNotificationSchema ,
2626} from './third_party/index.js' ;
27- import {
28- ToolCategory ,
29- labels ,
30- OFF_BY_DEFAULT_CATEGORIES ,
31- } from './tools/categories.js' ;
27+ import type { ToolCategory } from './tools/categories.js' ;
28+ import { labels , OFF_BY_DEFAULT_CATEGORIES } from './tools/categories.js' ;
3229import type { DefinedPageTool , ToolDefinition } from './tools/ToolDefinition.js' ;
3330import { pageIdSchema } from './tools/ToolDefinition.js' ;
3431import { createTools } from './tools/tools.js' ;
3532import { VERSION } from './version.js' ;
3633
3734export function buildFlag ( category : ToolCategory ) {
38- return category === ToolCategory . IN_PAGE
39- ? 'categoryInPageTools'
40- : `category${ category . charAt ( 0 ) . toUpperCase ( ) + category . slice ( 1 ) } ` ;
35+ return `category${ category . charAt ( 0 ) . toUpperCase ( ) + category . slice ( 1 ) } ` ;
4136}
4237
4338function buildDisabledMessage (
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export enum ToolCategory {
1212 NETWORK = 'network' ,
1313 DEBUGGING = 'debugging' ,
1414 EXTENSIONS = 'extensions' ,
15- IN_PAGE = 'in-page ' ,
15+ IN_PAGE = 'inPageTools ' ,
1616 MEMORY = 'memory' ,
1717}
1818
You can’t perform that action at this time.
0 commit comments