@keystrokehq/parallel 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 (269) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-enrichment-to-find-all-run.cjs +1 -0
  4. package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
  5. package/dist/actions/add-enrichment-to-find-all-run.d.cts +3 -25
  6. package/dist/actions/add-enrichment-to-find-all-run.d.cts.map +1 -1
  7. package/dist/actions/add-enrichment-to-find-all-run.d.mts +3 -25
  8. package/dist/actions/add-enrichment-to-find-all-run.d.mts.map +1 -1
  9. package/dist/actions/add-enrichment-to-find-all-run.mjs +1 -0
  10. package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
  11. package/dist/actions/add-runs-to-task-group.cjs +1 -0
  12. package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
  13. package/dist/actions/add-runs-to-task-group.d.cts +3 -34
  14. package/dist/actions/add-runs-to-task-group.d.cts.map +1 -1
  15. package/dist/actions/add-runs-to-task-group.d.mts +3 -34
  16. package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
  17. package/dist/actions/add-runs-to-task-group.mjs +1 -0
  18. package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
  19. package/dist/actions/cancel-find-all-run.cjs +1 -0
  20. package/dist/actions/cancel-find-all-run.cjs.map +1 -1
  21. package/dist/actions/cancel-find-all-run.d.cts +3 -15
  22. package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
  23. package/dist/actions/cancel-find-all-run.d.mts +3 -15
  24. package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
  25. package/dist/actions/cancel-find-all-run.mjs +1 -0
  26. package/dist/actions/cancel-find-all-run.mjs.map +1 -1
  27. package/dist/actions/create-chat-completions.cjs +1 -0
  28. package/dist/actions/create-chat-completions.cjs.map +1 -1
  29. package/dist/actions/create-chat-completions.d.cts +3 -32
  30. package/dist/actions/create-chat-completions.d.cts.map +1 -1
  31. package/dist/actions/create-chat-completions.d.mts +3 -32
  32. package/dist/actions/create-chat-completions.d.mts.map +1 -1
  33. package/dist/actions/create-chat-completions.mjs +1 -0
  34. package/dist/actions/create-chat-completions.mjs.map +1 -1
  35. package/dist/actions/create-monitor.cjs +1 -0
  36. package/dist/actions/create-monitor.cjs.map +1 -1
  37. package/dist/actions/create-monitor.d.cts +3 -25
  38. package/dist/actions/create-monitor.d.cts.map +1 -1
  39. package/dist/actions/create-monitor.d.mts +3 -25
  40. package/dist/actions/create-monitor.d.mts.map +1 -1
  41. package/dist/actions/create-monitor.mjs +1 -0
  42. package/dist/actions/create-monitor.mjs.map +1 -1
  43. package/dist/actions/create-task-group.cjs +1 -0
  44. package/dist/actions/create-task-group.cjs.map +1 -1
  45. package/dist/actions/create-task-group.d.cts +3 -15
  46. package/dist/actions/create-task-group.d.cts.map +1 -1
  47. package/dist/actions/create-task-group.d.mts +3 -15
  48. package/dist/actions/create-task-group.d.mts.map +1 -1
  49. package/dist/actions/create-task-group.mjs +1 -0
  50. package/dist/actions/create-task-group.mjs.map +1 -1
  51. package/dist/actions/create-task-run.cjs +1 -0
  52. package/dist/actions/create-task-run.cjs.map +1 -1
  53. package/dist/actions/create-task-run.d.cts +3 -34
  54. package/dist/actions/create-task-run.d.cts.map +1 -1
  55. package/dist/actions/create-task-run.d.mts +3 -34
  56. package/dist/actions/create-task-run.d.mts.map +1 -1
  57. package/dist/actions/create-task-run.mjs +1 -0
  58. package/dist/actions/create-task-run.mjs.map +1 -1
  59. package/dist/actions/delete-monitor.cjs +1 -0
  60. package/dist/actions/delete-monitor.cjs.map +1 -1
  61. package/dist/actions/delete-monitor.d.cts +3 -15
  62. package/dist/actions/delete-monitor.d.cts.map +1 -1
  63. package/dist/actions/delete-monitor.d.mts +3 -15
  64. package/dist/actions/delete-monitor.d.mts.map +1 -1
  65. package/dist/actions/delete-monitor.mjs +1 -0
  66. package/dist/actions/delete-monitor.mjs.map +1 -1
  67. package/dist/actions/extend-find-all-run.cjs +1 -0
  68. package/dist/actions/extend-find-all-run.cjs.map +1 -1
  69. package/dist/actions/extend-find-all-run.d.cts +3 -16
  70. package/dist/actions/extend-find-all-run.d.cts.map +1 -1
  71. package/dist/actions/extend-find-all-run.d.mts +3 -16
  72. package/dist/actions/extend-find-all-run.d.mts.map +1 -1
  73. package/dist/actions/extend-find-all-run.mjs +1 -0
  74. package/dist/actions/extend-find-all-run.mjs.map +1 -1
  75. package/dist/actions/extract.cjs +1 -0
  76. package/dist/actions/extract.cjs.map +1 -1
  77. package/dist/actions/extract.d.cts +3 -31
  78. package/dist/actions/extract.d.cts.map +1 -1
  79. package/dist/actions/extract.d.mts +3 -31
  80. package/dist/actions/extract.d.mts.map +1 -1
  81. package/dist/actions/extract.mjs +1 -0
  82. package/dist/actions/extract.mjs.map +1 -1
  83. package/dist/actions/fetch-task-group-runs.cjs +1 -0
  84. package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
  85. package/dist/actions/fetch-task-group-runs.d.cts +3 -19
  86. package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
  87. package/dist/actions/fetch-task-group-runs.d.mts +3 -19
  88. package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
  89. package/dist/actions/fetch-task-group-runs.mjs +1 -0
  90. package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
  91. package/dist/actions/find-all.cjs +1 -0
  92. package/dist/actions/find-all.cjs.map +1 -1
  93. package/dist/actions/find-all.d.cts +3 -33
  94. package/dist/actions/find-all.d.cts.map +1 -1
  95. package/dist/actions/find-all.d.mts +3 -33
  96. package/dist/actions/find-all.d.mts.map +1 -1
  97. package/dist/actions/find-all.mjs +1 -0
  98. package/dist/actions/find-all.mjs.map +1 -1
  99. package/dist/actions/get-find-all-run-result.cjs +1 -0
  100. package/dist/actions/get-find-all-run-result.cjs.map +1 -1
  101. package/dist/actions/get-find-all-run-result.d.cts +3 -15
  102. package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
  103. package/dist/actions/get-find-all-run-result.d.mts +3 -15
  104. package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
  105. package/dist/actions/get-find-all-run-result.mjs +1 -0
  106. package/dist/actions/get-find-all-run-result.mjs.map +1 -1
  107. package/dist/actions/get-find-all-run-schema.cjs +1 -0
  108. package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
  109. package/dist/actions/get-find-all-run-schema.d.cts +3 -15
  110. package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
  111. package/dist/actions/get-find-all-run-schema.d.mts +3 -15
  112. package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
  113. package/dist/actions/get-find-all-run-schema.mjs +1 -0
  114. package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
  115. package/dist/actions/ingest-find-all-run.cjs +1 -0
  116. package/dist/actions/ingest-find-all-run.cjs.map +1 -1
  117. package/dist/actions/ingest-find-all-run.d.cts +3 -15
  118. package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
  119. package/dist/actions/ingest-find-all-run.d.mts +3 -15
  120. package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
  121. package/dist/actions/ingest-find-all-run.mjs +1 -0
  122. package/dist/actions/ingest-find-all-run.mjs.map +1 -1
  123. package/dist/actions/list-monitor-events.cjs +1 -0
  124. package/dist/actions/list-monitor-events.cjs.map +1 -1
  125. package/dist/actions/list-monitor-events.d.cts +3 -16
  126. package/dist/actions/list-monitor-events.d.cts.map +1 -1
  127. package/dist/actions/list-monitor-events.d.mts +3 -16
  128. package/dist/actions/list-monitor-events.d.mts.map +1 -1
  129. package/dist/actions/list-monitor-events.mjs +1 -0
  130. package/dist/actions/list-monitor-events.mjs.map +1 -1
  131. package/dist/actions/list-monitors.cjs +1 -0
  132. package/dist/actions/list-monitors.cjs.map +1 -1
  133. package/dist/actions/list-monitors.d.cts +3 -16
  134. package/dist/actions/list-monitors.d.cts.map +1 -1
  135. package/dist/actions/list-monitors.d.mts +3 -16
  136. package/dist/actions/list-monitors.d.mts.map +1 -1
  137. package/dist/actions/list-monitors.mjs +1 -0
  138. package/dist/actions/list-monitors.mjs.map +1 -1
  139. package/dist/actions/retrieve-event-group.cjs +1 -0
  140. package/dist/actions/retrieve-event-group.cjs.map +1 -1
  141. package/dist/actions/retrieve-event-group.d.cts +3 -16
  142. package/dist/actions/retrieve-event-group.d.cts.map +1 -1
  143. package/dist/actions/retrieve-event-group.d.mts +3 -16
  144. package/dist/actions/retrieve-event-group.d.mts.map +1 -1
  145. package/dist/actions/retrieve-event-group.mjs +1 -0
  146. package/dist/actions/retrieve-event-group.mjs.map +1 -1
  147. package/dist/actions/retrieve-find-all-run-status.cjs +1 -0
  148. package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
  149. package/dist/actions/retrieve-find-all-run-status.d.cts +3 -15
  150. package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
  151. package/dist/actions/retrieve-find-all-run-status.d.mts +3 -15
  152. package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
  153. package/dist/actions/retrieve-find-all-run-status.mjs +1 -0
  154. package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
  155. package/dist/actions/retrieve-monitor.cjs +1 -0
  156. package/dist/actions/retrieve-monitor.cjs.map +1 -1
  157. package/dist/actions/retrieve-monitor.d.cts +3 -15
  158. package/dist/actions/retrieve-monitor.d.cts.map +1 -1
  159. package/dist/actions/retrieve-monitor.d.mts +3 -15
  160. package/dist/actions/retrieve-monitor.d.mts.map +1 -1
  161. package/dist/actions/retrieve-monitor.mjs +1 -0
  162. package/dist/actions/retrieve-monitor.mjs.map +1 -1
  163. package/dist/actions/retrieve-task-group-run.cjs +1 -0
  164. package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
  165. package/dist/actions/retrieve-task-group-run.d.cts +3 -16
  166. package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
  167. package/dist/actions/retrieve-task-group-run.d.mts +3 -16
  168. package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
  169. package/dist/actions/retrieve-task-group-run.mjs +1 -0
  170. package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
  171. package/dist/actions/retrieve-task-group.cjs +1 -0
  172. package/dist/actions/retrieve-task-group.cjs.map +1 -1
  173. package/dist/actions/retrieve-task-group.d.cts +3 -15
  174. package/dist/actions/retrieve-task-group.d.cts.map +1 -1
  175. package/dist/actions/retrieve-task-group.d.mts +3 -15
  176. package/dist/actions/retrieve-task-group.d.mts.map +1 -1
  177. package/dist/actions/retrieve-task-group.mjs +1 -0
  178. package/dist/actions/retrieve-task-group.mjs.map +1 -1
  179. package/dist/actions/retrieve-task-run-input.cjs +1 -0
  180. package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
  181. package/dist/actions/retrieve-task-run-input.d.cts +3 -15
  182. package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
  183. package/dist/actions/retrieve-task-run-input.d.mts +3 -15
  184. package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
  185. package/dist/actions/retrieve-task-run-input.mjs +1 -0
  186. package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
  187. package/dist/actions/retrieve-task-run-result.cjs +1 -0
  188. package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
  189. package/dist/actions/retrieve-task-run-result.d.cts +3 -17
  190. package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
  191. package/dist/actions/retrieve-task-run-result.d.mts +3 -17
  192. package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
  193. package/dist/actions/retrieve-task-run-result.mjs +1 -0
  194. package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
  195. package/dist/actions/retrieve-task-run.cjs +1 -0
  196. package/dist/actions/retrieve-task-run.cjs.map +1 -1
  197. package/dist/actions/retrieve-task-run.d.cts +3 -15
  198. package/dist/actions/retrieve-task-run.d.cts.map +1 -1
  199. package/dist/actions/retrieve-task-run.d.mts +3 -15
  200. package/dist/actions/retrieve-task-run.d.mts.map +1 -1
  201. package/dist/actions/retrieve-task-run.mjs +1 -0
  202. package/dist/actions/retrieve-task-run.mjs.map +1 -1
  203. package/dist/actions/search.cjs +1 -0
  204. package/dist/actions/search.cjs.map +1 -1
  205. package/dist/actions/search.d.cts +3 -15
  206. package/dist/actions/search.d.cts.map +1 -1
  207. package/dist/actions/search.d.mts +3 -15
  208. package/dist/actions/search.d.mts.map +1 -1
  209. package/dist/actions/search.mjs +1 -0
  210. package/dist/actions/search.mjs.map +1 -1
  211. package/dist/actions/simulate-event.cjs +1 -0
  212. package/dist/actions/simulate-event.cjs.map +1 -1
  213. package/dist/actions/simulate-event.d.cts +3 -16
  214. package/dist/actions/simulate-event.d.cts.map +1 -1
  215. package/dist/actions/simulate-event.d.mts +3 -16
  216. package/dist/actions/simulate-event.d.mts.map +1 -1
  217. package/dist/actions/simulate-event.mjs +1 -0
  218. package/dist/actions/simulate-event.mjs.map +1 -1
  219. package/dist/actions/stream-find-all-events.cjs +1 -0
  220. package/dist/actions/stream-find-all-events.cjs.map +1 -1
  221. package/dist/actions/stream-find-all-events.d.cts +3 -17
  222. package/dist/actions/stream-find-all-events.d.cts.map +1 -1
  223. package/dist/actions/stream-find-all-events.d.mts +3 -17
  224. package/dist/actions/stream-find-all-events.d.mts.map +1 -1
  225. package/dist/actions/stream-find-all-events.mjs +1 -0
  226. package/dist/actions/stream-find-all-events.mjs.map +1 -1
  227. package/dist/actions/stream-task-group-events.cjs +1 -0
  228. package/dist/actions/stream-task-group-events.cjs.map +1 -1
  229. package/dist/actions/stream-task-group-events.d.cts +3 -17
  230. package/dist/actions/stream-task-group-events.d.cts.map +1 -1
  231. package/dist/actions/stream-task-group-events.d.mts +3 -17
  232. package/dist/actions/stream-task-group-events.d.mts.map +1 -1
  233. package/dist/actions/stream-task-group-events.mjs +1 -0
  234. package/dist/actions/stream-task-group-events.mjs.map +1 -1
  235. package/dist/actions/stream-task-run-events.cjs +1 -0
  236. package/dist/actions/stream-task-run-events.cjs.map +1 -1
  237. package/dist/actions/stream-task-run-events.d.cts +3 -15
  238. package/dist/actions/stream-task-run-events.d.cts.map +1 -1
  239. package/dist/actions/stream-task-run-events.d.mts +3 -15
  240. package/dist/actions/stream-task-run-events.d.mts.map +1 -1
  241. package/dist/actions/stream-task-run-events.mjs +1 -0
  242. package/dist/actions/stream-task-run-events.mjs.map +1 -1
  243. package/dist/actions/suggest-task.cjs +1 -0
  244. package/dist/actions/suggest-task.cjs.map +1 -1
  245. package/dist/actions/suggest-task.d.cts +3 -15
  246. package/dist/actions/suggest-task.d.cts.map +1 -1
  247. package/dist/actions/suggest-task.d.mts +3 -15
  248. package/dist/actions/suggest-task.d.mts.map +1 -1
  249. package/dist/actions/suggest-task.mjs +1 -0
  250. package/dist/actions/suggest-task.mjs.map +1 -1
  251. package/dist/actions/update-monitor.cjs +1 -0
  252. package/dist/actions/update-monitor.cjs.map +1 -1
  253. package/dist/actions/update-monitor.d.cts +3 -22
  254. package/dist/actions/update-monitor.d.cts.map +1 -1
  255. package/dist/actions/update-monitor.d.mts +3 -22
  256. package/dist/actions/update-monitor.d.mts.map +1 -1
  257. package/dist/actions/update-monitor.mjs +1 -0
  258. package/dist/actions/update-monitor.mjs.map +1 -1
  259. package/dist/app.cjs +2 -2
  260. package/dist/app.cjs.map +1 -1
  261. package/dist/app.d.cts +4 -6
  262. package/dist/app.d.cts.map +1 -1
  263. package/dist/app.d.mts +4 -6
  264. package/dist/app.d.mts.map +1 -1
  265. package/dist/app.mjs +0 -1
  266. package/dist/app.mjs.map +1 -1
  267. package/dist/index.d.cts +1 -1
  268. package/dist/index.d.mts +1 -1
  269. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-task-run-result.d.ts
@@ -25,23 +27,7 @@ declare const ParallelRetrieveTaskRunResultOutput: z.ZodObject<{
25
27
  }, z.core.$loose>>;
26
28
  output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
27
29
  }, z.core.$loose>;
28
- declare const parallelRetrieveTaskRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- run_id: string;
30
- timeout?: number | undefined;
31
- parallel_beta?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", 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
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
30
+ declare const parallelRetrieveTaskRunResult: AppAction<typeof ParallelRetrieveTaskRunResultInput, typeof ParallelRetrieveTaskRunResultOutput, typeof parallel.credential>;
45
31
  //#endregion
46
32
  export { parallelRetrieveTaskRunResult };
47
33
  //# sourceMappingURL=retrieve-task-run-result.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run-result.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"retrieve-task-run-result.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,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/retrieve-task-run-result.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run-result.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunResultInput = z.object({\n run_id: z.string().describe(\"The identifier of the task run to retrieve results for.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for blocking request. If not provided, defaults to 600 seconds (10 minutes). The request will block until the run completes or the timeout is reached.\").optional(),\n parallel_beta: z.string().describe(\"Optional beta version header for accessing beta features.\").optional(),\n}).describe(\"Request model for retrieving a task run result.\");\nconst ParallelRetrieveTaskRunResult_TaskRunSchema = z.object({\n run_id: z.string().describe(\"Unique identifier for the task run\").nullable(),\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the task run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor type used for the run (e.g., 'core', 'pro')\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n interaction_id: z.string().describe(\"Associated interaction ID\").nullable(),\n}).passthrough().describe(\"Task run metadata object.\");\nexport const ParallelRetrieveTaskRunResultOutput = z.object({\n run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),\n output: z.unknown().describe(\"The output result from the task run. Structure varies by task type and can be a dict, string, list, or other types.\").nullable().optional(),\n}).passthrough().describe(\"Response model for task run results.\");\n\nexport const parallelRetrieveTaskRunResult = action(\"PARALLEL_RETRIEVE_TASK_RUN_RESULT\", {\n slug: \"parallel-retrieve-task-run-result\",\n name: \"Retrieve Task Run Result\",\n description: \"Tool to retrieve the result of a task run by run_id, blocking until the run completes. Use when you need to wait for and fetch the final output of a previously initiated task run. The request will block until the run completes or the timeout is reached.\",\n input: ParallelRetrieveTaskRunResultInput,\n output: ParallelRetrieveTaskRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAW;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAMrD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,KAAK,4CAA4C,SAAS;EAC1D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-run-result.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveTaskRunResultInput = z.object({\n run_id: z.string().describe(\"The identifier of the task run to retrieve results for.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for blocking request. If not provided, defaults to 600 seconds (10 minutes). The request will block until the run completes or the timeout is reached.\").optional(),\n parallel_beta: z.string().describe(\"Optional beta version header for accessing beta features.\").optional(),\n}).describe(\"Request model for retrieving a task run result.\");\nconst ParallelRetrieveTaskRunResult_TaskRunSchema = z.object({\n run_id: z.string().describe(\"Unique identifier for the task run\").nullable(),\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the task run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor type used for the run (e.g., 'core', 'pro')\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n interaction_id: z.string().describe(\"Associated interaction ID\").nullable(),\n}).passthrough().describe(\"Task run metadata object.\");\nexport const ParallelRetrieveTaskRunResultOutput = z.object({\n run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),\n output: z.unknown().describe(\"The output result from the task run. Structure varies by task type and can be a dict, string, list, or other types.\").nullable().optional(),\n}).passthrough().describe(\"Response model for task run results.\");\n\nexport const parallelRetrieveTaskRunResult: AppAction<\n typeof ParallelRetrieveTaskRunResultInput,\n typeof ParallelRetrieveTaskRunResultOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_TASK_RUN_RESULT\", {\n slug: \"parallel-retrieve-task-run-result\",\n name: \"Retrieve Task Run Result\",\n description: \"Tool to retrieve the result of a task run by run_id, blocking until the run completes. Use when you need to wait for and fetch the final output of a previously initiated task run. The request will block until the run completes or the timeout is reached.\",\n input: ParallelRetrieveTaskRunResultInput,\n output: ParallelRetrieveTaskRunResultOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAW;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAMrD,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiD,EAAE,OAAO;EAC1D,KAAK,4CAA4C,SAAS;EAC1D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;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/retrieve-task-run.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInput = z.object({\n run_id: z.string().describe(\"ID of the task run to retrieve.\"),\n}).describe(\"Request model for retrieving a task run.\");\nconst ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional context about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).passthrough().describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe(\"Non-critical issues encountered during task execution\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.\").nullable(),\n processor: z.string().describe(\"Processor used for the run\").nullable(),\n created_at: z.string().describe(\"Timestamp of the creation of the task, as an RFC 3339 string\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp of the last modification to the task, as an RFC 3339 string\").nullable().optional(),\n taskgroup_id: z.string().describe(\"ID of the taskgroup to which the run belongs\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task run.\");\n\nexport const parallelRetrieveTaskRun = action(\"PARALLEL_RETRIEVE_TASK_RUN\", {\n slug: \"parallel-retrieve-task-run\",\n name: \"Retrieve Task Run\",\n description: \"Tool to retrieve run status by run_id. Use when you need to check the status or details of a specific task run. The run result is available from the /result endpoint.\",\n input: ParallelRetrieveTaskRunInput,\n output: ParallelRetrieveTaskRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;A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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-run.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveTaskRunInput = z.object({\n run_id: z.string().describe(\"ID of the task run to retrieve.\"),\n}).describe(\"Request model for retrieving a task run.\");\nconst ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional context about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).passthrough().describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe(\"Non-critical issues encountered during task execution\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.\").nullable(),\n processor: z.string().describe(\"Processor used for the run\").nullable(),\n created_at: z.string().describe(\"Timestamp of the creation of the task, as an RFC 3339 string\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp of the last modification to the task, as an RFC 3339 string\").nullable().optional(),\n taskgroup_id: z.string().describe(\"ID of the taskgroup to which the run belongs\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task run.\");\n\nexport const parallelRetrieveTaskRun: AppAction<\n typeof ParallelRetrieveTaskRunInput,\n typeof ParallelRetrieveTaskRunOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_TASK_RUN\", {\n slug: \"parallel-retrieve-task-run\",\n name: \"Retrieve Task Run\",\n description: \"Tool to retrieve run status by run_id. Use when you need to check the status or details of a specific task run. The run result is available from the /result endpoint.\",\n input: ParallelRetrieveTaskRunInput,\n output: ParallelRetrieveTaskRunOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAmB;CAAW;CAAa;CAAU;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC/L,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC3D,QAAQ,4CAA4C,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-task-run.d.ts
@@ -33,21 +35,7 @@ declare const ParallelRetrieveTaskRunOutput: z.ZodObject<{
33
35
  taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  interaction_id: z.ZodNullable<z.ZodString>;
35
37
  }, z.core.$loose>;
36
- declare const parallelRetrieveTaskRun: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- run_id: string;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
38
+ declare const parallelRetrieveTaskRun: AppAction<typeof ParallelRetrieveTaskRunInput, typeof ParallelRetrieveTaskRunOutput, typeof parallel.credential>;
51
39
  //#endregion
52
40
  export { parallelRetrieveTaskRun };
53
41
  //# sourceMappingURL=retrieve-task-run.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"retrieve-task-run.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-task-run.d.ts
@@ -33,21 +35,7 @@ declare const ParallelRetrieveTaskRunOutput: z.ZodObject<{
33
35
  taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  interaction_id: z.ZodNullable<z.ZodString>;
35
37
  }, z.core.$loose>;
36
- declare const parallelRetrieveTaskRun: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- run_id: string;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
38
+ declare const parallelRetrieveTaskRun: AppAction<typeof ParallelRetrieveTaskRunInput, typeof ParallelRetrieveTaskRunOutput, typeof parallel.credential>;
51
39
  //#endregion
52
40
  export { parallelRetrieveTaskRun };
53
41
  //# sourceMappingURL=retrieve-task-run.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"retrieve-task-run.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,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/retrieve-task-run.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run.mjs","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInput = z.object({\n run_id: z.string().describe(\"ID of the task run to retrieve.\"),\n}).describe(\"Request model for retrieving a task run.\");\nconst ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional context about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).passthrough().describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe(\"Non-critical issues encountered during task execution\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.\").nullable(),\n processor: z.string().describe(\"Processor used for the run\").nullable(),\n created_at: z.string().describe(\"Timestamp of the creation of the task, as an RFC 3339 string\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp of the last modification to the task, as an RFC 3339 string\").nullable().optional(),\n taskgroup_id: z.string().describe(\"ID of the taskgroup to which the run belongs\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task run.\");\n\nexport const parallelRetrieveTaskRun = action(\"PARALLEL_RETRIEVE_TASK_RUN\", {\n slug: \"parallel-retrieve-task-run\",\n name: \"Retrieve Task Run\",\n description: \"Tool to retrieve run status by run_id. Use when you need to check the status or details of a specific task run. The run result is available from the /result endpoint.\",\n input: ParallelRetrieveTaskRunInput,\n output: ParallelRetrieveTaskRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4C,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,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AAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-run.mjs","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveTaskRunInput = z.object({\n run_id: z.string().describe(\"ID of the task run to retrieve.\"),\n}).describe(\"Request model for retrieving a task run.\");\nconst ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional context about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).passthrough().describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe(\"Non-critical issues encountered during task execution\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.\").nullable(),\n processor: z.string().describe(\"Processor used for the run\").nullable(),\n created_at: z.string().describe(\"Timestamp of the creation of the task, as an RFC 3339 string\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp of the last modification to the task, as an RFC 3339 string\").nullable().optional(),\n taskgroup_id: z.string().describe(\"ID of the taskgroup to which the run belongs\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task run.\");\n\nexport const parallelRetrieveTaskRun: AppAction<\n typeof ParallelRetrieveTaskRunInput,\n typeof ParallelRetrieveTaskRunOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_TASK_RUN\", {\n slug: \"parallel-retrieve-task-run\",\n name: \"Retrieve Task Run\",\n description: \"Tool to retrieve run status by run_id. Use when you need to check the status or details of a specific task run. The run result is available from the /result endpoint.\",\n input: ParallelRetrieveTaskRunInput,\n output: ParallelRetrieveTaskRunOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4C,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS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Aa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;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/search.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelSearchInput = z.object({\n search_queries: z.array(z.string()).describe(\"List of search query texts to run in parallel Must be non-empty; all entries must be strings.\"),\n}).describe(\"Request model for performing a parallel search.\");\nconst ParallelSearch_ParallelSearchResultSchema = z.object({\n url: z.string().describe(\"URL of the matched web page\").nullable(),\n title: z.string().describe(\"Title of the matched page\").nullable(),\n excerpts: z.array(z.string()).describe(\"Relevant excerpts from the page\").nullable().optional(),\n publish_date: z.string().describe(\"Publication date of the content\").nullable().optional(),\n}).passthrough().describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\").nullable(),\n}).passthrough().describe(\"Response model containing parallel search results.\");\n\nexport const parallelSearch = action(\"PARALLEL_SEARCH\", {\n slug: \"parallel-search\",\n name: \"Parallel Search\",\n description: \"Tool to perform parallel semantic search. Use when you need to retrieve top matching documents for multiple queries in a single call.\",\n input: ParallelSearchInput,\n output: ParallelSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelSearchInput = z.object({\n search_queries: z.array(z.string()).describe(\"List of search query texts to run in parallel Must be non-empty; all entries must be strings.\"),\n}).describe(\"Request model for performing a parallel search.\");\nconst ParallelSearch_ParallelSearchResultSchema = z.object({\n url: z.string().describe(\"URL of the matched web page\").nullable(),\n title: z.string().describe(\"Title of the matched page\").nullable(),\n excerpts: z.array(z.string()).describe(\"Relevant excerpts from the page\").nullable().optional(),\n publish_date: z.string().describe(\"Publication date of the content\").nullable().optional(),\n}).passthrough().describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\").nullable(),\n}).passthrough().describe(\"Response model containing parallel search results.\");\n\nexport const parallelSearch: AppAction<\n typeof ParallelSearchInput,\n typeof ParallelSearchOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_SEARCH\", {\n slug: \"parallel-search\",\n name: \"Parallel Search\",\n description: \"Tool to perform parallel semantic search. Use when you need to retrieve top matching documents for multiple queries in a single call.\",\n input: ParallelSearchInput,\n output: ParallelSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,iBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search.d.ts
@@ -13,21 +15,7 @@ declare const ParallelSearchOutput: z.ZodObject<{
13
15
  }, z.core.$loose>>;
14
16
  search_id: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const parallelSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- search_queries: string[];
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
18
+ declare const parallelSearch: AppAction<typeof ParallelSearchInput, typeof ParallelSearchOutput, typeof parallel.credential>;
31
19
  //#endregion
32
20
  export { parallelSearch };
33
21
  //# sourceMappingURL=search.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search.d.ts
@@ -13,21 +15,7 @@ declare const ParallelSearchOutput: z.ZodObject<{
13
15
  }, z.core.$loose>>;
14
16
  search_id: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const parallelSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- search_queries: string[];
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
18
+ declare const parallelSearch: AppAction<typeof ParallelSearchInput, typeof ParallelSearchOutput, typeof parallel.credential>;
31
19
  //#endregion
32
20
  export { parallelSearch };
33
21
  //# sourceMappingURL=search.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,QAAA,CAAS,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/search.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search.mjs","names":[],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelSearchInput = z.object({\n search_queries: z.array(z.string()).describe(\"List of search query texts to run in parallel Must be non-empty; all entries must be strings.\"),\n}).describe(\"Request model for performing a parallel search.\");\nconst ParallelSearch_ParallelSearchResultSchema = z.object({\n url: z.string().describe(\"URL of the matched web page\").nullable(),\n title: z.string().describe(\"Title of the matched page\").nullable(),\n excerpts: z.array(z.string()).describe(\"Relevant excerpts from the page\").nullable().optional(),\n publish_date: z.string().describe(\"Publication date of the content\").nullable().optional(),\n}).passthrough().describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\").nullable(),\n}).passthrough().describe(\"Response model containing parallel search results.\");\n\nexport const parallelSearch = action(\"PARALLEL_SEARCH\", {\n slug: \"parallel-search\",\n name: \"Parallel Search\",\n description: \"Tool to perform parallel semantic search. Use when you need to retrieve top matching documents for multiple queries in a single call.\",\n input: ParallelSearchInput,\n output: ParallelSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search.mjs","names":[],"sources":["../../src/actions/search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelSearchInput = z.object({\n search_queries: z.array(z.string()).describe(\"List of search query texts to run in parallel Must be non-empty; all entries must be strings.\"),\n}).describe(\"Request model for performing a parallel search.\");\nconst ParallelSearch_ParallelSearchResultSchema = z.object({\n url: z.string().describe(\"URL of the matched web page\").nullable(),\n title: z.string().describe(\"Title of the matched page\").nullable(),\n excerpts: z.array(z.string()).describe(\"Relevant excerpts from the page\").nullable().optional(),\n publish_date: z.string().describe(\"Publication date of the content\").nullable().optional(),\n}).passthrough().describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\").nullable(),\n}).passthrough().describe(\"Response model containing parallel search results.\");\n\nexport const parallelSearch: AppAction<\n typeof ParallelSearchInput,\n typeof ParallelSearchOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_SEARCH\", {\n slug: \"parallel-search\",\n name: \"Parallel Search\",\n description: \"Tool to perform parallel semantic search. Use when you need to retrieve top matching documents for multiple queries in a single call.\",\n input: ParallelSearchInput,\n output: ParallelSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,iBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,EAAE,OAAO;EAC3C,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/simulate-event.ts
@@ -1 +1 @@
1
- {"version":3,"file":"simulate-event.cjs","names":["z","action"],"sources":["../../src/actions/simulate-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelSimulateEventInput = z.object({\n event_type: z.enum([\"monitor.event.detected\", \"monitor.execution.completed\", \"monitor.execution.failed\"]).describe(\"Event types that can be simulated for a monitor.\").optional(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor to simulate an event for.\"),\n}).describe(\"Request model for simulating an event for a monitor.\");\nexport const ParallelSimulateEventOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the event simulation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for simulating an event. Returns empty response on success (204).\");\n\nexport const parallelSimulateEvent = action(\"PARALLEL_SIMULATE_EVENT\", {\n slug: \"parallel-simulate-event\",\n name: \"Simulate Event\",\n description: \"Tool to simulate sending an event for a monitor. Use when testing monitor webhooks or validating monitor configurations. Simulates sending an event of the specified type (defaults to monitor.event.detected).\",\n input: ParallelSimulateEventInput,\n output: ParallelSimulateEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAA0B;EAA+B;CAA0B,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC9F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"simulate-event.cjs","names":["z","action"],"sources":["../../src/actions/simulate-event.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelSimulateEventInput = z.object({\n event_type: z.enum([\"monitor.event.detected\", \"monitor.execution.completed\", \"monitor.execution.failed\"]).describe(\"Event types that can be simulated for a monitor.\").optional(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor to simulate an event for.\"),\n}).describe(\"Request model for simulating an event for a monitor.\");\nexport const ParallelSimulateEventOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the event simulation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for simulating an event. Returns empty response on success (204).\");\n\nexport const parallelSimulateEvent: AppAction<\n typeof ParallelSimulateEventInput,\n typeof ParallelSimulateEventOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_SIMULATE_EVENT\", {\n slug: \"parallel-simulate-event\",\n name: \"Simulate Event\",\n description: \"Tool to simulate sending an event for a monitor. Use when testing monitor webhooks or validating monitor configurations. Simulates sending an event of the specified type (defaults to monitor.event.detected).\",\n input: ParallelSimulateEventInput,\n output: ParallelSimulateEventOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAA0B;EAA+B;CAA0B,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC9F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/simulate-event.d.ts
@@ -12,22 +14,7 @@ declare const ParallelSimulateEventInput: z.ZodObject<{
12
14
  declare const ParallelSimulateEventOutput: z.ZodObject<{
13
15
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
16
  }, z.core.$loose>;
15
- declare const parallelSimulateEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- monitor_id: string;
17
- event_type?: "monitor.event.detected" | "monitor.execution.completed" | "monitor.execution.failed" | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
17
+ declare const parallelSimulateEvent: AppAction<typeof ParallelSimulateEventInput, typeof ParallelSimulateEventOutput, typeof parallel.credential>;
31
18
  //#endregion
32
19
  export { parallelSimulateEvent };
33
20
  //# sourceMappingURL=simulate-event.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"simulate-event.d.cts","names":[],"sources":["../../src/actions/simulate-event.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"simulate-event.d.cts","names":[],"sources":["../../src/actions/simulate-event.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/simulate-event.d.ts
@@ -12,22 +14,7 @@ declare const ParallelSimulateEventInput: z.ZodObject<{
12
14
  declare const ParallelSimulateEventOutput: z.ZodObject<{
13
15
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
16
  }, z.core.$loose>;
15
- declare const parallelSimulateEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- monitor_id: string;
17
- event_type?: "monitor.event.detected" | "monitor.execution.completed" | "monitor.execution.failed" | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
17
+ declare const parallelSimulateEvent: AppAction<typeof ParallelSimulateEventInput, typeof ParallelSimulateEventOutput, typeof parallel.credential>;
31
18
  //#endregion
32
19
  export { parallelSimulateEvent };
33
20
  //# sourceMappingURL=simulate-event.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"simulate-event.d.mts","names":[],"sources":["../../src/actions/simulate-event.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"simulate-event.d.mts","names":[],"sources":["../../src/actions/simulate-event.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,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 parallelSimulateEvent = action("PARALLEL_SIMULATE_EVENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"simulate-event.mjs","names":[],"sources":["../../src/actions/simulate-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelSimulateEventInput = z.object({\n event_type: z.enum([\"monitor.event.detected\", \"monitor.execution.completed\", \"monitor.execution.failed\"]).describe(\"Event types that can be simulated for a monitor.\").optional(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor to simulate an event for.\"),\n}).describe(\"Request model for simulating an event for a monitor.\");\nexport const ParallelSimulateEventOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the event simulation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for simulating an event. Returns empty response on success (204).\");\n\nexport const parallelSimulateEvent = action(\"PARALLEL_SIMULATE_EVENT\", {\n slug: \"parallel-simulate-event\",\n name: \"Simulate Event\",\n description: \"Tool to simulate sending an event for a monitor. Use when testing monitor webhooks or validating monitor configurations. Simulates sending an event of the specified type (defaults to monitor.event.detected).\",\n input: ParallelSimulateEventInput,\n output: ParallelSimulateEventOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,KAAK;GAAC;GAA0B;GAA+B;EAA0B,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAChL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"simulate-event.mjs","names":[],"sources":["../../src/actions/simulate-event.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelSimulateEventInput = z.object({\n event_type: z.enum([\"monitor.event.detected\", \"monitor.execution.completed\", \"monitor.execution.failed\"]).describe(\"Event types that can be simulated for a monitor.\").optional(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor to simulate an event for.\"),\n}).describe(\"Request model for simulating an event for a monitor.\");\nexport const ParallelSimulateEventOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the event simulation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for simulating an event. Returns empty response on success (204).\");\n\nexport const parallelSimulateEvent: AppAction<\n typeof ParallelSimulateEventInput,\n typeof ParallelSimulateEventOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_SIMULATE_EVENT\", {\n slug: \"parallel-simulate-event\",\n name: \"Simulate Event\",\n description: \"Tool to simulate sending an event for a monitor. Use when testing monitor webhooks or validating monitor configurations. Simulates sending an event of the specified type (defaults to monitor.event.detected).\",\n input: ParallelSimulateEventInput,\n output: ParallelSimulateEventOutput,\n});\n"],"mappings":";;;AAcA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,YAAY,EAAE,KAAK;GAAC;GAA0B;GAA+B;EAA0B,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAChL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,CAAC,CAAC,CAAC,SAAS,sDAaH;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAWhB;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/stream-find-all-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"stream-find-all-events.cjs","names":["z","action"],"sources":["../../src/actions/stream-find-all-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelStreamFindAllEventsInput = z.object({\n timeout: z.number().int().describe(\"Duration in seconds to keep the connection open if no new events occur.\").optional(),\n findall_id: z.string().describe(\"Unique identifier of the FindAll run to stream events from.\"),\n last_event_id: z.string().describe(\"ID of the last received event to resume streaming from.\").optional(),\n}).describe(\"Request model for streaming FindAll events.\");\nconst ParallelStreamFindAllEvents_FindAllEnrichInputSchema = z.object({\n name: z.string().describe(\"Name of the enrichment field.\").nullable(),\n description: z.string().describe(\"Description of the enrichment field.\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllSchemaSchema = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\").nullable(),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\").nullable(),\n enrichments: z.array(ParallelStreamFindAllEvents_FindAllEnrichInputSchema).describe(\"Optional list of enrichment fields.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity to find.\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of matches to return.\").nullable().optional(),\n match_conditions: z.array(ParallelStreamFindAllEvents_MatchConditionSchema).describe(\"List of conditions that a candidate must satisfy.\"),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllSchemaUpdatedEventSchema = z.object({\n data: ParallelStreamFindAllEvents_FindAllSchemaSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the event\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"in_progress\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the FindAll run.\").nullable(),\n metrics: ParallelStreamFindAllEvents_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllRunSchema = z.object({\n status: ParallelStreamFindAllEvents_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllRunStatusEventSchema = z.object({\n data: ParallelStreamFindAllEvents_FindAllRunSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the event\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FieldBasisSchema = z.object({\n field: z.string().describe(\"Field name\").nullable(),\n source: z.string().describe(\"Source of the field value\").nullable().optional(),\n reasoning: z.string().describe(\"Reasoning for the field value\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Canonical URL of the candidate entity\").nullable(),\n name: z.string().describe(\"Name of the candidate entity\").nullable(),\n basis: z.array(ParallelStreamFindAllEvents_FieldBasisSchema).describe(\"Reasoning basis for candidate fields\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Output data for the candidate\").nullable().optional(),\n description: z.string().describe(\"Description of the candidate entity\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique identifier for the candidate\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\", \"enriched\"]).describe(\"Current match status of the candidate\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema = z.object({\n data: ParallelStreamFindAllEvents_FindAllCandidateSchema.nullable(),\n type: z.enum([\"findall.candidate.generated\", \"findall.candidate.matched\", \"findall.candidate.unmatched\", \"findall.candidate.discarded\", \"findall.candidate.enriched\"]).describe(\"Event type\").nullable(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the event\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_ErrorEventSchema = z.object({\n type: z.string().describe(\"Event type\").nullable(),\n error: ParallelStreamFindAllEvents_ErrorDetailSchema.nullable(),\n}).passthrough();\nexport const ParallelStreamFindAllEventsOutput = z.object({\n events: z.array(z.union([ParallelStreamFindAllEvents_FindAllSchemaUpdatedEventSchema, ParallelStreamFindAllEvents_FindAllRunStatusEventSchema, ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema, ParallelStreamFindAllEvents_ErrorEventSchema])).describe(\"List of events received from the FindAll stream\"),\n}).passthrough().describe(\"Response model containing list of streamed FindAll events.\");\n\nexport const parallelStreamFindAllEvents = action(\"PARALLEL_STREAM_FIND_ALL_EVENTS\", {\n slug: \"parallel-stream-find-all-events\",\n name: \"Stream FindAll Events\",\n description: \"Tool to stream events from a FindAll run. Use when you need real-time updates on candidate discovery, matching progress, and run status.\",\n input: ParallelStreamFindAllEventsInput,\n output: ParallelStreamFindAllEvents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CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAO,8CAA8C,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAAC;CAA6D;CAAyD;CAAoE;AAA4C,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,EAC/T,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"stream-find-all-events.cjs","names":["z","action"],"sources":["../../src/actions/stream-find-all-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelStreamFindAllEventsInput = z.object({\n timeout: z.number().int().describe(\"Duration in seconds to keep the connection open if no new events occur.\").optional(),\n findall_id: z.string().describe(\"Unique identifier of the FindAll run to stream events from.\"),\n last_event_id: z.string().describe(\"ID of the last received event to resume streaming from.\").optional(),\n}).describe(\"Request model for streaming FindAll events.\");\nconst ParallelStreamFindAllEvents_FindAllEnrichInputSchema = z.object({\n name: z.string().describe(\"Name of the enrichment field.\").nullable(),\n description: z.string().describe(\"Description of the enrichment field.\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllSchemaSchema = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\").nullable(),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\").nullable(),\n enrichments: z.array(ParallelStreamFindAllEvents_FindAllEnrichInputSchema).describe(\"Optional list of enrichment fields.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity to find.\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of matches to return.\").nullable().optional(),\n match_conditions: z.array(ParallelStreamFindAllEvents_MatchConditionSchema).describe(\"List of conditions that a candidate must satisfy.\"),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllSchemaUpdatedEventSchema = z.object({\n data: ParallelStreamFindAllEvents_FindAllSchemaSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the event\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"in_progress\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the FindAll run.\").nullable(),\n metrics: ParallelStreamFindAllEvents_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllRunSchema = z.object({\n status: ParallelStreamFindAllEvents_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllRunStatusEventSchema = z.object({\n data: ParallelStreamFindAllEvents_FindAllRunSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the event\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FieldBasisSchema = z.object({\n field: z.string().describe(\"Field name\").nullable(),\n source: z.string().describe(\"Source of the field value\").nullable().optional(),\n reasoning: z.string().describe(\"Reasoning for the field value\").nullable().optional(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Canonical URL of the candidate entity\").nullable(),\n name: z.string().describe(\"Name of the candidate entity\").nullable(),\n basis: z.array(ParallelStreamFindAllEvents_FieldBasisSchema).describe(\"Reasoning basis for candidate fields\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Output data for the candidate\").nullable().optional(),\n description: z.string().describe(\"Description of the candidate entity\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique identifier for the candidate\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\", \"enriched\"]).describe(\"Current match status of the candidate\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema = z.object({\n data: ParallelStreamFindAllEvents_FindAllCandidateSchema.nullable(),\n type: z.enum([\"findall.candidate.generated\", \"findall.candidate.matched\", \"findall.candidate.unmatched\", \"findall.candidate.discarded\", \"findall.candidate.enriched\"]).describe(\"Event type\").nullable(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable(),\n timestamp: z.string().describe(\"ISO 8601 timestamp of the event\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough();\nconst ParallelStreamFindAllEvents_ErrorEventSchema = z.object({\n type: z.string().describe(\"Event type\").nullable(),\n error: ParallelStreamFindAllEvents_ErrorDetailSchema.nullable(),\n}).passthrough();\nexport const ParallelStreamFindAllEventsOutput = z.object({\n events: z.array(z.union([ParallelStreamFindAllEvents_FindAllSchemaUpdatedEventSchema, ParallelStreamFindAllEvents_FindAllRunStatusEventSchema, ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema, ParallelStreamFindAllEvents_ErrorEventSchema])).describe(\"List of events received from the FindAll stream\"),\n}).passthrough().describe(\"Response model containing list of streamed FindAll events.\");\n\nexport const parallelStreamFindAllEvents: AppAction<\n typeof ParallelStreamFindAllEventsInput,\n typeof ParallelStreamFindAllEventsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_STREAM_FIND_ALL_EVENTS\", {\n slug: \"parallel-stream-find-all-events\",\n name: \"Stream FindAll Events\",\n description: \"Tool to stream events from a FindAll run. Use when you need real-time updates on candidate discovery, matching progress, and run status.\",\n input: ParallelStreamFindAllEventsInput,\n output: ParallelStreamFindAllEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,E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AC7D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAO,8CAA8C,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAAC;CAA6D;CAAyD;CAAoE;AAA4C,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD,EAC/T,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/stream-find-all-events.d.ts
@@ -100,23 +102,7 @@ declare const ParallelStreamFindAllEventsOutput: z.ZodObject<{
100
102
  }, z.core.$loose>>;
101
103
  }, z.core.$loose>]>>;
102
104
  }, z.core.$loose>;
103
- declare const parallelStreamFindAllEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
104
- findall_id: string;
105
- timeout?: number | undefined;
106
- last_event_id?: string | undefined;
107
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
108
- connectionId: z.ZodString;
109
- entityId: z.ZodString;
110
- instanceId: z.ZodString;
111
- }, z.core.$strip>, z.ZodObject<{
112
- generic_api_key: z.ZodString;
113
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
114
- connectionId: z.ZodString;
115
- entityId: z.ZodString;
116
- instanceId: z.ZodString;
117
- }, z.core.$strip>, z.ZodObject<{
118
- generic_api_key: z.ZodString;
119
- }, z.core.$strip>>]>;
105
+ declare const parallelStreamFindAllEvents: AppAction<typeof ParallelStreamFindAllEventsInput, typeof ParallelStreamFindAllEventsOutput, typeof parallel.credential>;
120
106
  //#endregion
121
107
  export { parallelStreamFindAllEvents };
122
108
  //# sourceMappingURL=stream-find-all-events.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stream-find-all-events.d.cts","names":[],"sources":["../../src/actions/stream-find-all-events.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAgFhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"stream-find-all-events.d.cts","names":[],"sources":["../../src/actions/stream-find-all-events.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAgFhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/stream-find-all-events.d.ts
@@ -100,23 +102,7 @@ declare const ParallelStreamFindAllEventsOutput: z.ZodObject<{
100
102
  }, z.core.$loose>>;
101
103
  }, z.core.$loose>]>>;
102
104
  }, z.core.$loose>;
103
- declare const parallelStreamFindAllEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
104
- findall_id: string;
105
- timeout?: number | undefined;
106
- last_event_id?: string | undefined;
107
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
108
- connectionId: z.ZodString;
109
- entityId: z.ZodString;
110
- instanceId: z.ZodString;
111
- }, z.core.$strip>, z.ZodObject<{
112
- generic_api_key: z.ZodString;
113
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
114
- connectionId: z.ZodString;
115
- entityId: z.ZodString;
116
- instanceId: z.ZodString;
117
- }, z.core.$strip>, z.ZodObject<{
118
- generic_api_key: z.ZodString;
119
- }, z.core.$strip>>]>;
105
+ declare const parallelStreamFindAllEvents: AppAction<typeof ParallelStreamFindAllEventsInput, typeof ParallelStreamFindAllEventsOutput, typeof parallel.credential>;
120
106
  //#endregion
121
107
  export { parallelStreamFindAllEvents };
122
108
  //# sourceMappingURL=stream-find-all-events.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stream-find-all-events.d.mts","names":[],"sources":["../../src/actions/stream-find-all-events.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAgFhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"stream-find-all-events.d.mts","names":[],"sources":["../../src/actions/stream-find-all-events.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAgFhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,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/stream-find-all-events.ts