mirror of
https://github.com/penpot/penpot-mcp.git
synced 2026-04-25 11:18:37 +00:00
Remove test code
This commit is contained in:
parent
2b1a287f15
commit
28cad04e50
@ -38,10 +38,6 @@ export abstract class Tool<TArgs extends object> {
|
|||||||
let argsInstance: TArgs = args as TArgs;
|
let argsInstance: TArgs = args as TArgs;
|
||||||
this.logger.info("Executing tool: %s; arguments: %s", this.getToolName(), this.formatArgs(argsInstance));
|
this.logger.info("Executing tool: %s; arguments: %s", this.getToolName(), this.formatArgs(argsInstance));
|
||||||
|
|
||||||
// TODO: Remove; testing only
|
|
||||||
const sessionContext = this.mcpServer.getSessionContext();
|
|
||||||
this.logger.info("Session context: %s", sessionContext ? JSON.stringify(sessionContext) : "none");
|
|
||||||
|
|
||||||
// execute the actual tool logic
|
// execute the actual tool logic
|
||||||
let result = await this.executeCore(argsInstance);
|
let result = await this.executeCore(argsInstance);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user