@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
@@ -15,36 +15,36 @@ declare const ParallelFetchTaskGroupRunsOutput: z.ZodObject<{
15
15
  detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
16
  ref_id: z.ZodNullable<z.ZodString>;
17
17
  message: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  run_id: z.ZodNullable<z.ZodString>;
20
20
  status: z.ZodNullable<z.ZodEnum<{
21
21
  queued: "queued";
22
+ action_required: "action_required";
22
23
  running: "running";
23
24
  completed: "completed";
24
25
  failed: "failed";
25
- cancelled: "cancelled";
26
- action_required: "action_required";
27
26
  cancelling: "cancelling";
27
+ cancelled: "cancelled";
28
28
  }>>;
29
29
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
30
  warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
31
31
  detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  ref_id: z.ZodNullable<z.ZodString>;
33
33
  message: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>>>;
34
+ }, z.core.$loose>>>>;
35
35
  is_active: z.ZodNullable<z.ZodBoolean>;
36
36
  processor: z.ZodNullable<z.ZodString>;
37
37
  created_at: z.ZodNullable<z.ZodString>;
38
38
  modified_at: z.ZodNullable<z.ZodString>;
39
39
  taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  interaction_id: z.ZodNullable<z.ZodString>;
41
- }, z.core.$strip>>;
41
+ }, z.core.$loose>>;
42
42
  type: z.ZodNullable<z.ZodString>;
43
43
  input: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
44
  query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  documents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
46
46
  beta_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
- }, z.core.$strip>>>;
47
+ }, z.core.$loose>>>;
48
48
  output: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
49
49
  type: z.ZodNullable<z.ZodString>;
50
50
  basis: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -53,14 +53,14 @@ declare const ParallelFetchTaskGroupRunsOutput: z.ZodObject<{
53
53
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>>>>;
56
+ }, z.core.$loose>>>>;
57
57
  reasoning: z.ZodNullable<z.ZodString>;
58
58
  confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>>;
59
+ }, z.core.$loose>>>>;
60
60
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
61
61
  beta_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
62
62
  output_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
63
- }, z.core.$strip>, z.ZodObject<{
63
+ }, z.core.$loose>, z.ZodObject<{
64
64
  type: z.ZodNullable<z.ZodString>;
65
65
  basis: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
66
66
  field: z.ZodNullable<z.ZodString>;
@@ -68,23 +68,23 @@ declare const ParallelFetchTaskGroupRunsOutput: z.ZodObject<{
68
68
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
- }, z.core.$strip>>>>;
71
+ }, z.core.$loose>>>>;
72
72
  reasoning: z.ZodNullable<z.ZodString>;
73
73
  confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
- }, z.core.$strip>>>>;
74
+ }, z.core.$loose>>>>;
75
75
  content: z.ZodNullable<z.ZodString>;
76
76
  beta_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
- }, z.core.$strip>]>>>;
77
+ }, z.core.$loose>]>>>;
78
78
  event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
- }, z.core.$strip>, z.ZodObject<{
79
+ }, z.core.$loose>, z.ZodObject<{
80
80
  type: z.ZodNullable<z.ZodString>;
81
81
  error: z.ZodNullable<z.ZodObject<{
82
82
  detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
83
83
  ref_id: z.ZodNullable<z.ZodString>;
84
84
  message: z.ZodNullable<z.ZodString>;
85
- }, z.core.$strip>>;
86
- }, z.core.$strip>]>>;
87
- }, z.core.$strip>;
85
+ }, z.core.$loose>>;
86
+ }, z.core.$loose>]>>;
87
+ }, z.core.$loose>;
88
88
  declare const parallelFetchTaskGroupRuns: import("@keystrokehq/action").WorkflowActionDefinition<{
89
89
  taskgroup_id: string;
90
90
  status?: string | undefined;
@@ -12,12 +12,12 @@ const ParallelFetchTaskGroupRuns_ErrorSchema = z.object({
12
12
  detail: z.record(z.string(), z.unknown()).describe("Additional details about the error").nullable().optional(),
13
13
  ref_id: z.string().describe("Reference ID for the error").nullable(),
14
14
  message: z.string().describe("Human-readable error message").nullable()
15
- }).describe("Error associated with a task run.");
15
+ }).passthrough().describe("Error associated with a task run.");
16
16
  const ParallelFetchTaskGroupRuns_WarningSchema = z.object({
17
17
  detail: z.record(z.string(), z.unknown()).describe("Additional details about the warning").nullable().optional(),
18
18
  ref_id: z.string().describe("Reference ID for the warning").nullable(),
19
19
  message: z.string().describe("Human-readable warning message").nullable()
20
- }).describe("Warning associated with a task run.");
20
+ }).passthrough().describe("Warning associated with a task run.");
21
21
  const ParallelFetchTaskGroupRuns_TaskRunSchema = z.object({
22
22
  error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable().optional(),
23
23
  run_id: z.string().describe("Unique identifier of the task run").nullable(),
@@ -38,53 +38,53 @@ const ParallelFetchTaskGroupRuns_TaskRunSchema = z.object({
38
38
  modified_at: z.string().describe("RFC 3339 timestamp of last modification").nullable(),
39
39
  taskgroup_id: z.string().describe("ID of the Task Group this run belongs to").nullable().optional(),
40
40
  interaction_id: z.string().describe("Identifier linking this run to an interaction").nullable()
41
- }).describe("Task run metadata object.");
41
+ }).passthrough().describe("Task run metadata object.");
42
42
  const ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema = z.object({
43
43
  query: z.string().describe("Query text for the task").nullable().optional(),
44
44
  documents: z.array(z.record(z.string(), z.unknown())).describe("Documents provided as input").nullable().optional(),
45
45
  beta_fields: z.record(z.string(), z.unknown()).describe("Additional beta fields").nullable().optional()
46
- }).describe("Input provided to a task run.");
46
+ }).passthrough().describe("Input provided to a task run.");
47
47
  const ParallelFetchTaskGroupRuns_CitationSchema = z.object({
48
48
  url: z.string().describe("URL of the cited source").nullable().optional(),
49
49
  title: z.string().describe("Title of the cited source").nullable().optional(),
50
50
  excerpt: z.string().describe("Excerpt from the cited source").nullable().optional()
51
- }).describe("Supporting citation for a field value.");
51
+ }).passthrough().describe("Supporting citation for a field value.");
52
52
  const ParallelFetchTaskGroupRuns_FieldBasisSchema = z.object({
53
53
  field: z.string().describe("Output field name").nullable(),
54
54
  citations: z.array(ParallelFetchTaskGroupRuns_CitationSchema).describe("Supporting sources").nullable().optional(),
55
55
  reasoning: z.string().describe("Explanation for the field value").nullable(),
56
56
  confidence: z.string().describe("Confidence level (if available from processor)").nullable().optional()
57
- }).describe("Supporting citations and reasoning for an output field.");
57
+ }).passthrough().describe("Supporting citations and reasoning for an output field.");
58
58
  const ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema = z.object({
59
59
  type: z.string().describe("Output type discriminator").nullable(),
60
60
  basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe("Citations, reasoning, and confidence per field").nullable().optional(),
61
61
  content: z.record(z.string(), z.unknown()).describe("JSON object matching the output schema"),
62
62
  beta_fields: z.record(z.string(), z.unknown()).describe("Additional beta fields").nullable().optional(),
63
63
  output_schema: z.record(z.string(), z.unknown()).describe("Schema used for the output").nullable().optional()
64
- }).describe("JSON output from a task run.");
64
+ }).passthrough().describe("JSON output from a task run.");
65
65
  const ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema = z.object({
66
66
  type: z.string().describe("Output type discriminator").nullable(),
67
67
  basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe("Citations and reasoning for the output").nullable().optional(),
68
68
  content: z.string().describe("Text content of the output").nullable(),
69
69
  beta_fields: z.record(z.string(), z.unknown()).describe("Additional beta fields").nullable().optional()
70
- }).describe("Text output from a task run.");
70
+ }).passthrough().describe("Text output from a task run.");
71
71
  const ParallelFetchTaskGroupRuns_TaskRunStateEventSchema = z.object({
72
72
  run: ParallelFetchTaskGroupRuns_TaskRunSchema.nullable(),
73
73
  type: z.string().describe("Event type").nullable(),
74
74
  input: ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema.nullable().optional(),
75
75
  output: z.union([ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema, ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema]).nullable().optional(),
76
76
  event_id: z.string().describe("Unique identifier for the event").nullable().optional()
77
- }).describe("Event containing a task run state update.");
77
+ }).passthrough().describe("Event containing a task run state update.");
78
78
  const ParallelFetchTaskGroupRuns_ErrorEventSchema = z.object({
79
79
  type: z.string().describe("Event type").nullable(),
80
80
  error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable()
81
- }).describe("Event indicating an error occurred.");
81
+ }).passthrough().describe("Event indicating an error occurred.");
82
82
  const parallelFetchTaskGroupRuns = action("PARALLEL_FETCH_TASK_GROUP_RUNS", {
83
83
  slug: "parallel-fetch-task-group-runs",
84
84
  name: "Fetch Task Group Runs",
85
85
  description: "Tool to retrieve task runs from a Task Group as a resumable stream. Use when you need to fetch all runs within a group, optionally including their inputs and outputs. The stream can be resumed using the event_id as a cursor.",
86
86
  input: ParallelFetchTaskGroupRunsInput,
87
- output: z.object({ events: z.array(z.union([ParallelFetchTaskGroupRuns_TaskRunStateEventSchema, ParallelFetchTaskGroupRuns_ErrorEventSchema])).describe("List of task run events received from the stream") }).describe("Response model containing list of task run events from the Task Group.")
87
+ output: z.object({ events: z.array(z.union([ParallelFetchTaskGroupRuns_TaskRunStateEventSchema, ParallelFetchTaskGroupRuns_ErrorEventSchema])).describe("List of task run events received from the stream") }).passthrough().describe("Response model containing list of task run events from the Task Group.")
88
88
  });
89
89
  //#endregion
90
90
  export { parallelFetchTaskGroupRuns };
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-task-group-runs.mjs","names":[],"sources":["../../src/actions/fetch-task-group-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFetchTaskGroupRunsInput = z.object({\n status: z.string().describe(\"Filter runs by status (e.g., queued, running, completed, failed, cancelled).\").optional(),\n taskgroup_id: z.string().describe(\"Unique identifier of the Task Group to fetch runs from.\"),\n include_input: z.boolean().default(false).describe(\"Whether to include task run inputs in the response. Default is False.\").optional(),\n last_event_id: z.string().describe(\"ID of the last received event to resume streaming from. Used as cursor for pagination.\").optional(),\n include_output: z.boolean().default(false).describe(\"Whether to include task run outputs in the response. Default is False.\").optional(),\n}).describe(\"Request model for fetching task runs from a Task Group.\");\nconst ParallelFetchTaskGroupRuns_ErrorSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).describe(\"Error associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).describe(\"Warning associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunSchema = z.object({\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable().optional(),\n run_id: z.string().describe(\"Unique identifier of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"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 warnings: z.array(ParallelFetchTaskGroupRuns_WarningSchema).describe(\"List of warnings associated with the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the task run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor used for the task run\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp when the task run was created\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n taskgroup_id: z.string().describe(\"ID of the Task Group this run belongs to\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier linking this run to an interaction\").nullable(),\n}).describe(\"Task run metadata object.\");\nconst ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema = z.object({\n query: z.string().describe(\"Query text for the task\").nullable().optional(),\n documents: z.array(z.record(z.string(), z.unknown())).describe(\"Documents provided as input\").nullable().optional(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).describe(\"Input provided to a task run.\");\nconst ParallelFetchTaskGroupRuns_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelFetchTaskGroupRuns_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelFetchTaskGroupRuns_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations, reasoning, and confidence per field\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"JSON object matching the output schema\"),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema used for the output\").nullable().optional(),\n}).describe(\"JSON output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations and reasoning for the output\").nullable().optional(),\n content: z.string().describe(\"Text content of the output\").nullable(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).describe(\"Text output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunStateEventSchema = z.object({\n run: ParallelFetchTaskGroupRuns_TaskRunSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n input: ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema.nullable().optional(),\n output: z.union([ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema, ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema]).nullable().optional(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable().optional(),\n}).describe(\"Event containing a task run state update.\");\nconst ParallelFetchTaskGroupRuns_ErrorEventSchema = z.object({\n type: z.string().describe(\"Event type\").nullable(),\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable(),\n}).describe(\"Event indicating an error occurred.\");\nexport const ParallelFetchTaskGroupRunsOutput = z.object({\n events: z.array(z.union([ParallelFetchTaskGroupRuns_TaskRunStateEventSchema, ParallelFetchTaskGroupRuns_ErrorEventSchema])).describe(\"List of task run events received from the stream\"),\n}).describe(\"Response model containing list of task run events from the Task Group.\");\n\nexport const parallelFetchTaskGroupRuns = action(\"PARALLEL_FETCH_TASK_GROUP_RUNS\", {\n slug: \"parallel-fetch-task-group-runs\",\n name: \"Fetch Task Group Runs\",\n description: \"Tool to retrieve task runs from a Task Group as a resumable stream. Use when you need to fetch all runs within a group, optionally including their inputs and outputs. The stream can be resumed using the event_id as a cursor.\",\n input: ParallelFetchTaskGroupRunsInput,\n output: ParallelFetchTaskGroupRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE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AS;CACjD,OAAO,uCAAuC,SAAS;AACzD,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,oDAAoD,2CAA2C,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EACzL,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-task-group-runs.mjs","names":[],"sources":["../../src/actions/fetch-task-group-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFetchTaskGroupRunsInput = z.object({\n status: z.string().describe(\"Filter runs by status (e.g., queued, running, completed, failed, cancelled).\").optional(),\n taskgroup_id: z.string().describe(\"Unique identifier of the Task Group to fetch runs from.\"),\n include_input: z.boolean().default(false).describe(\"Whether to include task run inputs in the response. Default is False.\").optional(),\n last_event_id: z.string().describe(\"ID of the last received event to resume streaming from. Used as cursor for pagination.\").optional(),\n include_output: z.boolean().default(false).describe(\"Whether to include task run outputs in the response. Default is False.\").optional(),\n}).describe(\"Request model for fetching task runs from a Task Group.\");\nconst ParallelFetchTaskGroupRuns_ErrorSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).passthrough().describe(\"Warning associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunSchema = z.object({\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable().optional(),\n run_id: z.string().describe(\"Unique identifier of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"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 warnings: z.array(ParallelFetchTaskGroupRuns_WarningSchema).describe(\"List of warnings associated with the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the task run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor used for the task run\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp when the task run was created\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n taskgroup_id: z.string().describe(\"ID of the Task Group this run belongs to\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier linking this run to an interaction\").nullable(),\n}).passthrough().describe(\"Task run metadata object.\");\nconst ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema = z.object({\n query: z.string().describe(\"Query text for the task\").nullable().optional(),\n documents: z.array(z.record(z.string(), z.unknown())).describe(\"Documents provided as input\").nullable().optional(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).passthrough().describe(\"Input provided to a task run.\");\nconst ParallelFetchTaskGroupRuns_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelFetchTaskGroupRuns_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelFetchTaskGroupRuns_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations, reasoning, and confidence per field\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"JSON object matching the output schema\"),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema used for the output\").nullable().optional(),\n}).passthrough().describe(\"JSON output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations and reasoning for the output\").nullable().optional(),\n content: z.string().describe(\"Text content of the output\").nullable(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).passthrough().describe(\"Text output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunStateEventSchema = z.object({\n run: ParallelFetchTaskGroupRuns_TaskRunSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n input: ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema.nullable().optional(),\n output: z.union([ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema, ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema]).nullable().optional(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable().optional(),\n}).passthrough().describe(\"Event containing a task run state update.\");\nconst ParallelFetchTaskGroupRuns_ErrorEventSchema = z.object({\n type: z.string().describe(\"Event type\").nullable(),\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable(),\n}).passthrough().describe(\"Event indicating an error occurred.\");\nexport const ParallelFetchTaskGroupRunsOutput = z.object({\n events: z.array(z.union([ParallelFetchTaskGroupRuns_TaskRunStateEventSchema, ParallelFetchTaskGroupRuns_ErrorEventSchema])).describe(\"List of task run events received from the stream\"),\n}).passthrough().describe(\"Response model containing list of task run events from the Task Group.\");\n\nexport const parallelFetchTaskGroupRuns = action(\"PARALLEL_FETCH_TASK_GROUP_RUNS\", {\n slug: \"parallel-fetch-task-group-runs\",\n name: \"Fetch Task Group Runs\",\n description: \"Tool to retrieve task runs from a Task Group as a resumable stream. Use when you need to fetch all runs within a group, optionally including their inputs and outputs. The stream can be resumed using the event_id as a cursor.\",\n input: ParallelFetchTaskGroupRunsInput,\n output: ParallelFetchTaskGroupRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,Q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AAC,oDAAoD,kDAAkD,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAO,uCAAuC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,oDAAoD,2CAA2C,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
@@ -19,16 +19,16 @@ const ParallelFindAllInput = zod.z.object({
19
19
  exclude_list: zod.z.array(zod.z.object({
20
20
  url: zod.z.string().describe("Canonical URL of the entity to exclude."),
21
21
  name: zod.z.string().describe("Name of the entity to exclude.")
22
- })).describe("Optional list of entities to exclude from matching.").optional(),
22
+ }).passthrough()).describe("Optional list of entities to exclude from matching.").optional(),
23
23
  match_conditions: zod.z.array(zod.z.object({
24
24
  name: zod.z.string().describe("Identifier for the match condition."),
25
25
  description: zod.z.string().describe("Description of what must be satisfied for the match.")
26
- })).describe("List of conditions that a candidate must satisfy.")
26
+ }).passthrough()).describe("List of conditions that a candidate must satisfy.")
27
27
  });
28
28
  const ParallelFindAll_RunMetricsSchema = zod.z.object({
29
29
  matched_candidates_count: zod.z.number().int().default(0).describe("Number of candidates matched so far.").nullable().optional(),
30
30
  generated_candidates_count: zod.z.number().int().default(0).describe("Number of candidates generated so far.").nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const ParallelFindAll_RunStatusSchema = zod.z.object({
33
33
  status: zod.z.enum([
34
34
  "queued",
@@ -40,7 +40,7 @@ const ParallelFindAll_RunStatusSchema = zod.z.object({
40
40
  metrics: ParallelFindAll_RunMetricsSchema.nullable(),
41
41
  is_active: zod.z.boolean().describe("Whether the run is currently active.").nullable(),
42
42
  termination_reason: zod.z.string().describe("Reason for run completion, if any.").nullable().optional()
43
- });
43
+ }).passthrough();
44
44
  const ParallelFindAllOutput = zod.z.object({
45
45
  status: ParallelFindAll_RunStatusSchema.nullable(),
46
46
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User-provided metadata stored with the run.").nullable().optional(),
@@ -53,7 +53,7 @@ const ParallelFindAllOutput = zod.z.object({
53
53
  created_at: zod.z.string().describe("Creation timestamp (RFC 3339).").nullable(),
54
54
  findall_id: zod.z.string().describe("ID of the created FindAll run.").nullable(),
55
55
  modified_at: zod.z.string().describe("Last modification timestamp (RFC 3339).").nullable()
56
- });
56
+ }).passthrough();
57
57
  const parallelFindAll = require_action.action("PARALLEL_FIND_ALL", {
58
58
  slug: "parallel-find-all",
59
59
  name: "Start FindAll Run",
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.cjs","names":["z","action"],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n})).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n})).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n});\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n});\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n});\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],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AAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"find-all.cjs","names":["z","action"],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n}).passthrough()).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n}).passthrough()).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n}).passthrough();\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,OAAO;EAClB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC7K,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,aAAaA,IAAAA,EAAE,OAAO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F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQ,gCAAgC,SAAS;CACjD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,8 +8,8 @@ declare const ParallelFindAllInput: z.ZodObject<{
8
8
  }, z.core.$strip>>;
9
9
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  generator: z.ZodEnum<{
11
- base: "base";
12
11
  core: "core";
12
+ base: "base";
13
13
  pro: "pro";
14
14
  preview: "preview";
15
15
  }>;
@@ -19,11 +19,11 @@ declare const ParallelFindAllInput: z.ZodObject<{
19
19
  exclude_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
20
  url: z.ZodString;
21
21
  name: z.ZodString;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  match_conditions: z.ZodArray<z.ZodObject<{
24
24
  name: z.ZodString;
25
25
  description: z.ZodString;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  }, z.core.$strip>;
28
28
  declare const ParallelFindAllOutput: z.ZodObject<{
29
29
  status: z.ZodNullable<z.ZodObject<{
@@ -37,27 +37,28 @@ declare const ParallelFindAllOutput: z.ZodObject<{
37
37
  metrics: z.ZodNullable<z.ZodObject<{
38
38
  matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
39
39
  generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  is_active: z.ZodNullable<z.ZodBoolean>;
42
42
  termination_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>>;
43
+ }, z.core.$loose>>;
44
44
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
45
  generator: z.ZodNullable<z.ZodEnum<{
46
- base: "base";
47
46
  core: "core";
47
+ base: "base";
48
48
  pro: "pro";
49
49
  preview: "preview";
50
50
  }>>;
51
51
  created_at: z.ZodNullable<z.ZodString>;
52
52
  findall_id: z.ZodNullable<z.ZodString>;
53
53
  modified_at: z.ZodNullable<z.ZodString>;
54
- }, z.core.$strip>;
54
+ }, z.core.$loose>;
55
55
  declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefinition<{
56
- generator: "base" | "core" | "pro" | "preview";
56
+ generator: "core" | "base" | "pro" | "preview";
57
57
  objective: string;
58
58
  entity_type: string;
59
59
  match_limit: number;
60
60
  match_conditions: {
61
+ [x: string]: unknown;
61
62
  name: string;
62
63
  description: string;
63
64
  }[];
@@ -67,6 +68,7 @@ declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefin
67
68
  } | undefined;
68
69
  metadata?: Record<string, unknown> | undefined;
69
70
  exclude_list?: {
71
+ [x: string]: unknown;
70
72
  url: string;
71
73
  name: string;
72
74
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.d.cts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,gCAAe,wBAAA;;;;;;;;;;;;;aAM1B,MAAA"}
1
+ {"version":3,"file":"find-all.d.cts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,gCAAe,wBAAA;;;;;;;;;;;;;;aAM1B,MAAA"}
@@ -8,8 +8,8 @@ declare const ParallelFindAllInput: z.ZodObject<{
8
8
  }, z.core.$strip>>;
9
9
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  generator: z.ZodEnum<{
11
- base: "base";
12
11
  core: "core";
12
+ base: "base";
13
13
  pro: "pro";
14
14
  preview: "preview";
15
15
  }>;
@@ -19,11 +19,11 @@ declare const ParallelFindAllInput: z.ZodObject<{
19
19
  exclude_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
20
  url: z.ZodString;
21
21
  name: z.ZodString;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  match_conditions: z.ZodArray<z.ZodObject<{
24
24
  name: z.ZodString;
25
25
  description: z.ZodString;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  }, z.core.$strip>;
28
28
  declare const ParallelFindAllOutput: z.ZodObject<{
29
29
  status: z.ZodNullable<z.ZodObject<{
@@ -37,27 +37,28 @@ declare const ParallelFindAllOutput: z.ZodObject<{
37
37
  metrics: z.ZodNullable<z.ZodObject<{
38
38
  matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
39
39
  generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  is_active: z.ZodNullable<z.ZodBoolean>;
42
42
  termination_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>>;
43
+ }, z.core.$loose>>;
44
44
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
45
  generator: z.ZodNullable<z.ZodEnum<{
46
- base: "base";
47
46
  core: "core";
47
+ base: "base";
48
48
  pro: "pro";
49
49
  preview: "preview";
50
50
  }>>;
51
51
  created_at: z.ZodNullable<z.ZodString>;
52
52
  findall_id: z.ZodNullable<z.ZodString>;
53
53
  modified_at: z.ZodNullable<z.ZodString>;
54
- }, z.core.$strip>;
54
+ }, z.core.$loose>;
55
55
  declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefinition<{
56
- generator: "base" | "core" | "pro" | "preview";
56
+ generator: "core" | "base" | "pro" | "preview";
57
57
  objective: string;
58
58
  entity_type: string;
59
59
  match_limit: number;
60
60
  match_conditions: {
61
+ [x: string]: unknown;
61
62
  name: string;
62
63
  description: string;
63
64
  }[];
@@ -67,6 +68,7 @@ declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefin
67
68
  } | undefined;
68
69
  metadata?: Record<string, unknown> | undefined;
69
70
  exclude_list?: {
71
+ [x: string]: unknown;
70
72
  url: string;
71
73
  name: string;
72
74
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.d.mts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,gCAAe,wBAAA;;;;;;;;;;;;;aAM1B,MAAA"}
1
+ {"version":3,"file":"find-all.d.mts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,gCAAe,wBAAA;;;;;;;;;;;;;;aAM1B,MAAA"}
@@ -19,16 +19,16 @@ const ParallelFindAllInput = z.object({
19
19
  exclude_list: z.array(z.object({
20
20
  url: z.string().describe("Canonical URL of the entity to exclude."),
21
21
  name: z.string().describe("Name of the entity to exclude.")
22
- })).describe("Optional list of entities to exclude from matching.").optional(),
22
+ }).passthrough()).describe("Optional list of entities to exclude from matching.").optional(),
23
23
  match_conditions: z.array(z.object({
24
24
  name: z.string().describe("Identifier for the match condition."),
25
25
  description: z.string().describe("Description of what must be satisfied for the match.")
26
- })).describe("List of conditions that a candidate must satisfy.")
26
+ }).passthrough()).describe("List of conditions that a candidate must satisfy.")
27
27
  });
28
28
  const ParallelFindAll_RunMetricsSchema = z.object({
29
29
  matched_candidates_count: z.number().int().default(0).describe("Number of candidates matched so far.").nullable().optional(),
30
30
  generated_candidates_count: z.number().int().default(0).describe("Number of candidates generated so far.").nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const ParallelFindAll_RunStatusSchema = z.object({
33
33
  status: z.enum([
34
34
  "queued",
@@ -40,7 +40,7 @@ const ParallelFindAll_RunStatusSchema = z.object({
40
40
  metrics: ParallelFindAll_RunMetricsSchema.nullable(),
41
41
  is_active: z.boolean().describe("Whether the run is currently active.").nullable(),
42
42
  termination_reason: z.string().describe("Reason for run completion, if any.").nullable().optional()
43
- });
43
+ }).passthrough();
44
44
  const parallelFindAll = action("PARALLEL_FIND_ALL", {
45
45
  slug: "parallel-find-all",
46
46
  name: "Start FindAll Run",
@@ -58,7 +58,7 @@ const parallelFindAll = action("PARALLEL_FIND_ALL", {
58
58
  created_at: z.string().describe("Creation timestamp (RFC 3339).").nullable(),
59
59
  findall_id: z.string().describe("ID of the created FindAll run.").nullable(),
60
60
  modified_at: z.string().describe("Last modification timestamp (RFC 3339).").nullable()
61
- })
61
+ }).passthrough()
62
62
  });
63
63
  //#endregion
64
64
  export { parallelFindAll };
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.mjs","names":[],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n})).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n})).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n});\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n});\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n});\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC7K,WAAW,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAC/F,WAAW,EAAE,OAAO,CA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CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,QAAQ,gCAAgC,SAAS;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"find-all.mjs","names":[],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n}).passthrough()).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n}).passthrough()).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n}).passthrough();\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,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AE,OAAO;CAC/C,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAW;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1H,SAAS,iCAAiC,SAAS;CACnD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,QAAQ,gCAAgC,SAAS;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -5,7 +5,7 @@ const ParallelGetFindAllRunResultInput = zod.z.object({ findall_id: zod.z.string
5
5
  const ParallelGetFindAllRunResult_RunMetricsSchema = zod.z.object({
6
6
  matched_candidates_count: zod.z.number().int().default(0).describe("Number of candidates matched").nullable().optional(),
7
7
  generated_candidates_count: zod.z.number().int().default(0).describe("Number of candidates generated").nullable().optional()
8
- }).describe("Metrics for the FindAll run.");
8
+ }).passthrough().describe("Metrics for the FindAll run.");
9
9
  const ParallelGetFindAllRunResult_FindAllRunStatusSchema = zod.z.object({
10
10
  status: zod.z.enum([
11
11
  "queued",
@@ -26,7 +26,7 @@ const ParallelGetFindAllRunResult_FindAllRunStatusSchema = zod.z.object({
26
26
  "error_occurred",
27
27
  "timeout"
28
28
  ]).describe("Why the run ended").nullable().optional()
29
- }).describe("Status information for a FindAll run.");
29
+ }).passthrough().describe("Status information for a FindAll run.");
30
30
  const ParallelGetFindAllRunResult_FindAllRunSchema = zod.z.object({
31
31
  status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),
32
32
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the run").nullable().optional(),
@@ -39,18 +39,18 @@ const ParallelGetFindAllRunResult_FindAllRunSchema = zod.z.object({
39
39
  created_at: zod.z.string().describe("RFC 3339 timestamp of creation").nullable().optional(),
40
40
  findall_id: zod.z.string().describe("ID of the FindAll run").nullable(),
41
41
  modified_at: zod.z.string().describe("RFC 3339 timestamp of last modification").nullable().optional()
42
- }).describe("FindAll run metadata object.");
42
+ }).passthrough().describe("FindAll run metadata object.");
43
43
  const ParallelGetFindAllRunResult_CitationSchema = zod.z.object({
44
44
  url: zod.z.string().describe("URL of the cited source").nullable().optional(),
45
45
  title: zod.z.string().describe("Title of the cited source").nullable().optional(),
46
46
  excerpt: zod.z.string().describe("Excerpt from the cited source").nullable().optional()
47
- }).describe("Supporting citation for a field value.");
47
+ }).passthrough().describe("Supporting citation for a field value.");
48
48
  const ParallelGetFindAllRunResult_FieldBasisSchema = zod.z.object({
49
49
  field: zod.z.string().describe("Output field name").nullable(),
50
50
  citations: zod.z.array(ParallelGetFindAllRunResult_CitationSchema).describe("Supporting sources").nullable().optional(),
51
51
  reasoning: zod.z.string().describe("Explanation for the field value").nullable(),
52
52
  confidence: zod.z.string().describe("Confidence level (if available from processor)").nullable().optional()
53
- }).describe("Supporting citations and reasoning for an output field.");
53
+ }).passthrough().describe("Supporting citations and reasoning for an output field.");
54
54
  const ParallelGetFindAllRunResult_FindAllCandidateSchema = zod.z.object({
55
55
  url: zod.z.string().describe("Disambiguation URL for the entity").nullable(),
56
56
  name: zod.z.string().describe("Candidate entity name").nullable(),
@@ -64,12 +64,12 @@ const ParallelGetFindAllRunResult_FindAllCandidateSchema = zod.z.object({
64
64
  "unmatched",
65
65
  "discarded"
66
66
  ]).describe("Status of the candidate").nullable()
67
- }).describe("A candidate entity from the FindAll run.");
67
+ }).passthrough().describe("A candidate entity from the FindAll run.");
68
68
  const ParallelGetFindAllRunResultOutput = zod.z.object({
69
69
  run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),
70
70
  candidates: zod.z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe("All evaluated candidates"),
71
71
  last_event_id: zod.z.string().describe("ID of the last run event; useful for resuming event streams").nullable().optional()
72
- }).describe("Response model for FindAll run results.");
72
+ }).passthrough().describe("Response model for FindAll run results.");
73
73
  const parallelGetFindAllRunResult = require_action.action("PARALLEL_GET_FIND_ALL_RUN_RESULT", {
74
74
  slug: "parallel-get-find-all-run-result",
75
75
  name: "Get FindAll Run Result",
@@ -1 +1 @@
1
- {"version":3,"file":"get-find-all-run-result.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,qDAAqDA,IAAAA,EAA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C,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAW;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAK,6CAA6C,SAAS;CAC3D,YAAYA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0BAA0B;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-find-all-run-result.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).passthrough().describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).passthrough().describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).passthrough().describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).passthrough().describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).passthrough().describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAA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