This commit is contained in:
Przemek Więch
2026-05-03 18:13:20 +02:00
parent 743204ade6
commit fdc0f50a97
3 changed files with 7 additions and 6 deletions

View File

@@ -397,7 +397,7 @@ export function findRelationshipPath(
if (!indi) {
return [];
}
const neighbors: string[] = [];
if (indi.famc) {
const fam = famMap.get(indi.famc);

View File

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

View File

@@ -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: {