@keystrokehq/postiz_mcp 0.1.4 → 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 -3
  6. package/dist/actions/ask-postiz.d.cts.map +1 -1
  7. package/dist/actions/ask-postiz.d.mts +3 -3
  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 -3
  14. package/dist/actions/generateimagetool.d.cts.map +1 -1
  15. package/dist/actions/generateimagetool.d.mts +3 -3
  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 -1
  22. package/dist/actions/generatevideooptions.d.cts.map +1 -1
  23. package/dist/actions/generatevideooptions.d.mts +3 -1
  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 -8
  30. package/dist/actions/generatevideotool.d.cts.map +1 -1
  31. package/dist/actions/generatevideotool.d.mts +3 -8
  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 -1
  38. package/dist/actions/integrationlist.d.cts.map +1 -1
  39. package/dist/actions/integrationlist.d.mts +3 -1
  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 -17
  46. package/dist/actions/integrationscheduleposttool.d.cts.map +1 -1
  47. package/dist/actions/integrationscheduleposttool.d.mts +3 -17
  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 -4
  54. package/dist/actions/integrationschema.d.cts.map +1 -1
  55. package/dist/actions/integrationschema.d.mts +3 -4
  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 -8
  62. package/dist/actions/triggertool.d.cts.map +1 -1
  63. package/dist/actions/triggertool.d.mts +3 -8
  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 -4
  70. package/dist/actions/videofunctiontool.d.cts.map +1 -1
  71. package/dist/actions/videofunctiontool.d.mts +3 -4
  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 +5 -2
  76. package/dist/app.cjs.map +1 -1
  77. package/dist/app.d.cts +7 -1
  78. package/dist/app.d.cts.map +1 -1
  79. package/dist/app.d.mts +7 -1
  80. package/dist/app.d.mts.map +1 -1
  81. package/dist/app.mjs +3 -2
  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 +1 @@
1
- {"version":3,"file":"action.cjs","names":["postizMcp","executePostizMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return postizMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePostizMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["postizMcp","executePostizMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof postizMcp.credential> {\n return postizMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePostizMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return postizMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePostizMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof postizMcp.credential> {\n return postizMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePostizMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -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/ask-postiz.ts
@@ -1 +1 @@
1
- {"version":3,"file":"ask-postiz.cjs","names":["z","action"],"sources":["../../src/actions/ask-postiz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpAskPostizInput = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput = z.unknown();\n\nexport const postizMcpAskPostiz = action(\"POSTIZ_MCP_ASK_POSTIZ\", {\n slug: \"postiz_mcp-ask-postiz\",\n name: \"Ask postiz\",\n description: \"Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users\",\n input: PostizMcpAskPostizInput,\n output: PostizMcpAskPostizOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,QAAQ;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"ask-postiz.cjs","names":["z","action"],"sources":["../../src/actions/ask-postiz.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 PostizMcpAskPostizInput = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput = z.unknown();\n\nexport const postizMcpAskPostiz: AppAction<\n typeof PostizMcpAskPostizInput,\n typeof PostizMcpAskPostizOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_ASK_POSTIZ\", {\n slug: \"postiz_mcp-ask-postiz\",\n name: \"Ask postiz\",\n description: \"Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users\",\n input: PostizMcpAskPostizInput,\n output: PostizMcpAskPostizOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,QAAQ;AAElD,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/ask-postiz.d.ts
@@ -5,9 +7,7 @@ declare const PostizMcpAskPostizInput: z.ZodObject<{
5
7
  message: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PostizMcpAskPostizOutput: z.ZodUnknown;
8
- declare const postizMcpAskPostiz: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- message: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const postizMcpAskPostiz: AppAction<typeof PostizMcpAskPostizInput, typeof PostizMcpAskPostizOutput, typeof postizMcp.credential>;
11
11
  //#endregion
12
12
  export { postizMcpAskPostiz };
13
13
  //# sourceMappingURL=ask-postiz.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ask-postiz.d.cts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"ask-postiz.d.cts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/ask-postiz.d.ts
@@ -5,9 +7,7 @@ declare const PostizMcpAskPostizInput: z.ZodObject<{
5
7
  message: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PostizMcpAskPostizOutput: z.ZodUnknown;
8
- declare const postizMcpAskPostiz: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- message: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const postizMcpAskPostiz: AppAction<typeof PostizMcpAskPostizInput, typeof PostizMcpAskPostizOutput, typeof postizMcp.credential>;
11
11
  //#endregion
12
12
  export { postizMcpAskPostiz };
13
13
  //# sourceMappingURL=ask-postiz.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ask-postiz.d.mts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"ask-postiz.d.mts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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 postizMcpAskPostiz = action("POSTIZ_MCP_ASK_POSTIZ", {
@@ -1 +1 @@
1
- {"version":3,"file":"ask-postiz.mjs","names":[],"sources":["../../src/actions/ask-postiz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpAskPostizInput = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput = z.unknown();\n\nexport const postizMcpAskPostiz = action(\"POSTIZ_MCP_ASK_POSTIZ\", {\n slug: \"postiz_mcp-ask-postiz\",\n name: \"Ask postiz\",\n description: \"Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users\",\n input: PostizMcpAskPostizInput,\n output: PostizMcpAskPostizOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAOS;CACP,QAPsC,EAAE,QAOhC;AACV,CAAC"}
1
+ {"version":3,"file":"ask-postiz.mjs","names":[],"sources":["../../src/actions/ask-postiz.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 PostizMcpAskPostizInput = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput = z.unknown();\n\nexport const postizMcpAskPostiz: AppAction<\n typeof PostizMcpAskPostizInput,\n typeof PostizMcpAskPostizOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_ASK_POSTIZ\", {\n slug: \"postiz_mcp-ask-postiz\",\n name: \"Ask postiz\",\n description: \"Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users\",\n input: PostizMcpAskPostizInput,\n output: PostizMcpAskPostizOutput,\n});\n"],"mappings":";;;AAWA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAWS;CACP,QAXsC,EAAE,QAWhC;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/generateimagetool.ts
@@ -1 +1 @@
1
- {"version":3,"file":"generateimagetool.cjs","names":["z","action"],"sources":["../../src/actions/generateimagetool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGenerateimagetoolInput = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput = z.object({\n id: z.string().nullable(),\n path: z.string().nullable(),\n});\n\nexport const postizMcpGenerateimagetool = action(\"POSTIZ_MCP_GENERATEIMAGETOOL\", {\n slug: \"postiz_mcp-generateimagetool\",\n name: \"Generateimagetool\",\n description: \"Generate image to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\",\n input: PostizMcpGenerateimagetoolInput,\n output: PostizMcpGenerateimagetoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,EACnB,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"generateimagetool.cjs","names":["z","action"],"sources":["../../src/actions/generateimagetool.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 PostizMcpGenerateimagetoolInput = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput = z.object({\n id: z.string().nullable(),\n path: z.string().nullable(),\n});\n\nexport const postizMcpGenerateimagetool: AppAction<\n typeof PostizMcpGenerateimagetoolInput,\n typeof PostizMcpGenerateimagetoolOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_GENERATEIMAGETOOL\", {\n slug: \"postiz_mcp-generateimagetool\",\n name: \"Generateimagetool\",\n description: \"Generate image to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\",\n input: PostizMcpGenerateimagetoolInput,\n output: PostizMcpGenerateimagetoolOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,EACnB,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,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/generateimagetool.d.ts
@@ -8,9 +10,7 @@ declare const PostizMcpGenerateimagetoolOutput: z.ZodObject<{
8
10
  id: z.ZodNullable<z.ZodString>;
9
11
  path: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$strip>;
11
- declare const postizMcpGenerateimagetool: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- prompt: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const postizMcpGenerateimagetool: AppAction<typeof PostizMcpGenerateimagetoolInput, typeof PostizMcpGenerateimagetoolOutput, typeof postizMcp.credential>;
14
14
  //#endregion
15
15
  export { postizMcpGenerateimagetool };
16
16
  //# sourceMappingURL=generateimagetool.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateimagetool.d.cts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"generateimagetool.d.cts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,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/generateimagetool.d.ts
@@ -8,9 +10,7 @@ declare const PostizMcpGenerateimagetoolOutput: z.ZodObject<{
8
10
  id: z.ZodNullable<z.ZodString>;
9
11
  path: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$strip>;
11
- declare const postizMcpGenerateimagetool: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- prompt: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const postizMcpGenerateimagetool: AppAction<typeof PostizMcpGenerateimagetoolInput, typeof PostizMcpGenerateimagetoolOutput, typeof postizMcp.credential>;
14
14
  //#endregion
15
15
  export { postizMcpGenerateimagetool };
16
16
  //# sourceMappingURL=generateimagetool.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateimagetool.d.mts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"generateimagetool.d.mts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,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 postizMcpGenerateimagetool = action("POSTIZ_MCP_GENERATEIMAGETOOL", {
@@ -1 +1 @@
1
- {"version":3,"file":"generateimagetool.mjs","names":[],"sources":["../../src/actions/generateimagetool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGenerateimagetoolInput = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput = z.object({\n id: z.string().nullable(),\n path: z.string().nullable(),\n});\n\nexport const postizMcpGenerateimagetool = action(\"POSTIZ_MCP_GENERATEIMAGETOOL\", {\n slug: \"postiz_mcp-generateimagetool\",\n name: \"Generateimagetool\",\n description: \"Generate image to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\",\n input: PostizMcpGenerateimagetoolInput,\n output: PostizMcpGenerateimagetoolOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EACnB,CAUS;CACP,QAV8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"generateimagetool.mjs","names":[],"sources":["../../src/actions/generateimagetool.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 PostizMcpGenerateimagetoolInput = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput = z.object({\n id: z.string().nullable(),\n path: z.string().nullable(),\n});\n\nexport const postizMcpGenerateimagetool: AppAction<\n typeof PostizMcpGenerateimagetoolInput,\n typeof PostizMcpGenerateimagetoolOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_GENERATEIMAGETOOL\", {\n slug: \"postiz_mcp-generateimagetool\",\n name: \"Generateimagetool\",\n description: \"Generate image to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\",\n input: PostizMcpGenerateimagetoolInput,\n output: PostizMcpGenerateimagetoolOutput,\n});\n"],"mappings":";;;AAcA,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EACnB,CAcS;CACP,QAd8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,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/generatevideooptions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideooptions.cjs","names":["z","action"],"sources":["../../src/actions/generatevideooptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideooptionsInput = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput = z.object({\n video: z.array(z.object({\n type: z.string().nullable(),\n tools: z.array(z.object({\n output: z.string().nullable(),\n functionName: z.string().nullable(),\n})),\n output: z.string().nullable(),\n customParams: z.unknown().nullable().optional(),\n})),\n});\n\nexport const postizMcpGeneratevideooptions = action(\"POSTIZ_MCP_GENERATEVIDEOOPTIONS\", {\n slug: \"postiz_mcp-generatevideooptions\",\n name: \"Generatevideooptions\",\n description: \"All the options to generate videos, some tools might require another call to generateVideoFunction\",\n input: PostizMcpGeneratevideooptionsInput,\n output: PostizMcpGeneratevideooptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACpC,CAAC,CAAC;CACA,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChD,CAAC,CAAC,EACF,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,mCAAmC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"generatevideooptions.cjs","names":["z","action"],"sources":["../../src/actions/generatevideooptions.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 PostizMcpGeneratevideooptionsInput = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput = z.object({\n video: z.array(z.object({\n type: z.string().nullable(),\n tools: z.array(z.object({\n output: z.string().nullable(),\n functionName: z.string().nullable(),\n})),\n output: z.string().nullable(),\n customParams: z.unknown().nullable().optional(),\n})),\n});\n\nexport const postizMcpGeneratevideooptions: AppAction<\n typeof PostizMcpGeneratevideooptionsInput,\n typeof PostizMcpGeneratevideooptionsOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_GENERATEVIDEOOPTIONS\", {\n slug: \"postiz_mcp-generatevideooptions\",\n name: \"Generatevideooptions\",\n description: \"All the options to generate videos, some tools might require another call to generateVideoFunction\",\n input: PostizMcpGeneratevideooptionsInput,\n output: PostizMcpGeneratevideooptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACpC,CAAC,CAAC;CACA,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChD,CAAC,CAAC,EACF,CAAC;AAED,MAAa,gCAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/generatevideooptions.d.ts
@@ -13,7 +15,7 @@ declare const PostizMcpGeneratevideooptionsOutput: z.ZodObject<{
13
15
  customParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
14
16
  }, z.core.$strip>>;
15
17
  }, z.core.$strip>;
16
- declare const postizMcpGeneratevideooptions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const postizMcpGeneratevideooptions: AppAction<typeof PostizMcpGeneratevideooptionsInput, typeof PostizMcpGeneratevideooptionsOutput, typeof postizMcp.credential>;
17
19
  //#endregion
18
20
  export { postizMcpGeneratevideooptions };
19
21
  //# sourceMappingURL=generatevideooptions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideooptions.d.cts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"generatevideooptions.d.cts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/generatevideooptions.d.ts
@@ -13,7 +15,7 @@ declare const PostizMcpGeneratevideooptionsOutput: z.ZodObject<{
13
15
  customParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
14
16
  }, z.core.$strip>>;
15
17
  }, z.core.$strip>;
16
- declare const postizMcpGeneratevideooptions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const postizMcpGeneratevideooptions: AppAction<typeof PostizMcpGeneratevideooptionsInput, typeof PostizMcpGeneratevideooptionsOutput, typeof postizMcp.credential>;
17
19
  //#endregion
18
20
  export { postizMcpGeneratevideooptions };
19
21
  //# sourceMappingURL=generatevideooptions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideooptions.d.mts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"generatevideooptions.d.mts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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 postizMcpGeneratevideooptions = action("POSTIZ_MCP_GENERATEVIDEOOPTIONS", {
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideooptions.mjs","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideooptionsInput = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput = z.object({\n video: z.array(z.object({\n type: z.string().nullable(),\n tools: z.array(z.object({\n output: z.string().nullable(),\n functionName: z.string().nullable(),\n})),\n output: z.string().nullable(),\n customParams: z.unknown().nullable().optional(),\n})),\n});\n\nexport const postizMcpGeneratevideooptions = action(\"POSTIZ_MCP_GENERATEVIDEOOPTIONS\", {\n slug: \"postiz_mcp-generatevideooptions\",\n name: \"Generatevideooptions\",\n description: \"All the options to generate videos, some tools might require another call to generateVideoFunction\",\n input: PostizMcpGeneratevideooptionsInput,\n output: PostizMcpGeneratevideooptionsOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,mCAAmC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO,CAAC,CAiBnD;CACP,QAjBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;GAC5B,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS;EACpC,CAAC,CAAC;EACA,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChD,CAAC,CAAC,EACF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"generatevideooptions.mjs","names":[],"sources":["../../src/actions/generatevideooptions.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 PostizMcpGeneratevideooptionsInput = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput = z.object({\n video: z.array(z.object({\n type: z.string().nullable(),\n tools: z.array(z.object({\n output: z.string().nullable(),\n functionName: z.string().nullable(),\n})),\n output: z.string().nullable(),\n customParams: z.unknown().nullable().optional(),\n})),\n});\n\nexport const postizMcpGeneratevideooptions: AppAction<\n typeof PostizMcpGeneratevideooptionsInput,\n typeof PostizMcpGeneratevideooptionsOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_GENERATEVIDEOOPTIONS\", {\n slug: \"postiz_mcp-generatevideooptions\",\n name: \"Generatevideooptions\",\n description: \"All the options to generate videos, some tools might require another call to generateVideoFunction\",\n input: PostizMcpGeneratevideooptionsInput,\n output: PostizMcpGeneratevideooptionsOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,gCAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBgD,EAAE,OAAO,CAAC,CAqBnD;CACP,QArBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;GAC5B,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS;EACpC,CAAC,CAAC;EACA,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChD,CAAC,CAAC,EACF,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/generatevideotool.ts
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideotool.cjs","names":["z","action"],"sources":["../../src/actions/generatevideotool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideotoolInput = z.object({\n output: z.enum([\"vertical\", \"horizontal\"]),\n identifier: z.string(),\n customParams: 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\").optional(),\n})),\n});\nexport const PostizMcpGeneratevideotoolOutput = z.object({\n url: z.string().nullable(),\n});\n\nexport const postizMcpGeneratevideotool = action(\"POSTIZ_MCP_GENERATEVIDEOTOOL\", {\n slug: \"postiz_mcp-generatevideotool\",\n name: \"Generatevideotool\",\n description: \"Generate video to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\\n In many cases 'videoFunctionTool' will need to be called first, to get things like voice id\\n Here are the type of video that can be generated:\\n -Image Text Slides\\n-Veo3 (Audio + Video)\",\n input: PostizMcpGeneratevideotoolInput,\n output: PostizMcpGeneratevideotoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC;CACzC,YAAYA,IAAAA,EAAE,OAAO;CACrB,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC/B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,CAAC,CAAC;AACF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,EAC3B,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"generatevideotool.cjs","names":["z","action"],"sources":["../../src/actions/generatevideotool.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 PostizMcpGeneratevideotoolInput = z.object({\n output: z.enum([\"vertical\", \"horizontal\"]),\n identifier: z.string(),\n customParams: 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\").optional(),\n})),\n});\nexport const PostizMcpGeneratevideotoolOutput = z.object({\n url: z.string().nullable(),\n});\n\nexport const postizMcpGeneratevideotool: AppAction<\n typeof PostizMcpGeneratevideotoolInput,\n typeof PostizMcpGeneratevideotoolOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_GENERATEVIDEOTOOL\", {\n slug: \"postiz_mcp-generatevideotool\",\n name: \"Generatevideotool\",\n description: \"Generate video to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\\n In many cases 'videoFunctionTool' will need to be called first, to get things like voice id\\n Here are the type of video that can be generated:\\n -Image Text Slides\\n-Veo3 (Audio + Video)\",\n input: PostizMcpGeneratevideotoolInput,\n output: PostizMcpGeneratevideotoolOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC;CACzC,YAAYA,IAAAA,EAAE,OAAO;CACrB,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC/B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,CAAC,CAAC;AACF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,EAC3B,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/generatevideotool.d.ts
@@ -15,14 +17,7 @@ declare const PostizMcpGeneratevideotoolInput: z.ZodObject<{
15
17
  declare const PostizMcpGeneratevideotoolOutput: z.ZodObject<{
16
18
  url: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$strip>;
18
- declare const postizMcpGeneratevideotool: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- output: "vertical" | "horizontal";
20
- identifier: string;
21
- customParams: {
22
- key: string;
23
- value?: unknown;
24
- }[];
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const postizMcpGeneratevideotool: AppAction<typeof PostizMcpGeneratevideotoolInput, typeof PostizMcpGeneratevideotoolOutput, typeof postizMcp.credential>;
26
21
  //#endregion
27
22
  export { postizMcpGeneratevideotool };
28
23
  //# sourceMappingURL=generatevideotool.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideotool.d.cts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"generatevideotool.d.cts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,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/generatevideotool.d.ts
@@ -15,14 +17,7 @@ declare const PostizMcpGeneratevideotoolInput: z.ZodObject<{
15
17
  declare const PostizMcpGeneratevideotoolOutput: z.ZodObject<{
16
18
  url: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$strip>;
18
- declare const postizMcpGeneratevideotool: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- output: "vertical" | "horizontal";
20
- identifier: string;
21
- customParams: {
22
- key: string;
23
- value?: unknown;
24
- }[];
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const postizMcpGeneratevideotool: AppAction<typeof PostizMcpGeneratevideotoolInput, typeof PostizMcpGeneratevideotoolOutput, typeof postizMcp.credential>;
26
21
  //#endregion
27
22
  export { postizMcpGeneratevideotool };
28
23
  //# sourceMappingURL=generatevideotool.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideotool.d.mts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"generatevideotool.d.mts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,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 postizMcpGeneratevideotool = action("POSTIZ_MCP_GENERATEVIDEOTOOL", {
@@ -1 +1 @@
1
- {"version":3,"file":"generatevideotool.mjs","names":[],"sources":["../../src/actions/generatevideotool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideotoolInput = z.object({\n output: z.enum([\"vertical\", \"horizontal\"]),\n identifier: z.string(),\n customParams: 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\").optional(),\n})),\n});\nexport const PostizMcpGeneratevideotoolOutput = z.object({\n url: z.string().nullable(),\n});\n\nexport const postizMcpGeneratevideotool = action(\"POSTIZ_MCP_GENERATEVIDEOTOOL\", {\n slug: \"postiz_mcp-generatevideotool\",\n name: \"Generatevideotool\",\n description: \"Generate video to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\\n In many cases 'videoFunctionTool' will need to be called first, to get things like voice id\\n Here are the type of video that can be generated:\\n -Image Text Slides\\n-Veo3 (Audio + Video)\",\n input: PostizMcpGeneratevideotoolInput,\n output: PostizMcpGeneratevideotoolOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC;EACzC,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,MAAM,EAAE,OAAO;GAC/B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GAC3D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC3D,CAAC,CAAC;CACF,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,EAC3B,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"generatevideotool.mjs","names":[],"sources":["../../src/actions/generatevideotool.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 PostizMcpGeneratevideotoolInput = z.object({\n output: z.enum([\"vertical\", \"horizontal\"]),\n identifier: z.string(),\n customParams: 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\").optional(),\n})),\n});\nexport const PostizMcpGeneratevideotoolOutput = z.object({\n url: z.string().nullable(),\n});\n\nexport const postizMcpGeneratevideotool: AppAction<\n typeof PostizMcpGeneratevideotoolInput,\n typeof PostizMcpGeneratevideotoolOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_GENERATEVIDEOTOOL\", {\n slug: \"postiz_mcp-generatevideotool\",\n name: \"Generatevideotool\",\n description: \"Generate video to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\\n In many cases 'videoFunctionTool' will need to be called first, to get things like voice id\\n Here are the type of video that can be generated:\\n -Image Text Slides\\n-Veo3 (Audio + Video)\",\n input: PostizMcpGeneratevideotoolInput,\n output: PostizMcpGeneratevideotoolOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC;EACzC,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,MAAM,EAAE,OAAO;GAC/B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GAC3D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC3D,CAAC,CAAC;CACF,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,EAC3B,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/integrationlist.ts
@@ -1 +1 @@
1
- {"version":3,"file":"integrationlist.cjs","names":["z","action"],"sources":["../../src/actions/integrationlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationlistInput = z.object({});\nexport const PostizMcpIntegrationlistOutput = z.object({\n output: z.array(z.object({\n id: z.string().nullable(),\n name: z.string().nullable(),\n picture: z.string().nullable(),\n platform: z.string().nullable(),\n})),\n});\n\nexport const postizMcpIntegrationlist = action(\"POSTIZ_MCP_INTEGRATIONLIST\", {\n slug: \"postiz_mcp-integrationlist\",\n name: \"Integrationlist\",\n description: \"This tool list available integrations to schedule posts to\",\n input: PostizMcpIntegrationlistInput,\n output: PostizMcpIntegrationlistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC7B,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,EACF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"integrationlist.cjs","names":["z","action"],"sources":["../../src/actions/integrationlist.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 PostizMcpIntegrationlistInput = z.object({});\nexport const PostizMcpIntegrationlistOutput = z.object({\n output: z.array(z.object({\n id: z.string().nullable(),\n name: z.string().nullable(),\n picture: z.string().nullable(),\n platform: z.string().nullable(),\n})),\n});\n\nexport const postizMcpIntegrationlist: AppAction<\n typeof PostizMcpIntegrationlistInput,\n typeof PostizMcpIntegrationlistOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_INTEGRATIONLIST\", {\n slug: \"postiz_mcp-integrationlist\",\n name: \"Integrationlist\",\n description: \"This tool list available integrations to schedule posts to\",\n input: PostizMcpIntegrationlistInput,\n output: PostizMcpIntegrationlistOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC7B,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,EACF,CAAC;AAED,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/integrationlist.d.ts
@@ -10,7 +12,7 @@ declare const PostizMcpIntegrationlistOutput: z.ZodObject<{
10
12
  platform: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$strip>>;
12
14
  }, z.core.$strip>;
13
- declare const postizMcpIntegrationlist: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const postizMcpIntegrationlist: AppAction<typeof PostizMcpIntegrationlistInput, typeof PostizMcpIntegrationlistOutput, typeof postizMcp.credential>;
14
16
  //#endregion
15
17
  export { postizMcpIntegrationlist };
16
18
  //# sourceMappingURL=integrationlist.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"integrationlist.d.cts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"integrationlist.d.cts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/integrationlist.d.ts
@@ -10,7 +12,7 @@ declare const PostizMcpIntegrationlistOutput: z.ZodObject<{
10
12
  platform: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$strip>>;
12
14
  }, z.core.$strip>;
13
- declare const postizMcpIntegrationlist: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const postizMcpIntegrationlist: AppAction<typeof PostizMcpIntegrationlistInput, typeof PostizMcpIntegrationlistOutput, typeof postizMcp.credential>;
14
16
  //#endregion
15
17
  export { postizMcpIntegrationlist };
16
18
  //# sourceMappingURL=integrationlist.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"integrationlist.d.mts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"integrationlist.d.mts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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 postizMcpIntegrationlist = action("POSTIZ_MCP_INTEGRATIONLIST", {
@@ -1 +1 @@
1
- {"version":3,"file":"integrationlist.mjs","names":[],"sources":["../../src/actions/integrationlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationlistInput = z.object({});\nexport const PostizMcpIntegrationlistOutput = z.object({\n output: z.array(z.object({\n id: z.string().nullable(),\n name: z.string().nullable(),\n picture: z.string().nullable(),\n platform: z.string().nullable(),\n})),\n});\n\nexport const postizMcpIntegrationlist = action(\"POSTIZ_MCP_INTEGRATIONLIST\", {\n slug: \"postiz_mcp-integrationlist\",\n name: \"Integrationlist\",\n description: \"This tool list available integrations to schedule posts to\",\n input: PostizMcpIntegrationlistInput,\n output: PostizMcpIntegrationlistOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO,CAAC,CAc9C;CACP,QAd4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS;EAC7B,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;CAChC,CAAC,CAAC,EACF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"integrationlist.mjs","names":[],"sources":["../../src/actions/integrationlist.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 PostizMcpIntegrationlistInput = z.object({});\nexport const PostizMcpIntegrationlistOutput = z.object({\n output: z.array(z.object({\n id: z.string().nullable(),\n name: z.string().nullable(),\n picture: z.string().nullable(),\n platform: z.string().nullable(),\n})),\n});\n\nexport const postizMcpIntegrationlist: AppAction<\n typeof PostizMcpIntegrationlistInput,\n typeof PostizMcpIntegrationlistOutput,\n typeof postizMcp.credential\n> = action(\"POSTIZ_MCP_INTEGRATIONLIST\", {\n slug: \"postiz_mcp-integrationlist\",\n name: \"Integrationlist\",\n description: \"This tool list available integrations to schedule posts to\",\n input: PostizMcpIntegrationlistInput,\n output: PostizMcpIntegrationlistOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO,CAAC,CAkB9C;CACP,QAlB4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS;EAC7B,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;CAChC,CAAC,CAAC,EACF,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/integrationscheduleposttool.ts
@@ -1 +1 @@
1
- {"version":3,"file":"integrationscheduleposttool.cjs","names":["z","action"],"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":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;CAAK,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAChI,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACxF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAChF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACnC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;EACjM,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CAC1E,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACvE,CAAC,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC9B,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAClC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AACnC,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACZ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,EAC9B,CAAC,CAAC,CAAC,EACH,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,0CAA0C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"integrationscheduleposttool.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;CAAK,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAChI,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACxF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAChF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACnC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;EACjM,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CAC1E,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACvE,CAAC,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC9B,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAClC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AACnC,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACZ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,EAC9B,CAAC,CAAC,CAAC,EACH,CAAC;AAED,MAAa,uCAITC,eAAAA,OAAO,0CAA0C;CACnD,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/integrationscheduleposttool.d.ts
@@ -30,23 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const postizMcpIntegrationscheduleposttool: AppAction<typeof PostizMcpIntegrationscheduleposttoolInput, typeof PostizMcpIntegrationscheduleposttoolOutput, typeof postizMcp.credential>;
50
36
  //#endregion
51
37
  export { postizMcpIntegrationscheduleposttool };
52
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,23 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const postizMcpIntegrationscheduleposttool: AppAction<typeof PostizMcpIntegrationscheduleposttoolInput, typeof PostizMcpIntegrationscheduleposttoolOutput, typeof postizMcp.credential>;
50
36
  //#endregion
51
37
  export { postizMcpIntegrationscheduleposttool };
52
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const postizMcpIntegrationschema: AppAction<typeof PostizMcpIntegrationschemaInput, typeof PostizMcpIntegrationschemaOutput, typeof postizMcp.credential>;
28
27
  //#endregion
29
28
  export { postizMcpIntegrationschema };
30
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const postizMcpIntegrationschema: AppAction<typeof PostizMcpIntegrationschemaInput, typeof PostizMcpIntegrationschemaOutput, typeof postizMcp.credential>;
28
27
  //#endregion
29
28
  export { postizMcpIntegrationschema };
30
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,14 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const postizMcpTriggertool: AppAction<typeof PostizMcpTriggertoolInput, typeof PostizMcpTriggertoolOutput, typeof postizMcp.credential>;
23
18
  //#endregion
24
19
  export { postizMcpTriggertool };
25
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,14 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const postizMcpTriggertool: AppAction<typeof PostizMcpTriggertoolInput, typeof PostizMcpTriggertoolOutput, typeof postizMcp.credential>;
23
18
  //#endregion
24
19
  export { postizMcpTriggertool };
25
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const postizMcpVideofunctiontool: AppAction<typeof PostizMcpVideofunctiontoolInput, typeof PostizMcpVideofunctiontoolOutput, typeof postizMcp.credential>;
13
12
  //#endregion
14
13
  export { postizMcpVideofunctiontool };
15
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const postizMcpVideofunctiontool: AppAction<typeof PostizMcpVideofunctiontoolInput, typeof PostizMcpVideofunctiontoolOutput, typeof postizMcp.credential>;
13
12
  //#endregion
14
13
  export { postizMcpVideofunctiontool };
15
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,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const postizMcp = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const postizMcp = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "postiz_mcp",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.postizMcp = postizMcp;
package/dist/app.cjs.map CHANGED
@@ -1 +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"}
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,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const postizMcp: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const postizMcp: KeystrokeApp<"postiz_mcp", typeof credential>;
3
9
  //#endregion
4
10
  export { postizMcp };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
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,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const postizMcp: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const postizMcp: KeystrokeApp<"postiz_mcp", typeof credential>;
3
9
  //#endregion
4
10
  export { postizMcp };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
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,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const postizMcp = defineApp({
4
4
  slug: "postiz_mcp",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { postizMcp };
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\";\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"}
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.4",
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": {