Fix weird type errors

This commit is contained in:
Gregory Schier
2026-01-02 07:10:48 -08:00
parent 7e239c0dd1
commit 04eec0ee05
4 changed files with 1931 additions and 2871 deletions

View File

@@ -1,5 +1,4 @@
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import * as z from 'zod';
import type { McpServerContext } from '../types.js';
import { getWorkspaceContext } from './helpers.js';
@@ -9,7 +8,7 @@ export function registerWindowTools(server: McpServer, ctx: McpServerContext) {
{
title: 'Get Workspace ID',
description: 'Get the current workspace ID',
inputSchema: z.object({}),
inputSchema: {},
},
async () => {
const workspaceCtx = await getWorkspaceContext(ctx);
@@ -31,7 +30,7 @@ export function registerWindowTools(server: McpServer, ctx: McpServerContext) {
{
title: 'Get Environment ID',
description: 'Get the current environment ID',
inputSchema: z.object({}),
inputSchema: {},
},
async () => {
const workspaceCtx = await getWorkspaceContext(ctx);