posterly-mcp-server 0.27.1 → 0.28.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/dist/lib/api-client.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/generate-video.d.ts +3 -3
- package/dist/tools/generate-video.js +2 -2
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/lib/api-client.ts +1 -1
- package/src/lib/version.ts +1 -1
- package/src/tools/generate-video.ts +2 -2
package/dist/lib/api-client.d.ts
CHANGED
|
@@ -960,7 +960,7 @@ export declare class PosterlyClient {
|
|
|
960
960
|
aspect_ratio?: '16:9' | '9:16';
|
|
961
961
|
duration_seconds?: 4 | 6 | 8;
|
|
962
962
|
resolution?: '720p' | '1080p';
|
|
963
|
-
model?: 'fast' | 'standard';
|
|
963
|
+
model?: 'lite' | 'fast' | 'standard';
|
|
964
964
|
image_url?: string;
|
|
965
965
|
end_image_url?: string;
|
|
966
966
|
reference_images?: Array<{
|
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.28.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.28.0';
|
|
@@ -9,7 +9,7 @@ export declare const generateVideoTool: {
|
|
|
9
9
|
aspect_ratio: z.ZodOptional<z.ZodDefault<z.ZodEnum<["16:9", "9:16"]>>>;
|
|
10
10
|
duration_seconds: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>]>>>;
|
|
11
11
|
resolution: z.ZodOptional<z.ZodDefault<z.ZodEnum<["720p", "1080p"]>>>;
|
|
12
|
-
model: z.ZodOptional<z.ZodDefault<z.ZodEnum<["fast", "standard"]>>>;
|
|
12
|
+
model: z.ZodOptional<z.ZodDefault<z.ZodEnum<["lite", "fast", "standard"]>>>;
|
|
13
13
|
image_url: z.ZodOptional<z.ZodString>;
|
|
14
14
|
end_image_url: z.ZodOptional<z.ZodString>;
|
|
15
15
|
reference_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -29,7 +29,7 @@ export declare const generateVideoTool: {
|
|
|
29
29
|
confirm: true;
|
|
30
30
|
prompt: string;
|
|
31
31
|
aspect_ratio?: "16:9" | "9:16" | undefined;
|
|
32
|
-
model?: "fast" | "standard" | undefined;
|
|
32
|
+
model?: "lite" | "fast" | "standard" | undefined;
|
|
33
33
|
resolution?: "720p" | "1080p" | undefined;
|
|
34
34
|
negative_prompt?: string | undefined;
|
|
35
35
|
duration_seconds?: 4 | 6 | 8 | undefined;
|
|
@@ -45,7 +45,7 @@ export declare const generateVideoTool: {
|
|
|
45
45
|
confirm: true;
|
|
46
46
|
prompt: string;
|
|
47
47
|
aspect_ratio?: "16:9" | "9:16" | undefined;
|
|
48
|
-
model?: "fast" | "standard" | undefined;
|
|
48
|
+
model?: "lite" | "fast" | "standard" | undefined;
|
|
49
49
|
resolution?: "720p" | "1080p" | undefined;
|
|
50
50
|
negative_prompt?: string | undefined;
|
|
51
51
|
duration_seconds?: 4 | 6 | 8 | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const generateVideoTool = {
|
|
3
3
|
name: 'generate_video',
|
|
4
|
-
description: 'Queue a Veo AI video generation job. COSTS VEO CREDITS: confirm prompt, model, duration, resolution, aspect ratio, audio choice, and credit cost with the user before calling. Poll get_video_job for status and final video_url.',
|
|
4
|
+
description: 'Queue a Veo AI video generation job. COSTS VEO CREDITS: confirm prompt, model, duration, resolution, aspect ratio, audio choice, and credit cost with the user before calling. Models cost 12 (lite), 35 (fast) or 90 (standard) credits per second; lite supports text-to-video and image-to-video only, not reference_images or source_video_url. Poll get_video_job for status and final video_url.',
|
|
5
5
|
inputSchema: z.object({
|
|
6
6
|
prompt: z.string().min(5).max(1024),
|
|
7
7
|
negative_prompt: z.string().max(500).optional(),
|
|
8
8
|
aspect_ratio: z.enum(['16:9', '9:16']).default('16:9').optional(),
|
|
9
9
|
duration_seconds: z.union([z.literal(4), z.literal(6), z.literal(8)]).default(8).optional(),
|
|
10
10
|
resolution: z.enum(['720p', '1080p']).default('720p').optional(),
|
|
11
|
-
model: z.enum(['fast', 'standard']).default('fast').optional(),
|
|
11
|
+
model: z.enum(['lite', 'fast', 'standard']).default('fast').optional(),
|
|
12
12
|
image_url: z.string().url().optional(),
|
|
13
13
|
end_image_url: z.string().url().optional(),
|
|
14
14
|
reference_images: z.array(z.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posterly-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.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.28.0",
|
|
7
7
|
"websiteUrl": "https://www.poster.ly/mcp",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/awpthorp/posterly",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"registryType": "npm",
|
|
16
16
|
"identifier": "posterly-mcp-server",
|
|
17
|
-
"version": "0.
|
|
17
|
+
"version": "0.28.0",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|
package/src/lib/api-client.ts
CHANGED
|
@@ -1252,7 +1252,7 @@ export class PosterlyClient {
|
|
|
1252
1252
|
aspect_ratio?: '16:9' | '9:16';
|
|
1253
1253
|
duration_seconds?: 4 | 6 | 8;
|
|
1254
1254
|
resolution?: '720p' | '1080p';
|
|
1255
|
-
model?: 'fast' | 'standard';
|
|
1255
|
+
model?: 'lite' | 'fast' | 'standard';
|
|
1256
1256
|
image_url?: string;
|
|
1257
1257
|
end_image_url?: string;
|
|
1258
1258
|
reference_images?: Array<{ url: string; type: 'character' | 'object' | 'scene' }>;
|
package/src/lib/version.ts
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.28.0';
|
|
@@ -4,14 +4,14 @@ import type { PosterlyClient } from '../lib/api-client.js';
|
|
|
4
4
|
export const generateVideoTool = {
|
|
5
5
|
name: 'generate_video',
|
|
6
6
|
description:
|
|
7
|
-
'Queue a Veo AI video generation job. COSTS VEO CREDITS: confirm prompt, model, duration, resolution, aspect ratio, audio choice, and credit cost with the user before calling. Poll get_video_job for status and final video_url.',
|
|
7
|
+
'Queue a Veo AI video generation job. COSTS VEO CREDITS: confirm prompt, model, duration, resolution, aspect ratio, audio choice, and credit cost with the user before calling. Models cost 12 (lite), 35 (fast) or 90 (standard) credits per second; lite supports text-to-video and image-to-video only, not reference_images or source_video_url. Poll get_video_job for status and final video_url.',
|
|
8
8
|
inputSchema: z.object({
|
|
9
9
|
prompt: z.string().min(5).max(1024),
|
|
10
10
|
negative_prompt: z.string().max(500).optional(),
|
|
11
11
|
aspect_ratio: z.enum(['16:9', '9:16']).default('16:9').optional(),
|
|
12
12
|
duration_seconds: z.union([z.literal(4), z.literal(6), z.literal(8)]).default(8).optional(),
|
|
13
13
|
resolution: z.enum(['720p', '1080p']).default('720p').optional(),
|
|
14
|
-
model: z.enum(['fast', 'standard']).default('fast').optional(),
|
|
14
|
+
model: z.enum(['lite', 'fast', 'standard']).default('fast').optional(),
|
|
15
15
|
image_url: z.string().url().optional(),
|
|
16
16
|
end_image_url: z.string().url().optional(),
|
|
17
17
|
reference_images: z.array(z.object({
|