@keystrokehq/postiz_mcp 0.1.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 +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/ask-postiz.cjs +16 -0
- package/dist/actions/ask-postiz.cjs.map +1 -0
- package/dist/actions/ask-postiz.d.cts +9 -0
- package/dist/actions/ask-postiz.d.cts.map +1 -0
- package/dist/actions/ask-postiz.d.mts +9 -0
- package/dist/actions/ask-postiz.d.mts.map +1 -0
- package/dist/actions/ask-postiz.mjs +13 -0
- package/dist/actions/ask-postiz.mjs.map +1 -0
- package/dist/actions/generateimagetool.cjs +19 -0
- package/dist/actions/generateimagetool.cjs.map +1 -0
- package/dist/actions/generateimagetool.d.cts +9 -0
- package/dist/actions/generateimagetool.d.cts.map +1 -0
- package/dist/actions/generateimagetool.d.mts +9 -0
- package/dist/actions/generateimagetool.d.mts.map +1 -0
- package/dist/actions/generateimagetool.mjs +16 -0
- package/dist/actions/generateimagetool.mjs.map +1 -0
- package/dist/actions/generatevideooptions.cjs +24 -0
- package/dist/actions/generatevideooptions.cjs.map +1 -0
- package/dist/actions/generatevideooptions.d.cts +9 -0
- package/dist/actions/generatevideooptions.d.cts.map +1 -0
- package/dist/actions/generatevideooptions.d.mts +9 -0
- package/dist/actions/generatevideooptions.d.mts.map +1 -0
- package/dist/actions/generatevideooptions.mjs +21 -0
- package/dist/actions/generatevideooptions.mjs.map +1 -0
- package/dist/actions/generatevideotool.cjs +23 -0
- package/dist/actions/generatevideotool.cjs.map +1 -0
- package/dist/actions/generatevideotool.d.cts +9 -0
- package/dist/actions/generatevideotool.d.cts.map +1 -0
- package/dist/actions/generatevideotool.d.mts +9 -0
- package/dist/actions/generatevideotool.d.mts.map +1 -0
- package/dist/actions/generatevideotool.mjs +20 -0
- package/dist/actions/generatevideotool.mjs.map +1 -0
- package/dist/actions/index.cjs +19 -0
- package/dist/actions/index.d.cts +10 -0
- package/dist/actions/index.d.mts +10 -0
- package/dist/actions/index.mjs +10 -0
- package/dist/actions/integrationlist.cjs +21 -0
- package/dist/actions/integrationlist.cjs.map +1 -0
- package/dist/actions/integrationlist.d.cts +9 -0
- package/dist/actions/integrationlist.d.cts.map +1 -0
- package/dist/actions/integrationlist.d.mts +9 -0
- package/dist/actions/integrationlist.d.mts.map +1 -0
- package/dist/actions/integrationlist.mjs +18 -0
- package/dist/actions/integrationlist.mjs.map +1 -0
- package/dist/actions/integrationscheduleposttool.cjs +37 -0
- package/dist/actions/integrationscheduleposttool.cjs.map +1 -0
- package/dist/actions/integrationscheduleposttool.d.cts +9 -0
- package/dist/actions/integrationscheduleposttool.d.cts.map +1 -0
- package/dist/actions/integrationscheduleposttool.d.mts +9 -0
- package/dist/actions/integrationscheduleposttool.d.mts.map +1 -0
- package/dist/actions/integrationscheduleposttool.mjs +34 -0
- package/dist/actions/integrationscheduleposttool.mjs.map +1 -0
- package/dist/actions/integrationschema.cjs +32 -0
- package/dist/actions/integrationschema.cjs.map +1 -0
- package/dist/actions/integrationschema.d.cts +9 -0
- package/dist/actions/integrationschema.d.cts.map +1 -0
- package/dist/actions/integrationschema.d.mts +9 -0
- package/dist/actions/integrationschema.d.mts.map +1 -0
- package/dist/actions/integrationschema.mjs +29 -0
- package/dist/actions/integrationschema.mjs.map +1 -0
- package/dist/actions/triggertool.cjs +23 -0
- package/dist/actions/triggertool.cjs.map +1 -0
- package/dist/actions/triggertool.d.cts +9 -0
- package/dist/actions/triggertool.d.cts.map +1 -0
- package/dist/actions/triggertool.d.mts +9 -0
- package/dist/actions/triggertool.d.mts.map +1 -0
- package/dist/actions/triggertool.mjs +20 -0
- package/dist/actions/triggertool.mjs.map +1 -0
- package/dist/actions/videofunctiontool.cjs +19 -0
- package/dist/actions/videofunctiontool.cjs.map +1 -0
- package/dist/actions/videofunctiontool.d.cts +9 -0
- package/dist/actions/videofunctiontool.d.cts.map +1 -0
- package/dist/actions/videofunctiontool.d.mts +9 -0
- package/dist/actions/videofunctiontool.d.mts.map +1 -0
- package/dist/actions/videofunctiontool.mjs +16 -0
- package/dist/actions/videofunctiontool.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +24 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.mts +12 -0
- package/dist/index.mjs +13 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationscheduleposttool.d.cts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAgBxD;AAAA,cACW,0CAAA,EAA4C,CAAA,CAAE,UAOzD;AAAA,cAEW,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/integrationscheduleposttool.d.ts
|
|
4
|
+
declare const PostizMcpIntegrationscheduleposttoolInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpIntegrationscheduleposttoolOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpIntegrationscheduleposttool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpIntegrationscheduleposttool };
|
|
9
|
+
//# sourceMappingURL=integrationscheduleposttool.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationscheduleposttool.d.mts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAgBxD;AAAA,cACW,0CAAA,EAA4C,CAAA,CAAE,UAOzD;AAAA,cAEW,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postizMcpIntegrationscheduleposttool = action("POSTIZ_MCP_INTEGRATIONSCHEDULEPOSTTOOL", {
|
|
4
|
+
slug: "postiz_mcp-integrationscheduleposttool",
|
|
5
|
+
name: "Integrationscheduleposttool",
|
|
6
|
+
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",
|
|
7
|
+
input: z.object({ socialPost: z.array(z.object({
|
|
8
|
+
date: z.string().describe("The date of the post in UTC time"),
|
|
9
|
+
type: z.enum([
|
|
10
|
+
"draft",
|
|
11
|
+
"schedule",
|
|
12
|
+
"now"
|
|
13
|
+
]).describe("The type of the post, if we pass now, we should pass the current date also"),
|
|
14
|
+
settings: z.array(z.object({
|
|
15
|
+
key: z.string().describe("Name of the settings key to pass"),
|
|
16
|
+
value: z.unknown().describe("Value of the key, always prefer the id then label if possible").optional()
|
|
17
|
+
})).describe("This relies on the integrationSchema tool to get the settings [input:settings]"),
|
|
18
|
+
isPremium: z.boolean().describe("If the integration is X, return if it's premium or not"),
|
|
19
|
+
shortLink: z.boolean().describe("If the post has a link inside, we can ask the user if they want to add a short link"),
|
|
20
|
+
integrationId: z.string().describe("The id of the integration (not internal id)"),
|
|
21
|
+
postsAndComments: z.array(z.object({
|
|
22
|
+
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)"),
|
|
23
|
+
attachments: z.array(z.string()).describe("The image of the post (URLS)")
|
|
24
|
+
})).describe("first item is the post, every other item is the comments")
|
|
25
|
+
})).describe("Individual post") }),
|
|
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() })]) })
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { postizMcpIntegrationscheduleposttool };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=integrationscheduleposttool.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n output: z.union([z.array(z.object({\n postId: z.string(),\n integration: z.string(),\n})), z.object({\n errors: z.string(),\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,OA9BqE,EAAE,OAAO,EAC9E,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,QAdsE,EAAE,OAAO,EAC/E,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO;EAClC,QAAQ,EAAE,OAAO;EACjB,aAAa,EAAE,OAAO;CACxB,CAAC,CAAC,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,OAAO,EACnB,CAAC,CAAC,CAAC,EACH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/integrationschema.ts
|
|
4
|
+
const PostizMcpIntegrationschemaInput = zod.z.object({
|
|
5
|
+
platform: zod.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)"),
|
|
6
|
+
isPremium: zod.z.boolean().describe("is this the user premium? if not, set to false")
|
|
7
|
+
});
|
|
8
|
+
const PostizMcpIntegrationschemaOutput = zod.z.object({ output: zod.z.object({
|
|
9
|
+
rules: zod.z.string(),
|
|
10
|
+
tools: zod.z.array(zod.z.object({
|
|
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")
|
|
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")
|
|
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
|
+
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")
|
|
21
|
+
}) });
|
|
22
|
+
const postizMcpIntegrationschema = require_action.action("POSTIZ_MCP_INTEGRATIONSCHEMA", {
|
|
23
|
+
slug: "postiz_mcp-integrationschema",
|
|
24
|
+
name: "Integrationschema",
|
|
25
|
+
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.",
|
|
26
|
+
input: PostizMcpIntegrationschemaInput,
|
|
27
|
+
output: PostizMcpIntegrationschemaOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.postizMcpIntegrationschema = postizMcpIntegrationschema;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=integrationschema.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n output: z.object({\n rules: z.string(),\n tools: z.array(z.object({\n dataSchema: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n type: z.string(),\n description: z.string().describe(\"Description of the setting key\"),\n})).describe(\"This will be passed to schedulePostTool [output:settings]\"),\n methodName: z.string().describe(\"Method to call to get the information\"),\n description: z.string().describe(\"Description of the tool\"),\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\"),\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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;CACnV,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAClF,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQA,IAAAA,EAAE,OAAO;CACjB,OAAOA,IAAAA,EAAE,OAAO;CAChB,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC7B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GAC3D,MAAMA,IAAAA,EAAE,OAAO;GACf,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACnE,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;EACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC5D,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;AACzE,CAAC,EACD,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/integrationschema.d.ts
|
|
4
|
+
declare const PostizMcpIntegrationschemaInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpIntegrationschemaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpIntegrationschema: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpIntegrationschema };
|
|
9
|
+
//# sourceMappingURL=integrationschema.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationschema.d.cts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAe/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/integrationschema.d.ts
|
|
4
|
+
declare const PostizMcpIntegrationschemaInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpIntegrationschemaOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpIntegrationschema: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpIntegrationschema };
|
|
9
|
+
//# sourceMappingURL=integrationschema.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationschema.d.mts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAe/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postizMcpIntegrationschema = action("POSTIZ_MCP_INTEGRATIONSCHEMA", {
|
|
4
|
+
slug: "postiz_mcp-integrationschema",
|
|
5
|
+
name: "Integrationschema",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
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)"),
|
|
9
|
+
isPremium: z.boolean().describe("is this the user premium? if not, set to false")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({ output: z.object({
|
|
12
|
+
rules: z.string(),
|
|
13
|
+
tools: z.array(z.object({
|
|
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")
|
|
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")
|
|
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
|
+
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")
|
|
24
|
+
}) })
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { postizMcpIntegrationschema };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=integrationschema.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n output: z.object({\n rules: z.string(),\n tools: z.array(z.object({\n dataSchema: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n type: z.string(),\n description: z.string().describe(\"Description of the setting key\"),\n})).describe(\"This will be passed to schedulePostTool [output:settings]\"),\n methodName: z.string().describe(\"Method to call to get the information\"),\n description: z.string().describe(\"Description of the tool\"),\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\"),\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,OAzB2D,EAAE,OAAO;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;EACnV,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAClF,CAsBS;CACP,QAtB4D,EAAE,OAAO,EACrE,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,YAAY,EAAE,MAAM,EAAE,OAAO;IAC7B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;IAC3D,MAAM,EAAE,OAAO;IACf,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;GACnE,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;GACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;GACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC5D,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;CACzE,CAAC,EACD,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/triggertool.ts
|
|
4
|
+
const PostizMcpTriggertoolInput = zod.z.object({
|
|
5
|
+
dataSchema: zod.z.array(zod.z.object({
|
|
6
|
+
key: zod.z.string().describe("Name of the settings key to pass"),
|
|
7
|
+
value: zod.z.string().describe("Value of the key")
|
|
8
|
+
})),
|
|
9
|
+
methodName: zod.z.string().describe("The methodName from the `integrationSchema` functions in the tools array, required"),
|
|
10
|
+
integrationId: zod.z.string().describe("The id of the integration")
|
|
11
|
+
});
|
|
12
|
+
const PostizMcpTriggertoolOutput = zod.z.object({ output: zod.z.array(zod.z.object({})) });
|
|
13
|
+
const postizMcpTriggertool = require_action.action("POSTIZ_MCP_TRIGGERTOOL", {
|
|
14
|
+
slug: "postiz_mcp-triggertool",
|
|
15
|
+
name: "Triggertool",
|
|
16
|
+
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]",
|
|
17
|
+
input: PostizMcpTriggertoolInput,
|
|
18
|
+
output: PostizMcpTriggertoolOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.postizMcpTriggertool = postizMcpTriggertool;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=triggertool.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/triggertool.d.ts
|
|
4
|
+
declare const PostizMcpTriggertoolInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpTriggertoolOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpTriggertool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpTriggertool };
|
|
9
|
+
//# sourceMappingURL=triggertool.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggertool.d.cts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/triggertool.d.ts
|
|
4
|
+
declare const PostizMcpTriggertoolInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpTriggertoolOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpTriggertool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpTriggertool };
|
|
9
|
+
//# sourceMappingURL=triggertool.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggertool.d.mts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postizMcpTriggertool = action("POSTIZ_MCP_TRIGGERTOOL", {
|
|
4
|
+
slug: "postiz_mcp-triggertool",
|
|
5
|
+
name: "Triggertool",
|
|
6
|
+
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]",
|
|
7
|
+
input: z.object({
|
|
8
|
+
dataSchema: z.array(z.object({
|
|
9
|
+
key: z.string().describe("Name of the settings key to pass"),
|
|
10
|
+
value: z.string().describe("Value of the key")
|
|
11
|
+
})),
|
|
12
|
+
methodName: z.string().describe("The methodName from the `integrationSchema` functions in the tools array, required"),
|
|
13
|
+
integrationId: z.string().describe("The id of the integration")
|
|
14
|
+
}),
|
|
15
|
+
output: z.object({ output: z.array(z.object({})) })
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { postizMcpTriggertool };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=triggertool.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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,OAhBqD,EAAE,OAAO;EAC9D,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,QATsD,EAAE,OAAO,EAC/D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAC9B,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/videofunctiontool.ts
|
|
4
|
+
const PostizMcpVideofunctiontoolInput = zod.z.object({
|
|
5
|
+
identifier: zod.z.string(),
|
|
6
|
+
functionName: zod.z.string()
|
|
7
|
+
});
|
|
8
|
+
const PostizMcpVideofunctiontoolOutput = zod.z.unknown();
|
|
9
|
+
const postizMcpVideofunctiontool = require_action.action("POSTIZ_MCP_VIDEOFUNCTIONTOOL", {
|
|
10
|
+
slug: "postiz_mcp-videofunctiontool",
|
|
11
|
+
name: "Videofunctiontool",
|
|
12
|
+
description: "Sometimes when we want to generate videos we might need to get some additional information like voice_id, etc",
|
|
13
|
+
input: PostizMcpVideofunctiontoolInput,
|
|
14
|
+
output: PostizMcpVideofunctiontoolOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.postizMcpVideofunctiontool = postizMcpVideofunctiontool;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=videofunctiontool.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({\n identifier: z.string(),\n functionName: z.string(),\n});\nexport const PostizMcpVideofunctiontoolOutput: z.ZodTypeAny = 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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAYA,IAAAA,EAAE,OAAO;CACrB,cAAcA,IAAAA,EAAE,OAAO;AACzB,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,QAAQ;AAExE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/videofunctiontool.d.ts
|
|
4
|
+
declare const PostizMcpVideofunctiontoolInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpVideofunctiontoolOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpVideofunctiontool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpVideofunctiontool };
|
|
9
|
+
//# sourceMappingURL=videofunctiontool.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"videofunctiontool.d.cts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAAwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/videofunctiontool.d.ts
|
|
4
|
+
declare const PostizMcpVideofunctiontoolInput: z.ZodTypeAny;
|
|
5
|
+
declare const PostizMcpVideofunctiontoolOutput: z.ZodTypeAny;
|
|
6
|
+
declare const postizMcpVideofunctiontool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { postizMcpVideofunctiontool };
|
|
9
|
+
//# sourceMappingURL=videofunctiontool.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"videofunctiontool.d.mts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAAwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const postizMcpVideofunctiontool = action("POSTIZ_MCP_VIDEOFUNCTIONTOOL", {
|
|
4
|
+
slug: "postiz_mcp-videofunctiontool",
|
|
5
|
+
name: "Videofunctiontool",
|
|
6
|
+
description: "Sometimes when we want to generate videos we might need to get some additional information like voice_id, etc",
|
|
7
|
+
input: z.object({
|
|
8
|
+
identifier: z.string(),
|
|
9
|
+
functionName: z.string()
|
|
10
|
+
}),
|
|
11
|
+
output: z.unknown()
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { postizMcpVideofunctiontool };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=videofunctiontool.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({\n identifier: z.string(),\n functionName: z.string(),\n});\nexport const PostizMcpVideofunctiontoolOutput: z.ZodTypeAny = 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,OAV2D,EAAE,OAAO;EACpE,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,OAAO;CACzB,CAOS;CACP,QAP4D,EAAE,QAOtD;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const postizMcp = defineApp({\n slug: \"postiz_mcp\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const postizMcp = defineApp({\n slug: \"postiz_mcp\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const postizMcpCatalog = {
|
|
4
|
+
"slug": "postiz_mcp",
|
|
5
|
+
"name": "Postiz",
|
|
6
|
+
"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.",
|
|
7
|
+
"category": "Social Media Marketing",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/postiz_mcp",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.postizMcpCatalog = postizMcpCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +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;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const postizMcpCatalog: {
|
|
4
|
+
readonly slug: "postiz_mcp";
|
|
5
|
+
readonly name: "Postiz";
|
|
6
|
+
readonly 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.";
|
|
7
|
+
readonly category: "Social Media Marketing";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/postiz_mcp";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { postizMcpCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const postizMcpCatalog: {
|
|
4
|
+
readonly slug: "postiz_mcp";
|
|
5
|
+
readonly name: "Postiz";
|
|
6
|
+
readonly 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.";
|
|
7
|
+
readonly category: "Social Media Marketing";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/postiz_mcp";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { postizMcpCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const postizMcpCatalog = {
|
|
4
|
+
"slug": "postiz_mcp",
|
|
5
|
+
"name": "Postiz",
|
|
6
|
+
"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.",
|
|
7
|
+
"category": "Social Media Marketing",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/postiz_mcp",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { postizMcpCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +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;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "postiz_mcp";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260303_02";
|
|
6
|
+
async function executePostizMcpTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executePostizMcpTool = executePostizMcpTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"postiz_mcp\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260303_02\";\n\nexport async function executePostizMcpTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "postiz_mcp";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260303_02";
|
|
6
|
+
async function executePostizMcpTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executePostizMcpTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"postiz_mcp\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260303_02\";\n\nexport async function executePostizMcpTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_ask_postiz = require("./actions/ask-postiz.cjs");
|
|
5
|
+
const require_generateimagetool = require("./actions/generateimagetool.cjs");
|
|
6
|
+
const require_generatevideooptions = require("./actions/generatevideooptions.cjs");
|
|
7
|
+
const require_generatevideotool = require("./actions/generatevideotool.cjs");
|
|
8
|
+
const require_integrationlist = require("./actions/integrationlist.cjs");
|
|
9
|
+
const require_integrationscheduleposttool = require("./actions/integrationscheduleposttool.cjs");
|
|
10
|
+
const require_integrationschema = require("./actions/integrationschema.cjs");
|
|
11
|
+
const require_triggertool = require("./actions/triggertool.cjs");
|
|
12
|
+
const require_videofunctiontool = require("./actions/videofunctiontool.cjs");
|
|
13
|
+
require("./actions/index.cjs");
|
|
14
|
+
exports.postizMcp = require_app.postizMcp;
|
|
15
|
+
exports.postizMcpAskPostiz = require_ask_postiz.postizMcpAskPostiz;
|
|
16
|
+
exports.postizMcpCatalog = require_catalog.postizMcpCatalog;
|
|
17
|
+
exports.postizMcpGenerateimagetool = require_generateimagetool.postizMcpGenerateimagetool;
|
|
18
|
+
exports.postizMcpGeneratevideooptions = require_generatevideooptions.postizMcpGeneratevideooptions;
|
|
19
|
+
exports.postizMcpGeneratevideotool = require_generatevideotool.postizMcpGeneratevideotool;
|
|
20
|
+
exports.postizMcpIntegrationlist = require_integrationlist.postizMcpIntegrationlist;
|
|
21
|
+
exports.postizMcpIntegrationscheduleposttool = require_integrationscheduleposttool.postizMcpIntegrationscheduleposttool;
|
|
22
|
+
exports.postizMcpIntegrationschema = require_integrationschema.postizMcpIntegrationschema;
|
|
23
|
+
exports.postizMcpTriggertool = require_triggertool.postizMcpTriggertool;
|
|
24
|
+
exports.postizMcpVideofunctiontool = require_videofunctiontool.postizMcpVideofunctiontool;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { postizMcpAskPostiz } from "./actions/ask-postiz.cjs";
|
|
2
|
+
import { postizMcpGenerateimagetool } from "./actions/generateimagetool.cjs";
|
|
3
|
+
import { postizMcpGeneratevideooptions } from "./actions/generatevideooptions.cjs";
|
|
4
|
+
import { postizMcpGeneratevideotool } from "./actions/generatevideotool.cjs";
|
|
5
|
+
import { postizMcpIntegrationlist } from "./actions/integrationlist.cjs";
|
|
6
|
+
import { postizMcpIntegrationscheduleposttool } from "./actions/integrationscheduleposttool.cjs";
|
|
7
|
+
import { postizMcpIntegrationschema } from "./actions/integrationschema.cjs";
|
|
8
|
+
import { postizMcpTriggertool } from "./actions/triggertool.cjs";
|
|
9
|
+
import { postizMcpVideofunctiontool } from "./actions/videofunctiontool.cjs";
|
|
10
|
+
import { postizMcp } from "./app.cjs";
|
|
11
|
+
import { postizMcpCatalog } from "./catalog.cjs";
|
|
12
|
+
export { postizMcp, postizMcpAskPostiz, postizMcpCatalog, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { postizMcpAskPostiz } from "./actions/ask-postiz.mjs";
|
|
2
|
+
import { postizMcpGenerateimagetool } from "./actions/generateimagetool.mjs";
|
|
3
|
+
import { postizMcpGeneratevideooptions } from "./actions/generatevideooptions.mjs";
|
|
4
|
+
import { postizMcpGeneratevideotool } from "./actions/generatevideotool.mjs";
|
|
5
|
+
import { postizMcpIntegrationlist } from "./actions/integrationlist.mjs";
|
|
6
|
+
import { postizMcpIntegrationscheduleposttool } from "./actions/integrationscheduleposttool.mjs";
|
|
7
|
+
import { postizMcpIntegrationschema } from "./actions/integrationschema.mjs";
|
|
8
|
+
import { postizMcpTriggertool } from "./actions/triggertool.mjs";
|
|
9
|
+
import { postizMcpVideofunctiontool } from "./actions/videofunctiontool.mjs";
|
|
10
|
+
import { postizMcp } from "./app.mjs";
|
|
11
|
+
import { postizMcpCatalog } from "./catalog.mjs";
|
|
12
|
+
export { postizMcp, postizMcpAskPostiz, postizMcpCatalog, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { postizMcp } from "./app.mjs";
|
|
2
|
+
import { postizMcpCatalog } from "./catalog.mjs";
|
|
3
|
+
import { postizMcpAskPostiz } from "./actions/ask-postiz.mjs";
|
|
4
|
+
import { postizMcpGenerateimagetool } from "./actions/generateimagetool.mjs";
|
|
5
|
+
import { postizMcpGeneratevideooptions } from "./actions/generatevideooptions.mjs";
|
|
6
|
+
import { postizMcpGeneratevideotool } from "./actions/generatevideotool.mjs";
|
|
7
|
+
import { postizMcpIntegrationlist } from "./actions/integrationlist.mjs";
|
|
8
|
+
import { postizMcpIntegrationscheduleposttool } from "./actions/integrationscheduleposttool.mjs";
|
|
9
|
+
import { postizMcpIntegrationschema } from "./actions/integrationschema.mjs";
|
|
10
|
+
import { postizMcpTriggertool } from "./actions/triggertool.mjs";
|
|
11
|
+
import { postizMcpVideofunctiontool } from "./actions/videofunctiontool.mjs";
|
|
12
|
+
import "./actions/index.mjs";
|
|
13
|
+
export { postizMcp, postizMcpAskPostiz, postizMcpCatalog, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
|