@heyseo/mcp-server 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +133 -56
- package/dist/index.js +492 -293
- package/dist/index.js.map +1 -1
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +93 -0
- package/dist/prompts/index.js.map +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +135 -4
- package/dist/resources/index.js.map +1 -1
- package/dist/tools/comparison.d.ts +1 -1
- package/dist/tools/index.d.ts +37 -458
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +56 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/indexing.d.ts +94 -0
- package/dist/tools/indexing.d.ts.map +1 -0
- package/dist/tools/indexing.js +99 -0
- package/dist/tools/indexing.js.map +1 -0
- package/dist/tools/insights.d.ts +38 -0
- package/dist/tools/insights.d.ts.map +1 -0
- package/dist/tools/insights.js +58 -0
- package/dist/tools/insights.js.map +1 -0
- package/dist/tools/memory.d.ts +329 -0
- package/dist/tools/memory.d.ts.map +1 -0
- package/dist/tools/memory.js +242 -0
- package/dist/tools/memory.js.map +1 -0
- package/dist/tools/onpage.d.ts +37 -0
- package/dist/tools/onpage.d.ts.map +1 -0
- package/dist/tools/onpage.js +46 -0
- package/dist/tools/onpage.js.map +1 -0
- package/dist/tools/reports.d.ts +74 -0
- package/dist/tools/reports.d.ts.map +1 -0
- package/dist/tools/reports.js +92 -0
- package/dist/tools/reports.js.map +1 -0
- package/dist/tools/serp.d.ts +55 -0
- package/dist/tools/serp.d.ts.map +1 -0
- package/dist/tools/serp.js +47 -0
- package/dist/tools/serp.js.map +1 -0
- package/dist/tools/sitemaps.d.ts +30 -0
- package/dist/tools/sitemaps.d.ts.map +1 -0
- package/dist/tools/sitemaps.js +44 -0
- package/dist/tools/sitemaps.js.map +1 -0
- package/dist/tools/tasks.d.ts +14 -14
- package/dist/types.d.ts +138 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/api-client.d.ts +55 -1
- package/dist/utils/api-client.d.ts.map +1 -1
- package/dist/utils/api-client.js +126 -1
- package/dist/utils/api-client.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Indexing Tools
|
|
3
|
+
* Tools for monitoring and managing URL indexing health
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import type { HeySeoApiClient } from '../utils/api-client.js';
|
|
7
|
+
export declare const indexingStatusSchema: z.ZodObject<{
|
|
8
|
+
siteId: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
siteId: string;
|
|
11
|
+
}, {
|
|
12
|
+
siteId: string;
|
|
13
|
+
}>;
|
|
14
|
+
export type IndexingStatusInput = z.infer<typeof indexingStatusSchema>;
|
|
15
|
+
export declare const indexingPagesSchema: z.ZodObject<{
|
|
16
|
+
siteId: z.ZodString;
|
|
17
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["indexed", "not_indexed", "all"]>>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
status: "indexed" | "all" | "not_indexed";
|
|
20
|
+
siteId: string;
|
|
21
|
+
}, {
|
|
22
|
+
siteId: string;
|
|
23
|
+
status?: "indexed" | "all" | "not_indexed" | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
export type IndexingPagesInput = z.infer<typeof indexingPagesSchema>;
|
|
26
|
+
export declare const submitForIndexingSchema: z.ZodObject<{
|
|
27
|
+
siteId: z.ZodString;
|
|
28
|
+
pageId: z.ZodString;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
siteId: string;
|
|
31
|
+
pageId: string;
|
|
32
|
+
}, {
|
|
33
|
+
siteId: string;
|
|
34
|
+
pageId: string;
|
|
35
|
+
}>;
|
|
36
|
+
export type SubmitForIndexingInput = z.infer<typeof submitForIndexingSchema>;
|
|
37
|
+
export declare function executeIndexingStatus(client: HeySeoApiClient, input: IndexingStatusInput): Promise<string>;
|
|
38
|
+
export declare function executeIndexingPages(client: HeySeoApiClient, input: IndexingPagesInput): Promise<string>;
|
|
39
|
+
export declare function executeSubmitForIndexing(client: HeySeoApiClient, input: SubmitForIndexingInput): Promise<string>;
|
|
40
|
+
export declare const indexingTools: ({
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
inputSchema: {
|
|
44
|
+
type: string;
|
|
45
|
+
properties: {
|
|
46
|
+
siteId: {
|
|
47
|
+
type: string;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
status?: undefined;
|
|
51
|
+
pageId?: undefined;
|
|
52
|
+
};
|
|
53
|
+
required: string[];
|
|
54
|
+
};
|
|
55
|
+
} | {
|
|
56
|
+
name: string;
|
|
57
|
+
description: string;
|
|
58
|
+
inputSchema: {
|
|
59
|
+
type: string;
|
|
60
|
+
properties: {
|
|
61
|
+
siteId: {
|
|
62
|
+
type: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
status: {
|
|
66
|
+
type: string;
|
|
67
|
+
enum: string[];
|
|
68
|
+
default: string;
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
pageId?: undefined;
|
|
72
|
+
};
|
|
73
|
+
required: string[];
|
|
74
|
+
};
|
|
75
|
+
} | {
|
|
76
|
+
name: string;
|
|
77
|
+
description: string;
|
|
78
|
+
inputSchema: {
|
|
79
|
+
type: string;
|
|
80
|
+
properties: {
|
|
81
|
+
siteId: {
|
|
82
|
+
type: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
pageId: {
|
|
86
|
+
type: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
status?: undefined;
|
|
90
|
+
};
|
|
91
|
+
required: string[];
|
|
92
|
+
};
|
|
93
|
+
})[];
|
|
94
|
+
//# sourceMappingURL=indexing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexing.d.ts","sourceRoot":"","sources":["../../src/tools/indexing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE7E,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,MAAM,CAAC,CAOjB;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,MAAM,CAAC,CAoBjB;AAED,wBAAsB,wBAAwB,CAC5C,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,MAAM,CAAC,CAOjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0CzB,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Indexing Tools
|
|
3
|
+
* Tools for monitoring and managing URL indexing health
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
export const indexingStatusSchema = z.object({
|
|
7
|
+
siteId: z.string().describe('The ID of the site to check indexing status for'),
|
|
8
|
+
});
|
|
9
|
+
export const indexingPagesSchema = z.object({
|
|
10
|
+
siteId: z.string().describe('The ID of the site'),
|
|
11
|
+
status: z.enum(['indexed', 'not_indexed', 'all']).optional().default('all').describe('Filter by indexing status'),
|
|
12
|
+
});
|
|
13
|
+
export const submitForIndexingSchema = z.object({
|
|
14
|
+
siteId: z.string().describe('The ID of the site'),
|
|
15
|
+
pageId: z.string().describe('The ID of the page to submit for indexing'),
|
|
16
|
+
});
|
|
17
|
+
export async function executeIndexingStatus(client, input) {
|
|
18
|
+
try {
|
|
19
|
+
const summary = await client.getIndexingStatus(input.siteId);
|
|
20
|
+
return JSON.stringify({ success: true, ...summary }, null, 2);
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
return JSON.stringify({ success: false, error: error instanceof Error ? error.message : 'Unknown error' });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export async function executeIndexingPages(client, input) {
|
|
27
|
+
try {
|
|
28
|
+
const result = await client.getIndexingPages(input.siteId, input.status);
|
|
29
|
+
return JSON.stringify({
|
|
30
|
+
success: true,
|
|
31
|
+
total: result.total,
|
|
32
|
+
pages: result.pages.map(p => ({
|
|
33
|
+
id: p.id,
|
|
34
|
+
url: p.url,
|
|
35
|
+
verdict: p.verdict,
|
|
36
|
+
coverageState: p.coverageState,
|
|
37
|
+
indexingState: p.indexingState,
|
|
38
|
+
lastCheckedAt: p.lastCheckedAt,
|
|
39
|
+
lastCrawlTime: p.lastCrawlTime,
|
|
40
|
+
})),
|
|
41
|
+
}, null, 2);
|
|
42
|
+
}
|
|
43
|
+
catch (error) {
|
|
44
|
+
return JSON.stringify({ success: false, error: error instanceof Error ? error.message : 'Unknown error' });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export async function executeSubmitForIndexing(client, input) {
|
|
48
|
+
try {
|
|
49
|
+
const result = await client.submitForIndexing(input.siteId, input.pageId);
|
|
50
|
+
return JSON.stringify({ success: true, ...result }, null, 2);
|
|
51
|
+
}
|
|
52
|
+
catch (error) {
|
|
53
|
+
return JSON.stringify({ success: false, error: error instanceof Error ? error.message : 'Unknown error' });
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export const indexingTools = [
|
|
57
|
+
{
|
|
58
|
+
name: 'heyseo_indexing_status',
|
|
59
|
+
description: `Get the indexing health summary for a site.
|
|
60
|
+
|
|
61
|
+
Returns the total number of pages monitored, how many are indexed vs not indexed, and overall health metrics.`,
|
|
62
|
+
inputSchema: {
|
|
63
|
+
type: 'object',
|
|
64
|
+
properties: {
|
|
65
|
+
siteId: { type: 'string', description: 'The ID of the site' },
|
|
66
|
+
},
|
|
67
|
+
required: ['siteId'],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'heyseo_indexing_pages',
|
|
72
|
+
description: `List pages with their indexing status.
|
|
73
|
+
|
|
74
|
+
Returns each monitored page with its indexing verdict (PASS/FAIL), coverage state, and when it was last checked or crawled. Filter by indexed/not_indexed status.`,
|
|
75
|
+
inputSchema: {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: {
|
|
78
|
+
siteId: { type: 'string', description: 'The ID of the site' },
|
|
79
|
+
status: { type: 'string', enum: ['indexed', 'not_indexed', 'all'], default: 'all', description: 'Filter by indexing status' },
|
|
80
|
+
},
|
|
81
|
+
required: ['siteId'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'heyseo_submit_for_indexing',
|
|
86
|
+
description: `Submit a page to Google's Indexing API for faster indexing.
|
|
87
|
+
|
|
88
|
+
Requires the page to already be tracked in the indexing monitor. Use heyseo_indexing_pages to find the page ID first.`,
|
|
89
|
+
inputSchema: {
|
|
90
|
+
type: 'object',
|
|
91
|
+
properties: {
|
|
92
|
+
siteId: { type: 'string', description: 'The ID of the site' },
|
|
93
|
+
pageId: { type: 'string', description: 'The ID of the page to submit' },
|
|
94
|
+
},
|
|
95
|
+
required: ['siteId', 'pageId'],
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
//# sourceMappingURL=indexing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexing.js","sourceRoot":"","sources":["../../src/tools/indexing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;CAC/E,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC;CAClH,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;CACzE,CAAC,CAAC;AAIH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,MAAuB,EACvB,KAA0B;IAE1B,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7D,OAAO,IAAI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E,2BAA2B,EAAE;aAC9H;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;IACD;QACE,IAAI,EAAE,4BAA4B;QAClC,WAAW,EAAE;;sHAEqG;QAClH,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE;gBAC7D,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,8BAA8B,EAAE;aACxE;YACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;SAC/B;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI Insights Tools
|
|
3
|
+
* Tools for accessing AI-generated SEO insights
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import type { HeySeoApiClient } from '../utils/api-client.js';
|
|
7
|
+
export declare const getInsightsSchema: z.ZodObject<{
|
|
8
|
+
siteId: z.ZodString;
|
|
9
|
+
unreadOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
siteId: string;
|
|
12
|
+
unreadOnly: boolean;
|
|
13
|
+
}, {
|
|
14
|
+
siteId: string;
|
|
15
|
+
unreadOnly?: boolean | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
export type GetInsightsInput = z.infer<typeof getInsightsSchema>;
|
|
18
|
+
export declare function executeGetInsights(client: HeySeoApiClient, input: GetInsightsInput): Promise<string>;
|
|
19
|
+
export declare const insightTools: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
inputSchema: {
|
|
23
|
+
type: string;
|
|
24
|
+
properties: {
|
|
25
|
+
siteId: {
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
unreadOnly: {
|
|
30
|
+
type: string;
|
|
31
|
+
default: boolean;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
required: string[];
|
|
36
|
+
};
|
|
37
|
+
}[];
|
|
38
|
+
//# sourceMappingURL=insights.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insights.d.ts","sourceRoot":"","sources":["../../src/tools/insights.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,MAAM,CAAC,CAgCjB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;GAexB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI Insights Tools
|
|
3
|
+
* Tools for accessing AI-generated SEO insights
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
export const getInsightsSchema = z.object({
|
|
7
|
+
siteId: z.string().describe('The ID of the site'),
|
|
8
|
+
unreadOnly: z.boolean().optional().default(false).describe('Only return unread insights'),
|
|
9
|
+
});
|
|
10
|
+
export async function executeGetInsights(client, input) {
|
|
11
|
+
try {
|
|
12
|
+
const result = await client.getInsights(input.siteId, input.unreadOnly);
|
|
13
|
+
if (result.insights.length === 0) {
|
|
14
|
+
return JSON.stringify({
|
|
15
|
+
success: true,
|
|
16
|
+
message: 'No insights found. Insights are generated automatically as the system detects anomalies, opportunities, and trends.',
|
|
17
|
+
unreadCount: 0,
|
|
18
|
+
insights: [],
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return JSON.stringify({
|
|
22
|
+
success: true,
|
|
23
|
+
unreadCount: result.unreadCount,
|
|
24
|
+
hasUnread: result.hasUnread,
|
|
25
|
+
insights: result.insights.map(i => ({
|
|
26
|
+
id: i.id,
|
|
27
|
+
type: i.type,
|
|
28
|
+
severity: i.severity,
|
|
29
|
+
title: i.title,
|
|
30
|
+
description: i.description,
|
|
31
|
+
suggestedActions: i.suggestedActions,
|
|
32
|
+
createdAt: i.createdAt,
|
|
33
|
+
isRead: !!i.readAt,
|
|
34
|
+
isDismissed: !!i.dismissedAt,
|
|
35
|
+
})),
|
|
36
|
+
}, null, 2);
|
|
37
|
+
}
|
|
38
|
+
catch (error) {
|
|
39
|
+
return JSON.stringify({ success: false, error: error instanceof Error ? error.message : 'Unknown error' });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export const insightTools = [
|
|
43
|
+
{
|
|
44
|
+
name: 'heyseo_get_insights',
|
|
45
|
+
description: `Get AI-generated insights for a site.
|
|
46
|
+
|
|
47
|
+
Returns proactive insights including anomalies, opportunities, alerts, trends, and milestones. Each insight includes a severity level, description, and suggested actions.`,
|
|
48
|
+
inputSchema: {
|
|
49
|
+
type: 'object',
|
|
50
|
+
properties: {
|
|
51
|
+
siteId: { type: 'string', description: 'The ID of the site' },
|
|
52
|
+
unreadOnly: { type: 'boolean', default: false, description: 'Only return unread insights' },
|
|
53
|
+
},
|
|
54
|
+
required: ['siteId'],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
//# sourceMappingURL=insights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insights.js","sourceRoot":"","sources":["../../src/tools/insights.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CA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W;aAC7B,CAAC,CAAC;SACJ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC;IAC7G,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE;;2KAE0J;QACvK,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE;gBAC7D,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,6BAA6B,EAAE;aAC5F;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SEO Memory Tools
|
|
3
|
+
* Tools for accessing and updating the SEO memory system (strategy, goals, actions, learnings)
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
import type { HeySeoApiClient } from '../utils/api-client.js';
|
|
7
|
+
export declare const getMemorySchema: z.ZodObject<{
|
|
8
|
+
siteId: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
siteId: string;
|
|
11
|
+
}, {
|
|
12
|
+
siteId: string;
|
|
13
|
+
}>;
|
|
14
|
+
export type GetMemoryInput = z.infer<typeof getMemorySchema>;
|
|
15
|
+
export declare const updateStrategySchema: z.ZodObject<{
|
|
16
|
+
siteId: z.ZodString;
|
|
17
|
+
action: z.ZodEnum<["update_summary", "create_goal", "update_goal"]>;
|
|
18
|
+
strategySummary: z.ZodOptional<z.ZodString>;
|
|
19
|
+
goalType: z.ZodOptional<z.ZodEnum<["clicks", "position", "ctr", "traffic", "ranking", "custom"]>>;
|
|
20
|
+
goalDescription: z.ZodOptional<z.ZodString>;
|
|
21
|
+
goalTargetValue: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
goalCurrentValue: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
goalTargetDate: z.ZodOptional<z.ZodString>;
|
|
24
|
+
goalId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
goalStatus: z.ZodOptional<z.ZodEnum<["active", "achieved", "missed", "paused"]>>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
siteId: string;
|
|
28
|
+
action: "update_summary" | "create_goal" | "update_goal";
|
|
29
|
+
strategySummary?: string | undefined;
|
|
30
|
+
goalType?: "clicks" | "ctr" | "position" | "custom" | "traffic" | "ranking" | undefined;
|
|
31
|
+
goalDescription?: string | undefined;
|
|
32
|
+
goalTargetValue?: number | undefined;
|
|
33
|
+
goalCurrentValue?: number | undefined;
|
|
34
|
+
goalTargetDate?: string | undefined;
|
|
35
|
+
goalId?: string | undefined;
|
|
36
|
+
goalStatus?: "active" | "achieved" | "missed" | "paused" | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
siteId: string;
|
|
39
|
+
action: "update_summary" | "create_goal" | "update_goal";
|
|
40
|
+
strategySummary?: string | undefined;
|
|
41
|
+
goalType?: "clicks" | "ctr" | "position" | "custom" | "traffic" | "ranking" | undefined;
|
|
42
|
+
goalDescription?: string | undefined;
|
|
43
|
+
goalTargetValue?: number | undefined;
|
|
44
|
+
goalCurrentValue?: number | undefined;
|
|
45
|
+
goalTargetDate?: string | undefined;
|
|
46
|
+
goalId?: string | undefined;
|
|
47
|
+
goalStatus?: "active" | "achieved" | "missed" | "paused" | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
export type UpdateStrategyInput = z.infer<typeof updateStrategySchema>;
|
|
50
|
+
export declare const recordActionSchema: z.ZodObject<{
|
|
51
|
+
siteId: z.ZodString;
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
description: z.ZodString;
|
|
54
|
+
category: z.ZodEnum<["technical", "content", "links", "ux"]>;
|
|
55
|
+
hypothesis: z.ZodOptional<z.ZodString>;
|
|
56
|
+
targetMetrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
57
|
+
measurementDays: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
58
|
+
goalId: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
description: string;
|
|
61
|
+
siteId: string;
|
|
62
|
+
title: string;
|
|
63
|
+
category: "technical" | "content" | "links" | "ux";
|
|
64
|
+
measurementDays: number;
|
|
65
|
+
hypothesis?: string | undefined;
|
|
66
|
+
targetMetrics?: string[] | undefined;
|
|
67
|
+
goalId?: string | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
description: string;
|
|
70
|
+
siteId: string;
|
|
71
|
+
title: string;
|
|
72
|
+
category: "technical" | "content" | "links" | "ux";
|
|
73
|
+
hypothesis?: string | undefined;
|
|
74
|
+
targetMetrics?: string[] | undefined;
|
|
75
|
+
goalId?: string | undefined;
|
|
76
|
+
measurementDays?: number | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
export type RecordActionInput = z.infer<typeof recordActionSchema>;
|
|
79
|
+
export declare const addLearningSchema: z.ZodObject<{
|
|
80
|
+
siteId: z.ZodString;
|
|
81
|
+
type: z.ZodEnum<["fact", "pattern"]>;
|
|
82
|
+
fact: z.ZodOptional<z.ZodString>;
|
|
83
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
84
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
85
|
+
applicableCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<["technical", "content", "links", "ux"]>, "many">>;
|
|
86
|
+
confidence: z.ZodDefault<z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
type: "fact" | "pattern";
|
|
89
|
+
siteId: string;
|
|
90
|
+
confidence: "high" | "medium" | "low";
|
|
91
|
+
fact?: string | undefined;
|
|
92
|
+
pattern?: string | undefined;
|
|
93
|
+
evidence?: string | undefined;
|
|
94
|
+
applicableCategories?: ("technical" | "content" | "links" | "ux")[] | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
type: "fact" | "pattern";
|
|
97
|
+
siteId: string;
|
|
98
|
+
fact?: string | undefined;
|
|
99
|
+
pattern?: string | undefined;
|
|
100
|
+
evidence?: string | undefined;
|
|
101
|
+
applicableCategories?: ("technical" | "content" | "links" | "ux")[] | undefined;
|
|
102
|
+
confidence?: "high" | "medium" | "low" | undefined;
|
|
103
|
+
}>;
|
|
104
|
+
export type AddLearningInput = z.infer<typeof addLearningSchema>;
|
|
105
|
+
export declare function executeGetMemory(client: HeySeoApiClient, input: GetMemoryInput): Promise<string>;
|
|
106
|
+
export declare function executeUpdateStrategy(client: HeySeoApiClient, input: UpdateStrategyInput): Promise<string>;
|
|
107
|
+
export declare function executeRecordAction(client: HeySeoApiClient, input: RecordActionInput): Promise<string>;
|
|
108
|
+
export declare function executeAddLearning(client: HeySeoApiClient, input: AddLearningInput): Promise<string>;
|
|
109
|
+
export declare const memoryTools: ({
|
|
110
|
+
name: string;
|
|
111
|
+
description: string;
|
|
112
|
+
inputSchema: {
|
|
113
|
+
type: string;
|
|
114
|
+
properties: {
|
|
115
|
+
siteId: {
|
|
116
|
+
type: string;
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
119
|
+
action?: undefined;
|
|
120
|
+
strategySummary?: undefined;
|
|
121
|
+
goalType?: undefined;
|
|
122
|
+
goalDescription?: undefined;
|
|
123
|
+
goalTargetValue?: undefined;
|
|
124
|
+
goalCurrentValue?: undefined;
|
|
125
|
+
goalTargetDate?: undefined;
|
|
126
|
+
goalId?: undefined;
|
|
127
|
+
goalStatus?: undefined;
|
|
128
|
+
title?: undefined;
|
|
129
|
+
description?: undefined;
|
|
130
|
+
category?: undefined;
|
|
131
|
+
hypothesis?: undefined;
|
|
132
|
+
targetMetrics?: undefined;
|
|
133
|
+
measurementDays?: undefined;
|
|
134
|
+
type?: undefined;
|
|
135
|
+
fact?: undefined;
|
|
136
|
+
pattern?: undefined;
|
|
137
|
+
evidence?: undefined;
|
|
138
|
+
applicableCategories?: undefined;
|
|
139
|
+
confidence?: undefined;
|
|
140
|
+
};
|
|
141
|
+
required: string[];
|
|
142
|
+
};
|
|
143
|
+
} | {
|
|
144
|
+
name: string;
|
|
145
|
+
description: string;
|
|
146
|
+
inputSchema: {
|
|
147
|
+
type: string;
|
|
148
|
+
properties: {
|
|
149
|
+
siteId: {
|
|
150
|
+
type: string;
|
|
151
|
+
description: string;
|
|
152
|
+
};
|
|
153
|
+
action: {
|
|
154
|
+
type: string;
|
|
155
|
+
enum: string[];
|
|
156
|
+
description: string;
|
|
157
|
+
};
|
|
158
|
+
strategySummary: {
|
|
159
|
+
type: string;
|
|
160
|
+
description: string;
|
|
161
|
+
};
|
|
162
|
+
goalType: {
|
|
163
|
+
type: string;
|
|
164
|
+
enum: string[];
|
|
165
|
+
description: string;
|
|
166
|
+
};
|
|
167
|
+
goalDescription: {
|
|
168
|
+
type: string;
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
171
|
+
goalTargetValue: {
|
|
172
|
+
type: string;
|
|
173
|
+
description: string;
|
|
174
|
+
};
|
|
175
|
+
goalCurrentValue: {
|
|
176
|
+
type: string;
|
|
177
|
+
description: string;
|
|
178
|
+
};
|
|
179
|
+
goalTargetDate: {
|
|
180
|
+
type: string;
|
|
181
|
+
description: string;
|
|
182
|
+
};
|
|
183
|
+
goalId: {
|
|
184
|
+
type: string;
|
|
185
|
+
description: string;
|
|
186
|
+
};
|
|
187
|
+
goalStatus: {
|
|
188
|
+
type: string;
|
|
189
|
+
enum: string[];
|
|
190
|
+
description: string;
|
|
191
|
+
};
|
|
192
|
+
title?: undefined;
|
|
193
|
+
description?: undefined;
|
|
194
|
+
category?: undefined;
|
|
195
|
+
hypothesis?: undefined;
|
|
196
|
+
targetMetrics?: undefined;
|
|
197
|
+
measurementDays?: undefined;
|
|
198
|
+
type?: undefined;
|
|
199
|
+
fact?: undefined;
|
|
200
|
+
pattern?: undefined;
|
|
201
|
+
evidence?: undefined;
|
|
202
|
+
applicableCategories?: undefined;
|
|
203
|
+
confidence?: undefined;
|
|
204
|
+
};
|
|
205
|
+
required: string[];
|
|
206
|
+
};
|
|
207
|
+
} | {
|
|
208
|
+
name: string;
|
|
209
|
+
description: string;
|
|
210
|
+
inputSchema: {
|
|
211
|
+
type: string;
|
|
212
|
+
properties: {
|
|
213
|
+
siteId: {
|
|
214
|
+
type: string;
|
|
215
|
+
description: string;
|
|
216
|
+
};
|
|
217
|
+
title: {
|
|
218
|
+
type: string;
|
|
219
|
+
description: string;
|
|
220
|
+
};
|
|
221
|
+
description: {
|
|
222
|
+
type: string;
|
|
223
|
+
description: string;
|
|
224
|
+
};
|
|
225
|
+
category: {
|
|
226
|
+
type: string;
|
|
227
|
+
enum: string[];
|
|
228
|
+
description: string;
|
|
229
|
+
};
|
|
230
|
+
hypothesis: {
|
|
231
|
+
type: string;
|
|
232
|
+
description: string;
|
|
233
|
+
};
|
|
234
|
+
targetMetrics: {
|
|
235
|
+
type: string;
|
|
236
|
+
items: {
|
|
237
|
+
type: string;
|
|
238
|
+
};
|
|
239
|
+
description: string;
|
|
240
|
+
};
|
|
241
|
+
measurementDays: {
|
|
242
|
+
type: string;
|
|
243
|
+
minimum: number;
|
|
244
|
+
maximum: number;
|
|
245
|
+
default: number;
|
|
246
|
+
description: string;
|
|
247
|
+
};
|
|
248
|
+
goalId: {
|
|
249
|
+
type: string;
|
|
250
|
+
description: string;
|
|
251
|
+
};
|
|
252
|
+
action?: undefined;
|
|
253
|
+
strategySummary?: undefined;
|
|
254
|
+
goalType?: undefined;
|
|
255
|
+
goalDescription?: undefined;
|
|
256
|
+
goalTargetValue?: undefined;
|
|
257
|
+
goalCurrentValue?: undefined;
|
|
258
|
+
goalTargetDate?: undefined;
|
|
259
|
+
goalStatus?: undefined;
|
|
260
|
+
type?: undefined;
|
|
261
|
+
fact?: undefined;
|
|
262
|
+
pattern?: undefined;
|
|
263
|
+
evidence?: undefined;
|
|
264
|
+
applicableCategories?: undefined;
|
|
265
|
+
confidence?: undefined;
|
|
266
|
+
};
|
|
267
|
+
required: string[];
|
|
268
|
+
};
|
|
269
|
+
} | {
|
|
270
|
+
name: string;
|
|
271
|
+
description: string;
|
|
272
|
+
inputSchema: {
|
|
273
|
+
type: string;
|
|
274
|
+
properties: {
|
|
275
|
+
siteId: {
|
|
276
|
+
type: string;
|
|
277
|
+
description: string;
|
|
278
|
+
};
|
|
279
|
+
type: {
|
|
280
|
+
type: string;
|
|
281
|
+
enum: string[];
|
|
282
|
+
description: string;
|
|
283
|
+
};
|
|
284
|
+
fact: {
|
|
285
|
+
type: string;
|
|
286
|
+
description: string;
|
|
287
|
+
};
|
|
288
|
+
pattern: {
|
|
289
|
+
type: string;
|
|
290
|
+
description: string;
|
|
291
|
+
};
|
|
292
|
+
evidence: {
|
|
293
|
+
type: string;
|
|
294
|
+
description: string;
|
|
295
|
+
};
|
|
296
|
+
applicableCategories: {
|
|
297
|
+
type: string;
|
|
298
|
+
items: {
|
|
299
|
+
type: string;
|
|
300
|
+
enum: string[];
|
|
301
|
+
};
|
|
302
|
+
description: string;
|
|
303
|
+
};
|
|
304
|
+
confidence: {
|
|
305
|
+
type: string;
|
|
306
|
+
enum: string[];
|
|
307
|
+
default: string;
|
|
308
|
+
description: string;
|
|
309
|
+
};
|
|
310
|
+
action?: undefined;
|
|
311
|
+
strategySummary?: undefined;
|
|
312
|
+
goalType?: undefined;
|
|
313
|
+
goalDescription?: undefined;
|
|
314
|
+
goalTargetValue?: undefined;
|
|
315
|
+
goalCurrentValue?: undefined;
|
|
316
|
+
goalTargetDate?: undefined;
|
|
317
|
+
goalId?: undefined;
|
|
318
|
+
goalStatus?: undefined;
|
|
319
|
+
title?: undefined;
|
|
320
|
+
description?: undefined;
|
|
321
|
+
category?: undefined;
|
|
322
|
+
hypothesis?: undefined;
|
|
323
|
+
targetMetrics?: undefined;
|
|
324
|
+
measurementDays?: undefined;
|
|
325
|
+
};
|
|
326
|
+
required: string[];
|
|
327
|
+
};
|
|
328
|
+
})[];
|
|
329
|
+
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/tools/memory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,cAAc,GACpB,OAAO,CAAC,MAAM,CAAC,CA8CjB;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