@keystrokehq/stack_ai 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -1
  6. package/dist/actions/check-health.d.cts.map +1 -1
  7. package/dist/actions/check-health.d.mts +3 -1
  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 -4
  14. package/dist/actions/get-action-inputs.d.cts.map +1 -1
  15. package/dist/actions/get-action-inputs.d.mts +3 -4
  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 -4
  22. package/dist/actions/get-action-outputs.d.cts.map +1 -1
  23. package/dist/actions/get-action-outputs.d.mts +3 -4
  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 -3
  30. package/dist/actions/get-connector-type-schema.d.cts.map +1 -1
  31. package/dist/actions/get-connector-type-schema.d.mts +3 -3
  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 -1
  38. package/dist/actions/get-license-status.d.cts.map +1 -1
  39. package/dist/actions/get-license-status.d.mts +3 -1
  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 -4
  46. package/dist/actions/get-provider-action.d.cts.map +1 -1
  47. package/dist/actions/get-provider-action.d.mts +3 -4
  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 -3
  54. package/dist/actions/get-provider-icon.d.cts.map +1 -1
  55. package/dist/actions/get-provider-icon.d.mts +3 -3
  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 -4
  62. package/dist/actions/get-provider-trigger.d.cts.map +1 -1
  63. package/dist/actions/get-provider-trigger.d.mts +3 -4
  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 -3
  70. package/dist/actions/get-provider.d.cts.map +1 -1
  71. package/dist/actions/get-provider.d.mts +3 -3
  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 -1
  78. package/dist/actions/get-root.d.cts.map +1 -1
  79. package/dist/actions/get-root.d.mts +3 -1
  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 -4
  86. package/dist/actions/get-trigger-by-provider.d.cts.map +1 -1
  87. package/dist/actions/get-trigger-by-provider.d.mts +3 -4
  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 -4
  94. package/dist/actions/get-trigger-inputs.d.cts.map +1 -1
  95. package/dist/actions/get-trigger-inputs.d.mts +3 -4
  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 -4
  102. package/dist/actions/get-trigger-outputs.d.cts.map +1 -1
  103. package/dist/actions/get-trigger-outputs.d.mts +3 -4
  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 -1
  110. package/dist/actions/list-connector-types.d.cts.map +1 -1
  111. package/dist/actions/list-connector-types.d.mts +3 -1
  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 -1
  118. package/dist/actions/list-integrations.d.cts.map +1 -1
  119. package/dist/actions/list-integrations.d.mts +3 -1
  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 -1
  126. package/dist/actions/list-permission-groups.d.cts.map +1 -1
  127. package/dist/actions/list-permission-groups.d.mts +3 -1
  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 -1
  134. package/dist/actions/list-permissions.d.cts.map +1 -1
  135. package/dist/actions/list-permissions.d.mts +3 -1
  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 -3
  142. package/dist/actions/list-provider-triggers.d.cts.map +1 -1
  143. package/dist/actions/list-provider-triggers.d.mts +3 -3
  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 -1
  150. package/dist/actions/list-stack-ai-triggers.d.cts.map +1 -1
  151. package/dist/actions/list-stack-ai-triggers.d.mts +3 -1
  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 -1
  158. package/dist/actions/list-stackai-actions.d.cts.map +1 -1
  159. package/dist/actions/list-stackai-actions.d.mts +3 -1
  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 -1
  166. package/dist/actions/list-stackai-providers.d.cts.map +1 -1
  167. package/dist/actions/list-stackai-providers.d.mts +3 -1
  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 -1
  174. package/dist/actions/list-stackai-tools.d.cts.map +1 -1
  175. package/dist/actions/list-stackai-tools.d.mts +3 -1
  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 +9 -2
  180. package/dist/app.cjs.map +1 -1
  181. package/dist/app.d.cts +8 -1
  182. package/dist/app.d.cts.map +1 -1
  183. package/dist/app.d.mts +8 -1
  184. package/dist/app.d.mts.map +1 -1
  185. package/dist/app.mjs +6 -2
  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 +1 @@
1
- {"version":3,"file":"get-provider-action.mjs","names":[],"sources":["../../src/actions/get-provider-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderActionInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action for the provider.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'gmail', 'slack').\"),\n}).describe(\"Request model for getting details of a specific action for a provider.\");\nconst StackAiGetProviderAction_ActionDescriptionSchema = z.object({\n llm: z.string().describe(\"The description shown to the LLM\").nullable(),\n human: z.string().describe(\"The description shown to the user\").nullable(),\n}).passthrough().describe(\"Description of an action shown to users and LLMs.\");\nconst StackAiGetProviderAction_ToolInputParameterSchemaSchema = z.object({\n max: z.unknown().describe(\"Maximum value for the parameter\").nullable().optional(),\n min: z.unknown().describe(\"Minimum value for the parameter\").nullable().optional(),\n form: z.string().describe(\"Form type for the parameter\").nullable(),\n name: z.string().describe(\"Name of the parameter\").nullable(),\n type: z.unknown().describe(\"Type of the parameter\"),\n label: z.string().describe(\"Label for the parameter\").nullable(),\n \"default\": z.unknown().describe(\"Default value for the parameter\").nullable().optional(),\n options: z.array(z.unknown()).describe(\"Options for the parameter\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable(),\n ui_hints: z.unknown().describe(\"UI hints for the parameter\").nullable().optional(),\n depends_on: z.unknown().describe(\"Dependencies for the parameter\").nullable().optional(),\n placeholder: z.string().describe(\"Placeholder text for the parameter\").nullable().optional(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options\").nullable().optional(),\n}).passthrough().describe(\"Schema for tool input parameters.\");\nconst StackAiGetProviderAction_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool\").nullable(),\n path: z.string().describe(\"API endpoint path\").nullable(),\n method: z.string().describe(\"HTTP method for the API call\").nullable(),\n headers: z.array(z.unknown()).describe(\"Headers for the API call\").nullable().optional(),\n parameters: z.array(z.unknown()).describe(\"Parameters for the API call\").nullable().optional(),\n description: z.unknown().describe(\"Description of the API tool\").nullable().optional(),\n server_url_with_path: z.string().describe(\"Full server URL with path\").nullable(),\n}).passthrough().describe(\"API tool information for the action.\");\nconst StackAiGetProviderAction_ToolOutputParameterSchemaSchema = z.object({\n name: z.string().describe(\"Name of the output parameter\").nullable(),\n type: z.unknown().describe(\"Type of the output parameter\"),\n label: z.string().describe(\"Label for the output parameter\").nullable(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n}).passthrough().describe(\"Schema for tool output parameters.\");\nexport const StackAiGetProviderActionOutput = z.object({\n name: z.string().describe(\"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: StackAiGetProviderAction_ActionDescriptionSchema.nullable(),\n provider_id: z.string().describe(\"Unique identifier for the provider\").nullable(),\n input_params: z.array(StackAiGetProviderAction_ToolInputParameterSchemaSchema).describe(\"List of input parameters for the action\"),\n api_tool_info: StackAiGetProviderAction_ApiToolInfoSchema.nullable().optional(),\n is_searchable: z.boolean().default(true).describe(\"Whether the action is searchable\").nullable().optional(),\n output_params: z.array(StackAiGetProviderAction_ToolOutputParameterSchemaSchema).describe(\"List of output parameters for the action\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters\").nullable(),\n output_param_count: z.number().int().describe(\"Total count of output parameters\").nullable(),\n}).passthrough().describe(\"Response model containing details of the provider action.\");\n\nexport const stackAiGetProviderAction = action(\"STACK_AI_GET_PROVIDER_ACTION\", {\n slug: \"stack_ai-get-provider-action\",\n name: \"Get Provider Action Details\",\n description: \"Tool to get details of a specific action for a provider. Use when you need information about a provider's action including its parameters, description, and API details.\",\n input: StackAiGetProviderActionInput,\n output: StackAiGetProviderActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACpG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,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vE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,yCAAyC;EACjI,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,0CAA0C;EACpI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider-action.mjs","names":[],"sources":["../../src/actions/get-provider-action.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 StackAiGetProviderActionInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action for the provider.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'gmail', 'slack').\"),\n}).describe(\"Request model for getting details of a specific action for a provider.\");\nconst StackAiGetProviderAction_ActionDescriptionSchema = z.object({\n llm: z.string().describe(\"The description shown to the LLM\").nullable(),\n human: z.string().describe(\"The description shown to the user\").nullable(),\n}).passthrough().describe(\"Description of an action shown to users and LLMs.\");\nconst StackAiGetProviderAction_ToolInputParameterSchemaSchema = z.object({\n max: z.unknown().describe(\"Maximum value for the parameter\").nullable().optional(),\n min: z.unknown().describe(\"Minimum value for the parameter\").nullable().optional(),\n form: z.string().describe(\"Form type for the parameter\").nullable(),\n name: z.string().describe(\"Name of the parameter\").nullable(),\n type: z.unknown().describe(\"Type of the parameter\"),\n label: z.string().describe(\"Label for the parameter\").nullable(),\n \"default\": z.unknown().describe(\"Default value for the parameter\").nullable().optional(),\n options: z.array(z.unknown()).describe(\"Options for the parameter\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable(),\n ui_hints: z.unknown().describe(\"UI hints for the parameter\").nullable().optional(),\n depends_on: z.unknown().describe(\"Dependencies for the parameter\").nullable().optional(),\n placeholder: z.string().describe(\"Placeholder text for the parameter\").nullable().optional(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options\").nullable().optional(),\n}).passthrough().describe(\"Schema for tool input parameters.\");\nconst StackAiGetProviderAction_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool\").nullable(),\n path: z.string().describe(\"API endpoint path\").nullable(),\n method: z.string().describe(\"HTTP method for the API call\").nullable(),\n headers: z.array(z.unknown()).describe(\"Headers for the API call\").nullable().optional(),\n parameters: z.array(z.unknown()).describe(\"Parameters for the API call\").nullable().optional(),\n description: z.unknown().describe(\"Description of the API tool\").nullable().optional(),\n server_url_with_path: z.string().describe(\"Full server URL with path\").nullable(),\n}).passthrough().describe(\"API tool information for the action.\");\nconst StackAiGetProviderAction_ToolOutputParameterSchemaSchema = z.object({\n name: z.string().describe(\"Name of the output parameter\").nullable(),\n type: z.unknown().describe(\"Type of the output parameter\"),\n label: z.string().describe(\"Label for the output parameter\").nullable(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n}).passthrough().describe(\"Schema for tool output parameters.\");\nexport const StackAiGetProviderActionOutput = z.object({\n name: z.string().describe(\"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: StackAiGetProviderAction_ActionDescriptionSchema.nullable(),\n provider_id: z.string().describe(\"Unique identifier for the provider\").nullable(),\n input_params: z.array(StackAiGetProviderAction_ToolInputParameterSchemaSchema).describe(\"List of input parameters for the action\"),\n api_tool_info: StackAiGetProviderAction_ApiToolInfoSchema.nullable().optional(),\n is_searchable: z.boolean().default(true).describe(\"Whether the action is searchable\").nullable().optional(),\n output_params: z.array(StackAiGetProviderAction_ToolOutputParameterSchemaSchema).describe(\"List of output parameters for the action\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters\").nullable(),\n output_param_count: z.number().int().describe(\"Total count of output parameters\").nullable(),\n}).passthrough().describe(\"Response model containing details of the provider action.\");\n\nexport const stackAiGetProviderAction: AppAction<\n typeof StackAiGetProviderActionInput,\n typeof StackAiGetProviderActionOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_PROVIDER_ACTION\", {\n slug: \"stack_ai-get-provider-action\",\n name: \"Get Provider Action Details\",\n description: \"Tool to get details of a specific action for a provider. Use when you need information about a provider's action including its parameters, description, and API details.\",\n input: StackAiGetProviderActionInput,\n output: StackAiGetProviderActionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACpG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CA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,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,aAAa,iDAAiD,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,yCAAyC;EACjI,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,0CAA0C;EACpI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;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-provider-icon.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-icon.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderIconInput = z.object({\n provider_id: z.string().describe(\"Provider identifier string (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for fetching a Stack AI tool provider icon image.\");\nconst StackAiGetProviderIcon_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const StackAiGetProviderIconOutput = z.object({\n url: z.string().describe(\"Requested icon URL.\").nullable(),\n content: StackAiGetProviderIcon_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model containing the icon image binary.\");\n\nexport const stackAiGetProviderIcon = action(\"STACK_AI_GET_PROVIDER_ICON\", {\n slug: \"stack_ai-get-provider-icon\",\n name: \"Get Provider Icon\",\n description: \"Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.\",\n input: StackAiGetProviderIconInput,\n output: StackAiGetProviderIconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,SAAS,8CAA8C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider-icon.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-icon.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 StackAiGetProviderIconInput = z.object({\n provider_id: z.string().describe(\"Provider identifier string (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for fetching a Stack AI tool provider icon image.\");\nconst StackAiGetProviderIcon_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const StackAiGetProviderIconOutput = z.object({\n url: z.string().describe(\"Requested icon URL.\").nullable(),\n content: StackAiGetProviderIcon_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model containing the icon image binary.\");\n\nexport const stackAiGetProviderIcon: AppAction<\n typeof StackAiGetProviderIconInput,\n typeof StackAiGetProviderIconOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_PROVIDER_ICON\", {\n slug: \"stack_ai-get-provider-icon\",\n name: \"Get Provider Icon\",\n description: \"Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.\",\n input: StackAiGetProviderIconInput,\n output: StackAiGetProviderIconOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,SAAS,8CAA8C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,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-provider-icon.d.ts
@@ -12,9 +14,7 @@ declare const StackAiGetProviderIconOutput: z.ZodObject<{
12
14
  mimetype: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const stackAiGetProviderIcon: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- provider_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const stackAiGetProviderIcon: AppAction<typeof StackAiGetProviderIconInput, typeof StackAiGetProviderIconOutput, typeof stackAi.credential>;
18
18
  //#endregion
19
19
  export { stackAiGetProviderIcon };
20
20
  //# sourceMappingURL=get-provider-icon.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-icon.d.cts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-provider-icon.d.cts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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-provider-icon.d.ts
@@ -12,9 +14,7 @@ declare const StackAiGetProviderIconOutput: z.ZodObject<{
12
14
  mimetype: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const stackAiGetProviderIcon: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- provider_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const stackAiGetProviderIcon: AppAction<typeof StackAiGetProviderIconInput, typeof StackAiGetProviderIconOutput, typeof stackAi.credential>;
18
18
  //#endregion
19
19
  export { stackAiGetProviderIcon };
20
20
  //# sourceMappingURL=get-provider-icon.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-icon.d.mts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-provider-icon.d.mts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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-icon.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-icon.mjs","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderIconInput = z.object({\n provider_id: z.string().describe(\"Provider identifier string (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for fetching a Stack AI tool provider icon image.\");\nconst StackAiGetProviderIcon_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const StackAiGetProviderIconOutput = z.object({\n url: z.string().describe(\"Requested icon URL.\").nullable(),\n content: StackAiGetProviderIcon_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model containing the icon image binary.\");\n\nexport const stackAiGetProviderIcon = action(\"STACK_AI_GET_PROVIDER_ICON\", {\n slug: \"stack_ai-get-provider-icon\",\n name: \"Get Provider Icon\",\n description: \"Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.\",\n input: StackAiGetProviderIconInput,\n output: StackAiGetProviderIconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACzD,SAAS,8CAA8C,SAAS;CAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider-icon.mjs","names":[],"sources":["../../src/actions/get-provider-icon.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 StackAiGetProviderIconInput = z.object({\n provider_id: z.string().describe(\"Provider identifier string (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for fetching a Stack AI tool provider icon image.\");\nconst StackAiGetProviderIcon_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const StackAiGetProviderIconOutput = z.object({\n url: z.string().describe(\"Requested icon URL.\").nullable(),\n content: StackAiGetProviderIcon_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model containing the icon image binary.\");\n\nexport const stackAiGetProviderIcon: AppAction<\n typeof StackAiGetProviderIconInput,\n typeof StackAiGetProviderIconOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_PROVIDER_ICON\", {\n slug: \"stack_ai-get-provider-icon\",\n name: \"Get Provider Icon\",\n description: \"Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.\",\n input: StackAiGetProviderIconInput,\n output: StackAiGetProviderIconOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACzD,SAAS,8CAA8C,SAAS;CAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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-provider-trigger.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-trigger.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-trigger.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderTriggerInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger to retrieve (e.g., 'on_record_change', 'new_message').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack', 'github').\"),\n}).describe(\"Request model for getting details of a specific trigger for a provider.\");\nconst StackAiGetProviderTrigger_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event being triggered.\").nullable(),\n instructions: z.string().describe(\"Instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening.\").nullable(),\n}).passthrough().describe(\"UI copy text for the trigger.\");\nconst StackAiGetProviderTrigger_ToolInputParameterSchemaSchema = z.object({\n max: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n min: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n form: z.string().describe(\"Form type for the parameter.\").nullable(),\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the parameter.\").nullable(),\n \"default\": z.union([z.string(), z.number().int(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for the parameter.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable(),\n ui_hints: z.record(z.string(), z.unknown()).describe(\"UI hints for rendering the parameter.\").nullable().optional(),\n depends_on: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n placeholder: z.union([z.string(), z.record(z.string(), z.unknown())]),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an input parameter of the trigger.\");\nconst StackAiGetProviderTrigger_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool.\").nullable(),\n path: z.string().describe(\"Path to the API endpoint.\").nullable(),\n method: z.string().describe(\"HTTP method for the API call (e.g., 'GET', 'POST').\").nullable(),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Headers for the API call.\").nullable().optional(),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"Parameters for the API call.\").nullable().optional(),\n description: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n server_url_with_path: z.string().describe(\"Full URL with path to the API endpoint.\").nullable(),\n}).passthrough().describe(\"Information about the API endpoint associated with the trigger.\");\nconst StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the output parameter.\").nullable(),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Schema for an output parameter of the trigger.\");\nexport const StackAiGetProviderTriggerOutput = z.object({\n name: z.string().describe(\"Name of the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags categorizing the trigger.\").nullable().optional(),\n ui_copy: StackAiGetProviderTrigger_TriggerUICopySchema.nullable(),\n trigger_id: z.string().describe(\"Unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"Unique identifier of the provider.\").nullable(),\n input_params: z.array(StackAiGetProviderTrigger_ToolInputParameterSchemaSchema).describe(\"List of input parameters for configuring the trigger.\"),\n api_tool_info: StackAiGetProviderTrigger_ApiToolInfoSchema.nullable().optional(),\n output_params: z.array(StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema).describe(\"List of output parameters provided by the trigger.\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters.\").nullable().optional(),\n output_param_count: z.number().int().describe(\"Total count of output parameters.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a specific trigger for a provider.\");\n\nexport const stackAiGetProviderTrigger = action(\"STACK_AI_GET_PROVIDER_TRIGGER\", {\n slug: \"stack_ai-get-provider-trigger\",\n name: \"Get Provider Trigger Details\",\n description: \"Tool to retrieve detailed information about a specific trigger for a provider. Use when you need to understand the configuration, inputs, outputs, or behavior of a specific trigger.\",\n input: StackAiGetProviderTriggerInput,\n output: StackAiGetProviderTriggerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC7H,aAAaA,IAAAA,E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AAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uDAAuD;CAChJ,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;CAC/I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider-trigger.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-trigger.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 StackAiGetProviderTriggerInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger to retrieve (e.g., 'on_record_change', 'new_message').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack', 'github').\"),\n}).describe(\"Request model for getting details of a specific trigger for a provider.\");\nconst StackAiGetProviderTrigger_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event being triggered.\").nullable(),\n instructions: z.string().describe(\"Instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening.\").nullable(),\n}).passthrough().describe(\"UI copy text for the trigger.\");\nconst StackAiGetProviderTrigger_ToolInputParameterSchemaSchema = z.object({\n max: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n min: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n form: z.string().describe(\"Form type for the parameter.\").nullable(),\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the parameter.\").nullable(),\n \"default\": z.union([z.string(), z.number().int(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for the parameter.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable(),\n ui_hints: z.record(z.string(), z.unknown()).describe(\"UI hints for rendering the parameter.\").nullable().optional(),\n depends_on: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n placeholder: z.union([z.string(), z.record(z.string(), z.unknown())]),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an input parameter of the trigger.\");\nconst StackAiGetProviderTrigger_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool.\").nullable(),\n path: z.string().describe(\"Path to the API endpoint.\").nullable(),\n method: z.string().describe(\"HTTP method for the API call (e.g., 'GET', 'POST').\").nullable(),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Headers for the API call.\").nullable().optional(),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"Parameters for the API call.\").nullable().optional(),\n description: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n server_url_with_path: z.string().describe(\"Full URL with path to the API endpoint.\").nullable(),\n}).passthrough().describe(\"Information about the API endpoint associated with the trigger.\");\nconst StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the output parameter.\").nullable(),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Schema for an output parameter of the trigger.\");\nexport const StackAiGetProviderTriggerOutput = z.object({\n name: z.string().describe(\"Name of the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags categorizing the trigger.\").nullable().optional(),\n ui_copy: StackAiGetProviderTrigger_TriggerUICopySchema.nullable(),\n trigger_id: z.string().describe(\"Unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"Unique identifier of the provider.\").nullable(),\n input_params: z.array(StackAiGetProviderTrigger_ToolInputParameterSchemaSchema).describe(\"List of input parameters for configuring the trigger.\"),\n api_tool_info: StackAiGetProviderTrigger_ApiToolInfoSchema.nullable().optional(),\n output_params: z.array(StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema).describe(\"List of output parameters provided by the trigger.\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters.\").nullable().optional(),\n output_param_count: z.number().int().describe(\"Total count of output parameters.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a specific trigger for a provider.\");\n\nexport const stackAiGetProviderTrigger: AppAction<\n typeof StackAiGetProviderTriggerInput,\n typeof StackAiGetProviderTriggerOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_PROVIDER_TRIGGER\", {\n slug: \"stack_ai-get-provider-trigger\",\n name: \"Get Provider Trigger Details\",\n description: \"Tool to retrieve detailed information about a specific trigger for a provider. Use when you need to understand the configu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AAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,8CAA8C,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uDAAuD;CAChJ,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;CAC/I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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-provider-trigger.d.ts
@@ -52,10 +54,7 @@ declare const StackAiGetProviderTriggerOutput: z.ZodObject<{
52
54
  input_param_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
55
  output_param_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
56
  }, z.core.$loose>;
55
- declare const stackAiGetProviderTrigger: import("@keystrokehq/action").WorkflowActionDefinition<{
56
- trigger_id: string;
57
- provider_id: string;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
57
+ declare const stackAiGetProviderTrigger: AppAction<typeof StackAiGetProviderTriggerInput, typeof StackAiGetProviderTriggerOutput, typeof stackAi.credential>;
59
58
  //#endregion
60
59
  export { stackAiGetProviderTrigger };
61
60
  //# sourceMappingURL=get-provider-trigger.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-trigger.d.cts","names":[],"sources":["../../src/actions/get-provider-trigger.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-provider-trigger.d.cts","names":[],"sources":["../../src/actions/get-provider-trigger.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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-provider-trigger.d.ts
@@ -52,10 +54,7 @@ declare const StackAiGetProviderTriggerOutput: z.ZodObject<{
52
54
  input_param_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
55
  output_param_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
56
  }, z.core.$loose>;
55
- declare const stackAiGetProviderTrigger: import("@keystrokehq/action").WorkflowActionDefinition<{
56
- trigger_id: string;
57
- provider_id: string;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
57
+ declare const stackAiGetProviderTrigger: AppAction<typeof StackAiGetProviderTriggerInput, typeof StackAiGetProviderTriggerOutput, typeof stackAi.credential>;
59
58
  //#endregion
60
59
  export { stackAiGetProviderTrigger };
61
60
  //# sourceMappingURL=get-provider-trigger.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-trigger.d.mts","names":[],"sources":["../../src/actions/get-provider-trigger.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-provider-trigger.d.mts","names":[],"sources":["../../src/actions/get-provider-trigger.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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-trigger.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider-trigger.mjs","names":[],"sources":["../../src/actions/get-provider-trigger.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderTriggerInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger to retrieve (e.g., 'on_record_change', 'new_message').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack', 'github').\"),\n}).describe(\"Request model for getting details of a specific trigger for a provider.\");\nconst StackAiGetProviderTrigger_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event being triggered.\").nullable(),\n instructions: z.string().describe(\"Instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening.\").nullable(),\n}).passthrough().describe(\"UI copy text for the trigger.\");\nconst StackAiGetProviderTrigger_ToolInputParameterSchemaSchema = z.object({\n max: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n min: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n form: z.string().describe(\"Form type for the parameter.\").nullable(),\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the parameter.\").nullable(),\n \"default\": z.union([z.string(), z.number().int(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for the parameter.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable(),\n ui_hints: z.record(z.string(), z.unknown()).describe(\"UI hints for rendering the parameter.\").nullable().optional(),\n depends_on: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n placeholder: z.union([z.string(), z.record(z.string(), z.unknown())]),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an input parameter of the trigger.\");\nconst StackAiGetProviderTrigger_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool.\").nullable(),\n path: z.string().describe(\"Path to the API endpoint.\").nullable(),\n method: z.string().describe(\"HTTP method for the API call (e.g., 'GET', 'POST').\").nullable(),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Headers for the API call.\").nullable().optional(),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"Parameters for the API call.\").nullable().optional(),\n description: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n server_url_with_path: z.string().describe(\"Full URL with path to the API endpoint.\").nullable(),\n}).passthrough().describe(\"Information about the API endpoint associated with the trigger.\");\nconst StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the output parameter.\").nullable(),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Schema for an output parameter of the trigger.\");\nexport const StackAiGetProviderTriggerOutput = z.object({\n name: z.string().describe(\"Name of the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags categorizing the trigger.\").nullable().optional(),\n ui_copy: StackAiGetProviderTrigger_TriggerUICopySchema.nullable(),\n trigger_id: z.string().describe(\"Unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"Unique identifier of the provider.\").nullable(),\n input_params: z.array(StackAiGetProviderTrigger_ToolInputParameterSchemaSchema).describe(\"List of input parameters for configuring the trigger.\"),\n api_tool_info: StackAiGetProviderTrigger_ApiToolInfoSchema.nullable().optional(),\n output_params: z.array(StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema).describe(\"List of output parameters provided by the trigger.\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters.\").nullable().optional(),\n output_param_count: z.number().int().describe(\"Total count of output parameters.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a specific trigger for a provider.\");\n\nexport const stackAiGetProviderTrigger = action(\"STACK_AI_GET_PROVIDER_TRIGGER\", {\n slug: \"stack_ai-get-provider-trigger\",\n name: \"Get Provider Trigger Details\",\n description: \"Tool to retrieve detailed information about a specific trigger for a provider. Use when you need to understand the configuration, inputs, outputs, or behavior of a specific trigger.\",\n input: StackAiGetProviderTriggerInput,\n output: StackAiGetProviderTriggerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AACjH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,gDAAgD,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,MAAM;EAAC,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACzF,KAAK,EAAE,MAAM;EAAC,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,MAAM,CAAC,EAA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OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider-trigger.mjs","names":[],"sources":["../../src/actions/get-provider-trigger.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 StackAiGetProviderTriggerInput = z.object({\n trigger_id: z.string().describe(\"The unique identifier of the trigger to retrieve (e.g., 'on_record_change', 'new_message').\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack', 'github').\"),\n}).describe(\"Request model for getting details of a specific trigger for a provider.\");\nconst StackAiGetProviderTrigger_TriggerUICopySchema = z.object({\n event_name: z.string().describe(\"Name of the event being triggered.\").nullable(),\n instructions: z.string().describe(\"Instructions for configuring the trigger.\").nullable().optional(),\n listening_text: z.string().describe(\"Text displayed when the trigger is listening.\").nullable(),\n}).passthrough().describe(\"UI copy text for the trigger.\");\nconst StackAiGetProviderTrigger_ToolInputParameterSchemaSchema = z.object({\n max: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n min: z.union([z.number().int(), z.number(), z.record(z.string(), z.unknown())]).nullable(),\n form: z.string().describe(\"Form type for the parameter.\").nullable(),\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the parameter.\").nullable(),\n \"default\": z.union([z.string(), z.number().int(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for the parameter.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable(),\n ui_hints: z.record(z.string(), z.unknown()).describe(\"UI hints for rendering the parameter.\").nullable().optional(),\n depends_on: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n placeholder: z.union([z.string(), z.record(z.string(), z.unknown())]),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an input parameter of the trigger.\");\nconst StackAiGetProviderTrigger_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool.\").nullable(),\n path: z.string().describe(\"Path to the API endpoint.\").nullable(),\n method: z.string().describe(\"HTTP method for the API call (e.g., 'GET', 'POST').\").nullable(),\n headers: z.array(z.record(z.string(), z.unknown())).describe(\"Headers for the API call.\").nullable().optional(),\n parameters: z.array(z.record(z.string(), z.unknown())).describe(\"Parameters for the API call.\").nullable().optional(),\n description: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n server_url_with_path: z.string().describe(\"Full URL with path to the API endpoint.\").nullable(),\n}).passthrough().describe(\"Information about the API endpoint associated with the trigger.\");\nconst StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema = z.object({\n name: z.union([z.string(), z.record(z.string(), z.unknown())]),\n type: z.union([z.string(), z.record(z.string(), z.unknown())]),\n label: z.string().describe(\"Display label for the output parameter.\").nullable(),\n llm_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n human_description: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Schema for an output parameter of the trigger.\");\nexport const StackAiGetProviderTriggerOutput = z.object({\n name: z.string().describe(\"Name of the trigger.\").nullable(),\n tags: z.array(z.string()).describe(\"Tags categorizing the trigger.\").nullable().optional(),\n ui_copy: StackAiGetProviderTrigger_TriggerUICopySchema.nullable(),\n trigger_id: z.string().describe(\"Unique identifier of the trigger.\").nullable(),\n description: z.string().describe(\"Description of what the trigger does.\").nullable(),\n provider_id: z.string().describe(\"Unique identifier of the provider.\").nullable(),\n input_params: z.array(StackAiGetProviderTrigger_ToolInputParameterSchemaSchema).describe(\"List of input parameters for configuring the trigger.\"),\n api_tool_info: StackAiGetProviderTrigger_ApiToolInfoSchema.nullable().optional(),\n output_params: z.array(StackAiGetProviderTrigger_ToolOutputParameterSchemaSchema).describe(\"List of output parameters provided by the trigger.\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters.\").nullable().optional(),\n output_param_count: z.number().int().describe(\"Total count of output parameters.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a specific trigger for a provider.\");\n\nexport const stackAiGetProviderTrigger: AppAction<\n typeof StackAiGetProviderTriggerInput,\n typeof StackAiGetProviderTriggerOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_PROVIDER_TRIGGER\", {\n slug: \"stack_ai-get-provider-trigger\",\n name: \"Get Provider Trigger Details\",\n description: \"Tool to retrieve detailed information about a specific trigger for a provider. Use when you need to understand the configuration, inputs, outputs, or behavior of a specific trigger.\",\n input: StackAiGetProviderTriggerInput,\n output: StackAiGetProviderTriggerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AACjH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,gDAAgD,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,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AO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uDAAuD;EAChJ,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC/E,eAAe,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,oDAAoD;EAC/I,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAWhB;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-provider.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider.cjs","names":["z","action"],"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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAA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A,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC/E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-provider.cjs","names":["z","action"],"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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,EAC5H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC3G,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,S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CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC/E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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-provider.d.ts
@@ -50,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ declare const stackAiGetProvider: AppAction<typeof StackAiGetProviderInput, typeof StackAiGetProviderOutput, typeof stackAi.credential>;
56
56
  //#endregion
57
57
  export { stackAiGetProvider };
58
58
  //# sourceMappingURL=get-provider.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-provider.d.cts","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.cts","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,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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ declare const stackAiGetProvider: AppAction<typeof StackAiGetProviderInput, typeof StackAiGetProviderOutput, typeof stackAi.credential>;
56
56
  //#endregion
57
57
  export { stackAiGetProvider };
58
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,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,CAAC,SAAS;CAC5E,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC3G,eAAe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C,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,CAAC,SAAS;CAC5E,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC3G,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,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,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8CAA8C;EACjH,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,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,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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const stackAiGetRoot: AppAction<typeof StackAiGetRootInput, typeof StackAiGetRootOutput, typeof stackAi.credential>;
7
9
  //#endregion
8
10
  export { stackAiGetRoot };
9
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,4CAAA,UAAA"}
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const stackAiGetRoot: AppAction<typeof StackAiGetRootInput, typeof StackAiGetRootOutput, typeof stackAi.credential>;
7
9
  //#endregion
8
10
  export { stackAiGetRoot };
9
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,4CAAA,UAAA"}
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,i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C,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxO,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;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
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-trigger-by-provider.d.ts
@@ -26,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const stackAiGetTriggerByProvider: AppAction<typeof StackAiGetTriggerByProviderInput, typeof StackAiGetTriggerByProviderOutput, typeof stackAi.credential>;
33
32
  //#endregion
34
33
  export { stackAiGetTriggerByProvider };
35
34
  //# sourceMappingURL=get-trigger-by-provider.d.cts.map