From fdc0f50a974574c0db3f5cba64dfb71e9b6ab7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemek=20Wi=C4=99ch?= Date: Sun, 3 May 2026 18:13:20 +0200 Subject: [PATCH] fix lint --- src/util/gedcom_util.ts | 2 +- src/webmcp.ts | 2 -- src/webmcp_definitions.ts | 9 ++++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/util/gedcom_util.ts b/src/util/gedcom_util.ts index 9ba457e..2911f05 100644 --- a/src/util/gedcom_util.ts +++ b/src/util/gedcom_util.ts @@ -397,7 +397,7 @@ export function findRelationshipPath( if (!indi) { return []; } - + const neighbors: string[] = []; if (indi.famc) { const fam = famMap.get(indi.famc); diff --git a/src/webmcp.ts b/src/webmcp.ts index 457919c..77a0891 100644 --- a/src/webmcp.ts +++ b/src/webmcp.ts @@ -166,8 +166,6 @@ export class WebMcpBridge { return toMcpResponse(basicIndis); } - - /** Updates the currently selected individual in focus. */ public setDetailIndi(newDetailIndi: string | null): void { this.detailIndi = newDetailIndi; diff --git a/src/webmcp_definitions.ts b/src/webmcp_definitions.ts index db041b2..7736351 100644 --- a/src/webmcp_definitions.ts +++ b/src/webmcp_definitions.ts @@ -9,7 +9,8 @@ export const WEBMCP_TOOLS: ToolDefinition[] = [ }, { name: 'search_indi', - description: 'Searches the genealogy index for individuals by name. Returns up to 10 results starting with the ones that match the best.', + description: + 'Searches the genealogy index for individuals by name. Returns up to 10 results starting with the ones that match the best.', inputSchema: { type: 'object', properties: { @@ -57,7 +58,8 @@ export const WEBMCP_TOOLS: ToolDefinition[] = [ }, { name: 'get_ancestors', - description: 'Returns ancestors of a specific individual up to a maximum depth of 5 generations.', + description: + 'Returns ancestors of a specific individual up to a maximum depth of 5 generations.', inputSchema: { type: 'object', properties: { @@ -75,7 +77,8 @@ export const WEBMCP_TOOLS: ToolDefinition[] = [ }, { name: 'get_descendants', - description: 'Returns descendants of a specific individual up to a maximum depth of 5 generations.', + description: + 'Returns descendants of a specific individual up to a maximum depth of 5 generations.', inputSchema: { type: 'object', properties: {