@keystrokehq/postiz_mcp 0.1.2 → 0.1.3
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.
|
@@ -9,7 +9,7 @@ const PostizMcpTriggertoolInput = zod.z.object({
|
|
|
9
9
|
methodName: zod.z.string().describe("The methodName from the `integrationSchema` functions in the tools array, required"),
|
|
10
10
|
integrationId: zod.z.string().describe("The id of the integration")
|
|
11
11
|
});
|
|
12
|
-
const PostizMcpTriggertoolOutput = zod.z.object({ output: zod.z.array(zod.z.
|
|
12
|
+
const PostizMcpTriggertoolOutput = zod.z.object({ output: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())) });
|
|
13
13
|
const postizMcpTriggertool = require_action.action("POSTIZ_MCP_TRIGGERTOOL", {
|
|
14
14
|
slug: "postiz_mcp-triggertool",
|
|
15
15
|
name: "Triggertool",
|
|
@@ -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.
|
|
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"}
|
|
@@ -10,7 +10,7 @@ declare const PostizMcpTriggertoolInput: z.ZodObject<{
|
|
|
10
10
|
integrationId: z.ZodString;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const PostizMcpTriggertoolOutput: z.ZodObject<{
|
|
13
|
-
output: z.ZodArray<z.
|
|
13
|
+
output: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const postizMcpTriggertool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
dataSchema: {
|
|
@@ -10,7 +10,7 @@ declare const PostizMcpTriggertoolInput: z.ZodObject<{
|
|
|
10
10
|
integrationId: z.ZodString;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const PostizMcpTriggertoolOutput: z.ZodObject<{
|
|
13
|
-
output: z.ZodArray<z.
|
|
13
|
+
output: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const postizMcpTriggertool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
dataSchema: {
|
|
@@ -12,7 +12,7 @@ const postizMcpTriggertool = action("POSTIZ_MCP_TRIGGERTOOL", {
|
|
|
12
12
|
methodName: z.string().describe("The methodName from the `integrationSchema` functions in the tools array, required"),
|
|
13
13
|
integrationId: z.string().describe("The id of the integration")
|
|
14
14
|
}),
|
|
15
|
-
output: z.object({ output: z.array(z.
|
|
15
|
+
output: z.object({ output: z.array(z.record(z.string(), z.unknown())) })
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { postizMcpTriggertool };
|
|
@@ -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.
|
|
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"}
|