posterly-mcp-server 0.66.0 → 0.68.0
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 +1 -1
- package/dist/generated/platform-manifest.d.ts +3 -3
- package/dist/generated/platform-manifest.js +5 -2
- package/dist/lib/api-client.d.ts +4 -0
- package/dist/lib/format.d.ts +5 -0
- package/dist/lib/format.js +6 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/create-post.d.ts +72 -0
- package/dist/tools/create-post.js +11 -3
- package/dist/tools/create-posts-batch.d.ts +28 -0
- package/dist/tools/get-post.js +1 -1
- package/dist/tools/list-posts.js +1 -1
- package/dist/tools/trigger-platform-helper.d.ts +3 -3
- package/dist/tools/trigger-platform-helper.js +1 -1
- package/dist/tools/update-post.d.ts +32 -0
- package/dist/tools/update-post.js +6 -2
- package/dist/tools/validate-post.d.ts +40 -0
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ Add the same server definition to your Cursor MCP settings:
|
|
|
123
123
|
|
|
124
124
|
## Available tools
|
|
125
125
|
|
|
126
|
-
`posterly-mcp-server@0.
|
|
126
|
+
`posterly-mcp-server@0.68.0` exposes 75 tools covering 127 actions. The hosted HTTP endpoint exposes the same catalog minus the three signup tools: 72 tools covering 124 actions.
|
|
127
127
|
|
|
128
128
|
Many tools pick what to do with one parameter: `view` (reads), `action` (writes), or `type`. A few pick their mode from which parameters you pass (for example `update_post` with `status` changes the status instead of editing). Every tool description names all of its views and actions.
|
|
129
129
|
|
|
@@ -33,7 +33,7 @@ export declare const PLATFORM_MANIFEST: {
|
|
|
33
33
|
readonly x: "twitter";
|
|
34
34
|
readonly youtube: "youtube";
|
|
35
35
|
};
|
|
36
|
-
readonly helperNames: readonly ["linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"];
|
|
36
|
+
readonly helperNames: readonly ["instagram.audio", "linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"];
|
|
37
37
|
readonly analyticsPlatformIds: readonly ["instagram", "facebook", "twitter", "linkedin", "youtube", "pinterest", "threads", "google_business"];
|
|
38
38
|
readonly connectTargetIds: readonly ["instagram", "meta", "facebook", "youtube", "tiktok", "linkedin", "linkedin_page", "threads", "google_business", "pinterest", "twitter", "telegram", "bluesky", "discord", "slack", "mastodon", "devto", "hashnode", "wordpress", "lemmy", "reddit", "medium", "skool", "whop"];
|
|
39
39
|
readonly connectInputs: readonly ["bluesky", "devto", "discord", "facebook", "facebook_instagram", "facebook_pages", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "instagram_direct", "lemmy", "linkedin", "linkedin-company", "linkedin-page", "linkedin_company", "linkedin_page", "linkedin_personal", "mastodon", "medium", "meta", "meta_business", "pinterest", "reddit", "skool", "slack", "telegram", "threads", "tiktok", "twitter", "whop", "wordpress", "x", "x_twitter", "youtube"];
|
|
@@ -81,7 +81,7 @@ export declare const PLATFORM_MANIFEST: {
|
|
|
81
81
|
readonly aliases: readonly ["instagram-standalone"];
|
|
82
82
|
readonly postTypes: readonly ["image", "carousel", "reel", "story", "story_series"];
|
|
83
83
|
readonly analyticsSupported: true;
|
|
84
|
-
readonly helpers: readonly [];
|
|
84
|
+
readonly helpers: readonly ["instagram.audio"];
|
|
85
85
|
}, {
|
|
86
86
|
readonly id: "facebook";
|
|
87
87
|
readonly label: "Facebook";
|
|
@@ -402,7 +402,7 @@ export declare const PLANNED_PLATFORM_IDS: readonly ["reddit", "medium", "skool"
|
|
|
402
402
|
export declare const ALL_PLATFORM_IDS: readonly ["instagram", "facebook", "tiktok", "twitter", "linkedin", "youtube", "pinterest", "threads", "google_business", "telegram", "bluesky", "discord", "slack", "mastodon", "devto", "hashnode", "wordpress", "lemmy", "reddit", "medium", "skool", "whop"];
|
|
403
403
|
export declare const SUPPORTED_PLATFORM_INPUTS: readonly ["bluesky", "devto", "discord", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "lemmy", "linkedin", "mastodon", "pinterest", "slack", "telegram", "threads", "tiktok", "twitter", "wordpress", "x", "youtube"];
|
|
404
404
|
export declare const ALL_PLATFORM_INPUTS: readonly ["bluesky", "devto", "discord", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "lemmy", "linkedin", "mastodon", "medium", "pinterest", "reddit", "skool", "slack", "telegram", "threads", "tiktok", "twitter", "whop", "wordpress", "x", "youtube"];
|
|
405
|
-
export declare const PLATFORM_HELPER_NAMES: readonly ["linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"];
|
|
405
|
+
export declare const PLATFORM_HELPER_NAMES: readonly ["instagram.audio", "linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"];
|
|
406
406
|
export declare const CONNECT_TARGET_IDS: readonly ["instagram", "meta", "facebook", "youtube", "tiktok", "linkedin", "linkedin_page", "threads", "google_business", "pinterest", "twitter", "telegram", "bluesky", "discord", "slack", "mastodon", "devto", "hashnode", "wordpress", "lemmy", "reddit", "medium", "skool", "whop"];
|
|
407
407
|
export declare const CONNECT_INPUTS: readonly ["bluesky", "devto", "discord", "facebook", "facebook_instagram", "facebook_pages", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "instagram_direct", "lemmy", "linkedin", "linkedin-company", "linkedin-page", "linkedin_company", "linkedin_page", "linkedin_personal", "mastodon", "medium", "meta", "meta_business", "pinterest", "reddit", "skool", "slack", "telegram", "threads", "tiktok", "twitter", "whop", "wordpress", "x", "x_twitter", "youtube"];
|
|
408
408
|
export declare const ANALYTICS_PLATFORM_IDS: readonly ["instagram", "facebook", "twitter", "linkedin", "youtube", "pinterest", "threads", "google_business"];
|
|
@@ -134,6 +134,7 @@ export const PLATFORM_MANIFEST = {
|
|
|
134
134
|
"youtube": "youtube"
|
|
135
135
|
},
|
|
136
136
|
"helperNames": [
|
|
137
|
+
"instagram.audio",
|
|
137
138
|
"linkedin.company_lookup",
|
|
138
139
|
"linkedin.recent_mentions",
|
|
139
140
|
"pinterest.boards",
|
|
@@ -270,7 +271,9 @@ export const PLATFORM_MANIFEST = {
|
|
|
270
271
|
"story_series"
|
|
271
272
|
],
|
|
272
273
|
"analyticsSupported": true,
|
|
273
|
-
"helpers": [
|
|
274
|
+
"helpers": [
|
|
275
|
+
"instagram.audio"
|
|
276
|
+
]
|
|
274
277
|
},
|
|
275
278
|
{
|
|
276
279
|
"id": "facebook",
|
|
@@ -752,7 +755,7 @@ export const PLANNED_PLATFORM_IDS = ["reddit", "medium", "skool", "whop"];
|
|
|
752
755
|
export const ALL_PLATFORM_IDS = ["instagram", "facebook", "tiktok", "twitter", "linkedin", "youtube", "pinterest", "threads", "google_business", "telegram", "bluesky", "discord", "slack", "mastodon", "devto", "hashnode", "wordpress", "lemmy", "reddit", "medium", "skool", "whop"];
|
|
753
756
|
export const SUPPORTED_PLATFORM_INPUTS = ["bluesky", "devto", "discord", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "lemmy", "linkedin", "mastodon", "pinterest", "slack", "telegram", "threads", "tiktok", "twitter", "wordpress", "x", "youtube"];
|
|
754
757
|
export const ALL_PLATFORM_INPUTS = ["bluesky", "devto", "discord", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "lemmy", "linkedin", "mastodon", "medium", "pinterest", "reddit", "skool", "slack", "telegram", "threads", "tiktok", "twitter", "whop", "wordpress", "x", "youtube"];
|
|
755
|
-
export const PLATFORM_HELPER_NAMES = ["linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"];
|
|
758
|
+
export const PLATFORM_HELPER_NAMES = ["instagram.audio", "linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"];
|
|
756
759
|
export const CONNECT_TARGET_IDS = ["instagram", "meta", "facebook", "youtube", "tiktok", "linkedin", "linkedin_page", "threads", "google_business", "pinterest", "twitter", "telegram", "bluesky", "discord", "slack", "mastodon", "devto", "hashnode", "wordpress", "lemmy", "reddit", "medium", "skool", "whop"];
|
|
757
760
|
export const CONNECT_INPUTS = ["bluesky", "devto", "discord", "facebook", "facebook_instagram", "facebook_pages", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "instagram_direct", "lemmy", "linkedin", "linkedin-company", "linkedin-page", "linkedin_company", "linkedin_page", "linkedin_personal", "mastodon", "medium", "meta", "meta_business", "pinterest", "reddit", "skool", "slack", "telegram", "threads", "tiktok", "twitter", "whop", "wordpress", "x", "x_twitter", "youtube"];
|
|
758
761
|
export const ANALYTICS_PLATFORM_IDS = ["instagram", "facebook", "twitter", "linkedin", "youtube", "pinterest", "threads", "google_business"];
|
package/dist/lib/api-client.d.ts
CHANGED
|
@@ -198,6 +198,8 @@ export interface Post {
|
|
|
198
198
|
media_url?: string;
|
|
199
199
|
media_urls?: string[];
|
|
200
200
|
status: string;
|
|
201
|
+
/** True when the row matches the missed filter. status stays the stored value. */
|
|
202
|
+
missed?: boolean;
|
|
201
203
|
post_type?: string;
|
|
202
204
|
platform?: string | string[] | null;
|
|
203
205
|
post_group_id?: string | null;
|
|
@@ -307,6 +309,8 @@ export interface InstagramPostSettings {
|
|
|
307
309
|
reel_thumb_offset?: number;
|
|
308
310
|
is_ai_generated?: boolean;
|
|
309
311
|
audio_id?: string;
|
|
312
|
+
audio_volume?: number;
|
|
313
|
+
video_volume?: number;
|
|
310
314
|
caption_addon?: {
|
|
311
315
|
type?: 'none' | 'poll' | 'comment_prompt';
|
|
312
316
|
kind?: 'none' | 'poll' | 'comment_prompt';
|
package/dist/lib/format.d.ts
CHANGED
|
@@ -99,6 +99,11 @@ export declare function compactText(value: string | null | undefined, maxLength?
|
|
|
99
99
|
* as a Markdown block. Returns null when there is no learned voice to show.
|
|
100
100
|
*/
|
|
101
101
|
export declare function mdLearnedVoice(learned: LearnedVoice | null | undefined): string | null;
|
|
102
|
+
/** Stored status, with " (missed)" when the API flag says the time passed. */
|
|
103
|
+
export declare function statusWithMissed(post: {
|
|
104
|
+
status?: string | null;
|
|
105
|
+
missed?: boolean | null;
|
|
106
|
+
}): string;
|
|
102
107
|
export declare function statusLabel(status: string | null | undefined): string;
|
|
103
108
|
export declare function code(value: CellValue): string;
|
|
104
109
|
/**
|
package/dist/lib/format.js
CHANGED
|
@@ -345,6 +345,11 @@ export function mdLearnedVoice(learned) {
|
|
|
345
345
|
]);
|
|
346
346
|
return body || null;
|
|
347
347
|
}
|
|
348
|
+
/** Stored status, with " (missed)" when the API flag says the time passed. */
|
|
349
|
+
export function statusWithMissed(post) {
|
|
350
|
+
const label = statusLabel(post.status);
|
|
351
|
+
return post.missed === true ? `${label} (missed)` : label;
|
|
352
|
+
}
|
|
348
353
|
export function statusLabel(status) {
|
|
349
354
|
const value = String(status || 'unknown').toLowerCase();
|
|
350
355
|
if (['created', 'success', 'succeeded', 'completed', 'published', 'active'].includes(value))
|
|
@@ -551,7 +556,7 @@ export function formatPostListPage(data, options) {
|
|
|
551
556
|
// The API post row carries account and brand IDs only (no joined names);
|
|
552
557
|
// list_accounts and list_brands, or view=counts, resolve them.
|
|
553
558
|
posts.map((post) => [
|
|
554
|
-
|
|
559
|
+
statusWithMissed(post),
|
|
555
560
|
code(String(post.id)),
|
|
556
561
|
formatDateTimeInZone(post.scheduled_at, tz),
|
|
557
562
|
post.post_type || 'post',
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const POSTERLY_MCP_VERSION = "0.
|
|
1
|
+
export declare const POSTERLY_MCP_VERSION = "0.68.0";
|
package/dist/lib/version.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
// tool set (minus the intentional pre-auth signup tools that only this stdio
|
|
6
6
|
// package exposes). `npm run check:mcp-parity` enforces both the version match
|
|
7
7
|
// and the tool-list match, and runs in the pre-commit hook.
|
|
8
|
-
export const POSTERLY_MCP_VERSION = '0.
|
|
8
|
+
export const POSTERLY_MCP_VERSION = '0.68.0';
|
|
@@ -53,6 +53,8 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
53
53
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
54
54
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
56
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
56
58
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
57
59
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
58
60
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -150,6 +152,8 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
150
152
|
}[] | undefined;
|
|
151
153
|
is_ai_generated?: boolean | undefined;
|
|
152
154
|
audio_id?: string | undefined;
|
|
155
|
+
audio_volume?: number | undefined;
|
|
156
|
+
video_volume?: number | undefined;
|
|
153
157
|
poll_attachment?: {
|
|
154
158
|
options?: string[] | undefined;
|
|
155
159
|
option_a?: string | undefined;
|
|
@@ -199,6 +203,8 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
199
203
|
}[] | undefined;
|
|
200
204
|
is_ai_generated?: boolean | undefined;
|
|
201
205
|
audio_id?: string | undefined;
|
|
206
|
+
audio_volume?: number | undefined;
|
|
207
|
+
video_volume?: number | undefined;
|
|
202
208
|
poll_attachment?: {
|
|
203
209
|
options?: string[] | undefined;
|
|
204
210
|
option_a?: string | undefined;
|
|
@@ -355,6 +361,8 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
355
361
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
356
362
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
357
363
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
364
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
358
366
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
359
367
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
360
368
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -505,6 +513,8 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
505
513
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
506
514
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
507
515
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
516
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
508
518
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
509
519
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
510
520
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -655,6 +665,8 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
655
665
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
656
666
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
657
667
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
668
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
669
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
658
670
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
659
671
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
660
672
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -736,6 +748,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
736
748
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
737
749
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
738
750
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
751
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
752
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
739
753
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
740
754
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
741
755
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -833,6 +847,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
833
847
|
}[] | undefined;
|
|
834
848
|
is_ai_generated?: boolean | undefined;
|
|
835
849
|
audio_id?: string | undefined;
|
|
850
|
+
audio_volume?: number | undefined;
|
|
851
|
+
video_volume?: number | undefined;
|
|
836
852
|
poll_attachment?: {
|
|
837
853
|
options?: string[] | undefined;
|
|
838
854
|
option_a?: string | undefined;
|
|
@@ -882,6 +898,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
882
898
|
}[] | undefined;
|
|
883
899
|
is_ai_generated?: boolean | undefined;
|
|
884
900
|
audio_id?: string | undefined;
|
|
901
|
+
audio_volume?: number | undefined;
|
|
902
|
+
video_volume?: number | undefined;
|
|
885
903
|
poll_attachment?: {
|
|
886
904
|
options?: string[] | undefined;
|
|
887
905
|
option_a?: string | undefined;
|
|
@@ -1038,6 +1056,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1038
1056
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1039
1057
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1040
1058
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1060
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1041
1061
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1042
1062
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1043
1063
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1188,6 +1208,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1188
1208
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1189
1209
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1190
1210
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1212
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1191
1213
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1192
1214
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1193
1215
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1338,6 +1360,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1338
1360
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1339
1361
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1340
1362
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1341
1365
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1342
1366
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1343
1367
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1397,6 +1421,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1397
1421
|
}[] | undefined;
|
|
1398
1422
|
is_ai_generated?: boolean | undefined;
|
|
1399
1423
|
audio_id?: string | undefined;
|
|
1424
|
+
audio_volume?: number | undefined;
|
|
1425
|
+
video_volume?: number | undefined;
|
|
1400
1426
|
poll_attachment?: {
|
|
1401
1427
|
options?: string[] | undefined;
|
|
1402
1428
|
option_a?: string | undefined;
|
|
@@ -1553,6 +1579,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1553
1579
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1554
1580
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1555
1581
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1583
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1556
1584
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1557
1585
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1558
1586
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1610,6 +1638,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1610
1638
|
}[] | undefined;
|
|
1611
1639
|
is_ai_generated?: boolean | undefined;
|
|
1612
1640
|
audio_id?: string | undefined;
|
|
1641
|
+
audio_volume?: number | undefined;
|
|
1642
|
+
video_volume?: number | undefined;
|
|
1613
1643
|
poll_attachment?: {
|
|
1614
1644
|
options?: string[] | undefined;
|
|
1615
1645
|
option_a?: string | undefined;
|
|
@@ -1766,6 +1796,8 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1766
1796
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1767
1797
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1768
1798
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1800
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1769
1801
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1770
1802
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1771
1803
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1848,6 +1880,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1848
1880
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1849
1881
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1850
1882
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1884
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1851
1885
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1852
1886
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1853
1887
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -1945,6 +1979,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1945
1979
|
}[] | undefined;
|
|
1946
1980
|
is_ai_generated?: boolean | undefined;
|
|
1947
1981
|
audio_id?: string | undefined;
|
|
1982
|
+
audio_volume?: number | undefined;
|
|
1983
|
+
video_volume?: number | undefined;
|
|
1948
1984
|
poll_attachment?: {
|
|
1949
1985
|
options?: string[] | undefined;
|
|
1950
1986
|
option_a?: string | undefined;
|
|
@@ -1994,6 +2030,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1994
2030
|
}[] | undefined;
|
|
1995
2031
|
is_ai_generated?: boolean | undefined;
|
|
1996
2032
|
audio_id?: string | undefined;
|
|
2033
|
+
audio_volume?: number | undefined;
|
|
2034
|
+
video_volume?: number | undefined;
|
|
1997
2035
|
poll_attachment?: {
|
|
1998
2036
|
options?: string[] | undefined;
|
|
1999
2037
|
option_a?: string | undefined;
|
|
@@ -2150,6 +2188,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2150
2188
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2151
2189
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2152
2190
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2192
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2153
2193
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2154
2194
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2155
2195
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2300,6 +2340,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2300
2340
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2301
2341
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2302
2342
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2344
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2303
2345
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2304
2346
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2305
2347
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2450,6 +2492,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2450
2492
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2451
2493
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2452
2494
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2496
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2453
2497
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2454
2498
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2455
2499
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2512,6 +2556,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2512
2556
|
}[] | undefined;
|
|
2513
2557
|
is_ai_generated?: boolean | undefined;
|
|
2514
2558
|
audio_id?: string | undefined;
|
|
2559
|
+
audio_volume?: number | undefined;
|
|
2560
|
+
video_volume?: number | undefined;
|
|
2515
2561
|
poll_attachment?: {
|
|
2516
2562
|
options?: string[] | undefined;
|
|
2517
2563
|
option_a?: string | undefined;
|
|
@@ -2668,6 +2714,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2668
2714
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2669
2715
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2670
2716
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2717
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2718
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2671
2719
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2672
2720
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2673
2721
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2726,6 +2774,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2726
2774
|
}[] | undefined;
|
|
2727
2775
|
is_ai_generated?: boolean | undefined;
|
|
2728
2776
|
audio_id?: string | undefined;
|
|
2777
|
+
audio_volume?: number | undefined;
|
|
2778
|
+
video_volume?: number | undefined;
|
|
2729
2779
|
poll_attachment?: {
|
|
2730
2780
|
options?: string[] | undefined;
|
|
2731
2781
|
option_a?: string | undefined;
|
|
@@ -2882,6 +2932,8 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2882
2932
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2883
2933
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2884
2934
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2936
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2885
2937
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2886
2938
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2887
2939
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2993,6 +3045,8 @@ export declare const createPostTool: {
|
|
|
2993
3045
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
2994
3046
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2995
3047
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3048
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
3049
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2996
3050
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2997
3051
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2998
3052
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -3090,6 +3144,8 @@ export declare const createPostTool: {
|
|
|
3090
3144
|
}[] | undefined;
|
|
3091
3145
|
is_ai_generated?: boolean | undefined;
|
|
3092
3146
|
audio_id?: string | undefined;
|
|
3147
|
+
audio_volume?: number | undefined;
|
|
3148
|
+
video_volume?: number | undefined;
|
|
3093
3149
|
poll_attachment?: {
|
|
3094
3150
|
options?: string[] | undefined;
|
|
3095
3151
|
option_a?: string | undefined;
|
|
@@ -3139,6 +3195,8 @@ export declare const createPostTool: {
|
|
|
3139
3195
|
}[] | undefined;
|
|
3140
3196
|
is_ai_generated?: boolean | undefined;
|
|
3141
3197
|
audio_id?: string | undefined;
|
|
3198
|
+
audio_volume?: number | undefined;
|
|
3199
|
+
video_volume?: number | undefined;
|
|
3142
3200
|
poll_attachment?: {
|
|
3143
3201
|
options?: string[] | undefined;
|
|
3144
3202
|
option_a?: string | undefined;
|
|
@@ -3295,6 +3353,8 @@ export declare const createPostTool: {
|
|
|
3295
3353
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
3296
3354
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
3297
3355
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3356
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
3357
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
3298
3358
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3299
3359
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3300
3360
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3445,6 +3505,8 @@ export declare const createPostTool: {
|
|
|
3445
3505
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
3446
3506
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
3447
3507
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3508
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
3509
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
3448
3510
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3449
3511
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3450
3512
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3595,6 +3657,8 @@ export declare const createPostTool: {
|
|
|
3595
3657
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
3596
3658
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
3597
3659
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3660
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
3661
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
3598
3662
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3599
3663
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3600
3664
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3657,6 +3721,8 @@ export declare const createPostTool: {
|
|
|
3657
3721
|
}[] | undefined;
|
|
3658
3722
|
is_ai_generated?: boolean | undefined;
|
|
3659
3723
|
audio_id?: string | undefined;
|
|
3724
|
+
audio_volume?: number | undefined;
|
|
3725
|
+
video_volume?: number | undefined;
|
|
3660
3726
|
poll_attachment?: {
|
|
3661
3727
|
options?: string[] | undefined;
|
|
3662
3728
|
option_a?: string | undefined;
|
|
@@ -3813,6 +3879,8 @@ export declare const createPostTool: {
|
|
|
3813
3879
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
3814
3880
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
3815
3881
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3882
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
3883
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
3816
3884
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3817
3885
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3818
3886
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3871,6 +3939,8 @@ export declare const createPostTool: {
|
|
|
3871
3939
|
}[] | undefined;
|
|
3872
3940
|
is_ai_generated?: boolean | undefined;
|
|
3873
3941
|
audio_id?: string | undefined;
|
|
3942
|
+
audio_volume?: number | undefined;
|
|
3943
|
+
video_volume?: number | undefined;
|
|
3874
3944
|
poll_attachment?: {
|
|
3875
3945
|
options?: string[] | undefined;
|
|
3876
3946
|
option_a?: string | undefined;
|
|
@@ -4027,6 +4097,8 @@ export declare const createPostTool: {
|
|
|
4027
4097
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
4028
4098
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
4029
4099
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
4100
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
4101
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
4030
4102
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
4031
4103
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
4032
4104
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -28,7 +28,9 @@ export const instagramSettingsSchema = z.object({
|
|
|
28
28
|
reel_cover_url: z.string().optional(),
|
|
29
29
|
reel_thumb_offset: z.number().nonnegative().optional(),
|
|
30
30
|
is_ai_generated: z.boolean().optional().describe('Label the parent Instagram media container as AI-generated. For carousels, set on the parent only.'),
|
|
31
|
-
audio_id: z.string().optional().describe('
|
|
31
|
+
audio_id: z.string().optional().describe('Instagram audio ID for Reels (music or an original sound). Find one with trigger_platform_helper (helper: "instagram.audio"). Meta-linked Facebook Login accounts only.'),
|
|
32
|
+
audio_volume: z.number().int().min(1).max(100).optional().describe("Volume of the attached Instagram audio, 1 to 100. Default 100. Only with audio_id."),
|
|
33
|
+
video_volume: z.number().int().min(1).max(100).optional().describe("Volume of the video's own sound when audio is attached, 1 to 100. Default 100. Only with audio_id."),
|
|
32
34
|
caption_addon: z.union([
|
|
33
35
|
z.object({
|
|
34
36
|
type: z.enum(['none', 'poll', 'comment_prompt']).optional(),
|
|
@@ -151,6 +153,8 @@ export const platformSettingsSchema = z.object({
|
|
|
151
153
|
paid_partnership: z.boolean().optional(), // X paid partnership
|
|
152
154
|
is_ai_generated: z.boolean().optional(),
|
|
153
155
|
audio_id: z.string().optional(),
|
|
156
|
+
audio_volume: z.number().int().min(1).max(100).optional(),
|
|
157
|
+
video_volume: z.number().int().min(1).max(100).optional(),
|
|
154
158
|
caption_addon: z.union([
|
|
155
159
|
z.object({
|
|
156
160
|
type: z.enum(['none', 'poll', 'comment_prompt']).optional(),
|
|
@@ -331,7 +335,7 @@ export const createPostTool = {
|
|
|
331
335
|
'3. Get explicit confirmation from the user (e.g. "post it", "yes schedule that", "looks good") BEFORE calling this tool. Do NOT infer consent from earlier instructions like "post about X every Monday" - confirm each individual post or the entire batch.\n' +
|
|
332
336
|
'4. If scheduling multiple posts in one turn, list every post first and confirm the batch as a whole, then prefer `create_posts_batch` so they are created in one API request.\n\n' +
|
|
333
337
|
'AFTER CALLING: Tell the user the post was created, include the posterly dashboard link returned by the tool, and offer the next natural action. Do not narrate raw HTTP, curl, or API plumbing.\n\n' +
|
|
334
|
-
'Provide either account_id OR username+platform to identify the account. If scheduled_at is omitted, the post publishes immediately. If workspace_id is omitted, the server resolves one from the social account, falling back to the caller\'s default (personal) workspace - pass workspace_id explicitly if the user has more than one workspace.\n\n' +
|
|
338
|
+
'Provide either account_id OR username+platform to identify the account. If scheduled_at is omitted, or it is within the next minute, the post publishes immediately and the returned status is publishing. A later time is returned as scheduled. If the post is saved but cannot be queued, the tool returns an error and says whether it will still be sent when it is due. If workspace_id is omitted, the server resolves one from the social account, falling back to the caller\'s default (personal) workspace - pass workspace_id explicitly if the user has more than one workspace.\n\n' +
|
|
335
339
|
'MEDIA URLS: Posterly storage URLs are used as-is. Third-party HTTP(S) media URLs are copied into posterly storage before the post is saved, so API-created posts do not later fail on expired signed URLs. Short-lived signed URLs must still be live when this tool runs. You can also call `upload_media` with `url` first if you want to upload once and reuse the returned posterly URL across posts.\n\n' +
|
|
336
340
|
'THREADS: Pass `thread_posts` (an array of 2+ strings) to schedule a multi-post thread on X (Twitter) or Threads (Meta). The first entry is the lead post; the rest are published as replies in the same chain. X entries are capped at 280 characters each (4000 for verified, 25000 for organization accounts); Threads entries are capped at 500 characters each. When `thread_posts` is set, `caption` is ignored.\n\n' +
|
|
337
341
|
'X ARTICLES: To publish on X as a long-form Article, pass `platform_settings.article` ({ title, cover?: "first_image" | "none" }) for an X account. The caption becomes the Article body and is written as Markdown (headings, bold, italic, lists, quotes, code blocks, tables, dividers). Reference attached images with ``. Needs an X Premium account; polls, threads, paid partnership, video, and GIFs are not allowed with an Article.\n\n' +
|
|
@@ -355,7 +359,11 @@ export const createPostTool = {
|
|
|
355
359
|
const dashboardUrl = dashboardUrlForPost({ id: p.id, scheduled_at: p.scheduled_at });
|
|
356
360
|
const createdLine = replayed
|
|
357
361
|
? 'This post already exists. Nothing new was created.'
|
|
358
|
-
: p.
|
|
362
|
+
: p.status === 'publishing'
|
|
363
|
+
? 'Post is publishing now.'
|
|
364
|
+
: p.status === 'scheduled'
|
|
365
|
+
? 'Post scheduled successfully.'
|
|
366
|
+
: 'Post created successfully.';
|
|
359
367
|
const lines = [
|
|
360
368
|
createdLine,
|
|
361
369
|
`• ID: ${p.id}`,
|
|
@@ -68,6 +68,8 @@ export declare const createPostsBatchTool: {
|
|
|
68
68
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
69
69
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
70
70
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
71
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
71
73
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
72
74
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
73
75
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -165,6 +167,8 @@ export declare const createPostsBatchTool: {
|
|
|
165
167
|
}[] | undefined;
|
|
166
168
|
is_ai_generated?: boolean | undefined;
|
|
167
169
|
audio_id?: string | undefined;
|
|
170
|
+
audio_volume?: number | undefined;
|
|
171
|
+
video_volume?: number | undefined;
|
|
168
172
|
poll_attachment?: {
|
|
169
173
|
options?: string[] | undefined;
|
|
170
174
|
option_a?: string | undefined;
|
|
@@ -214,6 +218,8 @@ export declare const createPostsBatchTool: {
|
|
|
214
218
|
}[] | undefined;
|
|
215
219
|
is_ai_generated?: boolean | undefined;
|
|
216
220
|
audio_id?: string | undefined;
|
|
221
|
+
audio_volume?: number | undefined;
|
|
222
|
+
video_volume?: number | undefined;
|
|
217
223
|
poll_attachment?: {
|
|
218
224
|
options?: string[] | undefined;
|
|
219
225
|
option_a?: string | undefined;
|
|
@@ -370,6 +376,8 @@ export declare const createPostsBatchTool: {
|
|
|
370
376
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
371
377
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
372
378
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
379
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
373
381
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
374
382
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
375
383
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -520,6 +528,8 @@ export declare const createPostsBatchTool: {
|
|
|
520
528
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
521
529
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
522
530
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
531
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
532
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
523
533
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
524
534
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
525
535
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -670,6 +680,8 @@ export declare const createPostsBatchTool: {
|
|
|
670
680
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
671
681
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
672
682
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
683
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
684
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
673
685
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
674
686
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
675
687
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -729,6 +741,8 @@ export declare const createPostsBatchTool: {
|
|
|
729
741
|
}[] | undefined;
|
|
730
742
|
is_ai_generated?: boolean | undefined;
|
|
731
743
|
audio_id?: string | undefined;
|
|
744
|
+
audio_volume?: number | undefined;
|
|
745
|
+
video_volume?: number | undefined;
|
|
732
746
|
poll_attachment?: {
|
|
733
747
|
options?: string[] | undefined;
|
|
734
748
|
option_a?: string | undefined;
|
|
@@ -885,6 +899,8 @@ export declare const createPostsBatchTool: {
|
|
|
885
899
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
886
900
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
887
901
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
902
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
903
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
888
904
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
889
905
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
890
906
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -942,6 +958,8 @@ export declare const createPostsBatchTool: {
|
|
|
942
958
|
}[] | undefined;
|
|
943
959
|
is_ai_generated?: boolean | undefined;
|
|
944
960
|
audio_id?: string | undefined;
|
|
961
|
+
audio_volume?: number | undefined;
|
|
962
|
+
video_volume?: number | undefined;
|
|
945
963
|
poll_attachment?: {
|
|
946
964
|
options?: string[] | undefined;
|
|
947
965
|
option_a?: string | undefined;
|
|
@@ -1098,6 +1116,8 @@ export declare const createPostsBatchTool: {
|
|
|
1098
1116
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1099
1117
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1118
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1101
1121
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1102
1122
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1103
1123
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1160,6 +1180,8 @@ export declare const createPostsBatchTool: {
|
|
|
1160
1180
|
}[] | undefined;
|
|
1161
1181
|
is_ai_generated?: boolean | undefined;
|
|
1162
1182
|
audio_id?: string | undefined;
|
|
1183
|
+
audio_volume?: number | undefined;
|
|
1184
|
+
video_volume?: number | undefined;
|
|
1163
1185
|
poll_attachment?: {
|
|
1164
1186
|
options?: string[] | undefined;
|
|
1165
1187
|
option_a?: string | undefined;
|
|
@@ -1316,6 +1338,8 @@ export declare const createPostsBatchTool: {
|
|
|
1316
1338
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1317
1339
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1318
1340
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1342
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1319
1343
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1320
1344
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1321
1345
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1377,6 +1401,8 @@ export declare const createPostsBatchTool: {
|
|
|
1377
1401
|
}[] | undefined;
|
|
1378
1402
|
is_ai_generated?: boolean | undefined;
|
|
1379
1403
|
audio_id?: string | undefined;
|
|
1404
|
+
audio_volume?: number | undefined;
|
|
1405
|
+
video_volume?: number | undefined;
|
|
1380
1406
|
poll_attachment?: {
|
|
1381
1407
|
options?: string[] | undefined;
|
|
1382
1408
|
option_a?: string | undefined;
|
|
@@ -1533,6 +1559,8 @@ export declare const createPostsBatchTool: {
|
|
|
1533
1559
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1534
1560
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1535
1561
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1563
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1536
1564
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1537
1565
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1538
1566
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
package/dist/tools/get-post.js
CHANGED
|
@@ -28,7 +28,7 @@ async function post(client, input) {
|
|
|
28
28
|
const groups = groupReleaseIds(p);
|
|
29
29
|
const lines = [
|
|
30
30
|
`Post #${p.id}`,
|
|
31
|
-
`• Status: ${p.status}`,
|
|
31
|
+
`• Status: ${p.missed === true ? `${p.status} (missed)` : p.status}`,
|
|
32
32
|
];
|
|
33
33
|
const platform = platformText(p.platform);
|
|
34
34
|
if (platform)
|
package/dist/tools/list-posts.js
CHANGED
|
@@ -18,7 +18,7 @@ export const listPostsTool = {
|
|
|
18
18
|
status: z
|
|
19
19
|
.string()
|
|
20
20
|
.optional()
|
|
21
|
-
.describe('Stored post status (draft, scheduled, publishing, processing, awaiting_tiktok_publish, awaiting_manual, published, failed, paused, paused_due_to_token, paused_due_to_billing, or missed). paused_due_to_token is a reconnect pause and paused_due_to_billing is a billing pause. missed
|
|
21
|
+
.describe('Stored post status (draft, scheduled, publishing, processing, awaiting_tiktok_publish, awaiting_manual, published, failed, paused, paused_due_to_token, paused_due_to_billing, or missed). paused_due_to_token is a reconnect pause and paused_due_to_billing is a billing pause. missed is a filter, not a stored status: a scheduled post that is still scheduled 10 minutes after its time (the publish sweep runs every 5 minutes, plus the same wait for a late sweep). A reaper reset or an auto-retry requeue keeps a row off this list for those same 10 minutes. A fresh edit does not. Also an awaiting_manual story whose time has been reached, or a workspace or brand publishing pause whose scheduled time has been reached. Each row keeps its stored status and has missed true or false. Failed is its own status. Queued is not missed.'),
|
|
22
22
|
group_id: z
|
|
23
23
|
.string()
|
|
24
24
|
.optional()
|
|
@@ -4,17 +4,17 @@ export declare const triggerPlatformHelperTool: {
|
|
|
4
4
|
name: string;
|
|
5
5
|
description: string;
|
|
6
6
|
inputSchema: z.ZodObject<{
|
|
7
|
-
helper: z.ZodEnum<["linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"]>;
|
|
7
|
+
helper: z.ZodEnum<["instagram.audio", "linkedin.company_lookup", "linkedin.recent_mentions", "pinterest.boards", "tiktok.creator_info", "x.quota", "youtube.playlists"]>;
|
|
8
8
|
account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
platform: z.ZodOptional<z.ZodEnum<["bluesky", "devto", "discord", "facebook", "gmb", "google-business", "google_business", "google_business_profile", "hashnode", "instagram", "instagram-standalone", "lemmy", "linkedin", "mastodon", "pinterest", "slack", "telegram", "threads", "tiktok", "twitter", "wordpress", "x", "youtube"]>>;
|
|
10
10
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
helper: "linkedin.company_lookup" | "linkedin.recent_mentions" | "pinterest.boards" | "tiktok.creator_info" | "x.quota" | "youtube.playlists";
|
|
12
|
+
helper: "instagram.audio" | "linkedin.company_lookup" | "linkedin.recent_mentions" | "pinterest.boards" | "tiktok.creator_info" | "x.quota" | "youtube.playlists";
|
|
13
13
|
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "threads" | "linkedin" | "youtube" | "pinterest" | "google_business" | "x" | "bluesky" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "lemmy" | "slack" | "mastodon" | "gmb" | "google-business" | "google_business_profile" | undefined;
|
|
14
14
|
account_id?: string | undefined;
|
|
15
15
|
params?: Record<string, unknown> | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
helper: "linkedin.company_lookup" | "linkedin.recent_mentions" | "pinterest.boards" | "tiktok.creator_info" | "x.quota" | "youtube.playlists";
|
|
17
|
+
helper: "instagram.audio" | "linkedin.company_lookup" | "linkedin.recent_mentions" | "pinterest.boards" | "tiktok.creator_info" | "x.quota" | "youtube.playlists";
|
|
18
18
|
platform?: "instagram" | "instagram-standalone" | "facebook" | "tiktok" | "twitter" | "threads" | "linkedin" | "youtube" | "pinterest" | "google_business" | "x" | "bluesky" | "telegram" | "discord" | "wordpress" | "devto" | "hashnode" | "lemmy" | "slack" | "mastodon" | "gmb" | "google-business" | "google_business_profile" | undefined;
|
|
19
19
|
account_id?: string | undefined;
|
|
20
20
|
params?: Record<string, unknown> | undefined;
|
|
@@ -16,7 +16,7 @@ export const triggerPlatformHelperTool = {
|
|
|
16
16
|
params: z
|
|
17
17
|
.record(z.string(), z.unknown())
|
|
18
18
|
.optional()
|
|
19
|
-
.describe('Helper inputs. linkedin.company_lookup needs { vanity: the company vanity name or company page URL }.'),
|
|
19
|
+
.describe('Helper inputs. linkedin.company_lookup needs { vanity: the company vanity name or company page URL }. instagram.audio finds music and sounds for a Reel and takes { type: music or original_sound, q: search text (omit for trending), audio_id: look up one }.'),
|
|
20
20
|
}),
|
|
21
21
|
async execute(client, input) {
|
|
22
22
|
const result = await client.triggerPlatformHelper(input);
|
|
@@ -55,6 +55,8 @@ declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
55
55
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
56
56
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
57
57
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
58
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
58
60
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
59
61
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
60
62
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -153,6 +155,8 @@ declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
153
155
|
}[] | undefined;
|
|
154
156
|
is_ai_generated?: boolean | undefined;
|
|
155
157
|
audio_id?: string | undefined;
|
|
158
|
+
audio_volume?: number | undefined;
|
|
159
|
+
video_volume?: number | undefined;
|
|
156
160
|
poll_attachment?: {
|
|
157
161
|
options?: string[] | undefined;
|
|
158
162
|
option_a?: string | undefined;
|
|
@@ -203,6 +207,8 @@ declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
203
207
|
}[] | undefined;
|
|
204
208
|
is_ai_generated?: boolean | undefined;
|
|
205
209
|
audio_id?: string | undefined;
|
|
210
|
+
audio_volume?: number | undefined;
|
|
211
|
+
video_volume?: number | undefined;
|
|
206
212
|
poll_attachment?: {
|
|
207
213
|
options?: string[] | undefined;
|
|
208
214
|
option_a?: string | undefined;
|
|
@@ -359,6 +365,8 @@ declare const platformSettingsSchema: z.ZodObject<{
|
|
|
359
365
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
360
366
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
361
367
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
368
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
362
370
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
363
371
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
364
372
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -509,6 +517,8 @@ declare const platformSettingsSchema: z.ZodObject<{
|
|
|
509
517
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
510
518
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
511
519
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
520
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
521
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
512
522
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
513
523
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
514
524
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -659,6 +669,8 @@ declare const platformSettingsSchema: z.ZodObject<{
|
|
|
659
669
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
660
670
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
661
671
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
672
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
662
674
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
663
675
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
664
676
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -769,6 +781,8 @@ export declare const updatePostTool: {
|
|
|
769
781
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
770
782
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
771
783
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
784
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
785
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
772
786
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
773
787
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
774
788
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -867,6 +881,8 @@ export declare const updatePostTool: {
|
|
|
867
881
|
}[] | undefined;
|
|
868
882
|
is_ai_generated?: boolean | undefined;
|
|
869
883
|
audio_id?: string | undefined;
|
|
884
|
+
audio_volume?: number | undefined;
|
|
885
|
+
video_volume?: number | undefined;
|
|
870
886
|
poll_attachment?: {
|
|
871
887
|
options?: string[] | undefined;
|
|
872
888
|
option_a?: string | undefined;
|
|
@@ -917,6 +933,8 @@ export declare const updatePostTool: {
|
|
|
917
933
|
}[] | undefined;
|
|
918
934
|
is_ai_generated?: boolean | undefined;
|
|
919
935
|
audio_id?: string | undefined;
|
|
936
|
+
audio_volume?: number | undefined;
|
|
937
|
+
video_volume?: number | undefined;
|
|
920
938
|
poll_attachment?: {
|
|
921
939
|
options?: string[] | undefined;
|
|
922
940
|
option_a?: string | undefined;
|
|
@@ -1073,6 +1091,8 @@ export declare const updatePostTool: {
|
|
|
1073
1091
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1074
1092
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1075
1093
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1095
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1076
1096
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1077
1097
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1078
1098
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1223,6 +1243,8 @@ export declare const updatePostTool: {
|
|
|
1223
1243
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1224
1244
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1225
1245
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1247
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1226
1248
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1227
1249
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1228
1250
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1373,6 +1395,8 @@ export declare const updatePostTool: {
|
|
|
1373
1395
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1374
1396
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1375
1397
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1399
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1376
1400
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1377
1401
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1378
1402
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1442,6 +1466,8 @@ export declare const updatePostTool: {
|
|
|
1442
1466
|
}[] | undefined;
|
|
1443
1467
|
is_ai_generated?: boolean | undefined;
|
|
1444
1468
|
audio_id?: string | undefined;
|
|
1469
|
+
audio_volume?: number | undefined;
|
|
1470
|
+
video_volume?: number | undefined;
|
|
1445
1471
|
poll_attachment?: {
|
|
1446
1472
|
options?: string[] | undefined;
|
|
1447
1473
|
option_a?: string | undefined;
|
|
@@ -1598,6 +1624,8 @@ export declare const updatePostTool: {
|
|
|
1598
1624
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1599
1625
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1600
1626
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1628
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1601
1629
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1602
1630
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1603
1631
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1664,6 +1692,8 @@ export declare const updatePostTool: {
|
|
|
1664
1692
|
}[] | undefined;
|
|
1665
1693
|
is_ai_generated?: boolean | undefined;
|
|
1666
1694
|
audio_id?: string | undefined;
|
|
1695
|
+
audio_volume?: number | undefined;
|
|
1696
|
+
video_volume?: number | undefined;
|
|
1667
1697
|
poll_attachment?: {
|
|
1668
1698
|
options?: string[] | undefined;
|
|
1669
1699
|
option_a?: string | undefined;
|
|
@@ -1820,6 +1850,8 @@ export declare const updatePostTool: {
|
|
|
1820
1850
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1821
1851
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1822
1852
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1853
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1854
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1823
1855
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1824
1856
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1825
1857
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -28,7 +28,9 @@ const instagramSettingsSchema = z.object({
|
|
|
28
28
|
reel_cover_method: z.string().optional(),
|
|
29
29
|
reel_thumb_offset: z.number().nonnegative().optional(),
|
|
30
30
|
is_ai_generated: z.boolean().optional().describe('Label the parent Instagram media container as AI-generated. For carousels, set on the parent only.'),
|
|
31
|
-
audio_id: z.string().optional().describe('
|
|
31
|
+
audio_id: z.string().optional().describe('Instagram audio ID for Reels (music or an original sound). Find one with trigger_platform_helper (helper: "instagram.audio"). Meta-linked Facebook Login accounts only.'),
|
|
32
|
+
audio_volume: z.number().int().min(1).max(100).optional().describe("Volume of the attached Instagram audio, 1 to 100. Default 100. Only with audio_id."),
|
|
33
|
+
video_volume: z.number().int().min(1).max(100).optional().describe("Volume of the video's own sound when audio is attached, 1 to 100. Default 100. Only with audio_id."),
|
|
32
34
|
caption_addon: z.union([
|
|
33
35
|
z.object({
|
|
34
36
|
type: z.enum(['none', 'poll', 'comment_prompt']).optional(),
|
|
@@ -131,6 +133,8 @@ const platformSettingsSchema = z.object({
|
|
|
131
133
|
paid_partnership: z.boolean().optional(),
|
|
132
134
|
is_ai_generated: z.boolean().optional(),
|
|
133
135
|
audio_id: z.string().optional(),
|
|
136
|
+
audio_volume: z.number().int().min(1).max(100).optional(),
|
|
137
|
+
video_volume: z.number().int().min(1).max(100).optional(),
|
|
134
138
|
caption_addon: z.union([
|
|
135
139
|
z.object({
|
|
136
140
|
type: z.enum(['none', 'poll', 'comment_prompt']).optional(),
|
|
@@ -146,7 +150,7 @@ const platformSettingsSchema = z.object({
|
|
|
146
150
|
}).passthrough();
|
|
147
151
|
export const updatePostTool = {
|
|
148
152
|
name: 'update_post',
|
|
149
|
-
description: 'Change a scheduled or draft post. DESTRUCTIVE WRITE. Edit (default): caption, media, schedule, post_type, settings, account_id, or thread_posts; overwrites the existing post; cannot edit published or currently publishing posts. account_id moves the post to another account you can use in the same workspace and on the same brand, and the platform follows that account. thread_posts replaces an X or Threads reply chain with at least two non-empty parts, and the first part becomes the caption. If a client has already approved the post, a caption edit reopens caption approval, a media or thumbnail edit reopens asset approval, and a reschedule, account change, thread edit, or settings change reopens both. status (scheduled, paused, or draft, with scheduled_at when scheduling a draft): pause, resume, or move back to draft; send it on its own. release_id (with optional group_id): set or repair external release/group IDs; send it on its own. approval_action (request, approve, request_changes, or reject): change client approval. Only a workspace owner or admin may do this. The actor is the API key user, never a brand guest. request emails the brand reviewers. approve, request_changes, and reject are team-side decisions. request_changes needs approval_note. Optional approval_axis is asset or caption; omit it for both. Send approval_action on its own.\n\n' +
|
|
153
|
+
description: 'Change a scheduled or draft post. DESTRUCTIVE WRITE. Edit (default): caption, media, schedule, post_type, settings, account_id, or thread_posts; overwrites the existing post; cannot edit published or currently publishing posts. account_id moves the post to another account you can use in the same workspace and on the same brand, and the platform follows that account. thread_posts replaces an X or Threads reply chain with at least two non-empty parts, and the first part becomes the caption. If a client has already approved the post, a caption edit reopens caption approval, a media or thumbnail edit reopens asset approval, and a reschedule, account change, thread edit, or settings change reopens both. status (scheduled, paused, or draft, with scheduled_at when scheduling a draft): pause, resume, or move back to draft; send it on its own. A reconnect pause, including on X, resumes with status scheduled once the account is healthy, the time is in the future, and publishing is not paused. A billing pause, including on X, resumes once billing is clear, the time is in the future, and publishing is not paused. release_id (with optional group_id): set or repair external release/group IDs; send it on its own. approval_action (request, approve, request_changes, or reject): change client approval. Only a workspace owner or admin may do this. The actor is the API key user, never a brand guest. request emails the brand reviewers. approve, request_changes, and reject are team-side decisions. request_changes needs approval_note. Optional approval_axis is asset or caption; omit it for both. Send approval_action on its own.\n\n' +
|
|
150
154
|
'REQUIRED BEFORE CALLING: Show the user a side-by-side of the CURRENT post (caption, scheduled time, media, status) and the PROPOSED change, and get explicit confirmation ("yes update it", "apply those changes") before calling. Do not auto-edit posts based on a general instruction - each change needs its own confirmation.\n\n' +
|
|
151
155
|
'READ, THEN UPDATE: pass the Version from get_post as expected_version and send only the fields you are changing. If the post was edited since, nothing changes and the error says what changed and who changed it. Without expected_version a warning is returned when the update replaces a change made by someone else in the last 24 hours.',
|
|
152
156
|
inputSchema: z.object({
|
|
@@ -64,6 +64,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
64
64
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
65
65
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
67
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
67
69
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
68
70
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
69
71
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -161,6 +163,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
161
163
|
}[] | undefined;
|
|
162
164
|
is_ai_generated?: boolean | undefined;
|
|
163
165
|
audio_id?: string | undefined;
|
|
166
|
+
audio_volume?: number | undefined;
|
|
167
|
+
video_volume?: number | undefined;
|
|
164
168
|
poll_attachment?: {
|
|
165
169
|
options?: string[] | undefined;
|
|
166
170
|
option_a?: string | undefined;
|
|
@@ -210,6 +214,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
210
214
|
}[] | undefined;
|
|
211
215
|
is_ai_generated?: boolean | undefined;
|
|
212
216
|
audio_id?: string | undefined;
|
|
217
|
+
audio_volume?: number | undefined;
|
|
218
|
+
video_volume?: number | undefined;
|
|
213
219
|
poll_attachment?: {
|
|
214
220
|
options?: string[] | undefined;
|
|
215
221
|
option_a?: string | undefined;
|
|
@@ -366,6 +372,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
366
372
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
367
373
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
368
374
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
375
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
369
377
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
370
378
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
371
379
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -516,6 +524,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
516
524
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
517
525
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
518
526
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
527
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
519
529
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
520
530
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
521
531
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -666,6 +676,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
666
676
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
667
677
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
668
678
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
679
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
680
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
669
681
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
670
682
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
671
683
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -728,6 +740,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
728
740
|
}[] | undefined;
|
|
729
741
|
is_ai_generated?: boolean | undefined;
|
|
730
742
|
audio_id?: string | undefined;
|
|
743
|
+
audio_volume?: number | undefined;
|
|
744
|
+
video_volume?: number | undefined;
|
|
731
745
|
poll_attachment?: {
|
|
732
746
|
options?: string[] | undefined;
|
|
733
747
|
option_a?: string | undefined;
|
|
@@ -884,6 +898,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
884
898
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
885
899
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
886
900
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
901
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
902
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
887
903
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
888
904
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
889
905
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -942,6 +958,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
942
958
|
}[] | undefined;
|
|
943
959
|
is_ai_generated?: boolean | undefined;
|
|
944
960
|
audio_id?: string | undefined;
|
|
961
|
+
audio_volume?: number | undefined;
|
|
962
|
+
video_volume?: number | undefined;
|
|
945
963
|
poll_attachment?: {
|
|
946
964
|
options?: string[] | undefined;
|
|
947
965
|
option_a?: string | undefined;
|
|
@@ -1098,6 +1116,8 @@ export declare const validatePostInputSchema: z.ZodObject<{
|
|
|
1098
1116
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1099
1117
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1118
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1101
1121
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1102
1122
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1103
1123
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1186,6 +1206,8 @@ export declare const validatePostTool: {
|
|
|
1186
1206
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1187
1207
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1188
1208
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1210
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1189
1211
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1190
1212
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1191
1213
|
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
@@ -1283,6 +1305,8 @@ export declare const validatePostTool: {
|
|
|
1283
1305
|
}[] | undefined;
|
|
1284
1306
|
is_ai_generated?: boolean | undefined;
|
|
1285
1307
|
audio_id?: string | undefined;
|
|
1308
|
+
audio_volume?: number | undefined;
|
|
1309
|
+
video_volume?: number | undefined;
|
|
1286
1310
|
poll_attachment?: {
|
|
1287
1311
|
options?: string[] | undefined;
|
|
1288
1312
|
option_a?: string | undefined;
|
|
@@ -1332,6 +1356,8 @@ export declare const validatePostTool: {
|
|
|
1332
1356
|
}[] | undefined;
|
|
1333
1357
|
is_ai_generated?: boolean | undefined;
|
|
1334
1358
|
audio_id?: string | undefined;
|
|
1359
|
+
audio_volume?: number | undefined;
|
|
1360
|
+
video_volume?: number | undefined;
|
|
1335
1361
|
poll_attachment?: {
|
|
1336
1362
|
options?: string[] | undefined;
|
|
1337
1363
|
option_a?: string | undefined;
|
|
@@ -1488,6 +1514,8 @@ export declare const validatePostTool: {
|
|
|
1488
1514
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1489
1515
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1490
1516
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1518
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1491
1519
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1492
1520
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1493
1521
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1638,6 +1666,8 @@ export declare const validatePostTool: {
|
|
|
1638
1666
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1639
1667
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1640
1668
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1669
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1670
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1641
1671
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1642
1672
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1643
1673
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1788,6 +1818,8 @@ export declare const validatePostTool: {
|
|
|
1788
1818
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1789
1819
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1790
1820
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
1822
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
1791
1823
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1792
1824
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1793
1825
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1850,6 +1882,8 @@ export declare const validatePostTool: {
|
|
|
1850
1882
|
}[] | undefined;
|
|
1851
1883
|
is_ai_generated?: boolean | undefined;
|
|
1852
1884
|
audio_id?: string | undefined;
|
|
1885
|
+
audio_volume?: number | undefined;
|
|
1886
|
+
video_volume?: number | undefined;
|
|
1853
1887
|
poll_attachment?: {
|
|
1854
1888
|
options?: string[] | undefined;
|
|
1855
1889
|
option_a?: string | undefined;
|
|
@@ -2006,6 +2040,8 @@ export declare const validatePostTool: {
|
|
|
2006
2040
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2007
2041
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2008
2042
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2044
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2009
2045
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2010
2046
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2011
2047
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2064,6 +2100,8 @@ export declare const validatePostTool: {
|
|
|
2064
2100
|
}[] | undefined;
|
|
2065
2101
|
is_ai_generated?: boolean | undefined;
|
|
2066
2102
|
audio_id?: string | undefined;
|
|
2103
|
+
audio_volume?: number | undefined;
|
|
2104
|
+
video_volume?: number | undefined;
|
|
2067
2105
|
poll_attachment?: {
|
|
2068
2106
|
options?: string[] | undefined;
|
|
2069
2107
|
option_a?: string | undefined;
|
|
@@ -2220,6 +2258,8 @@ export declare const validatePostTool: {
|
|
|
2220
2258
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2221
2259
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2222
2260
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
audio_volume: z.ZodOptional<z.ZodNumber>;
|
|
2262
|
+
video_volume: z.ZodOptional<z.ZodNumber>;
|
|
2223
2263
|
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2224
2264
|
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2225
2265
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posterly-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.0",
|
|
4
4
|
"mcpName": "io.github.awpthorp/posterly",
|
|
5
5
|
"description": "MCP server for posterly: schedule and publish social media posts across 18 platforms from any MCP client (Claude, ChatGPT, Cursor, Windsurf, Cline, and more)",
|
|
6
6
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.awpthorp/posterly",
|
|
4
4
|
"title": "posterly",
|
|
5
5
|
"description": "Validate, schedule, publish, and analyze social content across 18 platforms with posterly.",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.68.0",
|
|
7
7
|
"websiteUrl": "https://www.poster.ly/mcp",
|
|
8
8
|
"icons": [
|
|
9
9
|
{
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "posterly-mcp-server",
|
|
25
|
-
"version": "0.
|
|
25
|
+
"version": "0.68.0",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|