@keystrokehq/postiz_mcp 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/ask-postiz.cjs.map +1 -1
- package/dist/actions/ask-postiz.d.cts +7 -3
- package/dist/actions/ask-postiz.d.cts.map +1 -1
- package/dist/actions/ask-postiz.d.mts +7 -3
- package/dist/actions/ask-postiz.d.mts.map +1 -1
- package/dist/actions/ask-postiz.mjs.map +1 -1
- package/dist/actions/generateimagetool.cjs +2 -2
- package/dist/actions/generateimagetool.cjs.map +1 -1
- package/dist/actions/generateimagetool.d.cts +10 -3
- package/dist/actions/generateimagetool.d.cts.map +1 -1
- package/dist/actions/generateimagetool.d.mts +10 -3
- package/dist/actions/generateimagetool.d.mts.map +1 -1
- package/dist/actions/generateimagetool.mjs +2 -2
- package/dist/actions/generateimagetool.mjs.map +1 -1
- package/dist/actions/generatevideooptions.cjs +4 -4
- package/dist/actions/generatevideooptions.cjs.map +1 -1
- package/dist/actions/generatevideooptions.d.cts +13 -3
- package/dist/actions/generatevideooptions.d.cts.map +1 -1
- package/dist/actions/generatevideooptions.d.mts +13 -3
- package/dist/actions/generatevideooptions.d.mts.map +1 -1
- package/dist/actions/generatevideooptions.mjs +4 -4
- package/dist/actions/generatevideooptions.mjs.map +1 -1
- package/dist/actions/generatevideotool.cjs +1 -1
- package/dist/actions/generatevideotool.cjs.map +1 -1
- package/dist/actions/generatevideotool.d.cts +22 -3
- package/dist/actions/generatevideotool.d.cts.map +1 -1
- package/dist/actions/generatevideotool.d.mts +22 -3
- package/dist/actions/generatevideotool.d.mts.map +1 -1
- package/dist/actions/generatevideotool.mjs +1 -1
- package/dist/actions/generatevideotool.mjs.map +1 -1
- package/dist/actions/integrationlist.cjs +4 -4
- package/dist/actions/integrationlist.cjs.map +1 -1
- package/dist/actions/integrationlist.d.cts +10 -3
- package/dist/actions/integrationlist.d.cts.map +1 -1
- package/dist/actions/integrationlist.d.mts +10 -3
- package/dist/actions/integrationlist.d.mts.map +1 -1
- package/dist/actions/integrationlist.mjs +4 -4
- package/dist/actions/integrationlist.mjs.map +1 -1
- package/dist/actions/integrationscheduleposttool.cjs +3 -3
- package/dist/actions/integrationscheduleposttool.cjs.map +1 -1
- package/dist/actions/integrationscheduleposttool.d.cts +46 -3
- package/dist/actions/integrationscheduleposttool.d.cts.map +1 -1
- package/dist/actions/integrationscheduleposttool.d.mts +46 -3
- package/dist/actions/integrationscheduleposttool.d.mts.map +1 -1
- package/dist/actions/integrationscheduleposttool.mjs +3 -3
- package/dist/actions/integrationscheduleposttool.mjs.map +1 -1
- package/dist/actions/integrationschema.cjs +7 -7
- package/dist/actions/integrationschema.cjs.map +1 -1
- package/dist/actions/integrationschema.d.cts +24 -3
- package/dist/actions/integrationschema.d.cts.map +1 -1
- package/dist/actions/integrationschema.d.mts +24 -3
- package/dist/actions/integrationschema.d.mts.map +1 -1
- package/dist/actions/integrationschema.mjs +7 -7
- package/dist/actions/integrationschema.mjs.map +1 -1
- package/dist/actions/triggertool.cjs.map +1 -1
- package/dist/actions/triggertool.d.cts +19 -3
- package/dist/actions/triggertool.d.cts.map +1 -1
- package/dist/actions/triggertool.d.mts +19 -3
- package/dist/actions/triggertool.d.mts.map +1 -1
- package/dist/actions/triggertool.mjs.map +1 -1
- package/dist/actions/videofunctiontool.cjs.map +1 -1
- package/dist/actions/videofunctiontool.d.cts +9 -3
- package/dist/actions/videofunctiontool.d.cts.map +1 -1
- package/dist/actions/videofunctiontool.d.mts +9 -3
- package/dist/actions/videofunctiontool.d.mts.map +1 -1
- package/dist/actions/videofunctiontool.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/integrationscheduleposttool.d.ts
|
|
4
|
-
declare const PostizMcpIntegrationscheduleposttoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpIntegrationscheduleposttoolInput: z.ZodObject<{
|
|
5
|
+
socialPost: z.ZodArray<z.ZodObject<{
|
|
6
|
+
date: z.ZodString;
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
draft: "draft";
|
|
9
|
+
schedule: "schedule";
|
|
10
|
+
now: "now";
|
|
11
|
+
}>;
|
|
12
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodString;
|
|
14
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
isPremium: z.ZodBoolean;
|
|
17
|
+
shortLink: z.ZodBoolean;
|
|
18
|
+
integrationId: z.ZodString;
|
|
19
|
+
postsAndComments: z.ZodArray<z.ZodObject<{
|
|
20
|
+
content: z.ZodString;
|
|
21
|
+
attachments: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const PostizMcpIntegrationscheduleposttoolOutput: z.ZodObject<{
|
|
26
|
+
output: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
27
|
+
postId: z.ZodNullable<z.ZodString>;
|
|
28
|
+
integration: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
30
|
+
errors: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>]>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
declare const postizMcpIntegrationscheduleposttool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
socialPost: {
|
|
35
|
+
date: string;
|
|
36
|
+
type: "draft" | "schedule" | "now";
|
|
37
|
+
settings: {
|
|
38
|
+
key: string;
|
|
39
|
+
value?: unknown;
|
|
40
|
+
}[];
|
|
41
|
+
isPremium: boolean;
|
|
42
|
+
shortLink: boolean;
|
|
43
|
+
integrationId: string;
|
|
44
|
+
postsAndComments: {
|
|
45
|
+
content: string;
|
|
46
|
+
attachments: string[];
|
|
47
|
+
}[];
|
|
48
|
+
}[];
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
50
|
//#endregion
|
|
8
51
|
export { postizMcpIntegrationscheduleposttool };
|
|
9
52
|
//# sourceMappingURL=integrationscheduleposttool.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationscheduleposttool.d.cts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"integrationscheduleposttool.d.cts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAS1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/integrationscheduleposttool.d.ts
|
|
4
|
-
declare const PostizMcpIntegrationscheduleposttoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpIntegrationscheduleposttoolInput: z.ZodObject<{
|
|
5
|
+
socialPost: z.ZodArray<z.ZodObject<{
|
|
6
|
+
date: z.ZodString;
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
draft: "draft";
|
|
9
|
+
schedule: "schedule";
|
|
10
|
+
now: "now";
|
|
11
|
+
}>;
|
|
12
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodString;
|
|
14
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
isPremium: z.ZodBoolean;
|
|
17
|
+
shortLink: z.ZodBoolean;
|
|
18
|
+
integrationId: z.ZodString;
|
|
19
|
+
postsAndComments: z.ZodArray<z.ZodObject<{
|
|
20
|
+
content: z.ZodString;
|
|
21
|
+
attachments: z.ZodArray<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const PostizMcpIntegrationscheduleposttoolOutput: z.ZodObject<{
|
|
26
|
+
output: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
27
|
+
postId: z.ZodNullable<z.ZodString>;
|
|
28
|
+
integration: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
30
|
+
errors: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>]>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
declare const postizMcpIntegrationscheduleposttool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
socialPost: {
|
|
35
|
+
date: string;
|
|
36
|
+
type: "draft" | "schedule" | "now";
|
|
37
|
+
settings: {
|
|
38
|
+
key: string;
|
|
39
|
+
value?: unknown;
|
|
40
|
+
}[];
|
|
41
|
+
isPremium: boolean;
|
|
42
|
+
shortLink: boolean;
|
|
43
|
+
integrationId: string;
|
|
44
|
+
postsAndComments: {
|
|
45
|
+
content: string;
|
|
46
|
+
attachments: string[];
|
|
47
|
+
}[];
|
|
48
|
+
}[];
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
50
|
//#endregion
|
|
8
51
|
export { postizMcpIntegrationscheduleposttool };
|
|
9
52
|
//# sourceMappingURL=integrationscheduleposttool.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationscheduleposttool.d.mts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"integrationscheduleposttool.d.mts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAS1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -24,9 +24,9 @@ const postizMcpIntegrationscheduleposttool = action("POSTIZ_MCP_INTEGRATIONSCHED
|
|
|
24
24
|
})).describe("first item is the post, every other item is the comments")
|
|
25
25
|
})).describe("Individual post") }),
|
|
26
26
|
output: z.object({ output: z.union([z.array(z.object({
|
|
27
|
-
postId: z.string(),
|
|
28
|
-
integration: z.string()
|
|
29
|
-
})), z.object({ errors: z.string() })]) })
|
|
27
|
+
postId: z.string().nullable(),
|
|
28
|
+
integration: z.string().nullable()
|
|
29
|
+
})), z.object({ errors: z.string().nullable() })]) })
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { postizMcpIntegrationscheduleposttool };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationscheduleposttool.mjs","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationscheduleposttoolInput
|
|
1
|
+
{"version":3,"file":"integrationscheduleposttool.mjs","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationscheduleposttoolInput = z.object({\n socialPost: z.array(z.object({\n date: z.string().describe(\"The date of the post in UTC time\"),\n type: z.enum([\"draft\", \"schedule\", \"now\"]).describe(\"The type of the post, if we pass now, we should pass the current date also\"),\n settings: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n value: z.unknown().describe(\"Value of the key, always prefer the id then label if possible\").optional(),\n})).describe(\"This relies on the integrationSchema tool to get the settings [input:settings]\"),\n isPremium: z.boolean().describe(\"If the integration is X, return if it's premium or not\"),\n shortLink: z.boolean().describe(\"If the post has a link inside, we can ask the user if they want to add a short link\"),\n integrationId: z.string().describe(\"The id of the integration (not internal id)\"),\n postsAndComments: z.array(z.object({\n content: z.string().describe(\"The content of the post, HTML, Each line must be wrapped in <p> here is the possible tags: h1, h2, h3, u, strong, li, ul, p (you can't have u and strong together)\"),\n attachments: z.array(z.string()).describe(\"The image of the post (URLS)\"),\n})).describe(\"first item is the post, every other item is the comments\"),\n})).describe(\"Individual post\"),\n});\nexport const PostizMcpIntegrationscheduleposttoolOutput = z.object({\n output: z.union([z.array(z.object({\n postId: z.string().nullable(),\n integration: z.string().nullable(),\n})), z.object({\n errors: z.string().nullable(),\n})]),\n});\n\nexport const postizMcpIntegrationscheduleposttool = action(\"POSTIZ_MCP_INTEGRATIONSCHEDULEPOSTTOOL\", {\n slug: \"postiz_mcp-integrationscheduleposttool\",\n name: \"Integrationscheduleposttool\",\n description: \"This tool allows you to schedule a post to a social media platform, based on integrationSchema tool.\\nSo for example:\\n\\nIf the user want to post a post to LinkedIn with one comment\\n- socialPost array length will be one\\n- postsAndComments array length will be two (one for the post, one for the comment)\\n\\nIf the user want to post 20 posts for facebook each in individual days without comments\\n- socialPost array length will be 20\\n- postsAndComments array length will be one\\n\\nIf the tools return errors, you would need to rerun it with the right parameters, don't ask again, just run it\",\n input: PostizMcpIntegrationscheduleposttoolInput,\n output: PostizMcpIntegrationscheduleposttoolOutput,\n});\n"],"mappings":";;AA8BA,MAAa,uCAAuC,OAAO,0CAA0C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BuD,EAAE,OAAO,EAChE,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,MAAM,EAAE,KAAK;GAAC;GAAS;GAAY;EAAK,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAChI,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GAC3D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACxG,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;EAC3F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;EACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF;EACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAChF,kBAAkB,EAAE,MAAM,EAAE,OAAO;GACnC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;GACjM,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;EAC1E,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACvE,CAAC,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC9B,CAcS;CACP,QAdwD,EAAE,OAAO,EACjE,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO;EAClC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS;CACnC,CAAC,CAAC,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,EAC9B,CAAC,CAAC,CAAC,EACH,CAOU;AACV,CAAC"}
|
|
@@ -6,18 +6,18 @@ const PostizMcpIntegrationschemaInput = zod.z.object({
|
|
|
6
6
|
isPremium: zod.z.boolean().describe("is this the user premium? if not, set to false")
|
|
7
7
|
});
|
|
8
8
|
const PostizMcpIntegrationschemaOutput = zod.z.object({ output: zod.z.object({
|
|
9
|
-
rules: zod.z.string(),
|
|
9
|
+
rules: zod.z.string().nullable(),
|
|
10
10
|
tools: zod.z.array(zod.z.object({
|
|
11
11
|
dataSchema: zod.z.array(zod.z.object({
|
|
12
|
-
key: zod.z.string().describe("Name of the settings key to pass"),
|
|
13
|
-
type: zod.z.string(),
|
|
14
|
-
description: zod.z.string().describe("Description of the setting key")
|
|
12
|
+
key: zod.z.string().describe("Name of the settings key to pass").nullable(),
|
|
13
|
+
type: zod.z.string().nullable(),
|
|
14
|
+
description: zod.z.string().describe("Description of the setting key").nullable()
|
|
15
15
|
})).describe("This will be passed to schedulePostTool [output:settings]"),
|
|
16
|
-
methodName: zod.z.string().describe("Method to call to get the information"),
|
|
17
|
-
description: zod.z.string().describe("Description of the tool")
|
|
16
|
+
methodName: zod.z.string().describe("Method to call to get the information").nullable(),
|
|
17
|
+
description: zod.z.string().describe("Description of the tool").nullable()
|
|
18
18
|
})).describe("Sometimes settings require some id, tags and stuff, if you don't have, trigger the `triggerTool` function from the tools list [output:callable-tools]"),
|
|
19
19
|
settings: zod.z.unknown().describe("List of settings need to be passed to schedule a post").nullable().optional(),
|
|
20
|
-
maxLength: zod.z.number().describe("The maximum length of a post / comment")
|
|
20
|
+
maxLength: zod.z.number().describe("The maximum length of a post / comment").nullable()
|
|
21
21
|
}) });
|
|
22
22
|
const postizMcpIntegrationschema = require_action.action("POSTIZ_MCP_INTEGRATIONSCHEMA", {
|
|
23
23
|
slug: "postiz_mcp-integrationschema",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationschema.cjs","names":["z","action"],"sources":["../../src/actions/integrationschema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationschemaInput
|
|
1
|
+
{"version":3,"file":"integrationschema.cjs","names":["z","action"],"sources":["../../src/actions/integrationschema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationschemaInput = z.object({\n platform: z.string().describe(\"platform identifier (x, linkedin, linkedin-page, reddit, instagram, instagram-standalone, facebook, threads, youtube, gmb, tiktok, pinterest, dribbble, discord, slack, kick, twitch, mastodon, bluesky, lemmy, wrapcast, telegram, nostr, vk, medium, devto, hashnode, wordpress, listmonk, moltbook, whop, skool)\"),\n isPremium: z.boolean().describe(\"is this the user premium? if not, set to false\"),\n});\nexport const PostizMcpIntegrationschemaOutput = z.object({\n output: z.object({\n rules: z.string().nullable(),\n tools: z.array(z.object({\n dataSchema: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\").nullable(),\n type: z.string().nullable(),\n description: z.string().describe(\"Description of the setting key\").nullable(),\n})).describe(\"This will be passed to schedulePostTool [output:settings]\"),\n methodName: z.string().describe(\"Method to call to get the information\").nullable(),\n description: z.string().describe(\"Description of the tool\").nullable(),\n})).describe(\"Sometimes settings require some id, tags and stuff, if you don't have, trigger the `triggerTool` function from the tools list [output:callable-tools]\"),\n settings: z.unknown().describe(\"List of settings need to be passed to schedule a post\").nullable().optional(),\n maxLength: z.number().describe(\"The maximum length of a post / comment\").nullable(),\n}),\n});\n\nexport const postizMcpIntegrationschema = action(\"POSTIZ_MCP_INTEGRATIONSCHEMA\", {\n slug: \"postiz_mcp-integrationschema\",\n name: \"Integrationschema\",\n description: \"Everytime we want to schedule a social media post, we need to understand the schema of the integration.\\n This tool helps us get the schema of the integration.\\n Sometimes we might get a schema back the requires some id, for that, you can get information from 'tools'\\n And use the triggerTool function.\",\n input: PostizMcpIntegrationschemaInput,\n output: PostizMcpIntegrationschemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;CACnV,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAClF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,OAAO;CACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC3B,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC7B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;GAC1B,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC9E,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;EACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;CAClK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACpF,CAAC,EACD,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/integrationschema.d.ts
|
|
4
|
-
declare const PostizMcpIntegrationschemaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpIntegrationschemaInput: z.ZodObject<{
|
|
5
|
+
platform: z.ZodString;
|
|
6
|
+
isPremium: z.ZodBoolean;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PostizMcpIntegrationschemaOutput: z.ZodObject<{
|
|
9
|
+
output: z.ZodObject<{
|
|
10
|
+
rules: z.ZodNullable<z.ZodString>;
|
|
11
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
12
|
+
dataSchema: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
type: z.ZodNullable<z.ZodString>;
|
|
15
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
methodName: z.ZodNullable<z.ZodString>;
|
|
18
|
+
description: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
settings: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
21
|
+
maxLength: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const postizMcpIntegrationschema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
platform: string;
|
|
26
|
+
isPremium: boolean;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { postizMcpIntegrationschema };
|
|
9
30
|
//# sourceMappingURL=integrationschema.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationschema.d.cts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"integrationschema.d.cts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/integrationschema.d.ts
|
|
4
|
-
declare const PostizMcpIntegrationschemaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpIntegrationschemaInput: z.ZodObject<{
|
|
5
|
+
platform: z.ZodString;
|
|
6
|
+
isPremium: z.ZodBoolean;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PostizMcpIntegrationschemaOutput: z.ZodObject<{
|
|
9
|
+
output: z.ZodObject<{
|
|
10
|
+
rules: z.ZodNullable<z.ZodString>;
|
|
11
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
12
|
+
dataSchema: z.ZodArray<z.ZodObject<{
|
|
13
|
+
key: z.ZodNullable<z.ZodString>;
|
|
14
|
+
type: z.ZodNullable<z.ZodString>;
|
|
15
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
methodName: z.ZodNullable<z.ZodString>;
|
|
18
|
+
description: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
settings: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
21
|
+
maxLength: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const postizMcpIntegrationschema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
platform: string;
|
|
26
|
+
isPremium: boolean;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { postizMcpIntegrationschema };
|
|
9
30
|
//# sourceMappingURL=integrationschema.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationschema.d.mts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"integrationschema.d.mts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -9,18 +9,18 @@ const postizMcpIntegrationschema = action("POSTIZ_MCP_INTEGRATIONSCHEMA", {
|
|
|
9
9
|
isPremium: z.boolean().describe("is this the user premium? if not, set to false")
|
|
10
10
|
}),
|
|
11
11
|
output: z.object({ output: z.object({
|
|
12
|
-
rules: z.string(),
|
|
12
|
+
rules: z.string().nullable(),
|
|
13
13
|
tools: z.array(z.object({
|
|
14
14
|
dataSchema: z.array(z.object({
|
|
15
|
-
key: z.string().describe("Name of the settings key to pass"),
|
|
16
|
-
type: z.string(),
|
|
17
|
-
description: z.string().describe("Description of the setting key")
|
|
15
|
+
key: z.string().describe("Name of the settings key to pass").nullable(),
|
|
16
|
+
type: z.string().nullable(),
|
|
17
|
+
description: z.string().describe("Description of the setting key").nullable()
|
|
18
18
|
})).describe("This will be passed to schedulePostTool [output:settings]"),
|
|
19
|
-
methodName: z.string().describe("Method to call to get the information"),
|
|
20
|
-
description: z.string().describe("Description of the tool")
|
|
19
|
+
methodName: z.string().describe("Method to call to get the information").nullable(),
|
|
20
|
+
description: z.string().describe("Description of the tool").nullable()
|
|
21
21
|
})).describe("Sometimes settings require some id, tags and stuff, if you don't have, trigger the `triggerTool` function from the tools list [output:callable-tools]"),
|
|
22
22
|
settings: z.unknown().describe("List of settings need to be passed to schedule a post").nullable().optional(),
|
|
23
|
-
maxLength: z.number().describe("The maximum length of a post / comment")
|
|
23
|
+
maxLength: z.number().describe("The maximum length of a post / comment").nullable()
|
|
24
24
|
}) })
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationschema.mjs","names":[],"sources":["../../src/actions/integrationschema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationschemaInput
|
|
1
|
+
{"version":3,"file":"integrationschema.mjs","names":[],"sources":["../../src/actions/integrationschema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationschemaInput = z.object({\n platform: z.string().describe(\"platform identifier (x, linkedin, linkedin-page, reddit, instagram, instagram-standalone, facebook, threads, youtube, gmb, tiktok, pinterest, dribbble, discord, slack, kick, twitch, mastodon, bluesky, lemmy, wrapcast, telegram, nostr, vk, medium, devto, hashnode, wordpress, listmonk, moltbook, whop, skool)\"),\n isPremium: z.boolean().describe(\"is this the user premium? if not, set to false\"),\n});\nexport const PostizMcpIntegrationschemaOutput = z.object({\n output: z.object({\n rules: z.string().nullable(),\n tools: z.array(z.object({\n dataSchema: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\").nullable(),\n type: z.string().nullable(),\n description: z.string().describe(\"Description of the setting key\").nullable(),\n})).describe(\"This will be passed to schedulePostTool [output:settings]\"),\n methodName: z.string().describe(\"Method to call to get the information\").nullable(),\n description: z.string().describe(\"Description of the tool\").nullable(),\n})).describe(\"Sometimes settings require some id, tags and stuff, if you don't have, trigger the `triggerTool` function from the tools list [output:callable-tools]\"),\n settings: z.unknown().describe(\"List of settings need to be passed to schedule a post\").nullable().optional(),\n maxLength: z.number().describe(\"The maximum length of a post / comment\").nullable(),\n}),\n});\n\nexport const postizMcpIntegrationschema = action(\"POSTIZ_MCP_INTEGRATIONSCHEMA\", {\n slug: \"postiz_mcp-integrationschema\",\n name: \"Integrationschema\",\n description: \"Everytime we want to schedule a social media post, we need to understand the schema of the integration.\\n This tool helps us get the schema of the integration.\\n Sometimes we might get a schema back the requires some id, for that, you can get information from 'tools'\\n And use the triggerTool function.\",\n input: PostizMcpIntegrationschemaInput,\n output: PostizMcpIntegrationschemaOutput,\n});\n"],"mappings":";;AAyBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;EACnV,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAClF,CAsBS;CACP,QAtB8C,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;EAC3B,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,YAAY,EAAE,MAAM,EAAE,OAAO;IAC7B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;IACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;IAC1B,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;GAC9E,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;GACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACvE,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ;EAClK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,CAAC,EACD,CAOU;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggertool.cjs","names":["z","action"],"sources":["../../src/actions/triggertool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpTriggertoolInput
|
|
1
|
+
{"version":3,"file":"triggertool.cjs","names":["z","action"],"sources":["../../src/actions/triggertool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpTriggertoolInput = z.object({\n dataSchema: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n value: z.string().describe(\"Value of the key\"),\n})),\n methodName: z.string().describe(\"The methodName from the `integrationSchema` functions in the tools array, required\"),\n integrationId: z.string().describe(\"The id of the integration\"),\n});\nexport const PostizMcpTriggertoolOutput = z.object({\n output: z.array(z.object({})),\n});\n\nexport const postizMcpTriggertool = action(\"POSTIZ_MCP_TRIGGERTOOL\", {\n slug: \"postiz_mcp-triggertool\",\n name: \"Triggertool\",\n description: \"After using the integrationSchema, we sometimes miss details we can't ask from the user, like ids.\\n Sometimes this tool requires to user prompt for some settings, like a word to search for. methodName is required [input:callable-tools]\",\n input: PostizMcpTriggertoolInput,\n output: PostizMcpTriggertoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC/C,CAAC,CAAC;CACA,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAChE,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAC9B,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/triggertool.d.ts
|
|
4
|
-
declare const PostizMcpTriggertoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpTriggertoolInput: z.ZodObject<{
|
|
5
|
+
dataSchema: z.ZodArray<z.ZodObject<{
|
|
6
|
+
key: z.ZodString;
|
|
7
|
+
value: z.ZodString;
|
|
8
|
+
}, z.core.$strip>>;
|
|
9
|
+
methodName: z.ZodString;
|
|
10
|
+
integrationId: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const PostizMcpTriggertoolOutput: z.ZodObject<{
|
|
13
|
+
output: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const postizMcpTriggertool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
dataSchema: {
|
|
17
|
+
key: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
methodName: string;
|
|
21
|
+
integrationId: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { postizMcpTriggertool };
|
|
9
25
|
//# sourceMappingURL=triggertool.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggertool.d.cts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"triggertool.d.cts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/triggertool.d.ts
|
|
4
|
-
declare const PostizMcpTriggertoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpTriggertoolInput: z.ZodObject<{
|
|
5
|
+
dataSchema: z.ZodArray<z.ZodObject<{
|
|
6
|
+
key: z.ZodString;
|
|
7
|
+
value: z.ZodString;
|
|
8
|
+
}, z.core.$strip>>;
|
|
9
|
+
methodName: z.ZodString;
|
|
10
|
+
integrationId: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const PostizMcpTriggertoolOutput: z.ZodObject<{
|
|
13
|
+
output: z.ZodArray<z.ZodObject<{}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const postizMcpTriggertool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
dataSchema: {
|
|
17
|
+
key: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
methodName: string;
|
|
21
|
+
integrationId: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { postizMcpTriggertool };
|
|
9
25
|
//# sourceMappingURL=triggertool.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggertool.d.mts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"triggertool.d.mts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggertool.mjs","names":[],"sources":["../../src/actions/triggertool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpTriggertoolInput
|
|
1
|
+
{"version":3,"file":"triggertool.mjs","names":[],"sources":["../../src/actions/triggertool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpTriggertoolInput = z.object({\n dataSchema: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n value: z.string().describe(\"Value of the key\"),\n})),\n methodName: z.string().describe(\"The methodName from the `integrationSchema` functions in the tools array, required\"),\n integrationId: z.string().describe(\"The id of the integration\"),\n});\nexport const PostizMcpTriggertoolOutput = z.object({\n output: z.array(z.object({})),\n});\n\nexport const postizMcpTriggertool = action(\"POSTIZ_MCP_TRIGGERTOOL\", {\n slug: \"postiz_mcp-triggertool\",\n name: \"Triggertool\",\n description: \"After using the integrationSchema, we sometimes miss details we can't ask from the user, like ids.\\n Sometimes this tool requires to user prompt for some settings, like a word to search for. methodName is required [input:callable-tools]\",\n input: PostizMcpTriggertoolInput,\n output: PostizMcpTriggertoolOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC/C,CAAC,CAAC;EACA,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAChE,CASS;CACP,QATwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAC9B,CAOU;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videofunctiontool.cjs","names":["z","action"],"sources":["../../src/actions/videofunctiontool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpVideofunctiontoolInput
|
|
1
|
+
{"version":3,"file":"videofunctiontool.cjs","names":["z","action"],"sources":["../../src/actions/videofunctiontool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpVideofunctiontoolInput = z.object({\n identifier: z.string(),\n functionName: z.string(),\n});\nexport const PostizMcpVideofunctiontoolOutput = z.unknown();\n\nexport const postizMcpVideofunctiontool = action(\"POSTIZ_MCP_VIDEOFUNCTIONTOOL\", {\n slug: \"postiz_mcp-videofunctiontool\",\n name: \"Videofunctiontool\",\n description: \"Sometimes when we want to generate videos we might need to get some additional information like voice_id, etc\",\n input: PostizMcpVideofunctiontoolInput,\n output: PostizMcpVideofunctiontoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO;CACrB,cAAcA,IAAAA,EAAE,OAAO;AACzB,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,QAAQ;AAE1D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/videofunctiontool.d.ts
|
|
4
|
-
declare const PostizMcpVideofunctiontoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpVideofunctiontoolInput: z.ZodObject<{
|
|
5
|
+
identifier: z.ZodString;
|
|
6
|
+
functionName: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PostizMcpVideofunctiontoolOutput: z.ZodUnknown;
|
|
9
|
+
declare const postizMcpVideofunctiontool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
identifier: string;
|
|
11
|
+
functionName: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { postizMcpVideofunctiontool };
|
|
9
15
|
//# sourceMappingURL=videofunctiontool.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videofunctiontool.d.cts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"videofunctiontool.d.cts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/videofunctiontool.d.ts
|
|
4
|
-
declare const PostizMcpVideofunctiontoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpVideofunctiontoolInput: z.ZodObject<{
|
|
5
|
+
identifier: z.ZodString;
|
|
6
|
+
functionName: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PostizMcpVideofunctiontoolOutput: z.ZodUnknown;
|
|
9
|
+
declare const postizMcpVideofunctiontool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
identifier: string;
|
|
11
|
+
functionName: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { postizMcpVideofunctiontool };
|
|
9
15
|
//# sourceMappingURL=videofunctiontool.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videofunctiontool.d.mts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"videofunctiontool.d.mts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videofunctiontool.mjs","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpVideofunctiontoolInput
|
|
1
|
+
{"version":3,"file":"videofunctiontool.mjs","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpVideofunctiontoolInput = z.object({\n identifier: z.string(),\n functionName: z.string(),\n});\nexport const PostizMcpVideofunctiontoolOutput = z.unknown();\n\nexport const postizMcpVideofunctiontool = action(\"POSTIZ_MCP_VIDEOFUNCTIONTOOL\", {\n slug: \"postiz_mcp-videofunctiontool\",\n name: \"Videofunctiontool\",\n description: \"Sometimes when we want to generate videos we might need to get some additional information like voice_id, etc\",\n input: PostizMcpVideofunctiontoolInput,\n output: PostizMcpVideofunctiontoolOutput,\n});\n"],"mappings":";;AAUA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV6C,EAAE,OAAO;EACtD,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,OAAO;CACzB,CAOS;CACP,QAP8C,EAAE,QAOxC;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const postizMcpCatalog = {
|
|
|
7
7
|
"category": "Social Media Marketing",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/postiz_mcp",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Postiz API Key"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.postizMcpCatalog = postizMcpCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postizMcpCatalog = {\n \"slug\": \"postiz_mcp\",\n \"name\": \"Postiz\",\n \"description\": \"Postiz is an agentic social media scheduling tool. It offers everything you need to manage your social media posts, build an audience, capture leads, and grow your business faster with AI.\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/postiz_mcp\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postizMcpCatalog = {\n \"slug\": \"postiz_mcp\",\n \"name\": \"Postiz\",\n \"description\": \"Postiz is an agentic social media scheduling tool. It offers everything you need to manage your social media posts, build an audience, capture leads, and grow your business faster with AI.\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/postiz_mcp\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Postiz API Key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const postizMcpCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/postiz_mcp";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Postiz API Key";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { postizMcpCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const postizMcpCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/postiz_mcp";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your Postiz API Key";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { postizMcpCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const postizMcpCatalog = {
|
|
|
7
7
|
"category": "Social Media Marketing",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/postiz_mcp",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your Postiz API Key"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { postizMcpCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postizMcpCatalog = {\n \"slug\": \"postiz_mcp\",\n \"name\": \"Postiz\",\n \"description\": \"Postiz is an agentic social media scheduling tool. It offers everything you need to manage your social media posts, build an audience, capture leads, and grow your business faster with AI.\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/postiz_mcp\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postizMcpCatalog = {\n \"slug\": \"postiz_mcp\",\n \"name\": \"Postiz\",\n \"description\": \"Postiz is an agentic social media scheduling tool. It offers everything you need to manage your social media posts, build an audience, capture leads, and grow your business faster with AI.\",\n \"category\": \"Social Media Marketing\",\n \"logo\": \"https://logos.composio.dev/api/postiz_mcp\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Postiz API Key\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/postiz_mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|