File tree Expand file tree Collapse file tree
ai/mcp/server/knowledge-base/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import path from 'path' ;
2- import { fileURLToPath } from 'url' ;
3- import HealthService from './HealthService .mjs' ;
4- import DatabaseService from './DatabaseService .mjs' ;
5- import QueryService from './QueryService .mjs' ;
6- import DocumentService from './DocumentService .mjs' ;
7- import DatabaseLifecycleService from './DatabaseLifecycleService .mjs' ;
8- import { initialize , listTools , callTool } from '../../toolService.mjs' ;
1+ import path from 'path' ;
2+ import { fileURLToPath } from 'url' ;
3+ import DatabaseService from './DatabaseService .mjs' ;
4+ import DatabaseLifecycleService from './DatabaseLifecycleService .mjs' ;
5+ import DocumentService from './DocumentService .mjs' ;
6+ import HealthService from './HealthService .mjs' ;
7+ import QueryService from './QueryService .mjs' ;
8+ import { initialize , listTools , callTool } from '../../toolService.mjs' ;
99
10- const __filename = fileURLToPath ( import . meta. url ) ;
11- const __dirname = path . dirname ( __filename ) ;
10+ const __filename = fileURLToPath ( import . meta. url ) ;
11+ const __dirname = path . dirname ( __filename ) ;
1212const openApiFilePath = path . join ( __dirname , '../openapi.yaml' ) ;
1313
1414const serviceMapping = {
You can’t perform that action at this time.
0 commit comments