@keystrokehq/postiz_mcp 0.1.5 → 0.1.6

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.
Files changed (85) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/ask-postiz.cjs +1 -0
  4. package/dist/actions/ask-postiz.cjs.map +1 -1
  5. package/dist/actions/ask-postiz.d.cts +3 -15
  6. package/dist/actions/ask-postiz.d.cts.map +1 -1
  7. package/dist/actions/ask-postiz.d.mts +3 -15
  8. package/dist/actions/ask-postiz.d.mts.map +1 -1
  9. package/dist/actions/ask-postiz.mjs +1 -0
  10. package/dist/actions/ask-postiz.mjs.map +1 -1
  11. package/dist/actions/generateimagetool.cjs +1 -0
  12. package/dist/actions/generateimagetool.cjs.map +1 -1
  13. package/dist/actions/generateimagetool.d.cts +3 -15
  14. package/dist/actions/generateimagetool.d.cts.map +1 -1
  15. package/dist/actions/generateimagetool.d.mts +3 -15
  16. package/dist/actions/generateimagetool.d.mts.map +1 -1
  17. package/dist/actions/generateimagetool.mjs +1 -0
  18. package/dist/actions/generateimagetool.mjs.map +1 -1
  19. package/dist/actions/generatevideooptions.cjs +1 -0
  20. package/dist/actions/generatevideooptions.cjs.map +1 -1
  21. package/dist/actions/generatevideooptions.d.cts +3 -13
  22. package/dist/actions/generatevideooptions.d.cts.map +1 -1
  23. package/dist/actions/generatevideooptions.d.mts +3 -13
  24. package/dist/actions/generatevideooptions.d.mts.map +1 -1
  25. package/dist/actions/generatevideooptions.mjs +1 -0
  26. package/dist/actions/generatevideooptions.mjs.map +1 -1
  27. package/dist/actions/generatevideotool.cjs +1 -0
  28. package/dist/actions/generatevideotool.cjs.map +1 -1
  29. package/dist/actions/generatevideotool.d.cts +3 -20
  30. package/dist/actions/generatevideotool.d.cts.map +1 -1
  31. package/dist/actions/generatevideotool.d.mts +3 -20
  32. package/dist/actions/generatevideotool.d.mts.map +1 -1
  33. package/dist/actions/generatevideotool.mjs +1 -0
  34. package/dist/actions/generatevideotool.mjs.map +1 -1
  35. package/dist/actions/integrationlist.cjs +1 -0
  36. package/dist/actions/integrationlist.cjs.map +1 -1
  37. package/dist/actions/integrationlist.d.cts +3 -13
  38. package/dist/actions/integrationlist.d.cts.map +1 -1
  39. package/dist/actions/integrationlist.d.mts +3 -13
  40. package/dist/actions/integrationlist.d.mts.map +1 -1
  41. package/dist/actions/integrationlist.mjs +1 -0
  42. package/dist/actions/integrationlist.mjs.map +1 -1
  43. package/dist/actions/integrationscheduleposttool.cjs +1 -0
  44. package/dist/actions/integrationscheduleposttool.cjs.map +1 -1
  45. package/dist/actions/integrationscheduleposttool.d.cts +3 -29
  46. package/dist/actions/integrationscheduleposttool.d.cts.map +1 -1
  47. package/dist/actions/integrationscheduleposttool.d.mts +3 -29
  48. package/dist/actions/integrationscheduleposttool.d.mts.map +1 -1
  49. package/dist/actions/integrationscheduleposttool.mjs +1 -0
  50. package/dist/actions/integrationscheduleposttool.mjs.map +1 -1
  51. package/dist/actions/integrationschema.cjs +1 -0
  52. package/dist/actions/integrationschema.cjs.map +1 -1
  53. package/dist/actions/integrationschema.d.cts +3 -16
  54. package/dist/actions/integrationschema.d.cts.map +1 -1
  55. package/dist/actions/integrationschema.d.mts +3 -16
  56. package/dist/actions/integrationschema.d.mts.map +1 -1
  57. package/dist/actions/integrationschema.mjs +1 -0
  58. package/dist/actions/integrationschema.mjs.map +1 -1
  59. package/dist/actions/triggertool.cjs +1 -0
  60. package/dist/actions/triggertool.cjs.map +1 -1
  61. package/dist/actions/triggertool.d.cts +3 -20
  62. package/dist/actions/triggertool.d.cts.map +1 -1
  63. package/dist/actions/triggertool.d.mts +3 -20
  64. package/dist/actions/triggertool.d.mts.map +1 -1
  65. package/dist/actions/triggertool.mjs +1 -0
  66. package/dist/actions/triggertool.mjs.map +1 -1
  67. package/dist/actions/videofunctiontool.cjs +1 -0
  68. package/dist/actions/videofunctiontool.cjs.map +1 -1
  69. package/dist/actions/videofunctiontool.d.cts +3 -16
  70. package/dist/actions/videofunctiontool.d.cts.map +1 -1
  71. package/dist/actions/videofunctiontool.d.mts +3 -16
  72. package/dist/actions/videofunctiontool.d.mts.map +1 -1
  73. package/dist/actions/videofunctiontool.mjs +1 -0
  74. package/dist/actions/videofunctiontool.mjs.map +1 -1
  75. package/dist/app.cjs +2 -2
  76. package/dist/app.cjs.map +1 -1
  77. package/dist/app.d.cts +4 -6
  78. package/dist/app.d.cts.map +1 -1
  79. package/dist/app.d.mts +4 -6
  80. package/dist/app.d.mts.map +1 -1
  81. package/dist/app.mjs +0 -1
  82. package/dist/app.mjs.map +1 -1
  83. package/dist/index.d.cts +1 -1
  84. package/dist/index.d.mts +1 -1
  85. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/integrationscheduleposttool.d.ts
@@ -30,35 +32,7 @@ declare const PostizMcpIntegrationscheduleposttoolOutput: z.ZodObject<{
30
32
  errors: z.ZodNullable<z.ZodString>;
31
33
  }, z.core.$strip>]>;
32
34
  }, 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<"postiz_mcp", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- generic_api_key: z.ZodString;
55
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- }, z.core.$strip>>]>;
35
+ declare const postizMcpIntegrationscheduleposttool: AppAction<typeof PostizMcpIntegrationscheduleposttoolInput, typeof PostizMcpIntegrationscheduleposttoolOutput, typeof postizMcp.credential>;
62
36
  //#endregion
63
37
  export { postizMcpIntegrationscheduleposttool };
64
38
  //# sourceMappingURL=integrationscheduleposttool.d.cts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"integrationscheduleposttool.d.cts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAS1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/integrationscheduleposttool.d.ts
@@ -30,35 +32,7 @@ declare const PostizMcpIntegrationscheduleposttoolOutput: z.ZodObject<{
30
32
  errors: z.ZodNullable<z.ZodString>;
31
33
  }, z.core.$strip>]>;
32
34
  }, 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<"postiz_mcp", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- generic_api_key: z.ZodString;
55
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- }, z.core.$strip>>]>;
35
+ declare const postizMcpIntegrationscheduleposttool: AppAction<typeof PostizMcpIntegrationscheduleposttoolInput, typeof PostizMcpIntegrationscheduleposttoolOutput, typeof postizMcp.credential>;
62
36
  //#endregion
63
37
  export { postizMcpIntegrationscheduleposttool };
64
38
  //# sourceMappingURL=integrationscheduleposttool.d.mts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"integrationscheduleposttool.d.mts","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAS1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const postizMcpIntegrationscheduleposttool = action("POSTIZ_MCP_INTEGRATIONSCHEDULEPOSTTOOL", {
@@ -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 = 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"}
1
+ {"version":3,"file":"integrationscheduleposttool.mjs","names":[],"sources":["../../src/actions/integrationscheduleposttool.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\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: AppAction<\n typeof PostizMcpIntegrationscheduleposttoolInput,\n typeof PostizMcpIntegrationscheduleposttoolOutput,\n typeof postizMcp.credential\n> = 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":";;;AAgCA,MAAa,uCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCuD,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,CAkBS;CACP,QAlBwD,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,CAWU;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/integrationschema.ts
@@ -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 = 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
+ {"version":3,"file":"integrationschema.cjs","names":["z","action"],"sources":["../../src/actions/integrationschema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\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: AppAction<\n typeof PostizMcpIntegrationschemaInput,\n typeof PostizMcpIntegrationschemaOutput,\n typeof postizMcp.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/integrationschema.d.ts
@@ -21,22 +23,7 @@ declare const PostizMcpIntegrationschemaOutput: z.ZodObject<{
21
23
  maxLength: z.ZodNullable<z.ZodNumber>;
22
24
  }, z.core.$strip>;
23
25
  }, 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<"postiz_mcp", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
26
+ declare const postizMcpIntegrationschema: AppAction<typeof PostizMcpIntegrationschemaInput, typeof PostizMcpIntegrationschemaOutput, typeof postizMcp.credential>;
40
27
  //#endregion
41
28
  export { postizMcpIntegrationschema };
42
29
  //# sourceMappingURL=integrationschema.d.cts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"integrationschema.d.cts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/integrationschema.d.ts
@@ -21,22 +23,7 @@ declare const PostizMcpIntegrationschemaOutput: z.ZodObject<{
21
23
  maxLength: z.ZodNullable<z.ZodNumber>;
22
24
  }, z.core.$strip>;
23
25
  }, 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<"postiz_mcp", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
26
+ declare const postizMcpIntegrationschema: AppAction<typeof PostizMcpIntegrationschemaInput, typeof PostizMcpIntegrationschemaOutput, typeof postizMcp.credential>;
40
27
  //#endregion
41
28
  export { postizMcpIntegrationschema };
42
29
  //# sourceMappingURL=integrationschema.d.mts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"integrationschema.d.mts","names":[],"sources":["../../src/actions/integrationschema.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const postizMcpIntegrationschema = action("POSTIZ_MCP_INTEGRATIONSCHEMA", {
@@ -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 = 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
+ {"version":3,"file":"integrationschema.mjs","names":[],"sources":["../../src/actions/integrationschema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\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: AppAction<\n typeof PostizMcpIntegrationschemaInput,\n typeof PostizMcpIntegrationschemaOutput,\n typeof postizMcp.credential\n> = 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":";;;AA2BA,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qTAAqT;EACnV,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAClF,CA0BS;CACP,QA1B8C,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,CAWU;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/triggertool.ts
@@ -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 = 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.record(z.string(), z.unknown())),\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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,EACnD,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"triggertool.cjs","names":["z","action"],"sources":["../../src/actions/triggertool.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\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.record(z.string(), z.unknown())),\n});\n\nexport const postizMcpTriggertool: AppAction<\n typeof PostizMcpTriggertoolInput,\n typeof PostizMcpTriggertoolOutput,\n typeof postizMcp.credential\n> = 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":";;;;AAMA,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,EACnD,CAAC;AAED,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/triggertool.d.ts
@@ -12,26 +14,7 @@ declare const PostizMcpTriggertoolInput: z.ZodObject<{
12
14
  declare const PostizMcpTriggertoolOutput: z.ZodObject<{
13
15
  output: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
16
  }, 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<"postiz_mcp", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const postizMcpTriggertool: AppAction<typeof PostizMcpTriggertoolInput, typeof PostizMcpTriggertoolOutput, typeof postizMcp.credential>;
35
18
  //#endregion
36
19
  export { postizMcpTriggertool };
37
20
  //# sourceMappingURL=triggertool.d.cts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"triggertool.d.cts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/triggertool.d.ts
@@ -12,26 +14,7 @@ declare const PostizMcpTriggertoolInput: z.ZodObject<{
12
14
  declare const PostizMcpTriggertoolOutput: z.ZodObject<{
13
15
  output: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
16
  }, 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<"postiz_mcp", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const postizMcpTriggertool: AppAction<typeof PostizMcpTriggertoolInput, typeof PostizMcpTriggertoolOutput, typeof postizMcp.credential>;
35
18
  //#endregion
36
19
  export { postizMcpTriggertool };
37
20
  //# sourceMappingURL=triggertool.d.mts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"triggertool.d.mts","names":[],"sources":["../../src/actions/triggertool.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const postizMcpTriggertool = action("POSTIZ_MCP_TRIGGERTOOL", {
@@ -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 = 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.record(z.string(), z.unknown())),\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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,EACnD,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"triggertool.mjs","names":[],"sources":["../../src/actions/triggertool.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\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.record(z.string(), z.unknown())),\n});\n\nexport const postizMcpTriggertool: AppAction<\n typeof PostizMcpTriggertoolInput,\n typeof PostizMcpTriggertoolOutput,\n typeof postizMcp.credential\n> = 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":";;;AAkBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,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,CAaS;CACP,QAbwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,EACnD,CAWU;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/videofunctiontool.ts
@@ -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 = 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
+ {"version":3,"file":"videofunctiontool.cjs","names":["z","action"],"sources":["../../src/actions/videofunctiontool.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\n\nexport const PostizMcpVideofunctiontoolInput = z.object({\n identifier: z.string(),\n functionName: z.string(),\n});\nexport const PostizMcpVideofunctiontoolOutput = z.unknown();\n\nexport const postizMcpVideofunctiontool: AppAction<\n typeof PostizMcpVideofunctiontoolInput,\n typeof PostizMcpVideofunctiontoolOutput,\n typeof postizMcp.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/videofunctiontool.d.ts
@@ -6,22 +8,7 @@ declare const PostizMcpVideofunctiontoolInput: z.ZodObject<{
6
8
  functionName: z.ZodString;
7
9
  }, z.core.$strip>;
8
10
  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<"postiz_mcp", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
11
+ declare const postizMcpVideofunctiontool: AppAction<typeof PostizMcpVideofunctiontoolInput, typeof PostizMcpVideofunctiontoolOutput, typeof postizMcp.credential>;
25
12
  //#endregion
26
13
  export { postizMcpVideofunctiontool };
27
14
  //# sourceMappingURL=videofunctiontool.d.cts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"videofunctiontool.d.cts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { postizMcp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/videofunctiontool.d.ts
@@ -6,22 +8,7 @@ declare const PostizMcpVideofunctiontoolInput: z.ZodObject<{
6
8
  functionName: z.ZodString;
7
9
  }, z.core.$strip>;
8
10
  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<"postiz_mcp", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
11
+ declare const postizMcpVideofunctiontool: AppAction<typeof PostizMcpVideofunctiontoolInput, typeof PostizMcpVideofunctiontoolOutput, typeof postizMcp.credential>;
25
12
  //#endregion
26
13
  export { postizMcpVideofunctiontool };
27
14
  //# sourceMappingURL=videofunctiontool.d.mts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"videofunctiontool.d.mts","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const postizMcpVideofunctiontool = action("POSTIZ_MCP_VIDEOFUNCTIONTOOL", {
@@ -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 = 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"}
1
+ {"version":3,"file":"videofunctiontool.mjs","names":[],"sources":["../../src/actions/videofunctiontool.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postizMcp } from \"../app\";\n\nexport const PostizMcpVideofunctiontoolInput = z.object({\n identifier: z.string(),\n functionName: z.string(),\n});\nexport const PostizMcpVideofunctiontoolOutput = z.unknown();\n\nexport const postizMcpVideofunctiontool: AppAction<\n typeof PostizMcpVideofunctiontoolInput,\n typeof PostizMcpVideofunctiontoolOutput,\n typeof postizMcp.credential\n> = 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":";;;AAYA,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,OAAO;CACzB,CAWS;CACP,QAX8C,EAAE,QAWxC;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const postizMcp = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "postiz_mcp",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.postizMcp = postizMcp;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const postizMcp = defineApp({\n slug: \"postiz_mcp\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const postizMcp: KeystrokeApp<\"postiz_mcp\", typeof credential> = defineApp({\n slug: \"postiz_mcp\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAqE;CAChF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const postizMcp: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const postizMcp: KeystrokeApp<"postiz_mcp", typeof credential>;
11
9
  //#endregion
12
10
  export { postizMcp };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const postizMcp: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"postiz_mcp", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const postizMcp: KeystrokeApp<"postiz_mcp", typeof credential>;
11
9
  //#endregion
12
10
  export { postizMcp };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,sBAAsB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const postizMcp = defineApp({
5
4
  slug: "postiz_mcp",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const postizMcp = defineApp({\n slug: \"postiz_mcp\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const postizMcp: KeystrokeApp<\"postiz_mcp\", typeof credential> = defineApp({\n slug: \"postiz_mcp\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA2D,UAAU;CAChF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { postizMcp } from "./app.cjs";
1
2
  import { postizMcpAskPostiz } from "./actions/ask-postiz.cjs";
2
3
  import { postizMcpGenerateimagetool } from "./actions/generateimagetool.cjs";
3
4
  import { postizMcpGeneratevideooptions } from "./actions/generatevideooptions.cjs";
@@ -7,6 +8,5 @@ import { postizMcpIntegrationscheduleposttool } from "./actions/integrationsched
7
8
  import { postizMcpIntegrationschema } from "./actions/integrationschema.cjs";
8
9
  import { postizMcpTriggertool } from "./actions/triggertool.cjs";
9
10
  import { postizMcpVideofunctiontool } from "./actions/videofunctiontool.cjs";
10
- import { postizMcp } from "./app.cjs";
11
11
  import { postizMcpCatalog } from "./catalog.cjs";
12
12
  export { postizMcp, postizMcpAskPostiz, postizMcpCatalog, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { postizMcp } from "./app.mjs";
1
2
  import { postizMcpAskPostiz } from "./actions/ask-postiz.mjs";
2
3
  import { postizMcpGenerateimagetool } from "./actions/generateimagetool.mjs";
3
4
  import { postizMcpGeneratevideooptions } from "./actions/generatevideooptions.mjs";
@@ -7,6 +8,5 @@ import { postizMcpIntegrationscheduleposttool } from "./actions/integrationsched
7
8
  import { postizMcpIntegrationschema } from "./actions/integrationschema.mjs";
8
9
  import { postizMcpTriggertool } from "./actions/triggertool.mjs";
9
10
  import { postizMcpVideofunctiontool } from "./actions/videofunctiontool.mjs";
10
- import { postizMcp } from "./app.mjs";
11
11
  import { postizMcpCatalog } from "./catalog.mjs";
12
12
  export { postizMcp, postizMcpAskPostiz, postizMcpCatalog, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/postiz_mcp",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
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": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {