Fix weird type errors

This commit is contained in:
Gregory Schier committed 2026-01-02 07:10:48 -08:00
1 parent 7e239c0dd1
commit 04eec0ee05
4 files changed
+1931 -2871

No files matched your search

@@ -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);