@keystrokehq/stack_ai 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-health.cjs +1 -0
  4. package/dist/actions/check-health.cjs.map +1 -1
  5. package/dist/actions/check-health.d.cts +3 -15
  6. package/dist/actions/check-health.d.cts.map +1 -1
  7. package/dist/actions/check-health.d.mts +3 -15
  8. package/dist/actions/check-health.d.mts.map +1 -1
  9. package/dist/actions/check-health.mjs +1 -0
  10. package/dist/actions/check-health.mjs.map +1 -1
  11. package/dist/actions/get-action-inputs.cjs +1 -0
  12. package/dist/actions/get-action-inputs.cjs.map +1 -1
  13. package/dist/actions/get-action-inputs.d.cts +3 -18
  14. package/dist/actions/get-action-inputs.d.cts.map +1 -1
  15. package/dist/actions/get-action-inputs.d.mts +3 -18
  16. package/dist/actions/get-action-inputs.d.mts.map +1 -1
  17. package/dist/actions/get-action-inputs.mjs +1 -0
  18. package/dist/actions/get-action-inputs.mjs.map +1 -1
  19. package/dist/actions/get-action-outputs.cjs +1 -0
  20. package/dist/actions/get-action-outputs.cjs.map +1 -1
  21. package/dist/actions/get-action-outputs.d.cts +3 -18
  22. package/dist/actions/get-action-outputs.d.cts.map +1 -1
  23. package/dist/actions/get-action-outputs.d.mts +3 -18
  24. package/dist/actions/get-action-outputs.d.mts.map +1 -1
  25. package/dist/actions/get-action-outputs.mjs +1 -0
  26. package/dist/actions/get-action-outputs.mjs.map +1 -1
  27. package/dist/actions/get-connector-type-schema.cjs +1 -0
  28. package/dist/actions/get-connector-type-schema.cjs.map +1 -1
  29. package/dist/actions/get-connector-type-schema.d.cts +3 -17
  30. package/dist/actions/get-connector-type-schema.d.cts.map +1 -1
  31. package/dist/actions/get-connector-type-schema.d.mts +3 -17
  32. package/dist/actions/get-connector-type-schema.d.mts.map +1 -1
  33. package/dist/actions/get-connector-type-schema.mjs +1 -0
  34. package/dist/actions/get-connector-type-schema.mjs.map +1 -1
  35. package/dist/actions/get-license-status.cjs +1 -0
  36. package/dist/actions/get-license-status.cjs.map +1 -1
  37. package/dist/actions/get-license-status.d.cts +3 -15
  38. package/dist/actions/get-license-status.d.cts.map +1 -1
  39. package/dist/actions/get-license-status.d.mts +3 -15
  40. package/dist/actions/get-license-status.d.mts.map +1 -1
  41. package/dist/actions/get-license-status.mjs +1 -0
  42. package/dist/actions/get-license-status.mjs.map +1 -1
  43. package/dist/actions/get-provider-action.cjs +1 -0
  44. package/dist/actions/get-provider-action.cjs.map +1 -1
  45. package/dist/actions/get-provider-action.d.cts +3 -18
  46. package/dist/actions/get-provider-action.d.cts.map +1 -1
  47. package/dist/actions/get-provider-action.d.mts +3 -18
  48. package/dist/actions/get-provider-action.d.mts.map +1 -1
  49. package/dist/actions/get-provider-action.mjs +1 -0
  50. package/dist/actions/get-provider-action.mjs.map +1 -1
  51. package/dist/actions/get-provider-icon.cjs +1 -0
  52. package/dist/actions/get-provider-icon.cjs.map +1 -1
  53. package/dist/actions/get-provider-icon.d.cts +3 -17
  54. package/dist/actions/get-provider-icon.d.cts.map +1 -1
  55. package/dist/actions/get-provider-icon.d.mts +3 -17
  56. package/dist/actions/get-provider-icon.d.mts.map +1 -1
  57. package/dist/actions/get-provider-icon.mjs +1 -0
  58. package/dist/actions/get-provider-icon.mjs.map +1 -1
  59. package/dist/actions/get-provider-trigger.cjs +1 -0
  60. package/dist/actions/get-provider-trigger.cjs.map +1 -1
  61. package/dist/actions/get-provider-trigger.d.cts +3 -18
  62. package/dist/actions/get-provider-trigger.d.cts.map +1 -1
  63. package/dist/actions/get-provider-trigger.d.mts +3 -18
  64. package/dist/actions/get-provider-trigger.d.mts.map +1 -1
  65. package/dist/actions/get-provider-trigger.mjs +1 -0
  66. package/dist/actions/get-provider-trigger.mjs.map +1 -1
  67. package/dist/actions/get-provider.cjs +1 -0
  68. package/dist/actions/get-provider.cjs.map +1 -1
  69. package/dist/actions/get-provider.d.cts +3 -17
  70. package/dist/actions/get-provider.d.cts.map +1 -1
  71. package/dist/actions/get-provider.d.mts +3 -17
  72. package/dist/actions/get-provider.d.mts.map +1 -1
  73. package/dist/actions/get-provider.mjs +1 -0
  74. package/dist/actions/get-provider.mjs.map +1 -1
  75. package/dist/actions/get-root.cjs +1 -0
  76. package/dist/actions/get-root.cjs.map +1 -1
  77. package/dist/actions/get-root.d.cts +3 -15
  78. package/dist/actions/get-root.d.cts.map +1 -1
  79. package/dist/actions/get-root.d.mts +3 -15
  80. package/dist/actions/get-root.d.mts.map +1 -1
  81. package/dist/actions/get-root.mjs +1 -0
  82. package/dist/actions/get-root.mjs.map +1 -1
  83. package/dist/actions/get-trigger-by-provider.cjs +1 -0
  84. package/dist/actions/get-trigger-by-provider.cjs.map +1 -1
  85. package/dist/actions/get-trigger-by-provider.d.cts +3 -18
  86. package/dist/actions/get-trigger-by-provider.d.cts.map +1 -1
  87. package/dist/actions/get-trigger-by-provider.d.mts +3 -18
  88. package/dist/actions/get-trigger-by-provider.d.mts.map +1 -1
  89. package/dist/actions/get-trigger-by-provider.mjs +1 -0
  90. package/dist/actions/get-trigger-by-provider.mjs.map +1 -1
  91. package/dist/actions/get-trigger-inputs.cjs +1 -0
  92. package/dist/actions/get-trigger-inputs.cjs.map +1 -1
  93. package/dist/actions/get-trigger-inputs.d.cts +3 -18
  94. package/dist/actions/get-trigger-inputs.d.cts.map +1 -1
  95. package/dist/actions/get-trigger-inputs.d.mts +3 -18
  96. package/dist/actions/get-trigger-inputs.d.mts.map +1 -1
  97. package/dist/actions/get-trigger-inputs.mjs +1 -0
  98. package/dist/actions/get-trigger-inputs.mjs.map +1 -1
  99. package/dist/actions/get-trigger-outputs.cjs +1 -0
  100. package/dist/actions/get-trigger-outputs.cjs.map +1 -1
  101. package/dist/actions/get-trigger-outputs.d.cts +3 -18
  102. package/dist/actions/get-trigger-outputs.d.cts.map +1 -1
  103. package/dist/actions/get-trigger-outputs.d.mts +3 -18
  104. package/dist/actions/get-trigger-outputs.d.mts.map +1 -1
  105. package/dist/actions/get-trigger-outputs.mjs +1 -0
  106. package/dist/actions/get-trigger-outputs.mjs.map +1 -1
  107. package/dist/actions/list-connector-types.cjs +1 -0
  108. package/dist/actions/list-connector-types.cjs.map +1 -1
  109. package/dist/actions/list-connector-types.d.cts +3 -15
  110. package/dist/actions/list-connector-types.d.cts.map +1 -1
  111. package/dist/actions/list-connector-types.d.mts +3 -15
  112. package/dist/actions/list-connector-types.d.mts.map +1 -1
  113. package/dist/actions/list-connector-types.mjs +1 -0
  114. package/dist/actions/list-connector-types.mjs.map +1 -1
  115. package/dist/actions/list-integrations.cjs +1 -0
  116. package/dist/actions/list-integrations.cjs.map +1 -1
  117. package/dist/actions/list-integrations.d.cts +3 -15
  118. package/dist/actions/list-integrations.d.cts.map +1 -1
  119. package/dist/actions/list-integrations.d.mts +3 -15
  120. package/dist/actions/list-integrations.d.mts.map +1 -1
  121. package/dist/actions/list-integrations.mjs +1 -0
  122. package/dist/actions/list-integrations.mjs.map +1 -1
  123. package/dist/actions/list-permission-groups.cjs +1 -0
  124. package/dist/actions/list-permission-groups.cjs.map +1 -1
  125. package/dist/actions/list-permission-groups.d.cts +3 -15
  126. package/dist/actions/list-permission-groups.d.cts.map +1 -1
  127. package/dist/actions/list-permission-groups.d.mts +3 -15
  128. package/dist/actions/list-permission-groups.d.mts.map +1 -1
  129. package/dist/actions/list-permission-groups.mjs +1 -0
  130. package/dist/actions/list-permission-groups.mjs.map +1 -1
  131. package/dist/actions/list-permissions.cjs +1 -0
  132. package/dist/actions/list-permissions.cjs.map +1 -1
  133. package/dist/actions/list-permissions.d.cts +3 -15
  134. package/dist/actions/list-permissions.d.cts.map +1 -1
  135. package/dist/actions/list-permissions.d.mts +3 -15
  136. package/dist/actions/list-permissions.d.mts.map +1 -1
  137. package/dist/actions/list-permissions.mjs +1 -0
  138. package/dist/actions/list-permissions.mjs.map +1 -1
  139. package/dist/actions/list-provider-triggers.cjs +1 -0
  140. package/dist/actions/list-provider-triggers.cjs.map +1 -1
  141. package/dist/actions/list-provider-triggers.d.cts +3 -17
  142. package/dist/actions/list-provider-triggers.d.cts.map +1 -1
  143. package/dist/actions/list-provider-triggers.d.mts +3 -17
  144. package/dist/actions/list-provider-triggers.d.mts.map +1 -1
  145. package/dist/actions/list-provider-triggers.mjs +1 -0
  146. package/dist/actions/list-provider-triggers.mjs.map +1 -1
  147. package/dist/actions/list-stack-ai-triggers.cjs +1 -0
  148. package/dist/actions/list-stack-ai-triggers.cjs.map +1 -1
  149. package/dist/actions/list-stack-ai-triggers.d.cts +3 -15
  150. package/dist/actions/list-stack-ai-triggers.d.cts.map +1 -1
  151. package/dist/actions/list-stack-ai-triggers.d.mts +3 -15
  152. package/dist/actions/list-stack-ai-triggers.d.mts.map +1 -1
  153. package/dist/actions/list-stack-ai-triggers.mjs +1 -0
  154. package/dist/actions/list-stack-ai-triggers.mjs.map +1 -1
  155. package/dist/actions/list-stackai-actions.cjs +1 -0
  156. package/dist/actions/list-stackai-actions.cjs.map +1 -1
  157. package/dist/actions/list-stackai-actions.d.cts +3 -15
  158. package/dist/actions/list-stackai-actions.d.cts.map +1 -1
  159. package/dist/actions/list-stackai-actions.d.mts +3 -15
  160. package/dist/actions/list-stackai-actions.d.mts.map +1 -1
  161. package/dist/actions/list-stackai-actions.mjs +1 -0
  162. package/dist/actions/list-stackai-actions.mjs.map +1 -1
  163. package/dist/actions/list-stackai-providers.cjs +1 -0
  164. package/dist/actions/list-stackai-providers.cjs.map +1 -1
  165. package/dist/actions/list-stackai-providers.d.cts +3 -15
  166. package/dist/actions/list-stackai-providers.d.cts.map +1 -1
  167. package/dist/actions/list-stackai-providers.d.mts +3 -15
  168. package/dist/actions/list-stackai-providers.d.mts.map +1 -1
  169. package/dist/actions/list-stackai-providers.mjs +1 -0
  170. package/dist/actions/list-stackai-providers.mjs.map +1 -1
  171. package/dist/actions/list-stackai-tools.cjs +1 -0
  172. package/dist/actions/list-stackai-tools.cjs.map +1 -1
  173. package/dist/actions/list-stackai-tools.d.cts +3 -15
  174. package/dist/actions/list-stackai-tools.d.cts.map +1 -1
  175. package/dist/actions/list-stackai-tools.d.mts +3 -15
  176. package/dist/actions/list-stackai-tools.d.mts.map +1 -1
  177. package/dist/actions/list-stackai-tools.mjs +1 -0
  178. package/dist/actions/list-stackai-tools.mjs.map +1 -1
  179. package/dist/app.cjs +5 -4
  180. package/dist/app.cjs.map +1 -1
  181. package/dist/app.d.cts +4 -6
  182. package/dist/app.d.cts.map +1 -1
  183. package/dist/app.d.mts +4 -6
  184. package/dist/app.d.mts.map +1 -1
  185. package/dist/app.mjs +0 -1
  186. package/dist/app.mjs.map +1 -1
  187. package/dist/index.d.cts +1 -1
  188. package/dist/index.d.mts +1 -1
  189. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["stackAi","executeStackAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { stackAi } from \"./app\";\nimport { executeStackAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return stackAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeStackAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["stackAi","executeStackAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { stackAi } from \"./app\";\nimport { executeStackAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof stackAi.credential> {\n return stackAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeStackAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { stackAi } from \"./app\";\nimport { executeStackAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return stackAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeStackAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { stackAi } from \"./app\";\nimport { executeStackAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof stackAi.credential> {\n return stackAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeStackAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/check-health.ts
@@ -1 +1 @@
1
- {"version":3,"file":"check-health.cjs","names":["z","action"],"sources":["../../src/actions/check-health.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiCheckHealthInput = z.object({}).describe(\"Request model for Stack AI health check endpoint.\\nNo parameters required for health check.\");\nexport const StackAiCheckHealthOutput = z.record(z.string(), z.unknown()).describe(\"Response model for Stack AI health check endpoint.\\nReturns a dictionary with string values indicating service health status.\");\n\nexport const stackAiCheckHealth = action(\"STACK_AI_CHECK_HEALTH\", {\n slug: \"stack_ai-check-health\",\n name: \"Check Health\",\n description: \"Tool to check the health status of the Stack AI API. Use to verify API availability and service status.\",\n input: StackAiCheckHealthInput,\n output: StackAiCheckHealthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC1J,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H;AAElN,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-health.cjs","names":["z","action"],"sources":["../../src/actions/check-health.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 StackAiCheckHealthInput = z.object({}).describe(\"Request model for Stack AI health check endpoint.\\nNo parameters required for health check.\");\nexport const StackAiCheckHealthOutput = z.record(z.string(), z.unknown()).describe(\"Response model for Stack AI health check endpoint.\\nReturns a dictionary with string values indicating service health status.\");\n\nexport const stackAiCheckHealth: AppAction<\n typeof StackAiCheckHealthInput,\n typeof StackAiCheckHealthOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_CHECK_HEALTH\", {\n slug: \"stack_ai-check-health\",\n name: \"Check Health\",\n description: \"Tool to check the health status of the Stack AI API. Use to verify API availability and service status.\",\n input: StackAiCheckHealthInput,\n output: StackAiCheckHealthOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC1J,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H;AAElN,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/check-health.d.ts
4
6
  declare const StackAiCheckHealthInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiCheckHealthOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
- declare const stackAiCheckHealth: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiCheckHealth: AppAction<typeof StackAiCheckHealthInput, typeof StackAiCheckHealthOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiCheckHealth };
23
11
  //# sourceMappingURL=check-health.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-health.d.cts","names":[],"sources":["../../src/actions/check-health.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"check-health.d.cts","names":[],"sources":["../../src/actions/check-health.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,23 +1,11 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/check-health.d.ts
4
6
  declare const StackAiCheckHealthInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const StackAiCheckHealthOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
- declare const stackAiCheckHealth: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
7
- connectionId: z.ZodString;
8
- entityId: z.ZodString;
9
- instanceId: z.ZodString;
10
- }, z.core.$strip>, z.ZodObject<{
11
- generic_api_key: z.ZodString;
12
- generic_id: z.ZodString;
13
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- generic_id: z.ZodString;
20
- }, z.core.$strip>>]>;
8
+ declare const stackAiCheckHealth: AppAction<typeof StackAiCheckHealthInput, typeof StackAiCheckHealthOutput, typeof stackAi.credential>;
21
9
  //#endregion
22
10
  export { stackAiCheckHealth };
23
11
  //# sourceMappingURL=check-health.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-health.d.mts","names":[],"sources":["../../src/actions/check-health.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"check-health.d.mts","names":[],"sources":["../../src/actions/check-health.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,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
  const stackAiCheckHealth = action("STACK_AI_CHECK_HEALTH", {
@@ -1 +1 @@
1
- {"version":3,"file":"check-health.mjs","names":[],"sources":["../../src/actions/check-health.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiCheckHealthInput = z.object({}).describe(\"Request model for Stack AI health check endpoint.\\nNo parameters required for health check.\");\nexport const StackAiCheckHealthOutput = z.record(z.string(), z.unknown()).describe(\"Response model for Stack AI health check endpoint.\\nReturns a dictionary with string values indicating service health status.\");\n\nexport const stackAiCheckHealth = action(\"STACK_AI_CHECK_HEALTH\", {\n slug: \"stack_ai-check-health\",\n name: \"Check Health\",\n description: \"Tool to check the health status of the Stack AI API. Use to verify API availability and service status.\",\n input: StackAiCheckHealthInput,\n output: StackAiCheckHealthOutput,\n});\n"],"mappings":";;AAOA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAOpD;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAOzE;AACV,CAAC"}
1
+ {"version":3,"file":"check-health.mjs","names":[],"sources":["../../src/actions/check-health.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 StackAiCheckHealthInput = z.object({}).describe(\"Request model for Stack AI health check endpoint.\\nNo parameters required for health check.\");\nexport const StackAiCheckHealthOutput = z.record(z.string(), z.unknown()).describe(\"Response model for Stack AI health check endpoint.\\nReturns a dictionary with string values indicating service health status.\");\n\nexport const stackAiCheckHealth: AppAction<\n typeof StackAiCheckHealthInput,\n typeof StackAiCheckHealthOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_CHECK_HEALTH\", {\n slug: \"stack_ai-check-health\",\n name: \"Check Health\",\n description: \"Tool to check the health status of the Stack AI API. Use to verify API availability and service status.\",\n input: StackAiCheckHealthInput,\n output: StackAiCheckHealthOutput,\n});\n"],"mappings":";;;AASA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAWpD;CACP,QAXsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAWzE;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-action-inputs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-inputs.cjs","names":["z","action"],"sources":["../../src/actions/get-action-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetActionInputsInput = z.object({\n action_id: z.string().describe(\"The ID of the action to get inputs for (e.g., 'database_delete_airtable').\"),\n provider_id: z.string().describe(\"The ID of the provider (e.g., 'airtable', 'slack', 'notion').\"),\n}).describe(\"Request model for getting input schema for a provider action.\");\nexport const StackAiGetActionInputsOutput = z.record(z.string(), z.unknown()).describe(\"Response model for provider action input schema.\\nThe response is a dynamic object containing the complete input schema definition.\\nSince the schema structure varies by provider and action, all fields are captured dynamically.\");\n\nexport const stackAiGetActionInputs = action(\"STACK_AI_GET_ACTION_INPUTS\", {\n slug: \"stack_ai-get-action-inputs\",\n name: \"Get Action Inputs\",\n description: \"Tool to retrieve the input schema for a specific provider action in Stack AI. Use when you need to understand what parameters are required for a provider action.\",\n input: StackAiGetActionInputsInput,\n output: StackAiGetActionInputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAClG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qOAAqO;AAE5T,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-action-inputs.cjs","names":["z","action"],"sources":["../../src/actions/get-action-inputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetActionInputsInput = z.object({\n action_id: z.string().describe(\"The ID of the action to get inputs for (e.g., 'database_delete_airtable').\"),\n provider_id: z.string().describe(\"The ID of the provider (e.g., 'airtable', 'slack', 'notion').\"),\n}).describe(\"Request model for getting input schema for a provider action.\");\nexport const StackAiGetActionInputsOutput = z.record(z.string(), z.unknown()).describe(\"Response model for provider action input schema.\\nThe response is a dynamic object containing the complete input schema definition.\\nSince the schema structure varies by provider and action, all fields are captured dynamically.\");\n\nexport const stackAiGetActionInputs: AppAction<\n typeof StackAiGetActionInputsInput,\n typeof StackAiGetActionInputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_ACTION_INPUTS\", {\n slug: \"stack_ai-get-action-inputs\",\n name: \"Get Action Inputs\",\n description: \"Tool to retrieve the input schema for a specific provider action in Stack AI. Use when you need to understand what parameters are required for a provider action.\",\n input: StackAiGetActionInputsInput,\n output: StackAiGetActionInputsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAClG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qOAAqO;AAE5T,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-action-inputs.d.ts
@@ -6,24 +8,7 @@ declare const StackAiGetActionInputsInput: z.ZodObject<{
6
8
  provider_id: z.ZodString;
7
9
  }, z.core.$strip>;
8
10
  declare const StackAiGetActionInputsOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const stackAiGetActionInputs: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- action_id: string;
11
- provider_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
11
+ declare const stackAiGetActionInputs: AppAction<typeof StackAiGetActionInputsInput, typeof StackAiGetActionInputsOutput, typeof stackAi.credential>;
27
12
  //#endregion
28
13
  export { stackAiGetActionInputs };
29
14
  //# sourceMappingURL=get-action-inputs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-inputs.d.cts","names":[],"sources":["../../src/actions/get-action-inputs.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-action-inputs.d.cts","names":[],"sources":["../../src/actions/get-action-inputs.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,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-action-inputs.d.ts
@@ -6,24 +8,7 @@ declare const StackAiGetActionInputsInput: z.ZodObject<{
6
8
  provider_id: z.ZodString;
7
9
  }, z.core.$strip>;
8
10
  declare const StackAiGetActionInputsOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- declare const stackAiGetActionInputs: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- action_id: string;
11
- provider_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
11
+ declare const stackAiGetActionInputs: AppAction<typeof StackAiGetActionInputsInput, typeof StackAiGetActionInputsOutput, typeof stackAi.credential>;
27
12
  //#endregion
28
13
  export { stackAiGetActionInputs };
29
14
  //# sourceMappingURL=get-action-inputs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-inputs.d.mts","names":[],"sources":["../../src/actions/get-action-inputs.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-action-inputs.d.mts","names":[],"sources":["../../src/actions/get-action-inputs.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,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
  const stackAiGetActionInputs = action("STACK_AI_GET_ACTION_INPUTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-inputs.mjs","names":[],"sources":["../../src/actions/get-action-inputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetActionInputsInput = z.object({\n action_id: z.string().describe(\"The ID of the action to get inputs for (e.g., 'database_delete_airtable').\"),\n provider_id: z.string().describe(\"The ID of the provider (e.g., 'airtable', 'slack', 'notion').\"),\n}).describe(\"Request model for getting input schema for a provider action.\");\nexport const StackAiGetActionInputsOutput = z.record(z.string(), z.unknown()).describe(\"Response model for provider action input schema.\\nThe response is a dynamic object containing the complete input schema definition.\\nSince the schema structure varies by provider and action, all fields are captured dynamically.\");\n\nexport const stackAiGetActionInputs = action(\"STACK_AI_GET_ACTION_INPUTS\", {\n slug: \"stack_ai-get-action-inputs\",\n name: \"Get Action Inputs\",\n description: \"Tool to retrieve the input schema for a specific provider action in Stack AI. Use when you need to understand what parameters are required for a provider action.\",\n input: StackAiGetActionInputsInput,\n output: StackAiGetActionInputsOutput,\n});\n"],"mappings":";;AAUA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVyC,EAAE,OAAO;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAClG,CAAC,CAAC,CAAC,SAAS,+DAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qOAO7E;AACV,CAAC"}
1
+ {"version":3,"file":"get-action-inputs.mjs","names":[],"sources":["../../src/actions/get-action-inputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetActionInputsInput = z.object({\n action_id: z.string().describe(\"The ID of the action to get inputs for (e.g., 'database_delete_airtable').\"),\n provider_id: z.string().describe(\"The ID of the provider (e.g., 'airtable', 'slack', 'notion').\"),\n}).describe(\"Request model for getting input schema for a provider action.\");\nexport const StackAiGetActionInputsOutput = z.record(z.string(), z.unknown()).describe(\"Response model for provider action input schema.\\nThe response is a dynamic object containing the complete input schema definition.\\nSince the schema structure varies by provider and action, all fields are captured dynamically.\");\n\nexport const stackAiGetActionInputs: AppAction<\n typeof StackAiGetActionInputsInput,\n typeof StackAiGetActionInputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_ACTION_INPUTS\", {\n slug: \"stack_ai-get-action-inputs\",\n name: \"Get Action Inputs\",\n description: \"Tool to retrieve the input schema for a specific provider action in Stack AI. Use when you need to understand what parameters are required for a provider action.\",\n input: StackAiGetActionInputsInput,\n output: StackAiGetActionInputsOutput,\n});\n"],"mappings":";;;AAYA,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAClG,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAX0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qOAW7E;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-action-outputs.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-outputs.cjs","names":["z","action"],"sources":["../../src/actions/get-action-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetActionOutputsInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action within the provider (e.g., 'database_delete_airtable'). Used in the URL path to specify which action's output schema to retrieve.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack'). Used in the URL path to identify which provider's action to query.\"),\n}).describe(\"Request model for retrieving output schema for a provider action.\");\nexport const StackAiGetActionOutputsOutput = z.object({\n type: z.string().describe(\"JSON schema type (e.g., 'object', 'array', 'string'). Indicates the data type of the action output.\").nullable().optional(),\n items: z.record(z.string(), z.unknown()).describe(\"Schema definition for array items, present when type is 'array'.\").nullable().optional(),\n title: z.string().describe(\"Human-readable title for the schema.\").nullable().optional(),\n required: z.array(z.string()).describe(\"List of required property names in the output schema.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Object containing property definitions for the output schema. Each key is a property name with its schema definition.\").nullable().optional(),\n description: z.string().describe(\"Description of what the output schema represents.\").nullable().optional(),\n additionalProperties: z.boolean().describe(\"Whether additional properties beyond those defined are allowed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the output schema for a provider action as a JSON schema.\\nThe response structure is dynamic and contains JSON schema properties describing the action's outputs.\");\n\nexport const stackAiGetActionOutputs = action(\"STACK_AI_GET_ACTION_OUTPUTS\", {\n slug: \"stack_ai-get-action-outputs\",\n name: \"Get Action Output Schema\",\n description: \"Tool to retrieve the output parameters schema for a Stack.ai provider action as JSON schema. Use when you need to understand what data fields an action returns or to validate action outputs.\",\n input: StackAiGetActionOutputsInput,\n output: StackAiGetActionOutputsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK;CACtM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;AAC1K,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6LAA6L;AAEvN,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-action-outputs.cjs","names":["z","action"],"sources":["../../src/actions/get-action-outputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetActionOutputsInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action within the provider (e.g., 'database_delete_airtable'). Used in the URL path to specify which action's output schema to retrieve.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack'). Used in the URL path to identify which provider's action to query.\"),\n}).describe(\"Request model for retrieving output schema for a provider action.\");\nexport const StackAiGetActionOutputsOutput = z.object({\n type: z.string().describe(\"JSON schema type (e.g., 'object', 'array', 'string'). Indicates the data type of the action output.\").nullable().optional(),\n items: z.record(z.string(), z.unknown()).describe(\"Schema definition for array items, present when type is 'array'.\").nullable().optional(),\n title: z.string().describe(\"Human-readable title for the schema.\").nullable().optional(),\n required: z.array(z.string()).describe(\"List of required property names in the output schema.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Object containing property definitions for the output schema. Each key is a property name with its schema definition.\").nullable().optional(),\n description: z.string().describe(\"Description of what the output schema represents.\").nullable().optional(),\n additionalProperties: z.boolean().describe(\"Whether additional properties beyond those defined are allowed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the output schema for a provider action as a JSON schema.\\nThe response structure is dynamic and contains JSON schema properties describing the action's outputs.\");\n\nexport const stackAiGetActionOutputs: AppAction<\n typeof StackAiGetActionOutputsInput,\n typeof StackAiGetActionOutputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_ACTION_OUTPUTS\", {\n slug: \"stack_ai-get-action-outputs\",\n name: \"Get Action Output Schema\",\n description: \"Tool to retrieve the output parameters schema for a Stack.ai provider action as JSON schema. Use when you need to understand what data fields an action returns or to validate action outputs.\",\n input: StackAiGetActionOutputsInput,\n output: StackAiGetActionOutputsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK;CACtM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;AAC1K,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6LAA6L;AAEvN,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-action-outputs.d.ts
@@ -14,24 +16,7 @@ declare const StackAiGetActionOutputsOutput: z.ZodObject<{
14
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  additionalProperties: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
18
  }, z.core.$loose>;
17
- declare const stackAiGetActionOutputs: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- action_id: string;
19
- provider_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- generic_id: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- generic_id: z.ZodString;
34
- }, z.core.$strip>>]>;
19
+ declare const stackAiGetActionOutputs: AppAction<typeof StackAiGetActionOutputsInput, typeof StackAiGetActionOutputsOutput, typeof stackAi.credential>;
35
20
  //#endregion
36
21
  export { stackAiGetActionOutputs };
37
22
  //# sourceMappingURL=get-action-outputs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-outputs.d.cts","names":[],"sources":["../../src/actions/get-action-outputs.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-action-outputs.d.cts","names":[],"sources":["../../src/actions/get-action-outputs.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-action-outputs.d.ts
@@ -14,24 +16,7 @@ declare const StackAiGetActionOutputsOutput: z.ZodObject<{
14
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  additionalProperties: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
18
  }, z.core.$loose>;
17
- declare const stackAiGetActionOutputs: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- action_id: string;
19
- provider_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- generic_id: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- generic_id: z.ZodString;
34
- }, z.core.$strip>>]>;
19
+ declare const stackAiGetActionOutputs: AppAction<typeof StackAiGetActionOutputsInput, typeof StackAiGetActionOutputsOutput, typeof stackAi.credential>;
35
20
  //#endregion
36
21
  export { stackAiGetActionOutputs };
37
22
  //# sourceMappingURL=get-action-outputs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-outputs.d.mts","names":[],"sources":["../../src/actions/get-action-outputs.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-action-outputs.d.mts","names":[],"sources":["../../src/actions/get-action-outputs.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const stackAiGetActionOutputs = action("STACK_AI_GET_ACTION_OUTPUTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-outputs.mjs","names":[],"sources":["../../src/actions/get-action-outputs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetActionOutputsInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action within the provider (e.g., 'database_delete_airtable'). Used in the URL path to specify which action's output schema to retrieve.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack'). Used in the URL path to identify which provider's action to query.\"),\n}).describe(\"Request model for retrieving output schema for a provider action.\");\nexport const StackAiGetActionOutputsOutput = z.object({\n type: z.string().describe(\"JSON schema type (e.g., 'object', 'array', 'string'). Indicates the data type of the action output.\").nullable().optional(),\n items: z.record(z.string(), z.unknown()).describe(\"Schema definition for array items, present when type is 'array'.\").nullable().optional(),\n title: z.string().describe(\"Human-readable title for the schema.\").nullable().optional(),\n required: z.array(z.string()).describe(\"List of required property names in the output schema.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Object containing property definitions for the output schema. Each key is a property name with its schema definition.\").nullable().optional(),\n description: z.string().describe(\"Description of what the output schema represents.\").nullable().optional(),\n additionalProperties: z.boolean().describe(\"Whether additional properties beyond those defined are allowed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the output schema for a provider action as a JSON schema.\\nThe response structure is dynamic and contains JSON schema properties describing the action's outputs.\");\n\nexport const stackAiGetActionOutputs = action(\"STACK_AI_GET_ACTION_OUTPUTS\", {\n slug: \"stack_ai-get-action-outputs\",\n name: \"Get Action Output Schema\",\n description: \"Tool to retrieve the output parameters schema for a Stack.ai provider action as JSON schema. Use when you need to understand what data fields an action returns or to validate action outputs.\",\n input: StackAiGetActionOutputsInput,\n output: StackAiGetActionOutputsOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK;EACtM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CAC1K,CAAC,CAAC,CAAC,SAAS,mEAeH;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6LAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-action-outputs.mjs","names":[],"sources":["../../src/actions/get-action-outputs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { stackAi } from \"../app\";\n\nexport const StackAiGetActionOutputsInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action within the provider (e.g., 'database_delete_airtable'). Used in the URL path to specify which action's output schema to retrieve.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'airtable', 'slack'). Used in the URL path to identify which provider's action to query.\"),\n}).describe(\"Request model for retrieving output schema for a provider action.\");\nexport const StackAiGetActionOutputsOutput = z.object({\n type: z.string().describe(\"JSON schema type (e.g., 'object', 'array', 'string'). Indicates the data type of the action output.\").nullable().optional(),\n items: z.record(z.string(), z.unknown()).describe(\"Schema definition for array items, present when type is 'array'.\").nullable().optional(),\n title: z.string().describe(\"Human-readable title for the schema.\").nullable().optional(),\n required: z.array(z.string()).describe(\"List of required property names in the output schema.\").nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Object containing property definitions for the output schema. Each key is a property name with its schema definition.\").nullable().optional(),\n description: z.string().describe(\"Description of what the output schema represents.\").nullable().optional(),\n additionalProperties: z.boolean().describe(\"Whether additional properties beyond those defined are allowed.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the output schema for a provider action as a JSON schema.\\nThe response structure is dynamic and contains JSON schema properties describing the action's outputs.\");\n\nexport const stackAiGetActionOutputs: AppAction<\n typeof StackAiGetActionOutputsInput,\n typeof StackAiGetActionOutputsOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_ACTION_OUTPUTS\", {\n slug: \"stack_ai-get-action-outputs\",\n name: \"Get Action Output Schema\",\n description: \"Tool to retrieve the output parameters schema for a Stack.ai provider action as JSON schema. Use when you need to understand what data fields an action returns or to validate action outputs.\",\n input: StackAiGetActionOutputsInput,\n output: StackAiGetActionOutputsOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,EAAE,OAAO;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK;EACtM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CAC1K,CAAC,CAAC,CAAC,SAAS,mEAmBH;CACP,QAnB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6LAWhB;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-connector-type-schema.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-connector-type-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-connector-type-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetConnectorTypeSchemaInput = z.object({\n connector_type_id: z.string().describe(\"The unique identifier for the connector type (e.g., 'airtable', 'notion', 'slack').\"),\n});\nconst StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema = z.object({\n url: z.unknown().describe(\"URL associated with the parameter.\").nullable().optional(),\n help: z.unknown().describe(\"Help text or documentation for the parameter.\").nullable().optional(),\n name: z.string().describe(\"Parameter name.\").nullable(),\n type: z.string().describe(\"Parameter type (e.g., 'string', 'boolean', 'number').\").nullable(),\n label: z.string().describe(\"Human-readable label for the parameter.\").nullable(),\n secret: z.boolean().describe(\"Whether the parameter contains sensitive data.\").nullable().optional(),\n \"default\": z.unknown().describe(\"Default value for the parameter.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the parameter is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable().optional(),\n placeholder: z.unknown().describe(\"Placeholder value for the parameter.\").nullable().optional(),\n}).passthrough();\nexport const StackAiGetConnectorTypeSchemaOutput = z.object({\n parameters: z.array(StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema).describe(\"List of configuration parameters required for this connector type.\"),\n provider_id: z.string().describe(\"The provider identifier for this connector.\").nullable(),\n connector_type_id: z.string().describe(\"The unique identifier for the connector type.\").nullable(),\n}).passthrough();\n\nexport const stackAiGetConnectorTypeSchema = action(\"STACK_AI_GET_CONNECTOR_TYPE_SCHEMA\", {\n slug: \"stack_ai-get-connector-type-schema\",\n name: \"Get Connector Type Schema\",\n description: \"Tool to retrieve the configuration schema for a specific connector type in Stack AI. Use when you need to understand what parameters are required to configure a connector.\",\n input: StackAiGetConnectorTypeSchemaInput,\n output: StackAiGetConnectorTypeSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EAC9H,CAAC;AACD,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,oEAAoE;CAC9J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-connector-type-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-connector-type-schema.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 StackAiGetConnectorTypeSchemaInput = z.object({\n connector_type_id: z.string().describe(\"The unique identifier for the connector type (e.g., 'airtable', 'notion', 'slack').\"),\n});\nconst StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema = z.object({\n url: z.unknown().describe(\"URL associated with the parameter.\").nullable().optional(),\n help: z.unknown().describe(\"Help text or documentation for the parameter.\").nullable().optional(),\n name: z.string().describe(\"Parameter name.\").nullable(),\n type: z.string().describe(\"Parameter type (e.g., 'string', 'boolean', 'number').\").nullable(),\n label: z.string().describe(\"Human-readable label for the parameter.\").nullable(),\n secret: z.boolean().describe(\"Whether the parameter contains sensitive data.\").nullable().optional(),\n \"default\": z.unknown().describe(\"Default value for the parameter.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the parameter is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable().optional(),\n placeholder: z.unknown().describe(\"Placeholder value for the parameter.\").nullable().optional(),\n}).passthrough();\nexport const StackAiGetConnectorTypeSchemaOutput = z.object({\n parameters: z.array(StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema).describe(\"List of configuration parameters required for this connector type.\"),\n provider_id: z.string().describe(\"The provider identifier for this connector.\").nullable(),\n connector_type_id: z.string().describe(\"The unique identifier for the connector type.\").nullable(),\n}).passthrough();\n\nexport const stackAiGetConnectorTypeSchema: AppAction<\n typeof StackAiGetConnectorTypeSchemaInput,\n typeof StackAiGetConnectorTypeSchemaOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_CONNECTOR_TYPE_SCHEMA\", {\n slug: \"stack_ai-get-connector-type-schema\",\n name: \"Get Connector Type Schema\",\n description: \"Tool to retrieve the configuration schema for a specific connector type in Stack AI. Use when you need to understand what parameters are required to configure a connector.\",\n input: StackAiGetConnectorTypeSchemaInput,\n output: StackAiGetConnectorTypeSchemaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EAC9H,CAAC;AACD,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,YAAYA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,oEAAoE;CAC9J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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-connector-type-schema.d.ts
@@ -20,23 +22,7 @@ declare const StackAiGetConnectorTypeSchemaOutput: z.ZodObject<{
20
22
  provider_id: z.ZodNullable<z.ZodString>;
21
23
  connector_type_id: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>;
23
- declare const stackAiGetConnectorTypeSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- connector_type_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
25
+ declare const stackAiGetConnectorTypeSchema: AppAction<typeof StackAiGetConnectorTypeSchemaInput, typeof StackAiGetConnectorTypeSchemaOutput, typeof stackAi.credential>;
40
26
  //#endregion
41
27
  export { stackAiGetConnectorTypeSchema };
42
28
  //# sourceMappingURL=get-connector-type-schema.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-connector-type-schema.d.cts","names":[],"sources":["../../src/actions/get-connector-type-schema.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-connector-type-schema.d.cts","names":[],"sources":["../../src/actions/get-connector-type-schema.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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-connector-type-schema.d.ts
@@ -20,23 +22,7 @@ declare const StackAiGetConnectorTypeSchemaOutput: z.ZodObject<{
20
22
  provider_id: z.ZodNullable<z.ZodString>;
21
23
  connector_type_id: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>;
23
- declare const stackAiGetConnectorTypeSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- connector_type_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- generic_id: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>;
25
+ declare const stackAiGetConnectorTypeSchema: AppAction<typeof StackAiGetConnectorTypeSchemaInput, typeof StackAiGetConnectorTypeSchemaOutput, typeof stackAi.credential>;
40
26
  //#endregion
41
27
  export { stackAiGetConnectorTypeSchema };
42
28
  //# sourceMappingURL=get-connector-type-schema.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-connector-type-schema.d.mts","names":[],"sources":["../../src/actions/get-connector-type-schema.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-connector-type-schema.d.mts","names":[],"sources":["../../src/actions/get-connector-type-schema.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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-connector-type-schema.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-connector-type-schema.mjs","names":[],"sources":["../../src/actions/get-connector-type-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetConnectorTypeSchemaInput = z.object({\n connector_type_id: z.string().describe(\"The unique identifier for the connector type (e.g., 'airtable', 'notion', 'slack').\"),\n});\nconst StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema = z.object({\n url: z.unknown().describe(\"URL associated with the parameter.\").nullable().optional(),\n help: z.unknown().describe(\"Help text or documentation for the parameter.\").nullable().optional(),\n name: z.string().describe(\"Parameter name.\").nullable(),\n type: z.string().describe(\"Parameter type (e.g., 'string', 'boolean', 'number').\").nullable(),\n label: z.string().describe(\"Human-readable label for the parameter.\").nullable(),\n secret: z.boolean().describe(\"Whether the parameter contains sensitive data.\").nullable().optional(),\n \"default\": z.unknown().describe(\"Default value for the parameter.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the parameter is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable().optional(),\n placeholder: z.unknown().describe(\"Placeholder value for the parameter.\").nullable().optional(),\n}).passthrough();\nexport const StackAiGetConnectorTypeSchemaOutput = z.object({\n parameters: z.array(StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema).describe(\"List of configuration parameters required for this connector type.\"),\n provider_id: z.string().describe(\"The provider identifier for this connector.\").nullable(),\n connector_type_id: z.string().describe(\"The unique identifier for the connector type.\").nullable(),\n}).passthrough();\n\nexport const stackAiGetConnectorTypeSchema = action(\"STACK_AI_GET_CONNECTOR_TYPE_SCHEMA\", {\n slug: \"stack_ai-get-connector-type-schema\",\n name: \"Get Connector Type Schema\",\n description: \"Tool to retrieve the configuration schema for a specific connector type in Stack AI. Use when you need to understand what parameters are required to configure a connector.\",\n input: StackAiGetConnectorTypeSchemaInput,\n output: StackAiGetConnectorTypeSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EAC9H,CAAC;AACD,MAAM,8DAA8D,EAAE,OAAO;CAC3E,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,YAAY,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,oEAAoE;EAC9J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-connector-type-schema.mjs","names":[],"sources":["../../src/actions/get-connector-type-schema.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 StackAiGetConnectorTypeSchemaInput = z.object({\n connector_type_id: z.string().describe(\"The unique identifier for the connector type (e.g., 'airtable', 'notion', 'slack').\"),\n});\nconst StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema = z.object({\n url: z.unknown().describe(\"URL associated with the parameter.\").nullable().optional(),\n help: z.unknown().describe(\"Help text or documentation for the parameter.\").nullable().optional(),\n name: z.string().describe(\"Parameter name.\").nullable(),\n type: z.string().describe(\"Parameter type (e.g., 'string', 'boolean', 'number').\").nullable(),\n label: z.string().describe(\"Human-readable label for the parameter.\").nullable(),\n secret: z.boolean().describe(\"Whether the parameter contains sensitive data.\").nullable().optional(),\n \"default\": z.unknown().describe(\"Default value for the parameter.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the parameter is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required.\").nullable().optional(),\n placeholder: z.unknown().describe(\"Placeholder value for the parameter.\").nullable().optional(),\n}).passthrough();\nexport const StackAiGetConnectorTypeSchemaOutput = z.object({\n parameters: z.array(StackAiGetConnectorTypeSchema_ConfigParameterResponseSchema).describe(\"List of configuration parameters required for this connector type.\"),\n provider_id: z.string().describe(\"The provider identifier for this connector.\").nullable(),\n connector_type_id: z.string().describe(\"The unique identifier for the connector type.\").nullable(),\n}).passthrough();\n\nexport const stackAiGetConnectorTypeSchema: AppAction<\n typeof StackAiGetConnectorTypeSchemaInput,\n typeof StackAiGetConnectorTypeSchemaOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_CONNECTOR_TYPE_SCHEMA\", {\n slug: \"stack_ai-get-connector-type-schema\",\n name: \"Get Connector Type Schema\",\n description: \"Tool to retrieve the configuration schema for a specific connector type in Stack AI. Use when you need to understand what parameters are required to configure a connector.\",\n input: StackAiGetConnectorTypeSchemaInput,\n output: StackAiGetConnectorTypeSchemaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO,EACzD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,EAC9H,CAAC;AACD,MAAM,8DAA8D,EAAE,OAAO;CAC3E,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,gCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfiD,EAAE,OAAO;EAC1D,YAAY,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,oEAAoE;EAC9J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-license-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-license-status.cjs","names":["z","action"],"sources":["../../src/actions/get-license-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetLicenseStatusInput = z.object({}).describe(\"Request model for retrieving Stack AI license status.\\nThis endpoint requires no parameters.\");\nexport const StackAiGetLicenseStatusOutput = z.object({\n is_valid: z.boolean().describe(\"Whether the license is currently valid and active.\").nullable(),\n client_name: z.string().describe(\"Name of the client associated with the license.\").nullable(),\n expiry_date: z.string().describe(\"ISO 8601 datetime string indicating when the license expires.\").nullable(),\n is_expiring_soon: z.boolean().describe(\"Whether the license is approaching its expiration date.\").nullable(),\n days_until_expiry: z.number().int().describe(\"Number of days remaining until the license expires.\").nullable(),\n}).passthrough().describe(\"Response model containing license status information for UI display.\");\n\nexport const stackAiGetLicenseStatus = action(\"STACK_AI_GET_LICENSE_STATUS\", {\n slug: \"stack_ai-get-license-status\",\n name: \"Get License Status\",\n description: \"Tool to retrieve the current Stack AI license status. Use when you need to check license validity, expiration date, or days remaining.\",\n input: StackAiGetLicenseStatusInput,\n output: StackAiGetLicenseStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAChK,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-license-status.cjs","names":["z","action"],"sources":["../../src/actions/get-license-status.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 StackAiGetLicenseStatusInput = z.object({}).describe(\"Request model for retrieving Stack AI license status.\\nThis endpoint requires no parameters.\");\nexport const StackAiGetLicenseStatusOutput = z.object({\n is_valid: z.boolean().describe(\"Whether the license is currently valid and active.\").nullable(),\n client_name: z.string().describe(\"Name of the client associated with the license.\").nullable(),\n expiry_date: z.string().describe(\"ISO 8601 datetime string indicating when the license expires.\").nullable(),\n is_expiring_soon: z.boolean().describe(\"Whether the license is approaching its expiration date.\").nullable(),\n days_until_expiry: z.number().int().describe(\"Number of days remaining until the license expires.\").nullable(),\n}).passthrough().describe(\"Response model containing license status information for UI display.\");\n\nexport const stackAiGetLicenseStatus: AppAction<\n typeof StackAiGetLicenseStatusInput,\n typeof StackAiGetLicenseStatusOutput,\n typeof stackAi.credential\n> = action(\"STACK_AI_GET_LICENSE_STATUS\", {\n slug: \"stack_ai-get-license-status\",\n name: \"Get License Status\",\n description: \"Tool to retrieve the current Stack AI license status. Use when you need to check license validity, expiration date, or days remaining.\",\n input: StackAiGetLicenseStatusInput,\n output: StackAiGetLicenseStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAChK,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-license-status.d.ts
@@ -9,21 +11,7 @@ declare const StackAiGetLicenseStatusOutput: z.ZodObject<{
9
11
  is_expiring_soon: z.ZodNullable<z.ZodBoolean>;
10
12
  days_until_expiry: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$loose>;
12
- declare const stackAiGetLicenseStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const stackAiGetLicenseStatus: AppAction<typeof StackAiGetLicenseStatusInput, typeof StackAiGetLicenseStatusOutput, typeof stackAi.credential>;
27
15
  //#endregion
28
16
  export { stackAiGetLicenseStatus };
29
17
  //# sourceMappingURL=get-license-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-license-status.d.cts","names":[],"sources":["../../src/actions/get-license-status.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-license-status.d.cts","names":[],"sources":["../../src/actions/get-license-status.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { stackAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-license-status.d.ts
@@ -9,21 +11,7 @@ declare const StackAiGetLicenseStatusOutput: z.ZodObject<{
9
11
  is_expiring_soon: z.ZodNullable<z.ZodBoolean>;
10
12
  days_until_expiry: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$loose>;
12
- declare const stackAiGetLicenseStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"stack_ai", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const stackAiGetLicenseStatus: AppAction<typeof StackAiGetLicenseStatusInput, typeof StackAiGetLicenseStatusOutput, typeof stackAi.credential>;
27
15
  //#endregion
28
16
  export { stackAiGetLicenseStatus };
29
17
  //# sourceMappingURL=get-license-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-license-status.d.mts","names":[],"sources":["../../src/actions/get-license-status.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-license-status.d.mts","names":[],"sources":["../../src/actions/get-license-status.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const stackAiGetLicenseStatus = action("STACK_AI_GET_LICENSE_STATUS", {