File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import chatlib from "../modules/chat"
2- import tools from "../modules/tools "
2+ import tools from "../modules/mcp "
33import llm from "../modules/llm"
44import codeboltAgent from "../modules/agent"
55import { SystemPrompt } from "./systemprompt" ;
Original file line number Diff line number Diff line change 11import cbfs from "../modules/fs" ;
22import project from "../modules/project" ;
3- import mcp from "../modules/tools " ;
3+ import mcp from "../modules/mcp " ;
44
55/**
66 * Interface representing an agent that can be referenced in user messages.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import tokenizer from './modules/tokenizer'
2222import WebSocket from 'ws' ;
2323import { EventEmitter } from 'events' ;
2424import { chatSummary } from './modules/history'
25- import codeboltTools from './modules/tools ' ;
25+ import codeboltTools from './modules/mcp ' ;
2626import cbagent from './modules/agent' ;
2727import cbutils from './modules/utils' ;
2828import type { LLMResponse } from './types/cliWebSocketInterfaces' ;
@@ -171,7 +171,7 @@ class Codebolt {
171171 debug = debug ;
172172 tokenizer = tokenizer ;
173173 chatSummary = chatSummary ;
174- tools = codeboltTools ;
174+ mcp = codeboltTools ;
175175 agent = cbagent ;
176176 utils = cbutils ;
177177
File renamed without changes.
Original file line number Diff line number Diff line change 1- export { ToolBox } from './utils/toolBox ' ;
1+ export { MCPServer } from './utils/mcpServer ' ;
22export { TaskInstruction } from './agentlib/taskInstruction' ;
33export { UserMessage } from './agentlib/usermessage' ;
44export { SystemPrompt } from './agentlib/systemprompt' ;
Original file line number Diff line number Diff line change @@ -1218,7 +1218,7 @@ type Authenticate<T> = (request: http.IncomingMessage) => Promise<T>;
12181218 * Class representing a toolbox for FastMCP.
12191219 * Manages tools, resources, and prompts for a Model Context Protocol server.
12201220 */
1221- export class ToolBox < T extends Record < string , unknown > | undefined = undefined > extends FastMCPEventEmitter {
1221+ export class MCPServer < T extends Record < string , unknown > | undefined = undefined > extends FastMCPEventEmitter {
12221222 #options: ServerOptions < T > ;
12231223 #prompts: InputPrompt [ ] = [ ] ;
12241224 #resources: Resource [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments