@keystrokehq/parallel 0.1.0 → 0.1.3

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 (265) 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 +14 -14
  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 +51 -3
  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 +51 -3
  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 +14 -14
  10. package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
  11. package/dist/actions/add-runs-to-task-group.cjs +6 -6
  12. package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
  13. package/dist/actions/add-runs-to-task-group.d.cts +55 -3
  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 +55 -3
  16. package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
  17. package/dist/actions/add-runs-to-task-group.mjs +6 -6
  18. package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
  19. package/dist/actions/cancel-find-all-run.cjs +1 -1
  20. package/dist/actions/cancel-find-all-run.cjs.map +1 -1
  21. package/dist/actions/cancel-find-all-run.d.cts +7 -3
  22. package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
  23. package/dist/actions/cancel-find-all-run.d.mts +7 -3
  24. package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
  25. package/dist/actions/cancel-find-all-run.mjs +1 -1
  26. package/dist/actions/cancel-find-all-run.mjs.map +1 -1
  27. package/dist/actions/create-chat-completions.cjs +17 -17
  28. package/dist/actions/create-chat-completions.cjs.map +1 -1
  29. package/dist/actions/create-chat-completions.d.cts +87 -3
  30. package/dist/actions/create-chat-completions.d.cts.map +1 -1
  31. package/dist/actions/create-chat-completions.d.mts +87 -3
  32. package/dist/actions/create-chat-completions.d.mts.map +1 -1
  33. package/dist/actions/create-chat-completions.mjs +17 -17
  34. package/dist/actions/create-chat-completions.mjs.map +1 -1
  35. package/dist/actions/create-monitor.cjs +7 -7
  36. package/dist/actions/create-monitor.cjs.map +1 -1
  37. package/dist/actions/create-monitor.d.cts +56 -3
  38. package/dist/actions/create-monitor.d.cts.map +1 -1
  39. package/dist/actions/create-monitor.d.mts +56 -3
  40. package/dist/actions/create-monitor.d.mts.map +1 -1
  41. package/dist/actions/create-monitor.mjs +7 -7
  42. package/dist/actions/create-monitor.mjs.map +1 -1
  43. package/dist/actions/create-task-group.cjs +8 -8
  44. package/dist/actions/create-task-group.cjs.map +1 -1
  45. package/dist/actions/create-task-group.d.cts +18 -3
  46. package/dist/actions/create-task-group.d.cts.map +1 -1
  47. package/dist/actions/create-task-group.d.mts +18 -3
  48. package/dist/actions/create-task-group.d.mts.map +1 -1
  49. package/dist/actions/create-task-group.mjs +8 -8
  50. package/dist/actions/create-task-group.mjs.map +1 -1
  51. package/dist/actions/create-task-run.cjs +9 -9
  52. package/dist/actions/create-task-run.cjs.map +1 -1
  53. package/dist/actions/create-task-run.d.cts +62 -3
  54. package/dist/actions/create-task-run.d.cts.map +1 -1
  55. package/dist/actions/create-task-run.d.mts +62 -3
  56. package/dist/actions/create-task-run.d.mts.map +1 -1
  57. package/dist/actions/create-task-run.mjs +9 -9
  58. package/dist/actions/create-task-run.mjs.map +1 -1
  59. package/dist/actions/delete-monitor.cjs +4 -4
  60. package/dist/actions/delete-monitor.cjs.map +1 -1
  61. package/dist/actions/delete-monitor.d.cts +31 -3
  62. package/dist/actions/delete-monitor.d.cts.map +1 -1
  63. package/dist/actions/delete-monitor.d.mts +31 -3
  64. package/dist/actions/delete-monitor.d.mts.map +1 -1
  65. package/dist/actions/delete-monitor.mjs +4 -4
  66. package/dist/actions/delete-monitor.mjs.map +1 -1
  67. package/dist/actions/extend-find-all-run.cjs +6 -6
  68. package/dist/actions/extend-find-all-run.cjs.map +1 -1
  69. package/dist/actions/extend-find-all-run.d.cts +24 -3
  70. package/dist/actions/extend-find-all-run.d.cts.map +1 -1
  71. package/dist/actions/extend-find-all-run.d.mts +24 -3
  72. package/dist/actions/extend-find-all-run.d.mts.map +1 -1
  73. package/dist/actions/extend-find-all-run.mjs +6 -6
  74. package/dist/actions/extend-find-all-run.mjs.map +1 -1
  75. package/dist/actions/extract.cjs +14 -14
  76. package/dist/actions/extract.cjs.map +1 -1
  77. package/dist/actions/extract.d.cts +65 -3
  78. package/dist/actions/extract.d.cts.map +1 -1
  79. package/dist/actions/extract.d.mts +65 -3
  80. package/dist/actions/extract.d.mts.map +1 -1
  81. package/dist/actions/extract.mjs +14 -14
  82. package/dist/actions/extract.mjs.map +1 -1
  83. package/dist/actions/fetch-task-group-runs.cjs +29 -29
  84. package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
  85. package/dist/actions/fetch-task-group-runs.d.cts +91 -3
  86. package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
  87. package/dist/actions/fetch-task-group-runs.d.mts +91 -3
  88. package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
  89. package/dist/actions/fetch-task-group-runs.mjs +29 -29
  90. package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
  91. package/dist/actions/find-all.cjs +11 -11
  92. package/dist/actions/find-all.cjs.map +1 -1
  93. package/dist/actions/find-all.d.cts +72 -3
  94. package/dist/actions/find-all.d.cts.map +1 -1
  95. package/dist/actions/find-all.d.mts +72 -3
  96. package/dist/actions/find-all.d.mts.map +1 -1
  97. package/dist/actions/find-all.mjs +11 -11
  98. package/dist/actions/find-all.mjs.map +1 -1
  99. package/dist/actions/get-find-all-run-result.cjs +17 -17
  100. package/dist/actions/get-find-all-run-result.cjs.map +1 -1
  101. package/dist/actions/get-find-all-run-result.d.cts +68 -3
  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 +68 -3
  104. package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
  105. package/dist/actions/get-find-all-run-result.mjs +17 -17
  106. package/dist/actions/get-find-all-run-result.mjs.map +1 -1
  107. package/dist/actions/get-find-all-run-schema.cjs +6 -6
  108. package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
  109. package/dist/actions/get-find-all-run-schema.d.cts +22 -3
  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 +22 -3
  112. package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
  113. package/dist/actions/get-find-all-run-schema.mjs +6 -6
  114. package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
  115. package/dist/actions/ingest-find-all-run.cjs +6 -6
  116. package/dist/actions/ingest-find-all-run.cjs.map +1 -1
  117. package/dist/actions/ingest-find-all-run.d.cts +22 -3
  118. package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
  119. package/dist/actions/ingest-find-all-run.d.mts +22 -3
  120. package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
  121. package/dist/actions/ingest-find-all-run.mjs +6 -6
  122. package/dist/actions/ingest-find-all-run.mjs.map +1 -1
  123. package/dist/actions/list-monitor-events.cjs +11 -11
  124. package/dist/actions/list-monitor-events.cjs.map +1 -1
  125. package/dist/actions/list-monitor-events.d.cts +26 -3
  126. package/dist/actions/list-monitor-events.d.cts.map +1 -1
  127. package/dist/actions/list-monitor-events.d.mts +26 -3
  128. package/dist/actions/list-monitor-events.d.mts.map +1 -1
  129. package/dist/actions/list-monitor-events.mjs +11 -11
  130. package/dist/actions/list-monitor-events.mjs.map +1 -1
  131. package/dist/actions/list-monitors.cjs +8 -8
  132. package/dist/actions/list-monitors.cjs.map +1 -1
  133. package/dist/actions/list-monitors.d.cts +35 -3
  134. package/dist/actions/list-monitors.d.cts.map +1 -1
  135. package/dist/actions/list-monitors.d.mts +35 -3
  136. package/dist/actions/list-monitors.d.mts.map +1 -1
  137. package/dist/actions/list-monitors.mjs +8 -8
  138. package/dist/actions/list-monitors.mjs.map +1 -1
  139. package/dist/actions/retrieve-event-group.cjs +10 -10
  140. package/dist/actions/retrieve-event-group.cjs.map +1 -1
  141. package/dist/actions/retrieve-event-group.d.cts +26 -3
  142. package/dist/actions/retrieve-event-group.d.cts.map +1 -1
  143. package/dist/actions/retrieve-event-group.d.mts +26 -3
  144. package/dist/actions/retrieve-event-group.d.mts.map +1 -1
  145. package/dist/actions/retrieve-event-group.mjs +10 -10
  146. package/dist/actions/retrieve-event-group.mjs.map +1 -1
  147. package/dist/actions/retrieve-find-all-run-status.cjs +7 -7
  148. package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
  149. package/dist/actions/retrieve-find-all-run-status.d.cts +34 -3
  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 +34 -3
  152. package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
  153. package/dist/actions/retrieve-find-all-run-status.mjs +7 -7
  154. package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
  155. package/dist/actions/retrieve-monitor.cjs +6 -6
  156. package/dist/actions/retrieve-monitor.cjs.map +1 -1
  157. package/dist/actions/retrieve-monitor.d.cts +31 -3
  158. package/dist/actions/retrieve-monitor.d.cts.map +1 -1
  159. package/dist/actions/retrieve-monitor.d.mts +31 -3
  160. package/dist/actions/retrieve-monitor.d.mts.map +1 -1
  161. package/dist/actions/retrieve-monitor.mjs +6 -6
  162. package/dist/actions/retrieve-monitor.mjs.map +1 -1
  163. package/dist/actions/retrieve-task-group-run.cjs +9 -9
  164. package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
  165. package/dist/actions/retrieve-task-group-run.d.cts +33 -3
  166. package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
  167. package/dist/actions/retrieve-task-group-run.d.mts +33 -3
  168. package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
  169. package/dist/actions/retrieve-task-group-run.mjs +9 -9
  170. package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
  171. package/dist/actions/retrieve-task-group.cjs +6 -6
  172. package/dist/actions/retrieve-task-group.cjs.map +1 -1
  173. package/dist/actions/retrieve-task-group.d.cts +18 -3
  174. package/dist/actions/retrieve-task-group.d.cts.map +1 -1
  175. package/dist/actions/retrieve-task-group.d.mts +18 -3
  176. package/dist/actions/retrieve-task-group.d.mts.map +1 -1
  177. package/dist/actions/retrieve-task-group.mjs +6 -6
  178. package/dist/actions/retrieve-task-group.mjs.map +1 -1
  179. package/dist/actions/retrieve-task-run-input.cjs +5 -5
  180. package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
  181. package/dist/actions/retrieve-task-run-input.d.cts +21 -3
  182. package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
  183. package/dist/actions/retrieve-task-run-input.d.mts +21 -3
  184. package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
  185. package/dist/actions/retrieve-task-run-input.mjs +5 -5
  186. package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
  187. package/dist/actions/retrieve-task-run-result.cjs +9 -9
  188. package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
  189. package/dist/actions/retrieve-task-run-result.d.cts +29 -3
  190. package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
  191. package/dist/actions/retrieve-task-run-result.d.mts +29 -3
  192. package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
  193. package/dist/actions/retrieve-task-run-result.mjs +9 -9
  194. package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
  195. package/dist/actions/retrieve-task-run.cjs +11 -11
  196. package/dist/actions/retrieve-task-run.cjs.map +1 -1
  197. package/dist/actions/retrieve-task-run.d.cts +35 -3
  198. package/dist/actions/retrieve-task-run.d.cts.map +1 -1
  199. package/dist/actions/retrieve-task-run.d.mts +35 -3
  200. package/dist/actions/retrieve-task-run.d.mts.map +1 -1
  201. package/dist/actions/retrieve-task-run.mjs +11 -11
  202. package/dist/actions/retrieve-task-run.mjs.map +1 -1
  203. package/dist/actions/search.cjs +5 -5
  204. package/dist/actions/search.cjs.map +1 -1
  205. package/dist/actions/search.d.cts +15 -3
  206. package/dist/actions/search.d.cts.map +1 -1
  207. package/dist/actions/search.d.mts +15 -3
  208. package/dist/actions/search.d.mts.map +1 -1
  209. package/dist/actions/search.mjs +5 -5
  210. package/dist/actions/search.mjs.map +1 -1
  211. package/dist/actions/simulate-event.cjs +1 -1
  212. package/dist/actions/simulate-event.cjs.map +1 -1
  213. package/dist/actions/simulate-event.d.cts +15 -3
  214. package/dist/actions/simulate-event.d.cts.map +1 -1
  215. package/dist/actions/simulate-event.d.mts +15 -3
  216. package/dist/actions/simulate-event.d.mts.map +1 -1
  217. package/dist/actions/simulate-event.mjs +1 -1
  218. package/dist/actions/simulate-event.mjs.map +1 -1
  219. package/dist/actions/stream-find-all-events.cjs +42 -42
  220. package/dist/actions/stream-find-all-events.cjs.map +1 -1
  221. package/dist/actions/stream-find-all-events.d.cts +104 -3
  222. package/dist/actions/stream-find-all-events.d.cts.map +1 -1
  223. package/dist/actions/stream-find-all-events.d.mts +104 -3
  224. package/dist/actions/stream-find-all-events.d.mts.map +1 -1
  225. package/dist/actions/stream-find-all-events.mjs +42 -42
  226. package/dist/actions/stream-find-all-events.mjs.map +1 -1
  227. package/dist/actions/stream-task-group-events.cjs +25 -25
  228. package/dist/actions/stream-task-group-events.cjs.map +1 -1
  229. package/dist/actions/stream-task-group-events.d.cts +44 -3
  230. package/dist/actions/stream-task-group-events.d.cts.map +1 -1
  231. package/dist/actions/stream-task-group-events.d.mts +44 -3
  232. package/dist/actions/stream-task-group-events.d.mts.map +1 -1
  233. package/dist/actions/stream-task-group-events.mjs +25 -25
  234. package/dist/actions/stream-task-group-events.mjs.map +1 -1
  235. package/dist/actions/stream-task-run-events.cjs +21 -21
  236. package/dist/actions/stream-task-run-events.cjs.map +1 -1
  237. package/dist/actions/stream-task-run-events.d.cts +45 -3
  238. package/dist/actions/stream-task-run-events.d.cts.map +1 -1
  239. package/dist/actions/stream-task-run-events.d.mts +45 -3
  240. package/dist/actions/stream-task-run-events.d.mts.map +1 -1
  241. package/dist/actions/stream-task-run-events.mjs +21 -21
  242. package/dist/actions/stream-task-run-events.mjs.map +1 -1
  243. package/dist/actions/suggest-task.cjs +2 -2
  244. package/dist/actions/suggest-task.cjs.map +1 -1
  245. package/dist/actions/suggest-task.d.cts +12 -3
  246. package/dist/actions/suggest-task.d.cts.map +1 -1
  247. package/dist/actions/suggest-task.d.mts +12 -3
  248. package/dist/actions/suggest-task.d.mts.map +1 -1
  249. package/dist/actions/suggest-task.mjs +2 -2
  250. package/dist/actions/suggest-task.mjs.map +1 -1
  251. package/dist/actions/update-monitor.cjs +7 -7
  252. package/dist/actions/update-monitor.cjs.map +1 -1
  253. package/dist/actions/update-monitor.d.cts +50 -3
  254. package/dist/actions/update-monitor.d.cts.map +1 -1
  255. package/dist/actions/update-monitor.d.mts +50 -3
  256. package/dist/actions/update-monitor.d.mts.map +1 -1
  257. package/dist/actions/update-monitor.mjs +7 -7
  258. package/dist/actions/update-monitor.mjs.map +1 -1
  259. package/dist/catalog.cjs +7 -1
  260. package/dist/catalog.cjs.map +1 -1
  261. package/dist/catalog.d.cts +8 -0
  262. package/dist/catalog.d.mts +8 -0
  263. package/dist/catalog.mjs +7 -1
  264. package/dist/catalog.mjs.map +1 -1
  265. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEU;AAAA,cAY1C,6BAAA,EAA+B,CAAA,CAAE,UAYU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/retrieve-task-run.d.ts
4
- declare const ParallelRetrieveTaskRunInput: z.ZodTypeAny;
5
- declare const ParallelRetrieveTaskRunOutput: z.ZodTypeAny;
6
- declare const parallelRetrieveTaskRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelRetrieveTaskRunInput: z.ZodObject<{
5
+ run_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParallelRetrieveTaskRunOutput: z.ZodObject<{
8
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
+ ref_id: z.ZodNullable<z.ZodString>;
11
+ message: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>>>;
13
+ run_id: z.ZodNullable<z.ZodString>;
14
+ status: z.ZodNullable<z.ZodEnum<{
15
+ queued: "queued";
16
+ action_required: "action_required";
17
+ running: "running";
18
+ completed: "completed";
19
+ failed: "failed";
20
+ cancelling: "cancelling";
21
+ cancelled: "cancelled";
22
+ }>>;
23
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
+ warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
+ ref_id: z.ZodNullable<z.ZodString>;
27
+ message: z.ZodNullable<z.ZodString>;
28
+ }, z.core.$loose>>>>;
29
+ is_active: z.ZodNullable<z.ZodBoolean>;
30
+ processor: z.ZodNullable<z.ZodString>;
31
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ interaction_id: z.ZodNullable<z.ZodString>;
35
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { parallelRetrieveTaskRun };
9
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,EAA8B,CAAA,CAAE,UAEU;AAAA,cAY1C,6BAAA,EAA+B,CAAA,CAAE,UAYU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -4,9 +4,9 @@ import { z } from "zod";
4
4
  const ParallelRetrieveTaskRunInput = z.object({ run_id: z.string().describe("ID of the task run to retrieve.") }).describe("Request model for retrieving a task run.");
5
5
  const ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({
6
6
  detail: z.record(z.string(), z.unknown()).describe("Additional context about the error").nullable().optional(),
7
- ref_id: z.string().describe("Reference ID for the error"),
8
- message: z.string().describe("Human-readable error message")
9
- }).describe("Error details for a failed task run.");
7
+ ref_id: z.string().describe("Reference ID for the error").nullable(),
8
+ message: z.string().describe("Human-readable error message").nullable()
9
+ }).passthrough().describe("Error details for a failed task run.");
10
10
  const ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([
11
11
  "queued",
12
12
  "action_required",
@@ -18,9 +18,9 @@ const ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([
18
18
  ]).describe("Status values for a task run.");
19
19
  const ParallelRetrieveTaskRun_WarningSchema = z.object({
20
20
  detail: z.record(z.string(), z.unknown()).describe("Additional details about the warning").nullable().optional(),
21
- ref_id: z.string().describe("Reference ID for the warning"),
22
- message: z.string().describe("Human-readable warning message")
23
- }).describe("Warning details for a task run.");
21
+ ref_id: z.string().describe("Reference ID for the warning").nullable(),
22
+ message: z.string().describe("Human-readable warning message").nullable()
23
+ }).passthrough().describe("Warning details for a task run.");
24
24
  const parallelRetrieveTaskRun = action("PARALLEL_RETRIEVE_TASK_RUN", {
25
25
  slug: "parallel-retrieve-task-run",
26
26
  name: "Retrieve Task Run",
@@ -28,17 +28,17 @@ const parallelRetrieveTaskRun = action("PARALLEL_RETRIEVE_TASK_RUN", {
28
28
  input: ParallelRetrieveTaskRunInput,
29
29
  output: z.object({
30
30
  error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),
31
- run_id: z.string().describe("ID of the task run"),
31
+ run_id: z.string().describe("ID of the task run").nullable(),
32
32
  status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),
33
33
  metadata: z.record(z.string(), z.unknown()).describe("User-provided metadata stored with the run").nullable().optional(),
34
34
  warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe("Non-critical issues encountered during task execution").nullable().optional(),
35
- is_active: z.boolean().describe("Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}."),
36
- processor: z.string().describe("Processor used for the run"),
35
+ is_active: z.boolean().describe("Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.").nullable(),
36
+ processor: z.string().describe("Processor used for the run").nullable(),
37
37
  created_at: z.string().describe("Timestamp of the creation of the task, as an RFC 3339 string").nullable().optional(),
38
38
  modified_at: z.string().describe("Timestamp of the last modification to the task, as an RFC 3339 string").nullable().optional(),
39
39
  taskgroup_id: z.string().describe("ID of the taskgroup to which the run belongs").nullable().optional(),
40
- interaction_id: z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.")
41
- }).describe("Response model for retrieving a task run.")
40
+ interaction_id: z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.").nullable()
41
+ }).passthrough().describe("Response model for retrieving a task run.")
42
42
  });
43
43
  //#endregion
44
44
  export { parallelRetrieveTaskRun };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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\"),\n message: z.string().describe(\"Human-readable error message\"),\n}).describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema: z.ZodTypeAny = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema: z.ZodTypeAny = 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\"),\n message: z.string().describe(\"Human-readable warning message\"),\n}).describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput: z.ZodTypeAny = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\"),\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'}.\"),\n processor: z.string().describe(\"Processor used for the run\"),\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.\"),\n}).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,+BAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA0D,EAAE,OAAO;CACvE,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;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC7D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,8CAA4D,EAAE,KAAK;CAAC;CAAU;CAAmB;CAAW;CAAa;CAAU;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC7M,MAAM,wCAAsD,EAAE,OAAO;CACnE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAe7C,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnByD,EAAE,OAAO;EAClE,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EAChD,QAAQ,4CAA4C,SAAS;EAC7D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,aAAa,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;CAC5J,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAU;CAAmB;CAAW;CAAa;CAAU;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC/L,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAe3D,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB2C,EAAE,OAAO;EACpD,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC3D,QAAQ,4CAA4C,SAAS;EAC7D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,aAAa,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,2CAOhB;AACV,CAAC"}
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/search.ts
4
4
  const ParallelSearchInput = zod.z.object({ search_queries: zod.z.array(zod.z.string()).describe("List of search query texts to run in parallel Must be non-empty; all entries must be strings.") }).describe("Request model for performing a parallel search.");
5
5
  const ParallelSearch_ParallelSearchResultSchema = zod.z.object({
6
- url: zod.z.string().describe("URL of the matched web page"),
7
- title: zod.z.string().describe("Title of the matched page"),
6
+ url: zod.z.string().describe("URL of the matched web page").nullable(),
7
+ title: zod.z.string().describe("Title of the matched page").nullable(),
8
8
  excerpts: zod.z.array(zod.z.string()).describe("Relevant excerpts from the page").nullable().optional(),
9
9
  publish_date: zod.z.string().describe("Publication date of the content").nullable().optional()
10
- }).describe("A single search result from the Parallel Search API.");
10
+ }).passthrough().describe("A single search result from the Parallel Search API.");
11
11
  const ParallelSearchOutput = zod.z.object({
12
12
  results: zod.z.array(ParallelSearch_ParallelSearchResultSchema).describe("List of search results"),
13
- search_id: zod.z.string().describe("Unique identifier for the search")
14
- }).describe("Response model containing parallel search results.");
13
+ search_id: zod.z.string().describe("Unique identifier for the search").nullable()
14
+ }).passthrough().describe("Response model containing parallel search results.");
15
15
  const parallelSearch = require_action.action("PARALLEL_SEARCH", {
16
16
  slug: "parallel-search",
17
17
  name: "Parallel Search",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the matched web page\"),\n title: z.string().describe(\"Title of the matched page\"),\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}).describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput: z.ZodTypeAny = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\"),\n}).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,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,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,SAAS,sDAAsD;AAClE,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AACnE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,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 { 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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search.d.ts
4
- declare const ParallelSearchInput: z.ZodTypeAny;
5
- declare const ParallelSearchOutput: z.ZodTypeAny;
6
- declare const parallelSearch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelSearchInput: z.ZodObject<{
5
+ search_queries: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParallelSearchOutput: z.ZodObject<{
8
+ results: z.ZodArray<z.ZodObject<{
9
+ url: z.ZodNullable<z.ZodString>;
10
+ title: z.ZodNullable<z.ZodString>;
11
+ excerpts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ publish_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>;
14
+ search_id: z.ZodNullable<z.ZodString>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { parallelSearch };
9
21
  //# sourceMappingURL=search.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAE0B;AAAA,cAOjD,oBAAA,EAAsB,CAAA,CAAE,UAG4B;AAAA,cAEpD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search.d.ts
4
- declare const ParallelSearchInput: z.ZodTypeAny;
5
- declare const ParallelSearchOutput: z.ZodTypeAny;
6
- declare const parallelSearch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelSearchInput: z.ZodObject<{
5
+ search_queries: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParallelSearchOutput: z.ZodObject<{
8
+ results: z.ZodArray<z.ZodObject<{
9
+ url: z.ZodNullable<z.ZodString>;
10
+ title: z.ZodNullable<z.ZodString>;
11
+ excerpts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ publish_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>;
14
+ search_id: z.ZodNullable<z.ZodString>;
15
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { parallelSearch };
9
21
  //# sourceMappingURL=search.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAE0B;AAAA,cAOjD,oBAAA,EAAsB,CAAA,CAAE,UAG4B;AAAA,cAEpD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,11 +3,11 @@ import { z } from "zod";
3
3
  //#region src/actions/search.ts
4
4
  const ParallelSearchInput = z.object({ 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.") }).describe("Request model for performing a parallel search.");
5
5
  const ParallelSearch_ParallelSearchResultSchema = z.object({
6
- url: z.string().describe("URL of the matched web page"),
7
- title: z.string().describe("Title of the matched page"),
6
+ url: z.string().describe("URL of the matched web page").nullable(),
7
+ title: z.string().describe("Title of the matched page").nullable(),
8
8
  excerpts: z.array(z.string()).describe("Relevant excerpts from the page").nullable().optional(),
9
9
  publish_date: z.string().describe("Publication date of the content").nullable().optional()
10
- }).describe("A single search result from the Parallel Search API.");
10
+ }).passthrough().describe("A single search result from the Parallel Search API.");
11
11
  const parallelSearch = action("PARALLEL_SEARCH", {
12
12
  slug: "parallel-search",
13
13
  name: "Parallel Search",
@@ -15,8 +15,8 @@ const parallelSearch = action("PARALLEL_SEARCH", {
15
15
  input: ParallelSearchInput,
16
16
  output: z.object({
17
17
  results: z.array(ParallelSearch_ParallelSearchResultSchema).describe("List of search results"),
18
- search_id: z.string().describe("Unique identifier for the search")
19
- }).describe("Response model containing parallel search results.")
18
+ search_id: z.string().describe("Unique identifier for the search").nullable()
19
+ }).passthrough().describe("Response model containing parallel search results.")
20
20
  });
21
21
  //#endregion
22
22
  export { parallelSearch };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the matched web page\"),\n title: z.string().describe(\"Title of the matched page\"),\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}).describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput: z.ZodTypeAny = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\"),\n}).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,sBAAoC,EAAE,OAAO,EACxD,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,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,SAAS,sDAAsD;AAMlE,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACnE,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
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"}
@@ -9,7 +9,7 @@ const ParallelSimulateEventInput = zod.z.object({
9
9
  ]).describe("Event types that can be simulated for a monitor.").optional(),
10
10
  monitor_id: zod.z.string().describe("Unique identifier of the monitor to simulate an event for.")
11
11
  }).describe("Request model for simulating an event for a monitor.");
12
- const ParallelSimulateEventOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the event simulation was successful.").nullable().optional() }).describe("Response model for simulating an event. Returns empty response on success (204).");
12
+ const ParallelSimulateEventOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the event simulation was successful.").nullable().optional() }).passthrough().describe("Response model for simulating an event. Returns empty response on success (204).");
13
13
  const parallelSimulateEvent = require_action.action("PARALLEL_SIMULATE_EVENT", {
14
14
  slug: "parallel-simulate-event",
15
15
  name: "Simulate Event",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the event simulation was successful.\").nullable().optional(),\n}).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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9F,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 { 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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/simulate-event.d.ts
4
- declare const ParallelSimulateEventInput: z.ZodTypeAny;
5
- declare const ParallelSimulateEventOutput: z.ZodTypeAny;
6
- declare const parallelSimulateEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelSimulateEventInput: z.ZodObject<{
5
+ event_type: z.ZodOptional<z.ZodEnum<{
6
+ "monitor.event.detected": "monitor.event.detected";
7
+ "monitor.execution.completed": "monitor.execution.completed";
8
+ "monitor.execution.failed": "monitor.execution.failed";
9
+ }>>;
10
+ monitor_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const ParallelSimulateEventOutput: z.ZodObject<{
13
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { parallelSimulateEvent };
9
21
  //# 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,EAA4B,CAAA,CAAE,UAGwB;AAAA,cACtD,2BAAA,EAA6B,CAAA,CAAE,UAEmD;AAAA,cAElF,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/simulate-event.d.ts
4
- declare const ParallelSimulateEventInput: z.ZodTypeAny;
5
- declare const ParallelSimulateEventOutput: z.ZodTypeAny;
6
- declare const parallelSimulateEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelSimulateEventInput: z.ZodObject<{
5
+ event_type: z.ZodOptional<z.ZodEnum<{
6
+ "monitor.event.detected": "monitor.event.detected";
7
+ "monitor.execution.completed": "monitor.execution.completed";
8
+ "monitor.execution.failed": "monitor.execution.failed";
9
+ }>>;
10
+ monitor_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const ParallelSimulateEventOutput: z.ZodObject<{
13
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { parallelSimulateEvent };
9
21
  //# 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,EAA4B,CAAA,CAAE,UAGwB;AAAA,cACtD,2BAAA,EAA6B,CAAA,CAAE,UAEmD;AAAA,cAElF,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -12,7 +12,7 @@ const parallelSimulateEvent = action("PARALLEL_SIMULATE_EVENT", {
12
12
  ]).describe("Event types that can be simulated for a monitor.").optional(),
13
13
  monitor_id: z.string().describe("Unique identifier of the monitor to simulate an event for.")
14
14
  }).describe("Request model for simulating an event for a monitor."),
15
- output: z.object({ success: z.boolean().default(true).describe("Indicates whether the event simulation was successful.").nullable().optional() }).describe("Response model for simulating an event. Returns empty response on success (204).")
15
+ output: z.object({ success: z.boolean().default(true).describe("Indicates whether the event simulation was successful.").nullable().optional() }).passthrough().describe("Response model for simulating an event. Returns empty response on success (204).")
16
16
  });
17
17
  //#endregion
18
18
  export { parallelSimulateEvent };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the event simulation was successful.\").nullable().optional(),\n}).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,OAZsD,EAAE,OAAO;EAC/D,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,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
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"}
@@ -7,36 +7,36 @@ const ParallelStreamFindAllEventsInput = zod.z.object({
7
7
  last_event_id: zod.z.string().describe("ID of the last received event to resume streaming from.").optional()
8
8
  }).describe("Request model for streaming FindAll events.");
9
9
  const ParallelStreamFindAllEvents_FindAllEnrichInputSchema = zod.z.object({
10
- name: zod.z.string().describe("Name of the enrichment field."),
11
- description: zod.z.string().describe("Description of the enrichment field.")
12
- });
10
+ name: zod.z.string().describe("Name of the enrichment field.").nullable(),
11
+ description: zod.z.string().describe("Description of the enrichment field.").nullable()
12
+ }).passthrough();
13
13
  const ParallelStreamFindAllEvents_MatchConditionSchema = zod.z.object({
14
- name: zod.z.string().describe("Identifier for the match condition."),
15
- description: zod.z.string().describe("Description of what must be satisfied for the match.")
16
- });
14
+ name: zod.z.string().describe("Identifier for the match condition.").nullable(),
15
+ description: zod.z.string().describe("Description of what must be satisfied for the match.").nullable()
16
+ }).passthrough();
17
17
  const ParallelStreamFindAllEvents_FindAllSchemaSchema = zod.z.object({
18
18
  generator: zod.z.enum([
19
19
  "base",
20
20
  "core",
21
21
  "pro",
22
22
  "preview"
23
- ]).describe("Quality/cost tier for the run."),
24
- objective: zod.z.string().describe("Natural-language objective for the FindAll run."),
23
+ ]).describe("Quality/cost tier for the run.").nullable(),
24
+ objective: zod.z.string().describe("Natural-language objective for the FindAll run.").nullable(),
25
25
  enrichments: zod.z.array(ParallelStreamFindAllEvents_FindAllEnrichInputSchema).describe("Optional list of enrichment fields.").nullable().optional(),
26
- entity_type: zod.z.string().describe("Type of entity to find."),
26
+ entity_type: zod.z.string().describe("Type of entity to find.").nullable(),
27
27
  match_limit: zod.z.number().int().describe("Maximum number of matches to return.").nullable().optional(),
28
28
  match_conditions: zod.z.array(ParallelStreamFindAllEvents_MatchConditionSchema).describe("List of conditions that a candidate must satisfy.")
29
- });
29
+ }).passthrough();
30
30
  const ParallelStreamFindAllEvents_FindAllSchemaUpdatedEventSchema = zod.z.object({
31
31
  data: ParallelStreamFindAllEvents_FindAllSchemaSchema.nullable(),
32
- type: zod.z.string().describe("Event type"),
33
- event_id: zod.z.string().describe("Unique identifier for the event"),
34
- timestamp: zod.z.string().describe("ISO 8601 timestamp of the event")
35
- });
32
+ type: zod.z.string().describe("Event type").nullable(),
33
+ event_id: zod.z.string().describe("Unique identifier for the event").nullable(),
34
+ timestamp: zod.z.string().describe("ISO 8601 timestamp of the event").nullable()
35
+ }).passthrough();
36
36
  const ParallelStreamFindAllEvents_RunMetricsSchema = zod.z.object({
37
37
  matched_candidates_count: zod.z.number().int().default(0).describe("Number of candidates matched so far.").nullable().optional(),
38
38
  generated_candidates_count: zod.z.number().int().default(0).describe("Number of candidates generated so far.").nullable().optional()
39
- });
39
+ }).passthrough();
40
40
  const ParallelStreamFindAllEvents_FindAllRunStatusSchema = zod.z.object({
41
41
  status: zod.z.enum([
42
42
  "queued",
@@ -45,11 +45,11 @@ const ParallelStreamFindAllEvents_FindAllRunStatusSchema = zod.z.object({
45
45
  "completed",
46
46
  "failed",
47
47
  "cancelled"
48
- ]).describe("Current status of the FindAll run."),
48
+ ]).describe("Current status of the FindAll run.").nullable(),
49
49
  metrics: ParallelStreamFindAllEvents_RunMetricsSchema.nullable(),
50
- is_active: zod.z.boolean().describe("Whether the run is currently active."),
50
+ is_active: zod.z.boolean().describe("Whether the run is currently active.").nullable(),
51
51
  termination_reason: zod.z.string().describe("Reason for run completion, if any.").nullable().optional()
52
- });
52
+ }).passthrough();
53
53
  const ParallelStreamFindAllEvents_FindAllRunSchema = zod.z.object({
54
54
  status: ParallelStreamFindAllEvents_FindAllRunStatusSchema.nullable(),
55
55
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User-provided metadata stored with the run.").nullable().optional(),
@@ -58,37 +58,37 @@ const ParallelStreamFindAllEvents_FindAllRunSchema = zod.z.object({
58
58
  "core",
59
59
  "pro",
60
60
  "preview"
61
- ]).describe("Selected generator tier for the run."),
61
+ ]).describe("Selected generator tier for the run.").nullable(),
62
62
  created_at: zod.z.string().describe("Creation timestamp (RFC 3339).").nullable().optional(),
63
- findall_id: zod.z.string().describe("ID of the FindAll run."),
63
+ findall_id: zod.z.string().describe("ID of the FindAll run.").nullable(),
64
64
  modified_at: zod.z.string().describe("Last modification timestamp (RFC 3339).").nullable().optional()
65
- });
65
+ }).passthrough();
66
66
  const ParallelStreamFindAllEvents_FindAllRunStatusEventSchema = zod.z.object({
67
67
  data: ParallelStreamFindAllEvents_FindAllRunSchema.nullable(),
68
- type: zod.z.string().describe("Event type"),
69
- event_id: zod.z.string().describe("Unique identifier for the event"),
70
- timestamp: zod.z.string().describe("ISO 8601 timestamp of the event")
71
- });
68
+ type: zod.z.string().describe("Event type").nullable(),
69
+ event_id: zod.z.string().describe("Unique identifier for the event").nullable(),
70
+ timestamp: zod.z.string().describe("ISO 8601 timestamp of the event").nullable()
71
+ }).passthrough();
72
72
  const ParallelStreamFindAllEvents_FieldBasisSchema = zod.z.object({
73
- field: zod.z.string().describe("Field name"),
73
+ field: zod.z.string().describe("Field name").nullable(),
74
74
  source: zod.z.string().describe("Source of the field value").nullable().optional(),
75
75
  reasoning: zod.z.string().describe("Reasoning for the field value").nullable().optional()
76
- });
76
+ }).passthrough();
77
77
  const ParallelStreamFindAllEvents_FindAllCandidateSchema = zod.z.object({
78
- url: zod.z.string().describe("Canonical URL of the candidate entity"),
79
- name: zod.z.string().describe("Name of the candidate entity"),
78
+ url: zod.z.string().describe("Canonical URL of the candidate entity").nullable(),
79
+ name: zod.z.string().describe("Name of the candidate entity").nullable(),
80
80
  basis: zod.z.array(ParallelStreamFindAllEvents_FieldBasisSchema).describe("Reasoning basis for candidate fields").nullable().optional(),
81
81
  output: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Output data for the candidate").nullable().optional(),
82
82
  description: zod.z.string().describe("Description of the candidate entity").nullable().optional(),
83
- candidate_id: zod.z.string().describe("Unique identifier for the candidate"),
83
+ candidate_id: zod.z.string().describe("Unique identifier for the candidate").nullable(),
84
84
  match_status: zod.z.enum([
85
85
  "generated",
86
86
  "matched",
87
87
  "unmatched",
88
88
  "discarded",
89
89
  "enriched"
90
- ]).describe("Current match status of the candidate")
91
- });
90
+ ]).describe("Current match status of the candidate").nullable()
91
+ }).passthrough();
92
92
  const ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema = zod.z.object({
93
93
  data: ParallelStreamFindAllEvents_FindAllCandidateSchema.nullable(),
94
94
  type: zod.z.enum([
@@ -97,25 +97,25 @@ const ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema = zod.z
97
97
  "findall.candidate.unmatched",
98
98
  "findall.candidate.discarded",
99
99
  "findall.candidate.enriched"
100
- ]).describe("Event type"),
101
- event_id: zod.z.string().describe("Unique identifier for the event"),
102
- timestamp: zod.z.string().describe("ISO 8601 timestamp of the event")
103
- });
100
+ ]).describe("Event type").nullable(),
101
+ event_id: zod.z.string().describe("Unique identifier for the event").nullable(),
102
+ timestamp: zod.z.string().describe("ISO 8601 timestamp of the event").nullable()
103
+ }).passthrough();
104
104
  const ParallelStreamFindAllEvents_ErrorDetailSchema = zod.z.object({
105
105
  detail: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional details about the error").nullable().optional(),
106
- ref_id: zod.z.string().describe("Reference ID for the error"),
107
- message: zod.z.string().describe("Human-readable error message")
108
- });
106
+ ref_id: zod.z.string().describe("Reference ID for the error").nullable(),
107
+ message: zod.z.string().describe("Human-readable error message").nullable()
108
+ }).passthrough();
109
109
  const ParallelStreamFindAllEvents_ErrorEventSchema = zod.z.object({
110
- type: zod.z.string().describe("Event type"),
110
+ type: zod.z.string().describe("Event type").nullable(),
111
111
  error: ParallelStreamFindAllEvents_ErrorDetailSchema.nullable()
112
- });
112
+ }).passthrough();
113
113
  const ParallelStreamFindAllEventsOutput = zod.z.object({ events: zod.z.array(zod.z.union([
114
114
  ParallelStreamFindAllEvents_FindAllSchemaUpdatedEventSchema,
115
115
  ParallelStreamFindAllEvents_FindAllRunStatusEventSchema,
116
116
  ParallelStreamFindAllEvents_FindAllCandidateMatchStatusEventSchema,
117
117
  ParallelStreamFindAllEvents_ErrorEventSchema
118
- ])).describe("List of events received from the FindAll stream") }).describe("Response model containing list of streamed FindAll events.");
118
+ ])).describe("List of events received from the FindAll stream") }).passthrough().describe("Response model containing list of streamed FindAll events.");
119
119
  const parallelStreamFindAllEvents = require_action.action("PARALLEL_STREAM_FIND_ALL_EVENTS", {
120
120
  slug: "parallel-stream-find-all-events",
121
121
  name: "Stream FindAll Events",