@keystrokehq/parallel 0.1.2 → 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 (199) hide show
  1. package/dist/actions/add-enrichment-to-find-all-run.cjs +6 -6
  2. package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
  3. package/dist/actions/add-enrichment-to-find-all-run.d.cts +8 -7
  4. package/dist/actions/add-enrichment-to-find-all-run.d.mts +8 -7
  5. package/dist/actions/add-enrichment-to-find-all-run.mjs +6 -6
  6. package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
  7. package/dist/actions/add-runs-to-task-group.cjs +4 -4
  8. package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
  9. package/dist/actions/add-runs-to-task-group.d.cts +5 -4
  10. package/dist/actions/add-runs-to-task-group.d.mts +5 -4
  11. package/dist/actions/add-runs-to-task-group.mjs +4 -4
  12. package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
  13. package/dist/actions/cancel-find-all-run.cjs +1 -1
  14. package/dist/actions/cancel-find-all-run.cjs.map +1 -1
  15. package/dist/actions/cancel-find-all-run.d.cts +1 -1
  16. package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
  17. package/dist/actions/cancel-find-all-run.d.mts +1 -1
  18. package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
  19. package/dist/actions/cancel-find-all-run.mjs +1 -1
  20. package/dist/actions/cancel-find-all-run.mjs.map +1 -1
  21. package/dist/actions/create-chat-completions.cjs +7 -7
  22. package/dist/actions/create-chat-completions.cjs.map +1 -1
  23. package/dist/actions/create-chat-completions.d.cts +12 -11
  24. package/dist/actions/create-chat-completions.d.cts.map +1 -1
  25. package/dist/actions/create-chat-completions.d.mts +12 -11
  26. package/dist/actions/create-chat-completions.d.mts.map +1 -1
  27. package/dist/actions/create-chat-completions.mjs +7 -7
  28. package/dist/actions/create-chat-completions.mjs.map +1 -1
  29. package/dist/actions/create-monitor.cjs +3 -3
  30. package/dist/actions/create-monitor.cjs.map +1 -1
  31. package/dist/actions/create-monitor.d.cts +3 -3
  32. package/dist/actions/create-monitor.d.mts +3 -3
  33. package/dist/actions/create-monitor.mjs +3 -3
  34. package/dist/actions/create-monitor.mjs.map +1 -1
  35. package/dist/actions/create-task-group.cjs +5 -5
  36. package/dist/actions/create-task-group.cjs.map +1 -1
  37. package/dist/actions/create-task-group.d.cts +6 -6
  38. package/dist/actions/create-task-group.d.mts +6 -6
  39. package/dist/actions/create-task-group.mjs +5 -5
  40. package/dist/actions/create-task-group.mjs.map +1 -1
  41. package/dist/actions/create-task-run.cjs +3 -3
  42. package/dist/actions/create-task-run.cjs.map +1 -1
  43. package/dist/actions/create-task-run.d.cts +6 -6
  44. package/dist/actions/create-task-run.d.mts +6 -6
  45. package/dist/actions/create-task-run.mjs +3 -3
  46. package/dist/actions/create-task-run.mjs.map +1 -1
  47. package/dist/actions/delete-monitor.cjs +3 -3
  48. package/dist/actions/delete-monitor.cjs.map +1 -1
  49. package/dist/actions/delete-monitor.d.cts +3 -3
  50. package/dist/actions/delete-monitor.d.mts +3 -3
  51. package/dist/actions/delete-monitor.mjs +3 -3
  52. package/dist/actions/delete-monitor.mjs.map +1 -1
  53. package/dist/actions/extend-find-all-run.cjs +2 -2
  54. package/dist/actions/extend-find-all-run.cjs.map +1 -1
  55. package/dist/actions/extend-find-all-run.d.cts +3 -3
  56. package/dist/actions/extend-find-all-run.d.mts +3 -3
  57. package/dist/actions/extend-find-all-run.mjs +2 -2
  58. package/dist/actions/extend-find-all-run.mjs.map +1 -1
  59. package/dist/actions/extract.cjs +7 -7
  60. package/dist/actions/extract.cjs.map +1 -1
  61. package/dist/actions/extract.d.cts +9 -7
  62. package/dist/actions/extract.d.mts +9 -7
  63. package/dist/actions/extract.mjs +7 -7
  64. package/dist/actions/extract.mjs.map +1 -1
  65. package/dist/actions/fetch-task-group-runs.cjs +11 -11
  66. package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
  67. package/dist/actions/fetch-task-group-runs.d.cts +16 -16
  68. package/dist/actions/fetch-task-group-runs.d.mts +16 -16
  69. package/dist/actions/fetch-task-group-runs.mjs +11 -11
  70. package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
  71. package/dist/actions/find-all.cjs +5 -5
  72. package/dist/actions/find-all.cjs.map +1 -1
  73. package/dist/actions/find-all.d.cts +10 -8
  74. package/dist/actions/find-all.d.cts.map +1 -1
  75. package/dist/actions/find-all.d.mts +10 -8
  76. package/dist/actions/find-all.d.mts.map +1 -1
  77. package/dist/actions/find-all.mjs +5 -5
  78. package/dist/actions/find-all.mjs.map +1 -1
  79. package/dist/actions/get-find-all-run-result.cjs +7 -7
  80. package/dist/actions/get-find-all-run-result.cjs.map +1 -1
  81. package/dist/actions/get-find-all-run-result.d.cts +11 -11
  82. package/dist/actions/get-find-all-run-result.d.mts +11 -11
  83. package/dist/actions/get-find-all-run-result.mjs +7 -7
  84. package/dist/actions/get-find-all-run-result.mjs.map +1 -1
  85. package/dist/actions/get-find-all-run-schema.cjs +2 -2
  86. package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
  87. package/dist/actions/get-find-all-run-schema.d.cts +3 -3
  88. package/dist/actions/get-find-all-run-schema.d.mts +3 -3
  89. package/dist/actions/get-find-all-run-schema.mjs +2 -2
  90. package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
  91. package/dist/actions/ingest-find-all-run.cjs +2 -2
  92. package/dist/actions/ingest-find-all-run.cjs.map +1 -1
  93. package/dist/actions/ingest-find-all-run.d.cts +3 -3
  94. package/dist/actions/ingest-find-all-run.d.mts +3 -3
  95. package/dist/actions/ingest-find-all-run.mjs +2 -2
  96. package/dist/actions/ingest-find-all-run.mjs.map +1 -1
  97. package/dist/actions/list-monitor-events.cjs +5 -5
  98. package/dist/actions/list-monitor-events.cjs.map +1 -1
  99. package/dist/actions/list-monitor-events.d.cts +5 -5
  100. package/dist/actions/list-monitor-events.d.mts +5 -5
  101. package/dist/actions/list-monitor-events.mjs +5 -5
  102. package/dist/actions/list-monitor-events.mjs.map +1 -1
  103. package/dist/actions/list-monitors.cjs +4 -4
  104. package/dist/actions/list-monitors.cjs.map +1 -1
  105. package/dist/actions/list-monitors.d.cts +4 -4
  106. package/dist/actions/list-monitors.d.mts +4 -4
  107. package/dist/actions/list-monitors.mjs +4 -4
  108. package/dist/actions/list-monitors.mjs.map +1 -1
  109. package/dist/actions/retrieve-event-group.cjs +4 -4
  110. package/dist/actions/retrieve-event-group.cjs.map +1 -1
  111. package/dist/actions/retrieve-event-group.d.cts +4 -4
  112. package/dist/actions/retrieve-event-group.d.mts +4 -4
  113. package/dist/actions/retrieve-event-group.mjs +4 -4
  114. package/dist/actions/retrieve-event-group.mjs.map +1 -1
  115. package/dist/actions/retrieve-find-all-run-status.cjs +3 -3
  116. package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
  117. package/dist/actions/retrieve-find-all-run-status.d.cts +5 -5
  118. package/dist/actions/retrieve-find-all-run-status.d.mts +5 -5
  119. package/dist/actions/retrieve-find-all-run-status.mjs +3 -3
  120. package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
  121. package/dist/actions/retrieve-monitor.cjs +2 -2
  122. package/dist/actions/retrieve-monitor.cjs.map +1 -1
  123. package/dist/actions/retrieve-monitor.d.cts +2 -2
  124. package/dist/actions/retrieve-monitor.d.mts +2 -2
  125. package/dist/actions/retrieve-monitor.mjs +2 -2
  126. package/dist/actions/retrieve-monitor.mjs.map +1 -1
  127. package/dist/actions/retrieve-task-group-run.cjs +2 -2
  128. package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
  129. package/dist/actions/retrieve-task-group-run.d.cts +4 -4
  130. package/dist/actions/retrieve-task-group-run.d.mts +4 -4
  131. package/dist/actions/retrieve-task-group-run.mjs +2 -2
  132. package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
  133. package/dist/actions/retrieve-task-group.cjs +1 -1
  134. package/dist/actions/retrieve-task-group.cjs.map +1 -1
  135. package/dist/actions/retrieve-task-group.d.cts +1 -1
  136. package/dist/actions/retrieve-task-group.d.mts +1 -1
  137. package/dist/actions/retrieve-task-group.mjs +1 -1
  138. package/dist/actions/retrieve-task-group.mjs.map +1 -1
  139. package/dist/actions/retrieve-task-run-input.cjs +4 -4
  140. package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
  141. package/dist/actions/retrieve-task-run-input.d.cts +4 -4
  142. package/dist/actions/retrieve-task-run-input.d.mts +4 -4
  143. package/dist/actions/retrieve-task-run-input.mjs +4 -4
  144. package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
  145. package/dist/actions/retrieve-task-run-result.cjs +2 -2
  146. package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
  147. package/dist/actions/retrieve-task-run-result.d.cts +2 -2
  148. package/dist/actions/retrieve-task-run-result.d.mts +2 -2
  149. package/dist/actions/retrieve-task-run-result.mjs +2 -2
  150. package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
  151. package/dist/actions/retrieve-task-run.cjs +3 -3
  152. package/dist/actions/retrieve-task-run.cjs.map +1 -1
  153. package/dist/actions/retrieve-task-run.d.cts +5 -5
  154. package/dist/actions/retrieve-task-run.d.mts +5 -5
  155. package/dist/actions/retrieve-task-run.mjs +3 -3
  156. package/dist/actions/retrieve-task-run.mjs.map +1 -1
  157. package/dist/actions/search.cjs +2 -2
  158. package/dist/actions/search.cjs.map +1 -1
  159. package/dist/actions/search.d.cts +2 -2
  160. package/dist/actions/search.d.mts +2 -2
  161. package/dist/actions/search.mjs +2 -2
  162. package/dist/actions/search.mjs.map +1 -1
  163. package/dist/actions/simulate-event.cjs +1 -1
  164. package/dist/actions/simulate-event.cjs.map +1 -1
  165. package/dist/actions/simulate-event.d.cts +1 -1
  166. package/dist/actions/simulate-event.d.mts +1 -1
  167. package/dist/actions/simulate-event.mjs +1 -1
  168. package/dist/actions/simulate-event.mjs.map +1 -1
  169. package/dist/actions/stream-find-all-events.cjs +14 -14
  170. package/dist/actions/stream-find-all-events.cjs.map +1 -1
  171. package/dist/actions/stream-find-all-events.d.cts +17 -17
  172. package/dist/actions/stream-find-all-events.d.mts +17 -17
  173. package/dist/actions/stream-find-all-events.mjs +14 -14
  174. package/dist/actions/stream-find-all-events.mjs.map +1 -1
  175. package/dist/actions/stream-task-group-events.cjs +8 -8
  176. package/dist/actions/stream-task-group-events.cjs.map +1 -1
  177. package/dist/actions/stream-task-group-events.d.cts +8 -8
  178. package/dist/actions/stream-task-group-events.d.mts +8 -8
  179. package/dist/actions/stream-task-group-events.mjs +8 -8
  180. package/dist/actions/stream-task-group-events.mjs.map +1 -1
  181. package/dist/actions/stream-task-run-events.cjs +8 -8
  182. package/dist/actions/stream-task-run-events.cjs.map +1 -1
  183. package/dist/actions/stream-task-run-events.d.cts +8 -8
  184. package/dist/actions/stream-task-run-events.d.mts +8 -8
  185. package/dist/actions/stream-task-run-events.mjs +8 -8
  186. package/dist/actions/stream-task-run-events.mjs.map +1 -1
  187. package/dist/actions/suggest-task.cjs +1 -1
  188. package/dist/actions/suggest-task.cjs.map +1 -1
  189. package/dist/actions/suggest-task.d.cts +1 -1
  190. package/dist/actions/suggest-task.d.mts +1 -1
  191. package/dist/actions/suggest-task.mjs +1 -1
  192. package/dist/actions/suggest-task.mjs.map +1 -1
  193. package/dist/actions/update-monitor.cjs +3 -3
  194. package/dist/actions/update-monitor.cjs.map +1 -1
  195. package/dist/actions/update-monitor.d.cts +3 -3
  196. package/dist/actions/update-monitor.d.mts +3 -3
  197. package/dist/actions/update-monitor.mjs +3 -3
  198. package/dist/actions/update-monitor.mjs.map +1 -1
  199. package/package.json +1 -1
@@ -19,7 +19,7 @@ declare const ParallelRetrieveMonitorOutput: z.ZodObject<{
19
19
  webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
20
  url: z.ZodNullable<z.ZodString>;
21
21
  event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
24
24
  created_at: z.ZodNullable<z.ZodString>;
25
25
  monitor_id: z.ZodNullable<z.ZodString>;
@@ -27,7 +27,7 @@ declare const ParallelRetrieveMonitorOutput: z.ZodObject<{
27
27
  output_schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  }, z.core.$loose>;
32
32
  declare const parallelRetrieveMonitor: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  monitor_id: string;
@@ -12,11 +12,11 @@ const ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([
12
12
  const ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({
13
13
  url: z.string().describe("Webhook URL to receive monitor events").nullable(),
14
14
  event_types: z.array(z.unknown()).describe("Types of events to trigger the webhook").nullable().optional()
15
- }).describe("Webhook configuration for the monitor.");
15
+ }).passthrough().describe("Webhook configuration for the monitor.");
16
16
  const ParallelRetrieveMonitor_OutputSchemaSchema = z.object({
17
17
  type: z.string().describe("Type of the output schema").nullable().optional(),
18
18
  json_schema: z.record(z.string(), z.unknown()).describe("JSON schema defining the output structure")
19
- }).describe("Output schema for the monitor event.");
19
+ }).passthrough().describe("Output schema for the monitor event.");
20
20
  const parallelRetrieveMonitor = action("PARALLEL_RETRIEVE_MONITOR", {
21
21
  slug: "parallel-retrieve-monitor",
22
22
  name: "Retrieve Monitor",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-monitor.mjs","names":[],"sources":["../../src/actions/retrieve-monitor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveMonitorInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve.\"),\n}).describe(\"Request model for retrieving a specific monitor.\");\nconst ParallelRetrieveMonitor_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for a monitor.\");\nconst ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook URL to receive monitor events\").nullable(),\n event_types: z.array(z.unknown()).describe(\"Types of events to trigger the webhook\").nullable().optional(),\n}).describe(\"Webhook configuration for the monitor.\");\nconst ParallelRetrieveMonitor_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type of the output schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the output structure\"),\n}).describe(\"Output schema for the monitor event.\");\nexport const ParallelRetrieveMonitorOutput = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),\n cadence: ParallelRetrieveMonitor_MonitorCadenceSchema.nullable(),\n webhook: ParallelRetrieveMonitor_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO timestamp of the last execution of the monitor\").nullable().optional(),\n output_schema: ParallelRetrieveMonitor_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a monitor, including its status, cadence and metadata.\");\n\nexport const parallelRetrieveMonitor = action(\"PARALLEL_RETRIEVE_MONITOR\", {\n slug: \"parallel-retrieve-monitor\",\n name: \"Retrieve Monitor\",\n description: \"Tool to retrieve a specific monitor by ID. Returns the monitor configuration including status, cadence, query, and webhook settings.\",\n input: ParallelRetrieveMonitorInput,\n output: ParallelRetrieveMonitorOutput,\n});\n"],"mapp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CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-monitor.mjs","names":[],"sources":["../../src/actions/retrieve-monitor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveMonitorInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve.\"),\n}).describe(\"Request model for retrieving a specific monitor.\");\nconst ParallelRetrieveMonitor_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for a monitor.\");\nconst ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook URL to receive monitor events\").nullable(),\n event_types: z.array(z.unknown()).describe(\"Types of events to trigger the webhook\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for the monitor.\");\nconst ParallelRetrieveMonitor_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type of the output schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the output structure\"),\n}).passthrough().describe(\"Output schema for the monitor event.\");\nexport const ParallelRetrieveMonitorOutput = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),\n cadence: ParallelRetrieveMonitor_MonitorCadenceSchema.nullable(),\n webhook: ParallelRetrieveMonitor_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO timestamp of the last execution of the monitor\").nullable().optional(),\n output_schema: ParallelRetrieveMonitor_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a monitor, including its status, cadence and metadata.\");\n\nexport const parallelRetrieveMonitor = action(\"PARALLEL_RETRIEVE_MONITOR\", {\n slug: \"parallel-retrieve-monitor\",\n name: \"Retrieve Monitor\",\n description: \"Tool to retrieve a specific monitor by ID. Returns the monitor configuration including status, cadence, query, and webhook settings.\",\n input: ParallelRetrieveMonitorInput,\n output: ParallelRetrieveMonitorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,8CAA8C,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3H,MAAM,+CAA+C,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC/J,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAahE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,QAAQ,4CAA4C,SAAS;EAC7D,SAAS,6CAA6C,SAAS;EAC/D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const ParallelRetrieveTaskGroupRun_ErrorDetailSchema = zod.z.object({
9
9
  detail: zod.z.unknown().describe("Additional error details").nullable().optional(),
10
10
  ref_id: zod.z.string().describe("Reference ID for the error").nullable(),
11
11
  message: zod.z.string().describe("Error message").nullable()
12
- }).describe("Error information for a failed run.");
12
+ }).passthrough().describe("Error information for a failed run.");
13
13
  const ParallelRetrieveTaskGroupRunOutput = zod.z.object({
14
14
  error: ParallelRetrieveTaskGroupRun_ErrorDetailSchema.nullable().optional(),
15
15
  run_id: zod.z.string().describe("ID of the task run").nullable(),
@@ -30,7 +30,7 @@ const ParallelRetrieveTaskGroupRunOutput = zod.z.object({
30
30
  modified_at: zod.z.string().describe("Timestamp of the last modification to the task, as an RFC 3339 string.").nullable().optional(),
31
31
  taskgroup_id: zod.z.string().describe("ID of the taskgroup to which the run belongs").nullable().optional(),
32
32
  interaction_id: zod.z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.").nullable()
33
- }).describe("Response model for retrieving a task group run.");
33
+ }).passthrough().describe("Response model for retrieving a task group run.");
34
34
  const parallelRetrieveTaskGroupRun = require_action.action("PARALLEL_RETRIEVE_TASK_GROUP_RUN", {
35
35
  slug: "parallel-retrieve-task-group-run",
36
36
  name: "Retrieve Task Group Run",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-group-run.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-group-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupRunInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the run to retrieve.\"),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group.\"),\n}).describe(\"Request model for retrieving a task group run by run ID.\");\nconst ParallelRetrieveTaskGroupRun_ErrorDetailSchema = z.object({\n detail: z.unknown().describe(\"Additional error details\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).describe(\"Error information for a failed run.\");\nexport const ParallelRetrieveTaskGroupRunOutput = z.object({\n error: ParallelRetrieveTaskGroupRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status of the run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(z.unknown()).describe(\"Warnings for the run, if any\").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}).describe(\"Response model for retrieving a task group run.\");\n\nexport const parallelRetrieveTaskGroupRun = action(\"PARALLEL_RETRIEVE_TASK_GROUP_RUN\", {\n slug: \"parallel-retrieve-task-group-run\",\n name: \"Retrieve Task Group Run\",\n description: \"Tool to retrieve run status by run_id for a task group. Use when you need to check the status of a specific task group run or poll for completion.\",\n input: ParallelRetrieveTaskGroupRunInput,\n output: ParallelRetrieveTaskGroupRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAO,+CAA+C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sources":["../../src/actions/retrieve-task-group-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupRunInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the run to retrieve.\"),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group.\"),\n}).describe(\"Request model for retrieving a task group run by run ID.\");\nconst ParallelRetrieveTaskGroupRun_ErrorDetailSchema = z.object({\n detail: z.unknown().describe(\"Additional error details\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run.\");\nexport const ParallelRetrieveTaskGroupRunOutput = z.object({\n error: ParallelRetrieveTaskGroupRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status of the run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(z.unknown()).describe(\"Warnings for the run, if any\").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 group run.\");\n\nexport const parallelRetrieveTaskGroupRun = action(\"PARALLEL_RETRIEVE_TASK_GROUP_RUN\", {\n slug: \"parallel-retrieve-task-group-run\",\n name: \"Retrieve Task Group Run\",\n description: \"Tool to retrieve run status by run_id for a task group. Use when you need to check the status of a specific task group run or poll for completion.\",\n input: ParallelRetrieveTaskGroupRunInput,\n output: ParallelRetrieveTaskGroupRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAO,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAAc;CAAW,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAClJ,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,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,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,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,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,iDAAiD;AAE3E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,16 +10,16 @@ declare const ParallelRetrieveTaskGroupRunOutput: z.ZodObject<{
10
10
  detail: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
11
11
  ref_id: z.ZodNullable<z.ZodString>;
12
12
  message: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  run_id: z.ZodNullable<z.ZodString>;
15
15
  status: z.ZodNullable<z.ZodEnum<{
16
16
  queued: "queued";
17
+ action_required: "action_required";
17
18
  running: "running";
18
19
  completed: "completed";
19
20
  failed: "failed";
20
- cancelled: "cancelled";
21
- action_required: "action_required";
22
21
  cancelling: "cancelling";
22
+ cancelled: "cancelled";
23
23
  }>>;
24
24
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
25
  warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
@@ -29,7 +29,7 @@ declare const ParallelRetrieveTaskGroupRunOutput: z.ZodObject<{
29
29
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  interaction_id: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const parallelRetrieveTaskGroupRun: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  run_id: string;
35
35
  taskgroup_id: string;
@@ -10,16 +10,16 @@ declare const ParallelRetrieveTaskGroupRunOutput: z.ZodObject<{
10
10
  detail: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
11
11
  ref_id: z.ZodNullable<z.ZodString>;
12
12
  message: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  run_id: z.ZodNullable<z.ZodString>;
15
15
  status: z.ZodNullable<z.ZodEnum<{
16
16
  queued: "queued";
17
+ action_required: "action_required";
17
18
  running: "running";
18
19
  completed: "completed";
19
20
  failed: "failed";
20
- cancelled: "cancelled";
21
- action_required: "action_required";
22
21
  cancelling: "cancelling";
22
+ cancelled: "cancelled";
23
23
  }>>;
24
24
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
25
  warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
@@ -29,7 +29,7 @@ declare const ParallelRetrieveTaskGroupRunOutput: z.ZodObject<{
29
29
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  interaction_id: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const parallelRetrieveTaskGroupRun: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  run_id: string;
35
35
  taskgroup_id: string;
@@ -9,7 +9,7 @@ const ParallelRetrieveTaskGroupRun_ErrorDetailSchema = z.object({
9
9
  detail: z.unknown().describe("Additional error details").nullable().optional(),
10
10
  ref_id: z.string().describe("Reference ID for the error").nullable(),
11
11
  message: z.string().describe("Error message").nullable()
12
- }).describe("Error information for a failed run.");
12
+ }).passthrough().describe("Error information for a failed run.");
13
13
  const parallelRetrieveTaskGroupRun = action("PARALLEL_RETRIEVE_TASK_GROUP_RUN", {
14
14
  slug: "parallel-retrieve-task-group-run",
15
15
  name: "Retrieve Task Group Run",
@@ -35,7 +35,7 @@ const parallelRetrieveTaskGroupRun = action("PARALLEL_RETRIEVE_TASK_GROUP_RUN",
35
35
  modified_at: z.string().describe("Timestamp of the last modification to the task, as an RFC 3339 string.").nullable().optional(),
36
36
  taskgroup_id: z.string().describe("ID of the taskgroup to which the run belongs").nullable().optional(),
37
37
  interaction_id: z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.").nullable()
38
- }).describe("Response model for retrieving a task group run.")
38
+ }).passthrough().describe("Response model for retrieving a task group run.")
39
39
  });
40
40
  //#endregion
41
41
  export { parallelRetrieveTaskGroupRun };
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-group-run.mjs","names":[],"sources":["../../src/actions/retrieve-task-group-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupRunInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the run to retrieve.\"),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group.\"),\n}).describe(\"Request model for retrieving a task group run by run ID.\");\nconst ParallelRetrieveTaskGroupRun_ErrorDetailSchema = z.object({\n detail: z.unknown().describe(\"Additional error details\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).describe(\"Error information for a failed run.\");\nexport const ParallelRetrieveTaskGroupRunOutput = z.object({\n error: ParallelRetrieveTaskGroupRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status of the run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(z.unknown()).describe(\"Warnings for the run, if any\").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}).describe(\"Response model for retrieving a task group run.\");\n\nexport const parallelRetrieveTaskGroupRun = action(\"PARALLEL_RETRIEVE_TASK_GROUP_RUN\", {\n slug: \"parallel-retrieve-task-group-run\",\n name: \"Retrieve Task Group Run\",\n description: \"Tool to retrieve run status by run_id for a task group. Use when you need to check the status of a specific task group run or poll for completion.\",\n input: ParallelRetrieveTaskGroupRunInput,\n output: ParallelRetrieveTaskGroupRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QA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C,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-group-run.mjs","names":[],"sources":["../../src/actions/retrieve-task-group-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupRunInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the run to retrieve.\"),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group.\"),\n}).describe(\"Request model for retrieving a task group run by run ID.\");\nconst ParallelRetrieveTaskGroupRun_ErrorDetailSchema = z.object({\n detail: z.unknown().describe(\"Additional error details\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run.\");\nexport const ParallelRetrieveTaskGroupRunOutput = z.object({\n error: ParallelRetrieveTaskGroupRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status of the run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(z.unknown()).describe(\"Warnings for the run, if any\").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 group run.\");\n\nexport const parallelRetrieveTaskGroupRun = action(\"PARALLEL_RETRIEVE_TASK_GROUP_RUN\", {\n slug: \"parallel-retrieve-task-group-run\",\n name: \"Retrieve Task Group Run\",\n description: \"Tool to retrieve run status by run_id for a task group. Use when you need to check the status of a specific task group run or poll for completion.\",\n input: ParallelRetrieveTaskGroupRunInput,\n output: ParallelRetrieveTaskGroupRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAe/D,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBgD,EAAE,OAAO;EACzD,OAAO,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC3D,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAmB;GAAW;GAAa;GAAU;GAAc;EAAW,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAClJ,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,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,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,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,iDAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const ParallelRetrieveTaskGroup_TaskGroupStatusSchema = zod.z.object({
7
7
  modified_at: zod.z.string().describe("ISO timestamp when the status was last modified").nullable(),
8
8
  num_task_runs: zod.z.number().int().describe("Number of task runs in this group").nullable(),
9
9
  status_message: zod.z.string().describe("Optional status message").nullable().optional(),
10
- task_run_status_counts: zod.z.object({}).describe("Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')").nullable().optional()
10
+ task_run_status_counts: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')").nullable().optional()
11
11
  }).passthrough().describe("Status information for a task group.");
12
12
  const ParallelRetrieveTaskGroupOutput = zod.z.object({
13
13
  status: ParallelRetrieveTaskGroup_TaskGroupStatusSchema.nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-group.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupInput = z.object({\n taskgroup_id: z.string().describe(\"Unique identifier of the task group to retrieve.\"),\n}).describe(\"Request model for retrieving a specific task group.\");\nconst ParallelRetrieveTaskGroup_TaskGroupStatusSchema = z.object({\n is_active: z.boolean().describe(\"Whether the task group is currently active\").nullable(),\n modified_at: z.string().describe(\"ISO timestamp when the status was last modified\").nullable(),\n num_task_runs: z.number().int().describe(\"Number of task runs in this group\").nullable(),\n status_message: z.string().describe(\"Optional status message\").nullable().optional(),\n task_run_status_counts: z.object({}).describe(\"Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')\").nullable().optional(),\n}).passthrough().describe(\"Status information for a task group.\");\nexport const ParallelRetrieveTaskGroupOutput = z.object({\n status: ParallelRetrieveTaskGroup_TaskGroupStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the task group\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the task group was created\").nullable(),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task group.\");\n\nexport const parallelRetrieveTaskGroup = action(\"PARALLEL_RETRIEVE_TASK_GROUP\", {\n slug: \"parallel-retrieve-task-group\",\n name: \"Retrieve Task Group\",\n description: \"Tool to retrieve details of a specific task group. Use when you have a valid task group ID and want to view its details.\",\n input: ParallelRetrieveTaskGroupInput,\n output: ParallelRetrieveTaskGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQ,gDAAgD,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-group.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupInput = z.object({\n taskgroup_id: z.string().describe(\"Unique identifier of the task group to retrieve.\"),\n}).describe(\"Request model for retrieving a specific task group.\");\nconst ParallelRetrieveTaskGroup_TaskGroupStatusSchema = z.object({\n is_active: z.boolean().describe(\"Whether the task group is currently active\").nullable(),\n modified_at: z.string().describe(\"ISO timestamp when the status was last modified\").nullable(),\n num_task_runs: z.number().int().describe(\"Number of task runs in this group\").nullable(),\n status_message: z.string().describe(\"Optional status message\").nullable().optional(),\n task_run_status_counts: z.record(z.string(), z.unknown()).describe(\"Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')\").nullable().optional(),\n}).passthrough().describe(\"Status information for a task group.\");\nexport const ParallelRetrieveTaskGroupOutput = z.object({\n status: ParallelRetrieveTaskGroup_TaskGroupStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the task group\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the task group was created\").nullable(),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task group.\");\n\nexport const parallelRetrieveTaskGroup = action(\"PARALLEL_RETRIEVE_TASK_GROUP\", {\n slug: \"parallel-retrieve-task-group\",\n name: \"Retrieve Task Group\",\n description: \"Tool to retrieve details of a specific task group. Use when you have a valid task group ID and want to view its details.\",\n input: ParallelRetrieveTaskGroupInput,\n output: ParallelRetrieveTaskGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,wBAAwBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQ,gDAAgD,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const ParallelRetrieveTaskGroupOutput: z.ZodObject<{
10
10
  modified_at: z.ZodNullable<z.ZodString>;
11
11
  num_task_runs: z.ZodNullable<z.ZodNumber>;
12
12
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
13
+ task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
14
  }, z.core.$loose>>;
15
15
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  created_at: z.ZodNullable<z.ZodString>;
@@ -10,7 +10,7 @@ declare const ParallelRetrieveTaskGroupOutput: z.ZodObject<{
10
10
  modified_at: z.ZodNullable<z.ZodString>;
11
11
  num_task_runs: z.ZodNullable<z.ZodNumber>;
12
12
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
13
+ task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
14
  }, z.core.$loose>>;
15
15
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  created_at: z.ZodNullable<z.ZodString>;
@@ -7,7 +7,7 @@ const ParallelRetrieveTaskGroup_TaskGroupStatusSchema = z.object({
7
7
  modified_at: z.string().describe("ISO timestamp when the status was last modified").nullable(),
8
8
  num_task_runs: z.number().int().describe("Number of task runs in this group").nullable(),
9
9
  status_message: z.string().describe("Optional status message").nullable().optional(),
10
- task_run_status_counts: z.object({}).describe("Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')").nullable().optional()
10
+ task_run_status_counts: z.record(z.string(), z.unknown()).describe("Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')").nullable().optional()
11
11
  }).passthrough().describe("Status information for a task group.");
12
12
  const parallelRetrieveTaskGroup = action("PARALLEL_RETRIEVE_TASK_GROUP", {
13
13
  slug: "parallel-retrieve-task-group",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-group.mjs","names":[],"sources":["../../src/actions/retrieve-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupInput = z.object({\n taskgroup_id: z.string().describe(\"Unique identifier of the task group to retrieve.\"),\n}).describe(\"Request model for retrieving a specific task group.\");\nconst ParallelRetrieveTaskGroup_TaskGroupStatusSchema = z.object({\n is_active: z.boolean().describe(\"Whether the task group is currently active\").nullable(),\n modified_at: z.string().describe(\"ISO timestamp when the status was last modified\").nullable(),\n num_task_runs: z.number().int().describe(\"Number of task runs in this group\").nullable(),\n status_message: z.string().describe(\"Optional status message\").nullable().optional(),\n task_run_status_counts: z.object({}).describe(\"Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')\").nullable().optional(),\n}).passthrough().describe(\"Status information for a task group.\");\nexport const ParallelRetrieveTaskGroupOutput = z.object({\n status: ParallelRetrieveTaskGroup_TaskGroupStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the task group\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the task group was created\").nullable(),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task group.\");\n\nexport const parallelRetrieveTaskGroup = action(\"PARALLEL_RETRIEVE_TASK_GROUP\", {\n slug: \"parallel-retrieve-task-group\",\n name: \"Retrieve Task Group\",\n description: \"Tool to retrieve details of a specific task group. Use when you have a valid task group ID and want to view its details.\",\n input: ParallelRetrieveTaskGroupInput,\n output: ParallelRetrieveTaskGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAQhE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,QAAQ,gDAAgD,SAAS;EACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-group.mjs","names":[],"sources":["../../src/actions/retrieve-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskGroupInput = z.object({\n taskgroup_id: z.string().describe(\"Unique identifier of the task group to retrieve.\"),\n}).describe(\"Request model for retrieving a specific task group.\");\nconst ParallelRetrieveTaskGroup_TaskGroupStatusSchema = z.object({\n is_active: z.boolean().describe(\"Whether the task group is currently active\").nullable(),\n modified_at: z.string().describe(\"ISO timestamp when the status was last modified\").nullable(),\n num_task_runs: z.number().int().describe(\"Number of task runs in this group\").nullable(),\n status_message: z.string().describe(\"Optional status message\").nullable().optional(),\n task_run_status_counts: z.record(z.string(), z.unknown()).describe(\"Counts of task runs by status (e.g., 'queued', 'running', 'completed', 'failed')\").nullable().optional(),\n}).passthrough().describe(\"Status information for a task group.\");\nexport const ParallelRetrieveTaskGroupOutput = z.object({\n status: ParallelRetrieveTaskGroup_TaskGroupStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the task group\").nullable().optional(),\n created_at: z.string().describe(\"ISO timestamp when the task group was created\").nullable(),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group\").nullable(),\n}).passthrough().describe(\"Response model for retrieving a task group.\");\n\nexport const parallelRetrieveTaskGroup = action(\"PARALLEL_RETRIEVE_TASK_GROUP\", {\n slug: \"parallel-retrieve-task-group\",\n name: \"Retrieve Task Group\",\n description: \"Tool to retrieve details of a specific task group. Use when you have a valid task group ID and want to view its details.\",\n input: ParallelRetrieveTaskGroupInput,\n output: ParallelRetrieveTaskGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,wBAAwB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAQhE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,QAAQ,gDAAgD,SAAS;EACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -5,20 +5,20 @@ const ParallelRetrieveTaskRunInputInput = zod.z.object({ run_id: zod.z.string().
5
5
  const ParallelRetrieveTaskRunInput_TaskSpecSchema = zod.z.object({
6
6
  input_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema for task input").nullable().optional(),
7
7
  output_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema for task output")
8
- }).describe("Task specification with input and output schemas.");
8
+ }).passthrough().describe("Task specification with input and output schemas.");
9
9
  const ParallelRetrieveTaskRunInput_SourcePolicySchema = zod.z.object({
10
10
  after_date: zod.z.string().describe("Filter results after this date").nullable().optional(),
11
11
  exclude_domains: zod.z.array(zod.z.unknown()).describe("Domains to exclude from web search results").nullable().optional(),
12
12
  include_domains: zod.z.array(zod.z.unknown()).describe("Domains to include in web search results").nullable().optional()
13
- }).describe("Optional source policy governing preferred and disallowed domains in web search results.");
13
+ }).passthrough().describe("Optional source policy governing preferred and disallowed domains in web search results.");
14
14
  const ParallelRetrieveTaskRunInputOutput = zod.z.object({
15
15
  input: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]),
16
- metadata: zod.z.object({}).describe("User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.").nullable().optional(),
16
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.").nullable().optional(),
17
17
  processor: zod.z.string().describe("Processor to use for the task.").nullable(),
18
18
  task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),
19
19
  source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),
20
20
  previous_interaction_id: zod.z.string().describe("Interaction ID to use as context for this request.").nullable().optional()
21
- }).describe("Response model for task run input retrieval.");
21
+ }).passthrough().describe("Response model for task run input retrieval.");
22
22
  const parallelRetrieveTaskRunInput = require_action.action("PARALLEL_RETRIEVE_TASK_RUN_INPUT", {
23
23
  slug: "parallel-retrieve-task-run-input",
24
24
  name: "Retrieve Task Run Input",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run-input.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run-input.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInputInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the task run to retrieve input for.\"),\n}).describe(\"Request model for retrieving task run input.\");\nconst ParallelRetrieveTaskRunInput_TaskSpecSchema = z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task input\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task output\"),\n}).describe(\"Task specification with input and output schemas.\");\nconst ParallelRetrieveTaskRunInput_SourcePolicySchema = z.object({\n after_date: z.string().describe(\"Filter results after this date\").nullable().optional(),\n exclude_domains: z.array(z.unknown()).describe(\"Domains to exclude from web search results\").nullable().optional(),\n include_domains: z.array(z.unknown()).describe(\"Domains to include in web search results\").nullable().optional(),\n}).describe(\"Optional source policy governing preferred and disallowed domains in web search results.\");\nexport const ParallelRetrieveTaskRunInputOutput = z.object({\n input: z.union([z.string(), z.record(z.string(), z.unknown())]),\n metadata: z.object({}).describe(\"User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.\").nullable().optional(),\n processor: z.string().describe(\"Processor to use for the task.\").nullable(),\n task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),\n source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),\n previous_interaction_id: z.string().describe(\"Interaction ID to use as context for this request.\").nullable().optional(),\n}).describe(\"Response model for task run input retrieval.\");\n\nexport const parallelRetrieveTaskRunInput = action(\"PARALLEL_RETRIEVE_TASK_RUN_INPUT\", {\n slug: \"parallel-retrieve-task-run-input\",\n name: \"Retrieve Task Run Input\",\n description: \"Tool to retrieve the input data of a specific task run by run_id. Use when you need to view the original input parameters that were provided to a task run.\",\n input: ParallelRetrieveTaskRunInputInput,\n output: ParallelRetrieveTaskRunInputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtG,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC3E,eAAe,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACnF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-task-run-input.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run-input.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInputInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the task run to retrieve input for.\"),\n}).describe(\"Request model for retrieving task run input.\");\nconst ParallelRetrieveTaskRunInput_TaskSpecSchema = z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task input\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task output\"),\n}).passthrough().describe(\"Task specification with input and output schemas.\");\nconst ParallelRetrieveTaskRunInput_SourcePolicySchema = z.object({\n after_date: z.string().describe(\"Filter results after this date\").nullable().optional(),\n exclude_domains: z.array(z.unknown()).describe(\"Domains to exclude from web search results\").nullable().optional(),\n include_domains: z.array(z.unknown()).describe(\"Domains to include in web search results\").nullable().optional(),\n}).passthrough().describe(\"Optional source policy governing preferred and disallowed domains in web search results.\");\nexport const ParallelRetrieveTaskRunInputOutput = z.object({\n input: z.union([z.string(), z.record(z.string(), z.unknown())]),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.\").nullable().optional(),\n processor: z.string().describe(\"Processor to use for the task.\").nullable(),\n task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),\n source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),\n previous_interaction_id: z.string().describe(\"Interaction ID to use as context for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response model for task run input retrieval.\");\n\nexport const parallelRetrieveTaskRunInput = action(\"PARALLEL_RETRIEVE_TASK_RUN_INPUT\", {\n slug: \"parallel-retrieve-task-run-input\",\n name: \"Retrieve Task Run Input\",\n description: \"Tool to retrieve the input data of a specific task run by run_id. Use when you need to view the original input parameters that were provided to a task run.\",\n input: ParallelRetrieveTaskRunInputInput,\n output: ParallelRetrieveTaskRunInputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AAC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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,19 +6,19 @@ declare const ParallelRetrieveTaskRunInputInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParallelRetrieveTaskRunInputOutput: z.ZodObject<{
8
8
  input: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
9
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
9
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  processor: z.ZodNullable<z.ZodString>;
11
11
  task_spec: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
12
  input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
13
  output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14
- }, z.core.$strip>>>;
14
+ }, z.core.$loose>>>;
15
15
  source_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  after_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  exclude_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
18
18
  include_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  previous_interaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const parallelRetrieveTaskRunInput: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  run_id: string;
24
24
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,19 +6,19 @@ declare const ParallelRetrieveTaskRunInputInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const ParallelRetrieveTaskRunInputOutput: z.ZodObject<{
8
8
  input: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
9
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
9
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10
10
  processor: z.ZodNullable<z.ZodString>;
11
11
  task_spec: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
12
  input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
13
  output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14
- }, z.core.$strip>>>;
14
+ }, z.core.$loose>>>;
15
15
  source_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  after_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  exclude_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
18
18
  include_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  previous_interaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const parallelRetrieveTaskRunInput: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  run_id: string;
24
24
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,12 +5,12 @@ const ParallelRetrieveTaskRunInputInput = z.object({ run_id: z.string().describe
5
5
  const ParallelRetrieveTaskRunInput_TaskSpecSchema = z.object({
6
6
  input_schema: z.record(z.string(), z.unknown()).describe("Schema for task input").nullable().optional(),
7
7
  output_schema: z.record(z.string(), z.unknown()).describe("Schema for task output")
8
- }).describe("Task specification with input and output schemas.");
8
+ }).passthrough().describe("Task specification with input and output schemas.");
9
9
  const ParallelRetrieveTaskRunInput_SourcePolicySchema = z.object({
10
10
  after_date: z.string().describe("Filter results after this date").nullable().optional(),
11
11
  exclude_domains: z.array(z.unknown()).describe("Domains to exclude from web search results").nullable().optional(),
12
12
  include_domains: z.array(z.unknown()).describe("Domains to include in web search results").nullable().optional()
13
- }).describe("Optional source policy governing preferred and disallowed domains in web search results.");
13
+ }).passthrough().describe("Optional source policy governing preferred and disallowed domains in web search results.");
14
14
  const parallelRetrieveTaskRunInput = action("PARALLEL_RETRIEVE_TASK_RUN_INPUT", {
15
15
  slug: "parallel-retrieve-task-run-input",
16
16
  name: "Retrieve Task Run Input",
@@ -18,12 +18,12 @@ const parallelRetrieveTaskRunInput = action("PARALLEL_RETRIEVE_TASK_RUN_INPUT",
18
18
  input: ParallelRetrieveTaskRunInputInput,
19
19
  output: z.object({
20
20
  input: z.union([z.string(), z.record(z.string(), z.unknown())]),
21
- metadata: z.object({}).describe("User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.").nullable().optional(),
21
+ metadata: z.record(z.string(), z.unknown()).describe("User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.").nullable().optional(),
22
22
  processor: z.string().describe("Processor to use for the task.").nullable(),
23
23
  task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),
24
24
  source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),
25
25
  previous_interaction_id: z.string().describe("Interaction ID to use as context for this request.").nullable().optional()
26
- }).describe("Response model for task run input retrieval.")
26
+ }).passthrough().describe("Response model for task run input retrieval.")
27
27
  });
28
28
  //#endregion
29
29
  export { parallelRetrieveTaskRunInput };
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run-input.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-input.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInputInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the task run to retrieve input for.\"),\n}).describe(\"Request model for retrieving task run input.\");\nconst ParallelRetrieveTaskRunInput_TaskSpecSchema = z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task input\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task output\"),\n}).describe(\"Task specification with input and output schemas.\");\nconst ParallelRetrieveTaskRunInput_SourcePolicySchema = z.object({\n after_date: z.string().describe(\"Filter results after this date\").nullable().optional(),\n exclude_domains: z.array(z.unknown()).describe(\"Domains to exclude from web search results\").nullable().optional(),\n include_domains: z.array(z.unknown()).describe(\"Domains to include in web search results\").nullable().optional(),\n}).describe(\"Optional source policy governing preferred and disallowed domains in web search results.\");\nexport const ParallelRetrieveTaskRunInputOutput = z.object({\n input: z.union([z.string(), z.record(z.string(), z.unknown())]),\n metadata: z.object({}).describe(\"User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.\").nullable().optional(),\n processor: z.string().describe(\"Processor to use for the task.\").nullable(),\n task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),\n source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),\n previous_interaction_id: z.string().describe(\"Interaction ID to use as context for this request.\").nullable().optional(),\n}).describe(\"Response model for task run input retrieval.\");\n\nexport const parallelRetrieveTaskRunInput = action(\"PARALLEL_RETRIEVE_TASK_RUN_INPUT\", {\n slug: \"parallel-retrieve-task-run-input\",\n name: \"Retrieve Task Run Input\",\n description: \"Tool to retrieve the input data of a specific task run by run_id. Use when you need to view the original input parameters that were provided to a task run.\",\n input: ParallelRetrieveTaskRunInputInput,\n output: ParallelRetrieveTaskRunInputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,cAAc,E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{"version":3,"file":"retrieve-task-run-input.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-input.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInputInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the task run to retrieve input for.\"),\n}).describe(\"Request model for retrieving task run input.\");\nconst ParallelRetrieveTaskRunInput_TaskSpecSchema = z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task input\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task output\"),\n}).passthrough().describe(\"Task specification with input and output schemas.\");\nconst ParallelRetrieveTaskRunInput_SourcePolicySchema = z.object({\n after_date: z.string().describe(\"Filter results after this date\").nullable().optional(),\n exclude_domains: z.array(z.unknown()).describe(\"Domains to exclude from web search results\").nullable().optional(),\n include_domains: z.array(z.unknown()).describe(\"Domains to include in web search results\").nullable().optional(),\n}).passthrough().describe(\"Optional source policy governing preferred and disallowed domains in web search results.\");\nexport const ParallelRetrieveTaskRunInputOutput = z.object({\n input: z.union([z.string(), z.record(z.string(), z.unknown())]),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.\").nullable().optional(),\n processor: z.string().describe(\"Processor to use for the task.\").nullable(),\n task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),\n source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),\n previous_interaction_id: z.string().describe(\"Interaction ID to use as context for this request.\").nullable().optional(),\n}).passthrough().describe(\"Response model for task run input retrieval.\");\n\nexport const parallelRetrieveTaskRunInput = action(\"PARALLEL_RETRIEVE_TASK_RUN_INPUT\", {\n slug: \"parallel-retrieve-task-run-input\",\n name: \"Retrieve Task Run Input\",\n description: \"Tool to retrieve the input data of a specific task run by run_id. Use when you need to view the original input parameters that were provided to a task run.\",\n input: ParallelRetrieveTaskRunInputInput,\n output: Parall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C,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,gDAAgD,SAAS,CAAC,CAAC,SAAS;EACnF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -21,11 +21,11 @@ const ParallelRetrieveTaskRunResult_TaskRunSchema = zod.z.object({
21
21
  created_at: zod.z.string().describe("RFC 3339 timestamp of creation").nullable(),
22
22
  modified_at: zod.z.string().describe("RFC 3339 timestamp of last modification").nullable(),
23
23
  interaction_id: zod.z.string().describe("Associated interaction ID").nullable()
24
- }).describe("Task run metadata object.");
24
+ }).passthrough().describe("Task run metadata object.");
25
25
  const ParallelRetrieveTaskRunResultOutput = zod.z.object({
26
26
  run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),
27
27
  output: zod.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()
28
- }).describe("Response model for task run results.");
28
+ }).passthrough().describe("Response model for task run results.");
29
29
  const parallelRetrieveTaskRunResult = require_action.action("PARALLEL_RETRIEVE_TASK_RUN_RESULT", {
30
30
  slug: "parallel-retrieve-task-run-result",
31
31
  name: "Retrieve Task Run Result",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-task-run-result.cjs","names":["z","action"],"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}).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}).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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iD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["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,qCAAqCA,IAAAA,EAA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SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,9 +22,9 @@ declare const ParallelRetrieveTaskRunResultOutput: z.ZodObject<{
22
22
  created_at: z.ZodNullable<z.ZodString>;
23
23
  modified_at: z.ZodNullable<z.ZodString>;
24
24
  interaction_id: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const parallelRetrieveTaskRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  run_id: string;
30
30
  timeout?: number | undefined;
@@ -22,9 +22,9 @@ declare const ParallelRetrieveTaskRunResultOutput: z.ZodObject<{
22
22
  created_at: z.ZodNullable<z.ZodString>;
23
23
  modified_at: z.ZodNullable<z.ZodString>;
24
24
  interaction_id: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const parallelRetrieveTaskRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  run_id: string;
30
30
  timeout?: number | undefined;
@@ -21,7 +21,7 @@ const ParallelRetrieveTaskRunResult_TaskRunSchema = z.object({
21
21
  created_at: z.string().describe("RFC 3339 timestamp of creation").nullable(),
22
22
  modified_at: z.string().describe("RFC 3339 timestamp of last modification").nullable(),
23
23
  interaction_id: z.string().describe("Associated interaction ID").nullable()
24
- }).describe("Task run metadata object.");
24
+ }).passthrough().describe("Task run metadata object.");
25
25
  const parallelRetrieveTaskRunResult = action("PARALLEL_RETRIEVE_TASK_RUN_RESULT", {
26
26
  slug: "parallel-retrieve-task-run-result",
27
27
  name: "Retrieve Task Run Result",
@@ -30,7 +30,7 @@ const parallelRetrieveTaskRunResult = action("PARALLEL_RETRIEVE_TASK_RUN_RESULT"
30
30
  output: z.object({
31
31
  run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),
32
32
  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()
33
- }).describe("Response model for task run results.")
33
+ }).passthrough().describe("Response model for task run results.")
34
34
  });
35
35
  //#endregion
36
36
  export { parallelRetrieveTaskRunResult };
@@ -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}).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}).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,SAAS,2BAA2B;AAMvC,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,SAAS,sCAOF;AACV,CAAC"}
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"}
@@ -6,7 +6,7 @@ const ParallelRetrieveTaskRun_ErrorDetailSchema = zod.z.object({
6
6
  detail: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional context about the error").nullable().optional(),
7
7
  ref_id: zod.z.string().describe("Reference ID for the error").nullable(),
8
8
  message: zod.z.string().describe("Human-readable error message").nullable()
9
- }).describe("Error details for a failed task run.");
9
+ }).passthrough().describe("Error details for a failed task run.");
10
10
  const ParallelRetrieveTaskRun_TaskRunStatusSchema = zod.z.enum([
11
11
  "queued",
12
12
  "action_required",
@@ -20,7 +20,7 @@ const ParallelRetrieveTaskRun_WarningSchema = zod.z.object({
20
20
  detail: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional details about the warning").nullable().optional(),
21
21
  ref_id: zod.z.string().describe("Reference ID for the warning").nullable(),
22
22
  message: zod.z.string().describe("Human-readable warning message").nullable()
23
- }).describe("Warning details for a task run.");
23
+ }).passthrough().describe("Warning details for a task run.");
24
24
  const ParallelRetrieveTaskRunOutput = zod.z.object({
25
25
  error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),
26
26
  run_id: zod.z.string().describe("ID of the task run").nullable(),
@@ -33,7 +33,7 @@ const ParallelRetrieveTaskRunOutput = zod.z.object({
33
33
  modified_at: zod.z.string().describe("Timestamp of the last modification to the task, as an RFC 3339 string").nullable().optional(),
34
34
  taskgroup_id: zod.z.string().describe("ID of the taskgroup to which the run belongs").nullable().optional(),
35
35
  interaction_id: zod.z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.").nullable()
36
- }).describe("Response model for retrieving a task run.");
36
+ }).passthrough().describe("Response model for retrieving a task run.");
37
37
  const parallelRetrieveTaskRun = require_action.action("PARALLEL_RETRIEVE_TASK_RUN", {
38
38
  slug: "parallel-retrieve-task-run",
39
39
  name: "Retrieve Task Run",