@keystrokehq/stack_ai 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-health.cjs +1 -0
  4. package/dist/actions/check-health.cjs.map +1 -1
  5. package/dist/actions/check-health.d.cts +3 -15
  6. package/dist/actions/check-health.d.cts.map +1 -1
  7. package/dist/actions/check-health.d.mts +3 -15
  8. package/dist/actions/check-health.d.mts.map +1 -1
  9. package/dist/actions/check-health.mjs +1 -0
  10. package/dist/actions/check-health.mjs.map +1 -1
  11. package/dist/actions/get-action-inputs.cjs +1 -0
  12. package/dist/actions/get-action-inputs.cjs.map +1 -1
  13. package/dist/actions/get-action-inputs.d.cts +3 -18
  14. package/dist/actions/get-action-inputs.d.cts.map +1 -1
  15. package/dist/actions/get-action-inputs.d.mts +3 -18
  16. package/dist/actions/get-action-inputs.d.mts.map +1 -1
  17. package/dist/actions/get-action-inputs.mjs +1 -0
  18. package/dist/actions/get-action-inputs.mjs.map +1 -1
  19. package/dist/actions/get-action-outputs.cjs +1 -0
  20. package/dist/actions/get-action-outputs.cjs.map +1 -1
  21. package/dist/actions/get-action-outputs.d.cts +3 -18
  22. package/dist/actions/get-action-outputs.d.cts.map +1 -1
  23. package/dist/actions/get-action-outputs.d.mts +3 -18
  24. package/dist/actions/get-action-outputs.d.mts.map +1 -1
  25. package/dist/actions/get-action-outputs.mjs +1 -0
  26. package/dist/actions/get-action-outputs.mjs.map +1 -1
  27. package/dist/actions/get-connector-type-schema.cjs +1 -0
  28. package/dist/actions/get-connector-type-schema.cjs.map +1 -1
  29. package/dist/actions/get-connector-type-schema.d.cts +3 -17
  30. package/dist/actions/get-connector-type-schema.d.cts.map +1 -1
  31. package/dist/actions/get-connector-type-schema.d.mts +3 -17
  32. package/dist/actions/get-connector-type-schema.d.mts.map +1 -1
  33. package/dist/actions/get-connector-type-schema.mjs +1 -0
  34. package/dist/actions/get-connector-type-schema.mjs.map +1 -1
  35. package/dist/actions/get-license-status.cjs +1 -0
  36. package/dist/actions/get-license-status.cjs.map +1 -1
  37. package/dist/actions/get-license-status.d.cts +3 -15
  38. package/dist/actions/get-license-status.d.cts.map +1 -1
  39. package/dist/actions/get-license-status.d.mts +3 -15
  40. package/dist/actions/get-license-status.d.mts.map +1 -1
  41. package/dist/actions/get-license-status.mjs +1 -0
  42. package/dist/actions/get-license-status.mjs.map +1 -1
  43. package/dist/actions/get-provider-action.cjs +1 -0
  44. package/dist/actions/get-provider-action.cjs.map +1 -1
  45. package/dist/actions/get-provider-action.d.cts +3 -18
  46. package/dist/actions/get-provider-action.d.cts.map +1 -1
  47. package/dist/actions/get-provider-action.d.mts +3 -18
  48. package/dist/actions/get-provider-action.d.mts.map +1 -1
  49. package/dist/actions/get-provider-action.mjs +1 -0
  50. package/dist/actions/get-provider-action.mjs.map +1 -1
  51. package/dist/actions/get-provider-icon.cjs +1 -0
  52. package/dist/actions/get-provider-icon.cjs.map +1 -1
  53. package/dist/actions/get-provider-icon.d.cts +3 -17
  54. package/dist/actions/get-provider-icon.d.cts.map +1 -1
  55. package/dist/actions/get-provider-icon.d.mts +3 -17
  56. package/dist/actions/get-provider-icon.d.mts.map +1 -1
  57. package/dist/actions/get-provider-icon.mjs +1 -0
  58. package/dist/actions/get-provider-icon.mjs.map +1 -1
  59. package/dist/actions/get-provider-trigger.cjs +1 -0
  60. package/dist/actions/get-provider-trigger.cjs.map +1 -1
  61. package/dist/actions/get-provider-trigger.d.cts +3 -18
  62. package/dist/actions/get-provider-trigger.d.cts.map +1 -1
  63. package/dist/actions/get-provider-trigger.d.mts +3 -18
  64. package/dist/actions/get-provider-trigger.d.mts.map +1 -1
  65. package/dist/actions/get-provider-trigger.mjs +1 -0
  66. package/dist/actions/get-provider-trigger.mjs.map +1 -1
  67. package/dist/actions/get-provider.cjs +1 -0
  68. package/dist/actions/get-provider.cjs.map +1 -1
  69. package/dist/actions/get-provider.d.cts +3 -17
  70. package/dist/actions/get-provider.d.cts.map +1 -1
  71. package/dist/actions/get-provider.d.mts +3 -17
  72. package/dist/actions/get-provider.d.mts.map +1 -1
  73. package/dist/actions/get-provider.mjs +1 -0
  74. package/dist/actions/get-provider.mjs.map +1 -1
  75. package/dist/actions/get-root.cjs +1 -0
  76. package/dist/actions/get-root.cjs.map +1 -1
  77. package/dist/actions/get-root.d.cts +3 -15
  78. package/dist/actions/get-root.d.cts.map +1 -1
  79. package/dist/actions/get-root.d.mts +3 -15
  80. package/dist/actions/get-root.d.mts.map +1 -1
  81. package/dist/actions/get-root.mjs +1 -0
  82. package/dist/actions/get-root.mjs.map +1 -1
  83. package/dist/actions/get-trigger-by-provider.cjs +1 -0
  84. package/dist/actions/get-trigger-by-provider.cjs.map +1 -1
  85. package/dist/actions/get-trigger-by-provider.d.cts +3 -18
  86. package/dist/actions/get-trigger-by-provider.d.cts.map +1 -1
  87. package/dist/actions/get-trigger-by-provider.d.mts +3 -18
  88. package/dist/actions/get-trigger-by-provider.d.mts.map +1 -1
  89. package/dist/actions/get-trigger-by-provider.mjs +1 -0
  90. package/dist/actions/get-trigger-by-provider.mjs.map +1 -1
  91. package/dist/actions/get-trigger-inputs.cjs +1 -0
  92. package/dist/actions/get-trigger-inputs.cjs.map +1 -1
  93. package/dist/actions/get-trigger-inputs.d.cts +3 -18
  94. package/dist/actions/get-trigger-inputs.d.cts.map +1 -1
  95. package/dist/actions/get-trigger-inputs.d.mts +3 -18
  96. package/dist/actions/get-trigger-inputs.d.mts.map +1 -1
  97. package/dist/actions/get-trigger-inputs.mjs +1 -0
  98. package/dist/actions/get-trigger-inputs.mjs.map +1 -1
  99. package/dist/actions/get-trigger-outputs.cjs +1 -0
  100. package/dist/actions/get-trigger-outputs.cjs.map +1 -1
  101. package/dist/actions/get-trigger-outputs.d.cts +3 -18
  102. package/dist/actions/get-trigger-outputs.d.cts.map +1 -1
  103. package/dist/actions/get-trigger-outputs.d.mts +3 -18
  104. package/dist/actions/get-trigger-outputs.d.mts.map +1 -1
  105. package/dist/actions/get-trigger-outputs.mjs +1 -0
  106. package/dist/actions/get-trigger-outputs.mjs.map +1 -1
  107. package/dist/actions/list-connector-types.cjs +1 -0
  108. package/dist/actions/list-connector-types.cjs.map +1 -1
  109. package/dist/actions/list-connector-types.d.cts +3 -15
  110. package/dist/actions/list-connector-types.d.cts.map +1 -1
  111. package/dist/actions/list-connector-types.d.mts +3 -15
  112. package/dist/actions/list-connector-types.d.mts.map +1 -1
  113. package/dist/actions/list-connector-types.mjs +1 -0
  114. package/dist/actions/list-connector-types.mjs.map +1 -1
  115. package/dist/actions/list-integrations.cjs +1 -0
  116. package/dist/actions/list-integrations.cjs.map +1 -1
  117. package/dist/actions/list-integrations.d.cts +3 -15
  118. package/dist/actions/list-integrations.d.cts.map +1 -1
  119. package/dist/actions/list-integrations.d.mts +3 -15
  120. package/dist/actions/list-integrations.d.mts.map +1 -1
  121. package/dist/actions/list-integrations.mjs +1 -0
  122. package/dist/actions/list-integrations.mjs.map +1 -1
  123. package/dist/actions/list-permission-groups.cjs +1 -0
  124. package/dist/actions/list-permission-groups.cjs.map +1 -1
  125. package/dist/actions/list-permission-groups.d.cts +3 -15
  126. package/dist/actions/list-permission-groups.d.cts.map +1 -1
  127. package/dist/actions/list-permission-groups.d.mts +3 -15
  128. package/dist/actions/list-permission-groups.d.mts.map +1 -1
  129. package/dist/actions/list-permission-groups.mjs +1 -0
  130. package/dist/actions/list-permission-groups.mjs.map +1 -1
  131. package/dist/actions/list-permissions.cjs +1 -0
  132. package/dist/actions/list-permissions.cjs.map +1 -1
  133. package/dist/actions/list-permissions.d.cts +3 -15
  134. package/dist/actions/list-permissions.d.cts.map +1 -1
  135. package/dist/actions/list-permissions.d.mts +3 -15
  136. package/dist/actions/list-permissions.d.mts.map +1 -1
  137. package/dist/actions/list-permissions.mjs +1 -0
  138. package/dist/actions/list-permissions.mjs.map +1 -1
  139. package/dist/actions/list-provider-triggers.cjs +1 -0
  140. package/dist/actions/list-provider-triggers.cjs.map +1 -1
  141. package/dist/actions/list-provider-triggers.d.cts +3 -17
  142. package/dist/actions/list-provider-triggers.d.cts.map +1 -1
  143. package/dist/actions/list-provider-triggers.d.mts +3 -17
  144. package/dist/actions/list-provider-triggers.d.mts.map +1 -1
  145. package/dist/actions/list-provider-triggers.mjs +1 -0
  146. package/dist/actions/list-provider-triggers.mjs.map +1 -1
  147. package/dist/actions/list-stack-ai-triggers.cjs +1 -0
  148. package/dist/actions/list-stack-ai-triggers.cjs.map +1 -1
  149. package/dist/actions/list-stack-ai-triggers.d.cts +3 -15
  150. package/dist/actions/list-stack-ai-triggers.d.cts.map +1 -1
  151. package/dist/actions/list-stack-ai-triggers.d.mts +3 -15
  152. package/dist/actions/list-stack-ai-triggers.d.mts.map +1 -1
  153. package/dist/actions/list-stack-ai-triggers.mjs +1 -0
  154. package/dist/actions/list-stack-ai-triggers.mjs.map +1 -1
  155. package/dist/actions/list-stackai-actions.cjs +1 -0
  156. package/dist/actions/list-stackai-actions.cjs.map +1 -1
  157. package/dist/actions/list-stackai-actions.d.cts +3 -15
  158. package/dist/actions/list-stackai-actions.d.cts.map +1 -1
  159. package/dist/actions/list-stackai-actions.d.mts +3 -15
  160. package/dist/actions/list-stackai-actions.d.mts.map +1 -1
  161. package/dist/actions/list-stackai-actions.mjs +1 -0
  162. package/dist/actions/list-stackai-actions.mjs.map +1 -1
  163. package/dist/actions/list-stackai-providers.cjs +1 -0
  164. package/dist/actions/list-stackai-providers.cjs.map +1 -1
  165. package/dist/actions/list-stackai-providers.d.cts +3 -15
  166. package/dist/actions/list-stackai-providers.d.cts.map +1 -1
  167. package/dist/actions/list-stackai-providers.d.mts +3 -15
  168. package/dist/actions/list-stackai-providers.d.mts.map +1 -1
  169. package/dist/actions/list-stackai-providers.mjs +1 -0
  170. package/dist/actions/list-stackai-providers.mjs.map +1 -1
  171. package/dist/actions/list-stackai-tools.cjs +1 -0
  172. package/dist/actions/list-stackai-tools.cjs.map +1 -1
  173. package/dist/actions/list-stackai-tools.d.cts +3 -15
  174. package/dist/actions/list-stackai-tools.d.cts.map +1 -1
  175. package/dist/actions/list-stackai-tools.d.mts +3 -15
  176. package/dist/actions/list-stackai-tools.d.mts.map +1 -1
  177. package/dist/actions/list-stackai-tools.mjs +1 -0
  178. package/dist/actions/list-stackai-tools.mjs.map +1 -1
  179. package/dist/app.cjs +5 -4
  180. package/dist/app.cjs.map +1 -1
  181. package/dist/app.d.cts +4 -6
  182. package/dist/app.d.cts.map +1 -1
  183. package/dist/app.d.mts +4 -6
  184. package/dist/app.d.mts.map +1 -1
  185. package/dist/app.mjs +0 -1
  186. package/dist/app.mjs.map +1 -1
  187. package/dist/index.d.cts +1 -1
  188. package/dist/index.d.mts +1 -1
  189. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-provider.d.ts
@@ -50,23 +52,7 @@ declare const StackAiGetProviderOutput: z.ZodObject<{
50
52
  }, z.core.$loose>>>;
51
53
  provider_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
54
  }, z.core.$loose>;
53
- declare const stackAiGetProvider: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- provider_id: string;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- generic_id: z.ZodString;
62
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
63
- connectionId: z.ZodString;
64
- entityId: z.ZodString;
65
- instanceId: z.ZodString;
66
- }, z.core.$strip>, z.ZodObject<{
67
- generic_api_key: z.ZodString;
68
- generic_id: z.ZodString;
69
- }, z.core.$strip>>]>;
55
+ declare const stackAiGetProvider: AppAction<typeof StackAiGetProviderInput, typeof StackAiGetProviderOutput, typeof stackAi.credential>;
70
56
  //#endregion
71
57
  export { stackAiGetProvider };
72
58
  //# sourceMappingURL=get-provider.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider.d.mts","names":[],"sources":["../../src/actions/get-provider.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAiCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-provider.d.mts","names":[],"sources":["../../src/actions/get-provider.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAiCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-provider.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider.mjs","names":[],"sources":["../../src/actions/get-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderInput = z.object({\n provider_id: z.string().describe(\"The unique identifier of the provider to retrieve (e.g., 'airtable', 'slack', 'github')\"),\n}).describe(\"Request model for getting details of a specific tool provider.\");\nconst StackAiGetProvider_ActionSchemaSchema = z.object({\n name: z.string().describe(\"Display name of the action\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the action\").nullable().optional(),\n action_id: z.string().describe(\"Unique identifier for the action\").nullable(),\n description: z.union([z.record(z.string(), z.unknown()), z.string()]),\n provider_id: z.string().describe(\"Identifier of the provider this action belongs to\").nullable(),\n input_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of input parameters for the action\"),\n api_tool_info: z.record(z.string(), z.unknown()).describe(\"Additional API tool information for the action\").nullable().optional(),\n is_searchable: z.boolean().describe(\"Whether the action is searchable\").nullable().optional(),\n output_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of output parameters returned by the action\"),\n input_param_count: z.number().int().describe(\"Number of input parameters\").nullable(),\n output_param_count: z.number().int().describe(\"Number of output parameters\").nullable(),\n}).passthrough().describe(\"Schema for an action provided by the tool provider.\");\nconst StackAiGetProvider_TriggerSchemaSchema = z.object({\n name: z.string().describe(\"Display name of the trigger\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger\").nullable().optional(),\n ui_copy: z.record(z.string(), z.unknown()).describe(\"UI copy information for displaying the trigger\"),\n trigger_id: z.string().describe(\"Unique identifier for the trigger\").nullable(),\n description: z.string().describe(\"Description of what the trigger does\").nullable(),\n provider_id: z.string().describe(\"Identifier of the provider this trigger belongs to\").nullable(),\n input_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of input parameters for the trigger\"),\n api_tool_info: z.record(z.string(), z.unknown()).describe(\"Additional API tool information for the trigger\").nullable().optional(),\n output_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of output parameters returned by the trigger\"),\n input_param_count: z.union([z.record(z.string(), z.unknown()), z.number().int()]).nullable().optional(),\n output_param_count: z.union([z.record(z.string(), z.unknown()), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Schema for a trigger provided by the tool provider.\");\nconst StackAiGetProvider_DeprecationInfoSchema = z.object({\n instructions: z.string().describe(\"Instructions for migrating away from deprecated provider\").nullable().optional(),\n date_will_be_removed: z.string().describe(\"Date when the provider will be removed\").nullable().optional(),\n}).passthrough().describe(\"Deprecation information for a provider.\");\nexport const StackAiGetProviderOutput = z.object({\n icon: z.string().describe(\"URL or identifier for the provider icon\").nullable(),\n name: z.string().describe(\"Display name of the provider\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for categorizing and filtering providers\"),\n color: z.string().default(\"#A3A3A3\").describe(\"Color code for the provider UI\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Labels for organizing providers\"),\n actions: z.array(StackAiGetProvider_ActionSchemaSchema).describe(\"List of actions available for this provider\"),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Custom headers required for this provider\").nullable().optional(),\n triggers: z.array(StackAiGetProvider_TriggerSchemaSchema).describe(\"List of triggers available for this provider\"),\n connectors: z.array(z.record(z.string(), z.unknown())).describe(\"List of connectors associated with the provider\").nullable().optional(),\n description: z.string().describe(\"Description of what the provider does\").nullable(),\n provider_id: z.string().describe(\"Unique identifier of the provider\").nullable(),\n action_count: z.number().int().default(0).describe(\"Total number of actions available\").nullable().optional(),\n trigger_count: z.number().int().default(0).describe(\"Total number of triggers available\").nullable().optional(),\n openapi_schema: z.string().describe(\"OpenAPI schema URL or definition for the provider\").nullable().optional(),\n provider_group: z.array(z.string()).describe(\"Groups this provider belongs to\").nullable().optional(),\n deprecation_info: StackAiGetProvider_DeprecationInfoSchema.nullable().optional(),\n provider_version: z.string().describe(\"Version of the provider\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a tool provider.\");\n\nexport const stackAiGetProvider = action(\"STACK_AI_GET_PROVIDER\", {\n slug: \"stack_ai-get-provider\",\n name: \"Get Provider Details\",\n description: \"Tool to retrieve details of a specific Stack AI tool provider. Use when you need information about available actions, triggers, and configuration for a provider.\",\n input: StackAiGetProviderInput,\n output: StackAiGetProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA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SAAS;EAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC/E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider.mjs","names":[],"sources":["../../src/actions/get-provider.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetProviderInput = z.object({\n provider_id: z.string().describe(\"The unique identifier of the provider to retrieve (e.g., 'airtable', 'slack', 'github')\"),\n}).describe(\"Request model for getting details of a specific tool provider.\");\nconst StackAiGetProvider_ActionSchemaSchema = z.object({\n name: z.string().describe(\"Display name of the action\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the action\").nullable().optional(),\n action_id: z.string().describe(\"Unique identifier for the action\").nullable(),\n description: z.union([z.record(z.string(), z.unknown()), z.string()]),\n provider_id: z.string().describe(\"Identifier of the provider this action belongs to\").nullable(),\n input_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of input parameters for the action\"),\n api_tool_info: z.record(z.string(), z.unknown()).describe(\"Additional API tool information for the action\").nullable().optional(),\n is_searchable: z.boolean().describe(\"Whether the action is searchable\").nullable().optional(),\n output_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of output parameters returned by the action\"),\n input_param_count: z.number().int().describe(\"Number of input parameters\").nullable(),\n output_param_count: z.number().int().describe(\"Number of output parameters\").nullable(),\n}).passthrough().describe(\"Schema for an action provided by the tool provider.\");\nconst StackAiGetProvider_TriggerSchemaSchema = z.object({\n name: z.string().describe(\"Display name of the trigger\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger\").nullable().optional(),\n ui_copy: z.record(z.string(), z.unknown()).describe(\"UI copy information for displaying the trigger\"),\n trigger_id: z.string().describe(\"Unique identifier for the trigger\").nullable(),\n description: z.string().describe(\"Description of what the trigger does\").nullable(),\n provider_id: z.string().describe(\"Identifier of the provider this trigger belongs to\").nullable(),\n input_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of input parameters for the trigger\"),\n api_tool_info: z.record(z.string(), z.unknown()).describe(\"Additional API tool information for the trigger\").nullable().optional(),\n output_params: z.array(z.record(z.string(), z.unknown())).describe(\"List of output parameters returned by the trigger\"),\n input_param_count: z.union([z.record(z.string(), z.unknown()), z.number().int()]).nullable().optional(),\n output_param_count: z.union([z.record(z.string(), z.unknown()), z.number().int()]).nullable().optional(),\n}).passthrough().describe(\"Schema for a trigger provided by the tool provider.\");\nconst StackAiGetProvider_DeprecationInfoSchema = z.object({\n instructions: z.string().describe(\"Instructions for migrating away from deprecated provider\").nullable().optional(),\n date_will_be_removed: z.string().describe(\"Date when the provider will be removed\").nullable().optional(),\n}).passthrough().describe(\"Deprecation information for a provider.\");\nexport const StackAiGetProviderOutput = z.object({\n icon: z.string().describe(\"URL or identifier for the provider icon\").nullable(),\n name: z.string().describe(\"Display name of the provider\").nullable(),\n tags: z.array(z.string()).describe(\"Tags for categorizing and filtering providers\"),\n color: z.string().default(\"#A3A3A3\").describe(\"Color code for the provider UI\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Labels for organizing providers\"),\n actions: z.array(StackAiGetProvider_ActionSchemaSchema).describe(\"List of actions available for this provider\"),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Custom headers required for this provider\").nullable().optional(),\n triggers: z.array(StackAiGetProvider_TriggerSchemaSchema).describe(\"List of triggers available for this provider\"),\n connectors: z.array(z.record(z.string(), z.unknown())).describe(\"List of connectors associated with the provider\").nullable().optional(),\n description: z.string().describe(\"Description of what the provider does\").nullable(),\n provider_id: z.string().describe(\"Unique identifier of the provider\").nullable(),\n action_count: z.number().int().default(0).describe(\"Total number of actions available\").nullable().optional(),\n trigger_count: z.number().int().default(0).describe(\"Total number of triggers available\").nullable().optional(),\n openapi_schema: z.string().describe(\"OpenAPI schema URL or definition for the provider\").nullable().optional(),\n provider_group: z.array(z.string()).describe(\"Groups this provider belongs to\").nullable().optional(),\n deprecation_info: StackAiGetProvider_DeprecationInfoSchema.nullable().optional(),\n provider_version: z.string().describe(\"Version of the provider\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a tool provider.\");\n\nexport const stackAiGetProvider: AppAction<\n typeof StackAiGetProviderInput,\n typeof StackAiGetProviderOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_PROVIDER\", {\n slug: \"stack_ai-get-provider\",\n name: \"Get Provider Details\",\n description: \"Tool to retrieve details of a specific Stack AI tool provider. Use when you need information about available actions, triggers, and configuration for a provider.\",\n input: StackAiGetProviderInput,\n output: StackAiGetProviderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC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DAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC/E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;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/get-root.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetRootInput = z.object({}).describe(\"Request model for getting root endpoint information.\");\nexport const StackAiGetRootOutput = z.record(z.string(), z.unknown()).describe(\"Response model for root endpoint.\");\n\nexport const stackAiGetRoot = action(\"STACK_AI_GET_ROOT\", {\n slug: \"stack_ai-get-root\",\n name: \"Get Root\",\n description: \"Tool to retrieve information from the Stack AI API root endpoint. Use when you need to verify API connectivity or get basic API information.\",\n input: StackAiGetRootInput,\n output: StackAiGetRootOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAC/G,MAAa,uBAAuBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAElH,MAAa,iBAAiBC,eAAAA,OAAO,qBAAqB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetRootInput = z.object({}).describe(\"Request model for getting root endpoint information.\");\nexport const StackAiGetRootOutput = z.record(z.string(), z.unknown()).describe(\"Response model for root endpoint.\");\n\nexport const stackAiGetRoot: AppAction<\n typeof StackAiGetRootInput,\n typeof StackAiGetRootOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_ROOT\", {\n slug: \"stack_ai-get-root\",\n name: \"Get Root\",\n description: \"Tool to retrieve information from the Stack AI API root endpoint. Use when you need to verify API connectivity or get basic API information.\",\n input: StackAiGetRootInput,\n output: StackAiGetRootOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAC/G,MAAa,uBAAuBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAElH,MAAa,iBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-root.d.ts
4
6
  declare const StackAiGetRootInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiGetRootOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
- declare const stackAiGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiGetRoot: AppAction<typeof StackAiGetRootInput, typeof StackAiGetRootOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiGetRoot };
23
11
  //# sourceMappingURL=get-root.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-root.d.ts
4
6
  declare const StackAiGetRootInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiGetRootOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
- declare const stackAiGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiGetRoot: AppAction<typeof StackAiGetRootInput, typeof StackAiGetRootOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiGetRoot };
23
11
  //# sourceMappingURL=get-root.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACnB,oBAAA,EAAoB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,OAAA,CAAQ,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 stackAiGetRoot = action("STACK_AI_GET_ROOT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetRootInput = z.object({}).describe(\"Request model for getting root endpoint information.\");\nexport const StackAiGetRootOutput = z.record(z.string(), z.unknown()).describe(\"Response model for root endpoint.\");\n\nexport const stackAiGetRoot = action(\"STACK_AI_GET_ROOT\", {\n slug: \"stack_ai-get-root\",\n name: \"Get Root\",\n description: \"Tool to retrieve information from the Stack AI API root endpoint. Use when you need to verify API connectivity or get basic API information.\",\n input: StackAiGetRootInput,\n output: StackAiGetRootOutput,\n});\n"],"mappings":";;AAOA,MAAa,iBAAiB,OAAO,qBAAqB;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAOhD;CACP,QAPkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAOrE;AACV,CAAC"}
1
+ {"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetRootInput = z.object({}).describe(\"Request model for getting root endpoint information.\");\nexport const StackAiGetRootOutput = z.record(z.string(), z.unknown()).describe(\"Response model for root endpoint.\");\n\nexport const stackAiGetRoot: AppAction<\n typeof StackAiGetRootInput,\n typeof StackAiGetRootOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_ROOT\", {\n slug: \"stack_ai-get-root\",\n name: \"Get Root\",\n description: \"Tool to retrieve information from the Stack AI API root endpoint. Use when you need to verify API connectivity or get basic API information.\",\n input: StackAiGetRootInput,\n output: StackAiGetRootOutput,\n});\n"],"mappings":";;;AASA,MAAa,iBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAWhD;CACP,QAXkC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAWrE;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/get-trigger-by-provider.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-by-provider.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-by-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerByProviderInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for getting a specific trigger from a provider.\");\nconst StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event that the trigger listens for.\").nullable(),\n instructions: z.string().describe(\"Instructions for setting up or using the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy information for the trigger.\");\nconst StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Type of trigger mechanism.\");\nexport const StackAiGetTriggerByProviderOutput = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiGetTriggerByProvider_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"The unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"The unique identifier of the provider.\").nullable(),\n trigger_name: z.string().describe(\"The display name of the trigger.\").nullable(),\n trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether the trigger supports retrieving test samples for testing purposes.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing trigger definition details.\");\n\nexport const stackAiGetTriggerByProvider = action(\"STACK_AI_GET_TRIGGER_BY_PROVIDER\", {\n slug: \"stack_ai-get-trigger-by-provider\",\n name: \"Get Trigger Details From Provider\",\n description: \"Tool to retrieve detailed information about a specific trigger from a provider. Use when you need to get trigger configuration, capabilities, or metadata for a specific provider's trigger.\",\n input: StackAiGetTriggerByProviderInput,\n output: StackAiGetTriggerByProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAA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O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-by-provider.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-by-provider.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetTriggerByProviderInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for getting a specific trigger from a provider.\");\nconst StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event that the trigger listens for.\").nullable(),\n instructions: z.string().describe(\"Instructions for setting up or using the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy information for the trigger.\");\nconst StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Type of trigger mechanism.\");\nexport const StackAiGetTriggerByProviderOutput = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiGetTriggerByProvider_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"The unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"The unique identifier of the provider.\").nullable(),\n trigger_name: z.string().describe(\"The display name of the trigger.\").nullable(),\n trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether the trigger supports retrieving test samples for testing purposes.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing trigger definition details.\");\n\nexport const stackAiGetTriggerByProvider: AppAction<\n typeof StackAiGetTriggerByProviderInput,\n typeof StackAiGetTriggerByProviderOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_TRIGGER_BY_PROVIDER\", {\n slug: \"stack_ai-get-trigger-by-provider\",\n name: \"Get Trigger Details From Provider\",\n description: \"Tool to retrieve detailed information about a specific trigger from a provider. Use when you need to get trigger configuration, capabilities, or metadata for a specific provider's trigger.\",\n input: StackAiGetTriggerByProviderInput,\n output: StackAiGetTriggerByProviderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,gDAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACvI,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAAS,gDAAgD,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,cAAc,8CAA8C,SAAS;CACrE,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClI,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-by-provider.d.ts
@@ -26,24 +28,7 @@ declare const StackAiGetTriggerByProviderOutput: z.ZodObject<{
26
28
  can_get_test_samples: z.ZodNullable<z.ZodBoolean>;
27
29
  webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
30
  }, z.core.$loose>;
29
- declare const stackAiGetTriggerByProvider: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- trigger_id: string;
31
- provider_id: string;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- generic_id: z.ZodString;
46
- }, z.core.$strip>>]>;
31
+ declare const stackAiGetTriggerByProvider: AppAction<typeof StackAiGetTriggerByProviderInput, typeof StackAiGetTriggerByProviderOutput, typeof stackAi.credential>;
47
32
  //#endregion
48
33
  export { stackAiGetTriggerByProvider };
49
34
  //# sourceMappingURL=get-trigger-by-provider.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-by-provider.d.cts","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAcjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-trigger-by-provider.d.cts","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAcjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-by-provider.d.ts
@@ -26,24 +28,7 @@ declare const StackAiGetTriggerByProviderOutput: z.ZodObject<{
26
28
  can_get_test_samples: z.ZodNullable<z.ZodBoolean>;
27
29
  webhook_requires_verification: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
28
30
  }, z.core.$loose>;
29
- declare const stackAiGetTriggerByProvider: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- trigger_id: string;
31
- provider_id: string;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- generic_id: z.ZodString;
46
- }, z.core.$strip>>]>;
31
+ declare const stackAiGetTriggerByProvider: AppAction<typeof StackAiGetTriggerByProviderInput, typeof StackAiGetTriggerByProviderOutput, typeof stackAi.credential>;
47
32
  //#endregion
48
33
  export { stackAiGetTriggerByProvider };
49
34
  //# sourceMappingURL=get-trigger-by-provider.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-by-provider.d.mts","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAcjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-trigger-by-provider.d.mts","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAcjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-trigger-by-provider.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-by-provider.mjs","names":[],"sources":["../../src/actions/get-trigger-by-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerByProviderInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for getting a specific trigger from a provider.\");\nconst StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event that the trigger listens for.\").nullable(),\n instructions: z.string().describe(\"Instructions for setting up or using the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy information for the trigger.\");\nconst StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Type of trigger mechanism.\");\nexport const StackAiGetTriggerByProviderOutput = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiGetTriggerByProvider_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"The unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"The unique identifier of the provider.\").nullable(),\n trigger_name: z.string().describe(\"The display name of the trigger.\").nullable(),\n trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether the trigger supports retrieving test samples for testing purposes.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing trigger definition details.\");\n\nexport const stackAiGetTriggerByProvider = action(\"STACK_AI_GET_TRIGGER_BY_PROVIDER\", {\n slug: \"stack_ai-get-trigger-by-provider\",\n name: \"Get Trigger Details From Provider\",\n description: \"Tool to retrieve detailed information about a specific trigger from a provider. Use when you need to get trigger configuration, capabilities, or metadata for a specific provider's trigger.\",\n input: StackAiGetTriggerByProviderInput,\n output: StackAiGetTriggerByProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC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ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetTriggerByProviderInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for getting a specific trigger from a provider.\");\nconst StackAiGetTriggerByProvider_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event that the trigger listens for.\").nullable(),\n instructions: z.string().describe(\"Instructions for setting up or using the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening for events.\").nullable(),\n}).passthrough().describe(\"UI copy information for the trigger.\");\nconst StackAiGetTriggerByProvider_TriggerTypeSchema = z.enum([\"POLLING\", \"WEBHOOK\", \"SCHEDULED\"]).describe(\"Type of trigger mechanism.\");\nexport const StackAiGetTriggerByProviderOutput = z.object({\n icon: z.string().describe(\"Icon identifier or URL for the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the trigger for categorization.\").nullable().optional(),\n ui_copy: StackAiGetTriggerByProvider_TriggerUICopySchema.nullable(),\n version: z.string().default(\"1.0.0\").describe(\"Version of the trigger definition.\").nullable().optional(),\n trigger_id: z.string().describe(\"The unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"The unique identifier of the provider.\").nullable(),\n trigger_name: z.string().describe(\"The display name of the trigger.\").nullable(),\n trigger_type: StackAiGetTriggerByProvider_TriggerTypeSchema.nullable(),\n can_get_test_samples: z.boolean().describe(\"Whether the trigger supports retrieving test samples for testing purposes.\").nullable(),\n webhook_requires_verification: z.boolean().default(false).describe(\"Whether the webhook requires verification by the provider with a challenge request before creation (e.g., Microsoft Graph Outlook & Slack).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing trigger definition details.\");\n\nexport const stackAiGetTriggerByProvider: AppAction<\n typeof StackAiGetTriggerByProviderInput,\n typeof StackAiGetTriggerByProviderOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_TRIGGER_BY_PROVIDER\", {\n slug: \"stack_ai-get-trigger-by-provider\",\n name: \"Get Trigger Details From Provider\",\n description: \"Tool to retrieve detailed information about a specific trigger from a provider. Use when you need to get trigger configuration, capabilities, or metadata for a specific provider's trigger.\",\n input: StackAiGetTriggerByProviderInput,\n output: StackAiGetTriggerByProviderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACvG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAW;CAAW;AAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAevI,MAAa,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAvB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,gDAAgD,SAAS;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,cAAc,8CAA8C,SAAS;EACrE,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAClI,+BAA+B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;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/get-trigger-inputs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-inputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n}).passthrough();\n\nexport const stackAiGetTriggerInputs = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC1G,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-inputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n}).passthrough();\n\nexport const stackAiGetTriggerInputs: AppAction<\n typeof StackAiGetTriggerInputsInput,\n typeof StackAiGetTriggerInputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC1G,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-inputs.d.ts
@@ -8,24 +10,7 @@ declare const StackAiGetTriggerInputsInput: z.ZodObject<{
8
10
  declare const StackAiGetTriggerInputsOutput: z.ZodObject<{
9
11
  inputs_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
12
  }, z.core.$loose>;
11
- declare const stackAiGetTriggerInputs: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- trigger_id: string;
13
- provider_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- generic_id: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- }, z.core.$strip>>]>;
13
+ declare const stackAiGetTriggerInputs: AppAction<typeof StackAiGetTriggerInputsInput, typeof StackAiGetTriggerInputsOutput, typeof stackAi.credential>;
29
14
  //#endregion
30
15
  export { stackAiGetTriggerInputs };
31
16
  //# sourceMappingURL=get-trigger-inputs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-inputs.d.cts","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-trigger-inputs.d.cts","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-inputs.d.ts
@@ -8,24 +10,7 @@ declare const StackAiGetTriggerInputsInput: z.ZodObject<{
8
10
  declare const StackAiGetTriggerInputsOutput: z.ZodObject<{
9
11
  inputs_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
12
  }, z.core.$loose>;
11
- declare const stackAiGetTriggerInputs: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- trigger_id: string;
13
- provider_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- generic_id: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- }, z.core.$strip>>]>;
13
+ declare const stackAiGetTriggerInputs: AppAction<typeof StackAiGetTriggerInputsInput, typeof StackAiGetTriggerInputsOutput, typeof stackAi.credential>;
29
14
  //#endregion
30
15
  export { stackAiGetTriggerInputs };
31
16
  //# sourceMappingURL=get-trigger-inputs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-inputs.d.mts","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-trigger-inputs.d.mts","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,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 stackAiGetTriggerInputs = action("STACK_AI_GET_TRIGGER_INPUTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-inputs.mjs","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n}).passthrough();\n\nexport const stackAiGetTriggerInputs = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC1G,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-inputs.mjs","names":[],"sources":["../../src/actions/get-trigger-inputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetTriggerInputsInput = z.object({\n trigger_id: z.string().describe(\"Identifier for the specific trigger to retrieve input schema for (e.g., 'custom_webhook').\"),\n provider_id: z.string().describe(\"Identifier for the provider (e.g., 'stackai' for Stack AI providers).\"),\n});\nexport const StackAiGetTriggerInputsOutput = z.object({\n inputs_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema definition describing the input parameters required by the trigger.\").nullable().optional(),\n}).passthrough();\n\nexport const stackAiGetTriggerInputs: AppAction<\n typeof StackAiGetTriggerInputsInput,\n typeof StackAiGetTriggerInputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_TRIGGER_INPUTS\", {\n slug: \"stack_ai-get-trigger-inputs\",\n name: \"Get Trigger Inputs\",\n description: \"Tool to retrieve the input parameters for a trigger as a JSON schema. Use when discovering what data inputs a specific trigger requires before executing it.\",\n input: StackAiGetTriggerInputsInput,\n output: StackAiGetTriggerInputsOutput,\n});\n"],"mappings":";;;AAcA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC1G,CAaS;CACP,QAb2C,EAAE,OAAO,EACpD,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnK,CAAC,CAAC,CAAC,YAWO;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/get-trigger-outputs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-outputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAChL,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAA4Q;AAEtS,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-outputs.cjs","names":["z","action"],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs: AppAction<\n typeof StackAiGetTriggerOutputsInput,\n typeof StackAiGetTriggerOutputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAChL,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAA4Q;AAEtS,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-outputs.d.ts
@@ -12,24 +14,7 @@ declare const StackAiGetTriggerOutputsOutput: z.ZodObject<{
12
14
  record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const stackAiGetTriggerOutputs: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- trigger_id: string;
17
- provider_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- generic_id: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>;
17
+ declare const stackAiGetTriggerOutputs: AppAction<typeof StackAiGetTriggerOutputsInput, typeof StackAiGetTriggerOutputsOutput, typeof stackAi.credential>;
33
18
  //#endregion
34
19
  export { stackAiGetTriggerOutputs };
35
20
  //# sourceMappingURL=get-trigger-outputs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-outputs.d.cts","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-trigger-outputs.d.cts","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-outputs.d.ts
@@ -12,24 +14,7 @@ declare const StackAiGetTriggerOutputsOutput: z.ZodObject<{
12
14
  record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const stackAiGetTriggerOutputs: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- trigger_id: string;
17
- provider_id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- generic_id: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>;
17
+ declare const stackAiGetTriggerOutputs: AppAction<typeof StackAiGetTriggerOutputsInput, typeof StackAiGetTriggerOutputsOutput, typeof stackAi.credential>;
33
18
  //#endregion
34
19
  export { stackAiGetTriggerOutputs };
35
20
  //# sourceMappingURL=get-trigger-outputs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-outputs.d.mts","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-trigger-outputs.d.mts","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,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 stackAiGetTriggerOutputs = action("STACK_AI_GET_TRIGGER_OUTPUTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-trigger-outputs.mjs","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAChL,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-trigger-outputs.mjs","names":[],"sources":["../../src/actions/get-trigger-outputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetTriggerOutputsInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger (e.g., 'on_record_change', 'on_contact_update'). This identifies the specific event type being monitored.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'salesforce'). This identifies which external service the trigger is connected to.\"),\n}).describe(\"Request model for getting trigger outputs from Stack AI.\");\nexport const StackAiGetTriggerOutputsOutput = z.object({\n data: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable().optional(),\n base_id: z.string().describe(\"The base or database identifier. Present for database-based providers like Airtable.\").nullable().optional(),\n table_id: z.string().describe(\"The table identifier within the base. Present for table-based providers.\").nullable().optional(),\n record_id: z.string().describe(\"The unique identifier of the affected record. Present for record-based triggers.\").nullable().optional(),\n event_type: z.string().describe(\"The type of event that occurred (e.g., 'record_created', 'record_updated'). Present for some triggers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for trigger outputs, containing the schema of fields produced by the trigger.\\n\\nThe response is dynamic and varies by provider and trigger type. Common fields include\\nidentifiers, event types, and data payloads specific to the provider's data model.\");\n\nexport const stackAiGetTriggerOutputs: AppAction<\n typeof StackAiGetTriggerOutputsInput,\n typeof StackAiGetTriggerOutputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_TRIGGER_OUTPUTS\", {\n slug: \"stack_ai-get-trigger-outputs\",\n name: \"Get Trigger Outputs\",\n description: \"Tool to retrieve the output schema for a specific trigger in Stack AI. Use when you need to understand what fields a trigger will produce when it fires. This action helps discover the structure of data that will be available from a trigger event, which is useful for configuring workflows and data processing.\",\n input: StackAiGetTriggerOutputsInput,\n output: StackAiGetTriggerOutputsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAChL,CAAC,CAAC,CAAC,SAAS,0DAiBH;CACP,QAjB4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4QAWhB;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/list-connector-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-connector-types.cjs","names":["z","action"],"sources":["../../src/actions/list-connector-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiListConnectorTypesInput = z.object({}).describe(\"Request model for listing connector types. No parameters required.\");\nexport const StackAiListConnectorTypesOutput = z.unknown();\n\nexport const stackAiListConnectorTypes = action(\"STACK_AI_LIST_CONNECTOR_TYPES\", {\n slug: \"stack_ai-list-connector-types\",\n name: \"List Connector Types\",\n description: \"Tool to list all available connector types from Stack AI. Use when you need to retrieve the available connectors that can be configured.\",\n input: StackAiListConnectorTypesInput,\n output: StackAiListConnectorTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACxI,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-connector-types.cjs","names":["z","action"],"sources":["../../src/actions/list-connector-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiListConnectorTypesInput = z.object({}).describe(\"Request model for listing connector types. No parameters required.\");\nexport const StackAiListConnectorTypesOutput = z.unknown();\n\nexport const stackAiListConnectorTypes: AppAction<\n typeof StackAiListConnectorTypesInput,\n typeof StackAiListConnectorTypesOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_LIST_CONNECTOR_TYPES\", {\n slug: \"stack_ai-list-connector-types\",\n name: \"List Connector Types\",\n description: \"Tool to list all available connector types from Stack AI. Use when you need to retrieve the available connectors that can be configured.\",\n input: StackAiListConnectorTypesInput,\n output: StackAiListConnectorTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACxI,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}