@keystrokehq/promptmate_io 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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -7
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -7
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-app-job.cjs +1 -0
- package/dist/actions/get-app-job.cjs.map +1 -1
- package/dist/actions/get-app-job.d.cts +3 -4
- package/dist/actions/get-app-job.d.cts.map +1 -1
- package/dist/actions/get-app-job.d.mts +3 -4
- package/dist/actions/get-app-job.d.mts.map +1 -1
- package/dist/actions/get-app-job.mjs +1 -0
- package/dist/actions/get-app-job.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -1
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -1
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-apps.cjs +1 -0
- package/dist/actions/list-apps.cjs.map +1 -1
- package/dist/actions/list-apps.d.cts +3 -1
- package/dist/actions/list-apps.d.cts.map +1 -1
- package/dist/actions/list-apps.d.mts +3 -1
- package/dist/actions/list-apps.d.mts.map +1 -1
- package/dist/actions/list-apps.mjs +1 -0
- package/dist/actions/list-apps.mjs.map +1 -1
- package/dist/actions/list-countries.cjs +1 -0
- package/dist/actions/list-countries.cjs.map +1 -1
- package/dist/actions/list-countries.d.cts +3 -1
- package/dist/actions/list-countries.d.cts.map +1 -1
- package/dist/actions/list-countries.d.mts +3 -1
- package/dist/actions/list-countries.d.mts.map +1 -1
- package/dist/actions/list-countries.mjs +1 -0
- package/dist/actions/list-countries.mjs.map +1 -1
- package/dist/actions/list-languages.cjs +1 -0
- package/dist/actions/list-languages.cjs.map +1 -1
- package/dist/actions/list-languages.d.cts +3 -1
- package/dist/actions/list-languages.d.cts.map +1 -1
- package/dist/actions/list-languages.d.mts +3 -1
- package/dist/actions/list-languages.d.mts.map +1 -1
- package/dist/actions/list-languages.mjs +1 -0
- package/dist/actions/list-languages.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -1
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -1
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -1
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -1
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -1
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -1
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/use-template.cjs +1 -0
- package/dist/actions/use-template.cjs.map +1 -1
- package/dist/actions/use-template.d.cts +3 -4
- package/dist/actions/use-template.d.cts.map +1 -1
- package/dist/actions/use-template.d.mts +3 -4
- package/dist/actions/use-template.d.mts.map +1 -1
- package/dist/actions/use-template.mjs +1 -0
- package/dist/actions/use-template.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["promptmateIo","executePromptmateIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } 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:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["promptmateIo","executePromptmateIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } 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 promptmateIo.credential> {\n return promptmateIo.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 executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO4D;CAC5D,OAAOA,YAAAA,aAAa,OAAO;EACzB,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,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } 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:
|
|
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 { promptmateIo } from \"./app\";\nimport { executePromptmateIoTool } 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 promptmateIo.credential> {\n return promptmateIo.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 executePromptmateIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO4D;CAC5D,OAAO,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).passthrough().describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).passthrough().describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook: AppAction<\n typeof PromptmateIoCreateWebhookInput,\n typeof PromptmateIoCreateWebhookOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-webhook.d.ts
|
|
@@ -24,13 +26,7 @@ declare const PromptmateIoCreateWebhookOutput: z.ZodObject<{
|
|
|
24
26
|
webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const promptmateIoCreateWebhook:
|
|
28
|
-
endpointUrl: string;
|
|
29
|
-
webhookName?: string | undefined;
|
|
30
|
-
webhookType?: "job" | "row" | undefined;
|
|
31
|
-
restrictedAppIds?: string[] | undefined;
|
|
32
|
-
webhookReference?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const promptmateIoCreateWebhook: AppAction<typeof PromptmateIoCreateWebhookInput, typeof PromptmateIoCreateWebhookOutput, typeof promptmateIo.credential>;
|
|
34
30
|
//#endregion
|
|
35
31
|
export { promptmateIoCreateWebhook };
|
|
36
32
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-webhook.d.ts
|
|
@@ -24,13 +26,7 @@ declare const PromptmateIoCreateWebhookOutput: z.ZodObject<{
|
|
|
24
26
|
webhookReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const promptmateIoCreateWebhook:
|
|
28
|
-
endpointUrl: string;
|
|
29
|
-
webhookName?: string | undefined;
|
|
30
|
-
webhookType?: "job" | "row" | undefined;
|
|
31
|
-
restrictedAppIds?: string[] | undefined;
|
|
32
|
-
webhookReference?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const promptmateIoCreateWebhook: AppAction<typeof PromptmateIoCreateWebhookInput, typeof PromptmateIoCreateWebhookOutput, typeof promptmateIo.credential>;
|
|
34
30
|
//#endregion
|
|
35
31
|
export { promptmateIoCreateWebhook };
|
|
36
32
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).passthrough().describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoCreateWebhookInput = z.object({\n endpointUrl: z.string().describe(\"The HTTP(S) URL where Promptmate will send webhook POST callbacks.\"),\n webhookName: z.string().describe(\"Optional friendly name for the webhook.\").optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Type of events to subscribe to ('job' or 'row').\").optional(),\n restrictedAppIds: z.array(z.string()).describe(\"List of Promptmate app IDs that are allowed to trigger this webhook.\").optional(),\n webhookReference: z.string().describe(\"Client-defined identifier for correlation or de-duplication.\").optional(),\n}).describe(\"Request body for creating a new webhook in Promptmate.io.\");\nconst PromptmateIoCreateWebhook_WebhookDetailSchema = z.object({\n webhookId: z.string().describe(\"System-assigned unique identifier for the webhook.\").nullable(),\n endpointUrl: z.string().describe(\"Callback URL for webhook events.\").nullable(),\n webhookName: z.string().describe(\"Name of the webhook.\").nullable().optional(),\n webhookType: z.enum([\"job\", \"row\"]).describe(\"Subscribed event type ('job' or 'row').\").nullable().optional(),\n restrictedAppIds: z.array(z.string()).describe(\"App IDs that can trigger this webhook.\").nullable().optional(),\n webhookReference: z.string().describe(\"Client-provided reference identifier.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a created Promptmate.io webhook detail.\");\nexport const PromptmateIoCreateWebhookOutput = z.object({\n details: z.array(PromptmateIoCreateWebhook_WebhookDetailSchema).describe(\"List of created webhook details.\"),\n}).passthrough().describe(\"Response schema for a newly created webhook. Returns a list of webhook details.\");\n\nexport const promptmateIoCreateWebhook: AppAction<\n typeof PromptmateIoCreateWebhookInput,\n typeof PromptmateIoCreateWebhookOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_CREATE_WEBHOOK\", {\n slug: \"promptmate_io-create-webhook\",\n name: \"Create webhook\",\n description: \"Tool to create a new webhook. Use when you need to subscribe an endpoint URL to job or row events.\",\n input: PromptmateIoCreateWebhookInput,\n output: PromptmateIoCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kCAAkC,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough();\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough();\n\nexport const promptmateIoDeleteWebhook: AppAction<\n typeof PromptmateIoDeleteWebhookInput,\n typeof PromptmateIoDeleteWebhookOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-webhook.d.ts
|
|
@@ -9,9 +11,7 @@ declare const PromptmateIoDeleteWebhookOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const promptmateIoDeleteWebhook:
|
|
13
|
-
webhook_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const promptmateIoDeleteWebhook: AppAction<typeof PromptmateIoDeleteWebhookInput, typeof PromptmateIoDeleteWebhookOutput, typeof promptmateIo.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { promptmateIoDeleteWebhook };
|
|
17
17
|
//# sourceMappingURL=delete-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-webhook.d.ts
|
|
@@ -9,9 +11,7 @@ declare const PromptmateIoDeleteWebhookOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const promptmateIoDeleteWebhook:
|
|
13
|
-
webhook_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const promptmateIoDeleteWebhook: AppAction<typeof PromptmateIoDeleteWebhookInput, typeof PromptmateIoDeleteWebhookOutput, typeof promptmateIo.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { promptmateIoDeleteWebhook };
|
|
17
17
|
//# sourceMappingURL=delete-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough();\n\nexport const promptmateIoDeleteWebhook = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete\"),\n});\nexport const PromptmateIoDeleteWebhookOutput = z.object({\n error: z.string().describe(\"Error message if deletion failed\").nullable().optional(),\n message: z.string().describe(\"A message detailing the outcome\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough();\n\nexport const promptmateIoDeleteWebhook: AppAction<\n typeof PromptmateIoDeleteWebhookInput,\n typeof PromptmateIoDeleteWebhookOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_DELETE_WEBHOOK\", {\n slug: \"promptmate_io-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Tool to delete a webhook by its unique ID. Use after confirming the webhookId to remove.\",\n input: PromptmateIoDeleteWebhookInput,\n output: PromptmateIoDeleteWebhookOutput,\n});\n"],"mappings":";;;AAeA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC9E,CAeS;CACP,QAf6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.cjs","names":["z","action"],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).passthrough().describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-job.cjs","names":["z","action"],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).passthrough().describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob: AppAction<\n typeof PromptmateIoGetAppJobInput,\n typeof PromptmateIoGetAppJobOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-app-job.d.ts
|
|
@@ -21,10 +23,7 @@ declare const PromptmateIoGetAppJobOutput: z.ZodObject<{
|
|
|
21
23
|
processedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
requestedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const promptmateIoGetAppJob:
|
|
25
|
-
app_id: string;
|
|
26
|
-
job_id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const promptmateIoGetAppJob: AppAction<typeof PromptmateIoGetAppJobInput, typeof PromptmateIoGetAppJobOutput, typeof promptmateIo.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { promptmateIoGetAppJob };
|
|
30
29
|
//# sourceMappingURL=get-app-job.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.d.cts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-job.d.cts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-app-job.d.ts
|
|
@@ -21,10 +23,7 @@ declare const PromptmateIoGetAppJobOutput: z.ZodObject<{
|
|
|
21
23
|
processedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
requestedRowCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const promptmateIoGetAppJob:
|
|
25
|
-
app_id: string;
|
|
26
|
-
job_id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const promptmateIoGetAppJob: AppAction<typeof PromptmateIoGetAppJobInput, typeof PromptmateIoGetAppJobOutput, typeof promptmateIo.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { promptmateIoGetAppJob };
|
|
30
29
|
//# sourceMappingURL=get-app-job.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.d.mts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-job.d.mts","names":[],"sources":["../../src/actions/get-app-job.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-job.mjs","names":[],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).passthrough().describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-app-job.mjs","names":[],"sources":["../../src/actions/get-app-job.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoGetAppJobInput = z.object({\n app_id: z.string().describe(\"The unique identifier of the app\"),\n job_id: z.string().describe(\"The unique identifier of the job\"),\n}).describe(\"Request model for getting app job status and result.\");\nconst PromptmateIoGetAppJob_ResponseFieldSchema = z.object({\n key: z.string().describe(\"Key identifier for the response field\").nullable(),\n name: z.string().describe(\"Human-readable name for the response field\").nullable(),\n}).passthrough().describe(\"Response field information.\");\nexport const PromptmateIoGetAppJobOutput = z.object({\n appId: z.string().describe(\"The app ID for this job\").nullable().optional(),\n jobId: z.string().describe(\"Unique identifier for the job\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Job result data (available when job is finished)\").nullable().optional(),\n jobStatus: z.string().describe(\"Current status of the job\").nullable(),\n stepCount: z.number().int().describe(\"Total number of steps\").nullable().optional(),\n actualStep: z.string().describe(\"Description of the current step\").nullable().optional(),\n executingStep: z.number().int().describe(\"Currently executing step number\").nullable().optional(),\n responseFields: z.array(PromptmateIoGetAppJob_ResponseFieldSchema).describe(\"List of response fields for the job\").nullable().optional(),\n dataProcessType: z.string().describe(\"Type of data processing (e.g., single, batch)\").nullable().optional(),\n processedRowCount: z.number().int().describe(\"Number of rows processed\").nullable().optional(),\n requestedRowCount: z.number().int().describe(\"Number of rows requested\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting app job status and result.\");\n\nexport const promptmateIoGetAppJob: AppAction<\n typeof PromptmateIoGetAppJobInput,\n typeof PromptmateIoGetAppJobOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_GET_APP_JOB\", {\n slug: \"promptmate_io-get-app-job\",\n name: \"Get App Job Status\",\n description: \"Tool to get the status and result of a specific app job by its ID. Use when you need to check the status or retrieve results of a previously submitted job.\",\n input: PromptmateIoGetAppJobInput,\n output: PromptmateIoGetAppJobOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAevD,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAvByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo: AppAction<\n typeof PromptmateIoGetUserInfoInput,\n typeof PromptmateIoGetUserInfoOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACvI,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-info.d.ts
|
|
@@ -6,7 +8,7 @@ declare const PromptmateIoGetUserInfoOutput: z.ZodObject<{
|
|
|
6
8
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
9
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const promptmateIoGetUserInfo:
|
|
11
|
+
declare const promptmateIoGetUserInfo: AppAction<typeof PromptmateIoGetUserInfoInput, typeof PromptmateIoGetUserInfoOutput, typeof promptmateIo.credential>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { promptmateIoGetUserInfo };
|
|
12
14
|
//# sourceMappingURL=get-user-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-info.d.ts
|
|
@@ -6,7 +8,7 @@ declare const PromptmateIoGetUserInfoOutput: z.ZodObject<{
|
|
|
6
8
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
9
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const promptmateIoGetUserInfo:
|
|
11
|
+
declare const promptmateIoGetUserInfo: AppAction<typeof PromptmateIoGetUserInfoInput, typeof PromptmateIoGetUserInfoOutput, typeof promptmateIo.credential>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { promptmateIoGetUserInfo };
|
|
12
14
|
//# sourceMappingURL=get-user-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoGetUserInfoInput = z.object({}).describe(\"Request model for getting user information. No parameters required.\");\nexport const PromptmateIoGetUserInfoOutput = z.object({\n email: z.string().describe(\"User email address\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for user information.\");\n\nexport const promptmateIoGetUserInfo: AppAction<\n typeof PromptmateIoGetUserInfoInput,\n typeof PromptmateIoGetUserInfoOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_GET_USER_INFO\", {\n slug: \"promptmate_io-get-user-info\",\n name: \"Get User Info\",\n description: \"Tool to get user information for the authenticated API key owner. Use when you need to retrieve details about the current user.\",\n input: PromptmateIoGetUserInfoInput,\n output: PromptmateIoGetUserInfoOutput,\n});\n"],"mappings":";;;AAYA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAczD;CACP,QAd2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps.cjs","names":["z","action"],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n}).passthrough();\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).passthrough().describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-apps.cjs","names":["z","action"],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n}).passthrough();\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).passthrough().describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps: AppAction<\n typeof PromptmateIoListAppsInput,\n typeof PromptmateIoListAppsOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC/G,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-apps.d.ts
|
|
@@ -12,7 +14,7 @@ declare const PromptmateIoListAppsOutput: z.ZodObject<{
|
|
|
12
14
|
description: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const promptmateIoListApps:
|
|
17
|
+
declare const promptmateIoListApps: AppAction<typeof PromptmateIoListAppsInput, typeof PromptmateIoListAppsOutput, typeof promptmateIo.credential>;
|
|
16
18
|
//#endregion
|
|
17
19
|
export { promptmateIoListApps };
|
|
18
20
|
//# sourceMappingURL=list-apps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps.d.cts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-apps.d.cts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-apps.d.ts
|
|
@@ -12,7 +14,7 @@ declare const PromptmateIoListAppsOutput: z.ZodObject<{
|
|
|
12
14
|
description: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const promptmateIoListApps:
|
|
17
|
+
declare const promptmateIoListApps: AppAction<typeof PromptmateIoListAppsInput, typeof PromptmateIoListAppsOutput, typeof promptmateIo.credential>;
|
|
16
18
|
//#endregion
|
|
17
19
|
export { promptmateIoListApps };
|
|
18
20
|
//# sourceMappingURL=list-apps.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps.d.mts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-apps.d.mts","names":[],"sources":["../../src/actions/list-apps.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n}).passthrough();\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).passthrough().describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-apps.mjs","names":[],"sources":["../../src/actions/list-apps.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListAppsInput = z.object({}).describe(\"Request model for listing apps. No parameters.\");\nconst PromptmateIoListApps_AppSchema = z.object({\n id: z.string().describe(\"Unique identifier of the app\").nullable(),\n name: z.string().describe(\"Human-readable name of the app\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to this app\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the app was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the app was last updated (ISO 8601 format)\").nullable(),\n description: z.string().describe(\"Detailed description of the app's purpose\").nullable(),\n}).passthrough();\nexport const PromptmateIoListAppsOutput = z.object({\n apps: z.array(PromptmateIoListApps_AppSchema).describe(\"List of available apps\"),\n}).passthrough().describe(\"Response model for listing apps.\");\n\nexport const promptmateIoListApps: AppAction<\n typeof PromptmateIoListAppsInput,\n typeof PromptmateIoListAppsOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_APPS\", {\n slug: \"promptmate_io-list-apps\",\n name: \"List PromptMate Apps\",\n description: \"Tool to list all available apps. Use when you need to retrieve the catalogue of PromptMate apps.\",\n input: PromptmateIoListAppsInput,\n output: PromptmateIoListAppsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC/G,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-countries.cjs","names":["z","action"],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-countries.cjs","names":["z","action"],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries: AppAction<\n typeof PromptmateIoListCountriesInput,\n typeof PromptmateIoListCountriesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-countries.d.ts
|
|
@@ -5,7 +7,7 @@ declare const PromptmateIoListCountriesInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const PromptmateIoListCountriesOutput: z.ZodObject<{
|
|
6
8
|
countries: z.ZodArray<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const promptmateIoListCountries:
|
|
10
|
+
declare const promptmateIoListCountries: AppAction<typeof PromptmateIoListCountriesInput, typeof PromptmateIoListCountriesOutput, typeof promptmateIo.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { promptmateIoListCountries };
|
|
11
13
|
//# sourceMappingURL=list-countries.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-countries.d.cts","names":[],"sources":["../../src/actions/list-countries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-countries.d.cts","names":[],"sources":["../../src/actions/list-countries.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { promptmateIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-countries.d.ts
|
|
@@ -5,7 +7,7 @@ declare const PromptmateIoListCountriesInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const PromptmateIoListCountriesOutput: z.ZodObject<{
|
|
6
8
|
countries: z.ZodArray<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const promptmateIoListCountries:
|
|
10
|
+
declare const promptmateIoListCountries: AppAction<typeof PromptmateIoListCountriesInput, typeof PromptmateIoListCountriesOutput, typeof promptmateIo.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { promptmateIoListCountries };
|
|
11
13
|
//# sourceMappingURL=list-countries.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-countries.d.mts","names":[],"sources":["../../src/actions/list-countries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-countries.d.mts","names":[],"sources":["../../src/actions/list-countries.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-countries.mjs","names":[],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-countries.mjs","names":[],"sources":["../../src/actions/list-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { promptmateIo } from \"../app\";\n\nexport const PromptmateIoListCountriesInput = z.object({}).describe(\"Request model for listing countries. No parameters required.\");\nexport const PromptmateIoListCountriesOutput = z.object({\n countries: z.array(z.string()).describe(\"List of available country names\"),\n}).passthrough().describe(\"Response model for listing countries.\");\n\nexport const promptmateIoListCountries: AppAction<\n typeof PromptmateIoListCountriesInput,\n typeof PromptmateIoListCountriesOutput,\n typeof promptmateIo.credential\n> = action(\"PROMPTMATE_IO_LIST_COUNTRIES\", {\n slug: \"promptmate_io-list-countries\",\n name: \"List Countries\",\n description: \"Tool to list available countries for app configuration. Use when you need to retrieve the list of supported countries.\",\n input: PromptmateIoListCountriesInput,\n output: PromptmateIoListCountriesOutput,\n});\n"],"mappings":";;;AAWA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAa3D;CACP,QAb6C,EAAE,OAAO,EACtD,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|