mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-29 03:57:12 +02:00
Fix weird type recursion in MCP plugin
This commit is contained in:
@@ -8,7 +8,6 @@ export function registerWindowTools(server: McpServer, ctx: McpServerContext) {
|
||||
{
|
||||
title: 'Get Workspace ID',
|
||||
description: 'Get the current workspace ID',
|
||||
inputSchema: {},
|
||||
},
|
||||
async () => {
|
||||
const workspaceCtx = await getWorkspaceContext(ctx);
|
||||
@@ -30,7 +29,6 @@ export function registerWindowTools(server: McpServer, ctx: McpServerContext) {
|
||||
{
|
||||
title: 'Get Environment ID',
|
||||
description: 'Get the current environment ID',
|
||||
inputSchema: {},
|
||||
},
|
||||
async () => {
|
||||
const workspaceCtx = await getWorkspaceContext(ctx);
|
||||
|
||||
Reference in New Issue
Block a user