post-engineer-mcp 1.52.556 → 1.52.568
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/dist/account-shapes.d.ts +25 -9
- package/dist/cloned-voice-tools.d.ts +11 -57
- package/dist/connect-account.d.ts +23 -19
- package/dist/persona-update.d.ts +36 -64
- package/dist/publish-direct-shape.d.ts +39 -29
- package/dist/schedule-shapes.d.ts +27 -48
- package/dist/schedule-shapes.js +7 -8
- package/dist/schedule-shapes.js.map +1 -1
- package/dist/single-video-shape.d.ts +156 -616
- package/dist/single-video-shape.js +1 -1
- package/dist/single-video-shape.js.map +1 -1
- package/dist/tools-batch.d.ts +202 -752
- package/dist/tools-experiments.d.ts +143 -639
- package/dist/tools-pinterest.d.ts +1 -5
- package/dist/tools-posts.d.ts +39 -31
- package/dist/tools-publishing-accounts.d.ts +4 -14
- package/dist/tools-single-video.d.ts +35 -17
- package/dist/tools-user-media.d.ts +12 -14
- package/dist/tools.d.ts +54 -188
- package/dist/video-task-tools.d.ts +4 -14
- package/dist/voice-filters.d.ts +25 -15
- package/dist/voice-filters.js +9 -1
- package/dist/voice-filters.js.map +1 -1
- package/package.json +11 -11
|
@@ -6,10 +6,6 @@ export declare const ListPinterestBoardsShape: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const ListPinterestBoardsSchema: z.ZodObject<{
|
|
8
8
|
accountId: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
accountId: string;
|
|
11
|
-
}, {
|
|
12
|
-
accountId: string;
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
export declare const ListPinterestBoardsDescription = "List the boards of a connected Pinterest account (id + name). Use the id as pinterestBoardId on generate_persona_video when pinterest is selected, or as boardId on publish_video_direct for pinterest.";
|
|
15
11
|
export declare function handleListPinterestBoards(client: PostEngineerClient, args: z.infer<typeof ListPinterestBoardsSchema>): Promise<McpToolResponse>;
|
package/dist/tools-posts.d.ts
CHANGED
|
@@ -6,37 +6,51 @@ export declare const GetPostShape: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const GetPostSchema: z.ZodObject<{
|
|
8
8
|
id: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
id: string;
|
|
11
|
-
}, {
|
|
12
|
-
id: string;
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
export declare const GetPostMetricsShape: {
|
|
15
|
-
window: z.ZodEnum<
|
|
16
|
-
|
|
11
|
+
window: z.ZodEnum<{
|
|
12
|
+
"24h": "24h";
|
|
13
|
+
"7d": "7d";
|
|
14
|
+
"28d": "28d";
|
|
15
|
+
}>;
|
|
16
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
17
17
|
account: z.ZodOptional<z.ZodString>;
|
|
18
|
-
provider: z.ZodOptional<z.ZodEnum<
|
|
18
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
youtube: "youtube";
|
|
20
|
+
instagram: "instagram";
|
|
21
|
+
linkedin: "linkedin";
|
|
22
|
+
bluesky: "bluesky";
|
|
23
|
+
threads: "threads";
|
|
24
|
+
facebook: "facebook";
|
|
25
|
+
pinterest: "pinterest";
|
|
26
|
+
fanvue: "fanvue";
|
|
27
|
+
"3speak": "3speak";
|
|
28
|
+
rumble: "rumble";
|
|
29
|
+
}>>;
|
|
19
30
|
angle: z.ZodOptional<z.ZodString>;
|
|
20
31
|
};
|
|
21
32
|
export declare const GetPostMetricsSchema: z.ZodObject<{
|
|
22
|
-
window: z.ZodEnum<
|
|
23
|
-
|
|
33
|
+
window: z.ZodEnum<{
|
|
34
|
+
"24h": "24h";
|
|
35
|
+
"7d": "7d";
|
|
36
|
+
"28d": "28d";
|
|
37
|
+
}>;
|
|
38
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
24
39
|
account: z.ZodOptional<z.ZodString>;
|
|
25
|
-
provider: z.ZodOptional<z.ZodEnum<
|
|
40
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
41
|
+
youtube: "youtube";
|
|
42
|
+
instagram: "instagram";
|
|
43
|
+
linkedin: "linkedin";
|
|
44
|
+
bluesky: "bluesky";
|
|
45
|
+
threads: "threads";
|
|
46
|
+
facebook: "facebook";
|
|
47
|
+
pinterest: "pinterest";
|
|
48
|
+
fanvue: "fanvue";
|
|
49
|
+
"3speak": "3speak";
|
|
50
|
+
rumble: "rumble";
|
|
51
|
+
}>>;
|
|
26
52
|
angle: z.ZodOptional<z.ZodString>;
|
|
27
|
-
},
|
|
28
|
-
window: "24h" | "7d" | "28d";
|
|
29
|
-
provider?: "youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble" | undefined;
|
|
30
|
-
persona?: string | undefined;
|
|
31
|
-
account?: string | undefined;
|
|
32
|
-
angle?: string | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
window: "24h" | "7d" | "28d";
|
|
35
|
-
provider?: "youtube" | "instagram" | "linkedin" | "bluesky" | "threads" | "facebook" | "pinterest" | "fanvue" | "3speak" | "rumble" | undefined;
|
|
36
|
-
persona?: string | undefined;
|
|
37
|
-
account?: string | undefined;
|
|
38
|
-
angle?: string | undefined;
|
|
39
|
-
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
40
54
|
export declare const GetYouTubeRetentionCurveShape: {
|
|
41
55
|
account: z.ZodString;
|
|
42
56
|
video: z.ZodString;
|
|
@@ -44,13 +58,7 @@ export declare const GetYouTubeRetentionCurveShape: {
|
|
|
44
58
|
export declare const GetYouTubeRetentionCurveSchema: z.ZodObject<{
|
|
45
59
|
account: z.ZodString;
|
|
46
60
|
video: z.ZodString;
|
|
47
|
-
},
|
|
48
|
-
video: string;
|
|
49
|
-
account: string;
|
|
50
|
-
}, {
|
|
51
|
-
video: string;
|
|
52
|
-
account: string;
|
|
53
|
-
}>;
|
|
61
|
+
}, z.core.$strip>;
|
|
54
62
|
export declare function handleGetPost(client: PostEngineerClient, args: z.infer<typeof GetPostSchema>): Promise<McpToolResponse>;
|
|
55
63
|
export declare function handleGetPostMetrics(client: PostEngineerClient, args: z.infer<typeof GetPostMetricsSchema>): Promise<McpToolResponse>;
|
|
56
64
|
export declare function handleGetYouTubeRetentionCurve(client: PostEngineerClient, args: z.infer<typeof GetYouTubeRetentionCurveSchema>): Promise<McpToolResponse>;
|
|
@@ -6,24 +6,14 @@ export declare const GetPersonaPublishingAccountsShape: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const GetPersonaPublishingAccountsSchema: z.ZodObject<{
|
|
8
8
|
personaId: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
personaId: string;
|
|
11
|
-
}, {
|
|
12
|
-
personaId: string;
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
export declare const SetPersonaPublishingAccountsShape: {
|
|
15
11
|
personaId: z.ZodString;
|
|
16
|
-
accounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
12
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
17
13
|
};
|
|
18
14
|
export declare const SetPersonaPublishingAccountsSchema: z.ZodObject<{
|
|
19
15
|
personaId: z.ZodString;
|
|
20
|
-
accounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString
|
|
21
|
-
},
|
|
22
|
-
personaId: string;
|
|
23
|
-
accounts: Record<string, string[]>;
|
|
24
|
-
}, {
|
|
25
|
-
personaId: string;
|
|
26
|
-
accounts: Record<string, string[]>;
|
|
27
|
-
}>;
|
|
16
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
28
18
|
export declare function handleGetPersonaPublishingAccounts(client: PostEngineerClient, args: z.infer<typeof GetPersonaPublishingAccountsSchema>): Promise<McpToolResponse>;
|
|
29
19
|
export declare function handleSetPersonaPublishingAccounts(client: PostEngineerClient, args: z.infer<typeof SetPersonaPublishingAccountsSchema>): Promise<McpToolResponse>;
|
|
@@ -19,25 +19,43 @@ export declare function generatePersonaVideoOutcome(client: PostEngineerClient,
|
|
|
19
19
|
export declare const ValidateScriptDescription = "Validate a segments script mechanically, without spending tokens: hook first, CTA last, exactly one of each, no placeholders/links/markdown/emoji/stage directions, hook terminal punctuation, word limits (total 60-200, body at least 30, CTA 5-20, hook 15-40 words before TTS). Returns the word counts and the hook window (8-12 seconds spoken). Measured hook duration is pending a hook-only TTS endpoint and is reported as pending, never invented.";
|
|
20
20
|
export declare const ScoreDraftShape: {
|
|
21
21
|
draft: z.ZodString;
|
|
22
|
-
network: z.ZodOptional<z.ZodEnum<
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
youtube: "youtube";
|
|
24
|
+
instagram: "instagram";
|
|
25
|
+
linkedin: "linkedin";
|
|
26
|
+
bluesky: "bluesky";
|
|
27
|
+
threads: "threads";
|
|
28
|
+
facebook: "facebook";
|
|
29
|
+
pinterest: "pinterest";
|
|
30
|
+
fanvue: "fanvue";
|
|
31
|
+
"3speak": "3speak";
|
|
32
|
+
rumble: "rumble";
|
|
33
|
+
}>>;
|
|
34
|
+
personaId: z.ZodOptional<z.ZodString>;
|
|
35
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
post: "post";
|
|
37
|
+
script: "script";
|
|
38
|
+
}>>;
|
|
25
39
|
};
|
|
26
40
|
export declare const ScoreDraftSchema: z.ZodObject<{
|
|
27
41
|
draft: z.ZodString;
|
|
28
|
-
network: z.ZodOptional<z.ZodEnum<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
youtube: "youtube";
|
|
44
|
+
instagram: "instagram";
|
|
45
|
+
linkedin: "linkedin";
|
|
46
|
+
bluesky: "bluesky";
|
|
47
|
+
threads: "threads";
|
|
48
|
+
facebook: "facebook";
|
|
49
|
+
pinterest: "pinterest";
|
|
50
|
+
fanvue: "fanvue";
|
|
51
|
+
"3speak": "3speak";
|
|
52
|
+
rumble: "rumble";
|
|
53
|
+
}>>;
|
|
54
|
+
personaId: z.ZodOptional<z.ZodString>;
|
|
55
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
post: "post";
|
|
57
|
+
script: "script";
|
|
58
|
+
}>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
42
60
|
export declare const ScoreDraftDescription = "Score a draft mechanically against the caller's own measured posts, without spending tokens. Returns a 0-100 score where every point is explained (hook, length, hashtags, slop markers, links, top-theme match, call to action), the baseline it was scored against (top angles by engagement), and the publish check for the requested network (linkedin, youtube, instagram, bluesky, threads, facebook, pinterest, 3speak, rumble): it fails only on an empty draft or the network's own ceiling where this repo has evidence for it (LinkedIn 3000 characters, Threads 500 characters, Facebook 63206 characters, Pinterest 800 characters, Bluesky 300 graphemes); the rest are warnings. A failing publish check means: fix the draft before scheduling it for that network. Pass kind 'script' for a video script (segments joined by newlines, hook first, CTA last): hashtags are not scored and publishCheck is null.";
|
|
43
61
|
export declare function handleScoreDraft(client: PostEngineerClient, args: z.infer<typeof ScoreDraftSchema>): Promise<McpToolResponse>;
|
|
@@ -6,25 +6,23 @@ export declare const UploadMediaShape: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const UploadMediaSchema: z.ZodObject<{
|
|
8
8
|
path: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
path: string;
|
|
11
|
-
}, {
|
|
12
|
-
path: string;
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
export declare const CheckMediaShape: {
|
|
15
11
|
url: z.ZodString;
|
|
16
|
-
videoAspect: z.ZodOptional<z.ZodEnum<
|
|
12
|
+
videoAspect: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
"9:16": "9:16";
|
|
14
|
+
"16:9": "16:9";
|
|
15
|
+
"1:1": "1:1";
|
|
16
|
+
}>>;
|
|
17
17
|
};
|
|
18
18
|
export declare const CheckMediaSchema: z.ZodObject<{
|
|
19
19
|
url: z.ZodString;
|
|
20
|
-
videoAspect: z.ZodOptional<z.ZodEnum<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
|
|
27
|
-
}>;
|
|
20
|
+
videoAspect: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
"9:16": "9:16";
|
|
22
|
+
"16:9": "16:9";
|
|
23
|
+
"1:1": "1:1";
|
|
24
|
+
}>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
28
26
|
export declare const UploadMediaDescription = "Upload a local image for a video segment and get a mediaId to use in a segment's media field (generate_persona_video). The file is stored as a temporary engine asset (1 hour TTL, same flow as debug uploads): upload shortly before generating, since a scheduled slot far in the future may outlive the asset \u2014 in the images modes an expired mediaId fails the task at render (images_do_not_cover_audio names the photo); full lip sync only warns. JPG/JPEG, PNG, or WebP only, max 8MB (the engine photo limit). The real content type is validated, not the extension. Returns only the mediaId \u2014 never a local path or asset URL.";
|
|
29
27
|
export declare const CheckMediaDescription = "Mechanically check one public image URL for a segment, without an LLM and without judging relevance (the agent, who sees the image, decides relevance). Returns exactly one code: ok, blocked_403 (the host blocked the SSRF-safe download \u2014 retry with upload_media bytes fetched on your own machine), not_image, too_small, too_large, timeout, or wrong_aspect (with videoAspect given: the image cannot fill that frame \u2014 send one that matches the aspect; the reply carries its probed width and height). No fake User-Agent or Referer is sent to bypass hotlink blocks, and private addresses are never fetched. The URL never appears in the output.";
|
|
30
28
|
export declare function handleUploadMedia(client: PostEngineerClient, args: z.infer<typeof UploadMediaSchema>): Promise<McpToolResponse>;
|
package/dist/tools.d.ts
CHANGED
|
@@ -8,161 +8,89 @@ import type { PostEngineerClient } from './client.js';
|
|
|
8
8
|
import { type McpToolResponse } from './tools-call.js';
|
|
9
9
|
export type { McpToolResponse } from './tools-call.js';
|
|
10
10
|
export declare const CreatePersonaShape: {
|
|
11
|
-
voiceId: z.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
voiceId: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
[x: string]: string;
|
|
13
|
+
}>, z.ZodString]>;
|
|
14
|
+
language: z.ZodDefault<z.ZodString>;
|
|
15
|
+
videoAspect: z.ZodDefault<z.ZodEnum<{
|
|
16
|
+
"9:16": "9:16";
|
|
17
|
+
"16:9": "16:9";
|
|
18
|
+
"1:1": "1:1";
|
|
19
|
+
}>>;
|
|
20
|
+
videoLayout: z.ZodDefault<z.ZodEnum<{
|
|
21
|
+
standard: "standard";
|
|
22
|
+
react: "react";
|
|
23
|
+
}>>;
|
|
15
24
|
scriptPrompt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16
25
|
paragraphNumber: z.ZodDefault<z.ZodNumber>;
|
|
17
26
|
niche: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18
|
-
faceQuality: z.ZodDefault<z.ZodEnum<
|
|
27
|
+
faceQuality: z.ZodDefault<z.ZodEnum<{
|
|
28
|
+
ok: "ok";
|
|
29
|
+
very_good: "very_good";
|
|
30
|
+
}>>;
|
|
19
31
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
32
|
path: z.ZodString;
|
|
21
33
|
tag: z.ZodOptional<z.ZodString>;
|
|
22
34
|
description: z.ZodOptional<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
path: string;
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
tag?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
path: string;
|
|
29
|
-
description?: string | undefined;
|
|
30
|
-
tag?: string | undefined;
|
|
31
|
-
}>, "many">>;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
32
36
|
imagePrimaryIndex: z.ZodOptional<z.ZodNumber>;
|
|
33
37
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
34
38
|
avatarPath: z.ZodOptional<z.ZodString>;
|
|
35
39
|
name: z.ZodString;
|
|
36
40
|
};
|
|
37
|
-
export declare const CreatePersonaSchema: z.
|
|
38
|
-
voiceId: z.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
export declare const CreatePersonaSchema: z.ZodObject<{
|
|
42
|
+
voiceId: z.ZodUnion<readonly [z.ZodEnum<{
|
|
43
|
+
[x: string]: string;
|
|
44
|
+
}>, z.ZodString]>;
|
|
45
|
+
language: z.ZodDefault<z.ZodString>;
|
|
46
|
+
videoAspect: z.ZodDefault<z.ZodEnum<{
|
|
47
|
+
"9:16": "9:16";
|
|
48
|
+
"16:9": "16:9";
|
|
49
|
+
"1:1": "1:1";
|
|
50
|
+
}>>;
|
|
51
|
+
videoLayout: z.ZodDefault<z.ZodEnum<{
|
|
52
|
+
standard: "standard";
|
|
53
|
+
react: "react";
|
|
54
|
+
}>>;
|
|
42
55
|
scriptPrompt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
43
56
|
paragraphNumber: z.ZodDefault<z.ZodNumber>;
|
|
44
57
|
niche: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
45
|
-
faceQuality: z.ZodDefault<z.ZodEnum<
|
|
58
|
+
faceQuality: z.ZodDefault<z.ZodEnum<{
|
|
59
|
+
ok: "ok";
|
|
60
|
+
very_good: "very_good";
|
|
61
|
+
}>>;
|
|
46
62
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
63
|
path: z.ZodString;
|
|
48
64
|
tag: z.ZodOptional<z.ZodString>;
|
|
49
65
|
description: z.ZodOptional<z.ZodString>;
|
|
50
|
-
},
|
|
51
|
-
path: string;
|
|
52
|
-
description?: string | undefined;
|
|
53
|
-
tag?: string | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
path: string;
|
|
56
|
-
description?: string | undefined;
|
|
57
|
-
tag?: string | undefined;
|
|
58
|
-
}>, "many">>;
|
|
66
|
+
}, z.core.$strip>>>;
|
|
59
67
|
imagePrimaryIndex: z.ZodOptional<z.ZodNumber>;
|
|
60
68
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
61
69
|
avatarPath: z.ZodOptional<z.ZodString>;
|
|
62
70
|
name: z.ZodString;
|
|
63
|
-
},
|
|
64
|
-
name: string;
|
|
65
|
-
voiceId: string;
|
|
66
|
-
language: string;
|
|
67
|
-
videoAspect: "9:16" | "16:9" | "1:1";
|
|
68
|
-
videoLayout: "standard" | "react";
|
|
69
|
-
scriptPrompt: string;
|
|
70
|
-
paragraphNumber: number;
|
|
71
|
-
niche: string;
|
|
72
|
-
faceQuality: "ok" | "very_good";
|
|
73
|
-
avatarUrl?: string | undefined;
|
|
74
|
-
avatarPath?: string | undefined;
|
|
75
|
-
imagePrimaryIndex?: number | undefined;
|
|
76
|
-
images?: {
|
|
77
|
-
path: string;
|
|
78
|
-
description?: string | undefined;
|
|
79
|
-
tag?: string | undefined;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
name: string;
|
|
83
|
-
voiceId: string;
|
|
84
|
-
avatarUrl?: string | undefined;
|
|
85
|
-
avatarPath?: string | undefined;
|
|
86
|
-
language?: string | undefined;
|
|
87
|
-
videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
|
|
88
|
-
videoLayout?: "standard" | "react" | undefined;
|
|
89
|
-
scriptPrompt?: string | undefined;
|
|
90
|
-
paragraphNumber?: number | undefined;
|
|
91
|
-
niche?: string | undefined;
|
|
92
|
-
faceQuality?: "ok" | "very_good" | undefined;
|
|
93
|
-
imagePrimaryIndex?: number | undefined;
|
|
94
|
-
images?: {
|
|
95
|
-
path: string;
|
|
96
|
-
description?: string | undefined;
|
|
97
|
-
tag?: string | undefined;
|
|
98
|
-
}[] | undefined;
|
|
99
|
-
}>, {
|
|
100
|
-
name: string;
|
|
101
|
-
voiceId: string;
|
|
102
|
-
language: string;
|
|
103
|
-
videoAspect: "9:16" | "16:9" | "1:1";
|
|
104
|
-
videoLayout: "standard" | "react";
|
|
105
|
-
scriptPrompt: string;
|
|
106
|
-
paragraphNumber: number;
|
|
107
|
-
niche: string;
|
|
108
|
-
faceQuality: "ok" | "very_good";
|
|
109
|
-
avatarUrl?: string | undefined;
|
|
110
|
-
avatarPath?: string | undefined;
|
|
111
|
-
imagePrimaryIndex?: number | undefined;
|
|
112
|
-
images?: {
|
|
113
|
-
path: string;
|
|
114
|
-
description?: string | undefined;
|
|
115
|
-
tag?: string | undefined;
|
|
116
|
-
}[] | undefined;
|
|
117
|
-
}, {
|
|
118
|
-
name: string;
|
|
119
|
-
voiceId: string;
|
|
120
|
-
avatarUrl?: string | undefined;
|
|
121
|
-
avatarPath?: string | undefined;
|
|
122
|
-
language?: string | undefined;
|
|
123
|
-
videoAspect?: "9:16" | "16:9" | "1:1" | undefined;
|
|
124
|
-
videoLayout?: "standard" | "react" | undefined;
|
|
125
|
-
scriptPrompt?: string | undefined;
|
|
126
|
-
paragraphNumber?: number | undefined;
|
|
127
|
-
niche?: string | undefined;
|
|
128
|
-
faceQuality?: "ok" | "very_good" | undefined;
|
|
129
|
-
imagePrimaryIndex?: number | undefined;
|
|
130
|
-
images?: {
|
|
131
|
-
path: string;
|
|
132
|
-
description?: string | undefined;
|
|
133
|
-
tag?: string | undefined;
|
|
134
|
-
}[] | undefined;
|
|
135
|
-
}>;
|
|
71
|
+
}, z.core.$strip>;
|
|
136
72
|
export declare const ListPersonasShape: {};
|
|
137
|
-
export declare const ListPersonasSchema: z.ZodObject<{},
|
|
73
|
+
export declare const ListPersonasSchema: z.ZodObject<{}, z.core.$strip>;
|
|
138
74
|
export { ListVoicesShape, ListVoicesSchema } from './voice-filters.js';
|
|
139
75
|
export { ListClonedVoicesShape, ListClonedVoicesSchema, CreateClonedVoiceShape, CreateClonedVoiceSchema, DeleteClonedVoiceShape, DeleteClonedVoiceSchema, PreviewClonedVoiceShape, PreviewClonedVoiceSchema, } from './cloned-voice-tools.js';
|
|
140
76
|
export declare const ListFacesShape: {};
|
|
141
|
-
export declare const ListFacesSchema: z.ZodObject<{},
|
|
77
|
+
export declare const ListFacesSchema: z.ZodObject<{}, z.core.$strip>;
|
|
142
78
|
export { UpdatePersonaShape, UpdatePersonaSchema, handleUpdatePersona } from './persona-update.js';
|
|
143
79
|
export { ConnectAccountShape, ConnectAccountSchema, handleConnectAccount } from './connect-account.js';
|
|
144
80
|
export declare const ListSocialAccountsShape: {};
|
|
145
|
-
export declare const ListSocialAccountsSchema: z.ZodObject<{},
|
|
81
|
+
export declare const ListSocialAccountsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
146
82
|
export declare const ListVideoGenerationsShape: {
|
|
147
83
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
148
84
|
};
|
|
149
85
|
export declare const ListVideoGenerationsSchema: z.ZodObject<{
|
|
150
86
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
151
|
-
},
|
|
152
|
-
limit?: number | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
limit?: number | undefined;
|
|
155
|
-
}>;
|
|
87
|
+
}, z.core.$strip>;
|
|
156
88
|
export declare const GetVideoGenerationShape: {
|
|
157
89
|
generationId: z.ZodString;
|
|
158
90
|
};
|
|
159
91
|
export declare const GetVideoGenerationSchema: z.ZodObject<{
|
|
160
92
|
generationId: z.ZodString;
|
|
161
|
-
},
|
|
162
|
-
generationId: string;
|
|
163
|
-
}, {
|
|
164
|
-
generationId: string;
|
|
165
|
-
}>;
|
|
93
|
+
}, z.core.$strip>;
|
|
166
94
|
export declare const ListTokenTransactionsShape: {
|
|
167
95
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
168
96
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -170,45 +98,27 @@ export declare const ListTokenTransactionsShape: {
|
|
|
170
98
|
export declare const ListTokenTransactionsSchema: z.ZodObject<{
|
|
171
99
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
172
100
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
173
|
-
},
|
|
174
|
-
limit?: number | undefined;
|
|
175
|
-
offset?: number | undefined;
|
|
176
|
-
}, {
|
|
177
|
-
limit?: number | undefined;
|
|
178
|
-
offset?: number | undefined;
|
|
179
|
-
}>;
|
|
101
|
+
}, z.core.$strip>;
|
|
180
102
|
export declare const GetPersonaDeletePreviewShape: {
|
|
181
103
|
personaId: z.ZodString;
|
|
182
104
|
};
|
|
183
105
|
export declare const GetPersonaDeletePreviewSchema: z.ZodObject<{
|
|
184
106
|
personaId: z.ZodString;
|
|
185
|
-
},
|
|
186
|
-
personaId: string;
|
|
187
|
-
}, {
|
|
188
|
-
personaId: string;
|
|
189
|
-
}>;
|
|
107
|
+
}, z.core.$strip>;
|
|
190
108
|
export declare const DeletePersonaShape: {
|
|
191
109
|
personaId: z.ZodString;
|
|
192
110
|
};
|
|
193
111
|
export declare const DeletePersonaSchema: z.ZodObject<{
|
|
194
112
|
personaId: z.ZodString;
|
|
195
|
-
},
|
|
196
|
-
personaId: string;
|
|
197
|
-
}, {
|
|
198
|
-
personaId: string;
|
|
199
|
-
}>;
|
|
113
|
+
}, z.core.$strip>;
|
|
200
114
|
export declare const GetTokenBalanceShape: {};
|
|
201
|
-
export declare const GetTokenBalanceSchema: z.ZodObject<{},
|
|
115
|
+
export declare const GetTokenBalanceSchema: z.ZodObject<{}, z.core.$strip>;
|
|
202
116
|
export declare const ListPersonaImagesShape: {
|
|
203
117
|
personaId: z.ZodString;
|
|
204
118
|
};
|
|
205
119
|
export declare const ListPersonaImagesSchema: z.ZodObject<{
|
|
206
120
|
personaId: z.ZodString;
|
|
207
|
-
},
|
|
208
|
-
personaId: string;
|
|
209
|
-
}, {
|
|
210
|
-
personaId: string;
|
|
211
|
-
}>;
|
|
121
|
+
}, z.core.$strip>;
|
|
212
122
|
export declare const AddPersonaImageShape: {
|
|
213
123
|
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
214
124
|
path: z.ZodString;
|
|
@@ -222,81 +132,37 @@ export declare const AddPersonaImageSchema: z.ZodObject<{
|
|
|
222
132
|
tag: z.ZodOptional<z.ZodString>;
|
|
223
133
|
description: z.ZodOptional<z.ZodString>;
|
|
224
134
|
personaId: z.ZodString;
|
|
225
|
-
},
|
|
226
|
-
path: string;
|
|
227
|
-
personaId: string;
|
|
228
|
-
description?: string | undefined;
|
|
229
|
-
tag?: string | undefined;
|
|
230
|
-
isPrimary?: true | undefined;
|
|
231
|
-
}, {
|
|
232
|
-
path: string;
|
|
233
|
-
personaId: string;
|
|
234
|
-
description?: string | undefined;
|
|
235
|
-
tag?: string | undefined;
|
|
236
|
-
isPrimary?: true | undefined;
|
|
237
|
-
}>;
|
|
135
|
+
}, z.core.$strip>;
|
|
238
136
|
export declare const UpdatePersonaImageShape: {
|
|
239
137
|
id: z.ZodString;
|
|
240
138
|
tag: z.ZodOptional<z.ZodString>;
|
|
241
139
|
description: z.ZodOptional<z.ZodString>;
|
|
242
140
|
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
243
141
|
};
|
|
244
|
-
export declare const UpdatePersonaImageSchema: z.
|
|
142
|
+
export declare const UpdatePersonaImageSchema: z.ZodObject<{
|
|
245
143
|
id: z.ZodString;
|
|
246
144
|
tag: z.ZodOptional<z.ZodString>;
|
|
247
145
|
description: z.ZodOptional<z.ZodString>;
|
|
248
146
|
isPrimary: z.ZodOptional<z.ZodLiteral<true>>;
|
|
249
|
-
},
|
|
250
|
-
id: string;
|
|
251
|
-
description?: string | undefined;
|
|
252
|
-
tag?: string | undefined;
|
|
253
|
-
isPrimary?: true | undefined;
|
|
254
|
-
}, {
|
|
255
|
-
id: string;
|
|
256
|
-
description?: string | undefined;
|
|
257
|
-
tag?: string | undefined;
|
|
258
|
-
isPrimary?: true | undefined;
|
|
259
|
-
}>, {
|
|
260
|
-
id: string;
|
|
261
|
-
description?: string | undefined;
|
|
262
|
-
tag?: string | undefined;
|
|
263
|
-
isPrimary?: true | undefined;
|
|
264
|
-
}, {
|
|
265
|
-
id: string;
|
|
266
|
-
description?: string | undefined;
|
|
267
|
-
tag?: string | undefined;
|
|
268
|
-
isPrimary?: true | undefined;
|
|
269
|
-
}>;
|
|
147
|
+
}, z.core.$strip>;
|
|
270
148
|
export declare const RemovePersonaImageShape: {
|
|
271
149
|
id: z.ZodString;
|
|
272
150
|
};
|
|
273
151
|
export declare const RemovePersonaImageSchema: z.ZodObject<{
|
|
274
152
|
id: z.ZodString;
|
|
275
|
-
},
|
|
276
|
-
id: string;
|
|
277
|
-
}, {
|
|
278
|
-
id: string;
|
|
279
|
-
}>;
|
|
153
|
+
}, z.core.$strip>;
|
|
280
154
|
export declare const GetVideoStatusShape: {
|
|
281
155
|
taskId: z.ZodString;
|
|
282
156
|
};
|
|
283
157
|
export declare const GetVideoStatusSchema: z.ZodObject<{
|
|
284
158
|
taskId: z.ZodString;
|
|
285
|
-
},
|
|
286
|
-
taskId: string;
|
|
287
|
-
}, {
|
|
288
|
-
taskId: string;
|
|
289
|
-
}>;
|
|
159
|
+
}, z.core.$strip>;
|
|
290
160
|
export declare const GetVideoTaskProgressShape: {
|
|
291
161
|
taskId: z.ZodString;
|
|
292
162
|
};
|
|
293
163
|
export declare const GetVideoTaskProgressSchema: z.ZodObject<{
|
|
294
164
|
taskId: z.ZodString;
|
|
295
|
-
},
|
|
296
|
-
taskId: string;
|
|
297
|
-
}, {
|
|
298
|
-
taskId: string;
|
|
299
|
-
}>;
|
|
165
|
+
}, z.core.$strip>;
|
|
300
166
|
export declare function handleCreatePersona(client: PostEngineerClient, args: z.infer<typeof CreatePersonaSchema>): Promise<McpToolResponse>;
|
|
301
167
|
export declare function handleListPersonas(client: PostEngineerClient): Promise<McpToolResponse>;
|
|
302
168
|
export declare function handleListVoices(client: PostEngineerClient, args?: ListVoicesArgs): Promise<McpToolResponse>;
|
|
@@ -6,26 +6,16 @@ export declare const CancelVideoTaskShape: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const CancelVideoTaskSchema: z.ZodObject<{
|
|
8
8
|
taskId: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
taskId: string;
|
|
11
|
-
}, {
|
|
12
|
-
taskId: string;
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
export declare function handleCancelVideoTask(client: PostEngineerClient, args: z.infer<typeof CancelVideoTaskSchema>): Promise<McpToolResponse>;
|
|
15
11
|
export declare const WaitForVideoTasksShape: {
|
|
16
|
-
taskIds: z.ZodArray<z.ZodString
|
|
12
|
+
taskIds: z.ZodArray<z.ZodString>;
|
|
17
13
|
timeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
18
14
|
};
|
|
19
15
|
export declare const WaitForVideoTasksSchema: z.ZodObject<{
|
|
20
|
-
taskIds: z.ZodArray<z.ZodString
|
|
16
|
+
taskIds: z.ZodArray<z.ZodString>;
|
|
21
17
|
timeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
22
|
-
},
|
|
23
|
-
taskIds: string[];
|
|
24
|
-
timeoutSeconds: number;
|
|
25
|
-
}, {
|
|
26
|
-
taskIds: string[];
|
|
27
|
-
timeoutSeconds?: number | undefined;
|
|
28
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
29
19
|
/** One task's wait outcome: completed/failed are terminal, running is not. */
|
|
30
20
|
export interface TaskWaitResult {
|
|
31
21
|
task_id: string | null;
|
package/dist/voice-filters.d.ts
CHANGED
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { PostEngineerClient } from './client.js';
|
|
3
3
|
export declare const ListVoicesShape: {
|
|
4
|
-
gender: z.ZodOptional<z.ZodEnum<
|
|
5
|
-
|
|
4
|
+
gender: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
female: "female";
|
|
6
|
+
male: "male";
|
|
7
|
+
}>>;
|
|
8
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
us: "us";
|
|
10
|
+
gb: "gb";
|
|
11
|
+
character: "character";
|
|
12
|
+
}>>;
|
|
6
13
|
search: z.ZodOptional<z.ZodString>;
|
|
7
14
|
};
|
|
8
15
|
export declare const ListVoicesSchema: z.ZodObject<{
|
|
9
|
-
gender: z.ZodOptional<z.ZodEnum<
|
|
10
|
-
|
|
16
|
+
gender: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
female: "female";
|
|
18
|
+
male: "male";
|
|
19
|
+
}>>;
|
|
20
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
us: "us";
|
|
22
|
+
gb: "gb";
|
|
23
|
+
character: "character";
|
|
24
|
+
}>>;
|
|
11
25
|
search: z.ZodOptional<z.ZodString>;
|
|
12
|
-
},
|
|
13
|
-
gender?: "female" | "male" | undefined;
|
|
14
|
-
origin?: "us" | "gb" | "character" | undefined;
|
|
15
|
-
search?: string | undefined;
|
|
16
|
-
}, {
|
|
17
|
-
gender?: "female" | "male" | undefined;
|
|
18
|
-
origin?: "us" | "gb" | "character" | undefined;
|
|
19
|
-
search?: string | undefined;
|
|
20
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
21
27
|
export type ListVoicesArgs = z.infer<typeof ListVoicesSchema>;
|
|
22
28
|
export declare function filterVoicesPayload(payload: unknown, args: ListVoicesArgs): unknown;
|
|
23
29
|
export interface HouseVoice {
|
|
@@ -61,5 +67,9 @@ export declare function withResolvedPersonaVoiceForUpdate<T extends {
|
|
|
61
67
|
* (so MCP UIs autocomplete house names AND labels — the resolver already
|
|
62
68
|
* accepts both, but the enum only suggested names), plus a free string
|
|
63
69
|
* for clone ids/keys. */
|
|
64
|
-
export declare function personaVoiceField(requiredMessage?: string): z.
|
|
65
|
-
|
|
70
|
+
export declare function personaVoiceField(requiredMessage?: string): z.ZodUnion<readonly [z.ZodEnum<{
|
|
71
|
+
[x: string]: string;
|
|
72
|
+
}>, z.ZodString]>;
|
|
73
|
+
export declare const PersonaVoiceIdSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
74
|
+
[x: string]: string;
|
|
75
|
+
}>, z.ZodString]>;
|