parallel-web 0.3.1 → 0.4.0

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 (121) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +2 -2
  3. package/client.d.mts +46 -3
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +46 -3
  6. package/client.d.ts.map +1 -1
  7. package/client.js +66 -19
  8. package/client.js.map +1 -1
  9. package/client.mjs +66 -19
  10. package/client.mjs.map +1 -1
  11. package/core/streaming.js.map +1 -1
  12. package/core/streaming.mjs.map +1 -1
  13. package/internal/parse.d.mts.map +1 -1
  14. package/internal/parse.d.ts.map +1 -1
  15. package/internal/parse.js +5 -0
  16. package/internal/parse.js.map +1 -1
  17. package/internal/parse.mjs +5 -0
  18. package/internal/parse.mjs.map +1 -1
  19. package/internal/utils/env.js +2 -2
  20. package/internal/utils/env.js.map +1 -1
  21. package/internal/utils/env.mjs +2 -2
  22. package/internal/utils/env.mjs.map +1 -1
  23. package/internal/utils/query.d.mts +5 -0
  24. package/internal/utils/query.d.mts.map +1 -0
  25. package/internal/utils/query.d.ts +5 -0
  26. package/internal/utils/query.d.ts.map +1 -0
  27. package/internal/utils/query.js +23 -0
  28. package/internal/utils/query.js.map +1 -0
  29. package/internal/utils/query.mjs +20 -0
  30. package/internal/utils/query.mjs.map +1 -0
  31. package/internal/utils.d.mts +1 -0
  32. package/internal/utils.d.ts +1 -0
  33. package/internal/utils.js +1 -0
  34. package/internal/utils.js.map +1 -1
  35. package/internal/utils.mjs +1 -0
  36. package/package.json +12 -1
  37. package/resources/beta/beta.d.mts +52 -72
  38. package/resources/beta/beta.d.mts.map +1 -1
  39. package/resources/beta/beta.d.ts +52 -72
  40. package/resources/beta/beta.d.ts.map +1 -1
  41. package/resources/beta/beta.js +10 -4
  42. package/resources/beta/beta.js.map +1 -1
  43. package/resources/beta/beta.mjs +10 -4
  44. package/resources/beta/beta.mjs.map +1 -1
  45. package/resources/beta/findall.d.mts +171 -9
  46. package/resources/beta/findall.d.mts.map +1 -1
  47. package/resources/beta/findall.d.ts +171 -9
  48. package/resources/beta/findall.d.ts.map +1 -1
  49. package/resources/beta/findall.js +111 -0
  50. package/resources/beta/findall.js.map +1 -1
  51. package/resources/beta/findall.mjs +111 -0
  52. package/resources/beta/findall.mjs.map +1 -1
  53. package/resources/beta/index.d.mts +2 -2
  54. package/resources/beta/index.d.mts.map +1 -1
  55. package/resources/beta/index.d.ts +2 -2
  56. package/resources/beta/index.d.ts.map +1 -1
  57. package/resources/beta/index.js.map +1 -1
  58. package/resources/beta/index.mjs.map +1 -1
  59. package/resources/beta/task-group.d.mts +60 -4
  60. package/resources/beta/task-group.d.mts.map +1 -1
  61. package/resources/beta/task-group.d.ts +60 -4
  62. package/resources/beta/task-group.d.ts.map +1 -1
  63. package/resources/beta/task-group.js +52 -1
  64. package/resources/beta/task-group.js.map +1 -1
  65. package/resources/beta/task-group.mjs +52 -1
  66. package/resources/beta/task-group.mjs.map +1 -1
  67. package/resources/beta/task-run.d.mts +85 -266
  68. package/resources/beta/task-run.d.mts.map +1 -1
  69. package/resources/beta/task-run.d.ts +85 -266
  70. package/resources/beta/task-run.d.ts.map +1 -1
  71. package/resources/beta/task-run.js +21 -2
  72. package/resources/beta/task-run.js.map +1 -1
  73. package/resources/beta/task-run.mjs +21 -2
  74. package/resources/beta/task-run.mjs.map +1 -1
  75. package/resources/index.d.mts +2 -1
  76. package/resources/index.d.mts.map +1 -1
  77. package/resources/index.d.ts +2 -1
  78. package/resources/index.d.ts.map +1 -1
  79. package/resources/index.js.map +1 -1
  80. package/resources/index.mjs.map +1 -1
  81. package/resources/shared.d.mts +4 -2
  82. package/resources/shared.d.mts.map +1 -1
  83. package/resources/shared.d.ts +4 -2
  84. package/resources/shared.d.ts.map +1 -1
  85. package/resources/task-run.d.mts +324 -29
  86. package/resources/task-run.d.mts.map +1 -1
  87. package/resources/task-run.d.ts +324 -29
  88. package/resources/task-run.d.ts.map +1 -1
  89. package/resources/task-run.js +71 -4
  90. package/resources/task-run.js.map +1 -1
  91. package/resources/task-run.mjs +71 -4
  92. package/resources/task-run.mjs.map +1 -1
  93. package/resources/top-level.d.mts +317 -0
  94. package/resources/top-level.d.mts.map +1 -0
  95. package/resources/top-level.d.ts +317 -0
  96. package/resources/top-level.d.ts.map +1 -0
  97. package/resources/top-level.js +4 -0
  98. package/resources/top-level.js.map +1 -0
  99. package/resources/top-level.mjs +3 -0
  100. package/resources/top-level.mjs.map +1 -0
  101. package/src/client.ts +118 -24
  102. package/src/core/streaming.ts +2 -2
  103. package/src/internal/parse.ts +6 -0
  104. package/src/internal/utils/env.ts +2 -2
  105. package/src/internal/utils/query.ts +23 -0
  106. package/src/internal/utils.ts +1 -0
  107. package/src/resources/beta/api.md +87 -0
  108. package/src/resources/beta/beta.ts +67 -84
  109. package/src/resources/beta/findall.ts +191 -7
  110. package/src/resources/beta/index.ts +7 -4
  111. package/src/resources/beta/task-group.ts +64 -6
  112. package/src/resources/beta/task-run.ts +103 -300
  113. package/src/resources/index.ts +20 -0
  114. package/src/resources/shared.ts +4 -2
  115. package/src/resources/task-run.ts +410 -31
  116. package/src/resources/top-level.ts +385 -0
  117. package/src/version.ts +1 -1
  118. package/version.d.mts +1 -1
  119. package/version.d.ts +1 -1
  120. package/version.js +1 -1
  121. package/version.mjs +1 -1
@@ -1,10 +1,22 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
- import * as BetaTaskRunAPI from "./task-run.mjs";
3
2
  import * as Shared from "../shared.mjs";
4
3
  import * as TaskRunAPI from "../task-run.mjs";
5
4
  import { APIPromise } from "../../core/api-promise.mjs";
6
5
  import { Stream } from "../../core/streaming.mjs";
7
6
  import { RequestOptions } from "../../internal/request-options.mjs";
7
+ /**
8
+ * The Task API executes web research and extraction tasks. Clients submit a natural-language objective with an optional input schema; the service plans retrieval, fetches relevant URLs, and returns outputs that conform to a provided or inferred JSON schema. Supports deep research style queries and can return rich structured JSON outputs. Processors trade-off between cost, latency, and quality. Each processor supports calibrated confidences.
9
+ * - Output metadata: citations, excerpts, reasoning, and confidence per field
10
+ *
11
+ * Task Groups enable batch execution of many independent Task runs with group-level monitoring and failure handling.
12
+ * - Submit hundreds or thousands of Tasks as a single group
13
+ * - Observe group progress and receive results as they complete
14
+ * - Real-time updates via Server-Sent Events (SSE)
15
+ * - Add tasks to an existing group while it is running
16
+ * - Group-level retry and error aggregation
17
+ *
18
+ * @deprecated Use GA Task Run instead
19
+ */
8
20
  export declare class TaskRun extends APIResource {
9
21
  /**
10
22
  * Initiates a task run.
@@ -12,6 +24,8 @@ export declare class TaskRun extends APIResource {
12
24
  * Returns immediately with a run object in status 'queued'.
13
25
  *
14
26
  * Beta features can be enabled by setting the 'parallel-beta' header.
27
+ *
28
+ * @deprecated Use GA Task Run instead
15
29
  */
16
30
  create(params: TaskRunCreateParams, options?: RequestOptions): APIPromise<TaskRunAPI.TaskRun>;
17
31
  /**
@@ -22,273 +36,25 @@ export declare class TaskRun extends APIResource {
22
36
  *
23
37
  * For task runs that did not have enable_events set to true during creation, the
24
38
  * frequency of events will be reduced.
39
+ *
40
+ * @deprecated Use GA Task Run instead
25
41
  */
26
42
  events(runID: string, options?: RequestOptions): APIPromise<Stream<TaskRunEventsResponse>>;
27
43
  /**
28
44
  * Retrieves a run result by run_id, blocking until the run is completed.
29
- */
30
- result(runID: string, params?: TaskRunResultParams | null | undefined, options?: RequestOptions): APIPromise<BetaTaskRunResult>;
31
- }
32
- /**
33
- * Task run input with additional beta fields.
34
- */
35
- export interface BetaRunInput {
36
- /**
37
- * Input to the task, either text or a JSON object.
38
- */
39
- input: string | {
40
- [key: string]: unknown;
41
- };
42
- /**
43
- * Processor to use for the task.
44
- */
45
- processor: string;
46
- /**
47
- * Controls tracking of task run execution progress. When set to true, progress
48
- * events are recorded and can be accessed via the
49
- * [Task Run events](https://platform.parallel.ai/api-reference) endpoint. When
50
- * false, no progress events are tracked. Note that progress tracking cannot be
51
- * enabled after a run has been created. The flag is set to true by default for
52
- * premium processors (pro and above). To enable this feature in your requests,
53
- * specify `events-sse-2025-07-24` as one of the values in `parallel-beta` header
54
- * (for API calls) or `betas` param (for the SDKs).
55
- */
56
- enable_events?: boolean | null;
57
- /**
58
- * Optional list of MCP servers to use for the run. To enable this feature in your
59
- * requests, specify `mcp-server-2025-07-17` as one of the values in
60
- * `parallel-beta` header (for API calls) or `betas` param (for the SDKs).
61
- */
62
- mcp_servers?: Array<McpServer> | null;
63
- /**
64
- * User-provided metadata stored with the run. Keys and values must be strings with
65
- * a maximum length of 16 and 512 characters respectively.
66
- */
67
- metadata?: {
68
- [key: string]: string | number | boolean;
69
- } | null;
70
- /**
71
- * Source policy for web search results.
72
- *
73
- * This policy governs which sources are allowed/disallowed in results.
74
- */
75
- source_policy?: Shared.SourcePolicy | null;
76
- /**
77
- * Specification for a task.
78
- *
79
- * Auto output schemas can be specified by setting `output_schema={"type":"auto"}`.
80
- * Not specifying a TaskSpec is the same as setting an auto output schema.
81
45
  *
82
- * For convenience bare strings are also accepted as input or output schemas.
83
- */
84
- task_spec?: TaskRunAPI.TaskSpec | null;
85
- /**
86
- * Webhooks for Task Runs.
46
+ * @deprecated Use GA Task Run instead
87
47
  */
88
- webhook?: Webhook | null;
89
- }
90
- /**
91
- * Result of a beta task run. Available only if beta headers are specified.
92
- */
93
- export interface BetaTaskRunResult {
94
- /**
95
- * Output from the task conforming to the output schema.
96
- */
97
- output: BetaTaskRunResult.BetaTaskRunTextOutput | BetaTaskRunResult.BetaTaskRunJsonOutput;
98
- /**
99
- * Beta task run object with status 'completed'.
100
- */
101
- run: TaskRunAPI.TaskRun;
102
- }
103
- export declare namespace BetaTaskRunResult {
104
- /**
105
- * Output from a task that returns text.
106
- */
107
- interface BetaTaskRunTextOutput {
108
- /**
109
- * Basis for the output. To include per-list-element basis entries, send the
110
- * `parallel-beta` header with the value `field-basis-2025-11-25` when creating the
111
- * run.
112
- */
113
- basis: Array<TaskRunAPI.FieldBasis>;
114
- /**
115
- * Text output from the task.
116
- */
117
- content: string;
118
- /**
119
- * The type of output being returned, as determined by the output schema of the
120
- * task spec.
121
- */
122
- type: 'text';
123
- /**
124
- * Always None.
125
- */
126
- beta_fields?: {
127
- [key: string]: unknown;
128
- } | null;
129
- /**
130
- * MCP tool calls made by the task.
131
- */
132
- mcp_tool_calls?: Array<BetaTaskRunAPI.McpToolCall> | null;
133
- }
134
- /**
135
- * Output from a task that returns JSON.
136
- */
137
- interface BetaTaskRunJsonOutput {
138
- /**
139
- * Basis for the output. To include per-list-element basis entries, send the
140
- * `parallel-beta` header with the value `field-basis-2025-11-25` when creating the
141
- * run.
142
- */
143
- basis: Array<TaskRunAPI.FieldBasis>;
144
- /**
145
- * Output from the task as a native JSON object, as determined by the output schema
146
- * of the task spec.
147
- */
148
- content: {
149
- [key: string]: unknown;
150
- };
151
- /**
152
- * The type of output being returned, as determined by the output schema of the
153
- * task spec.
154
- */
155
- type: 'json';
156
- /**
157
- * Always None.
158
- */
159
- beta_fields?: {
160
- [key: string]: unknown;
161
- } | null;
162
- /**
163
- * MCP tool calls made by the task.
164
- */
165
- mcp_tool_calls?: Array<BetaTaskRunAPI.McpToolCall> | null;
166
- /**
167
- * Output schema for the Task Run. Populated only if the task was executed with an
168
- * auto schema.
169
- */
170
- output_schema?: {
171
- [key: string]: unknown;
172
- } | null;
173
- }
174
- }
175
- /**
176
- * Event indicating an error.
177
- */
178
- export interface ErrorEvent {
179
- /**
180
- * Error.
181
- */
182
- error: Shared.ErrorObject;
183
- /**
184
- * Event type; always 'error'.
185
- */
186
- type: 'error';
187
- }
188
- /**
189
- * MCP server configuration.
190
- */
191
- export interface McpServer {
192
- /**
193
- * Name of the MCP server.
194
- */
195
- name: string;
196
- /**
197
- * URL of the MCP server.
198
- */
199
- url: string;
200
- /**
201
- * List of allowed tools for the MCP server.
202
- */
203
- allowed_tools?: Array<string> | null;
204
- /**
205
- * Headers for the MCP server.
206
- */
207
- headers?: {
208
- [key: string]: string;
209
- } | null;
210
- /**
211
- * Type of MCP server being configured. Always `url`.
212
- */
213
- type?: 'url';
214
- }
215
- /**
216
- * Result of an MCP tool call.
217
- */
218
- export interface McpToolCall {
219
- /**
220
- * Arguments used to call the MCP tool.
221
- */
222
- arguments: string;
223
- /**
224
- * Name of the MCP server.
225
- */
226
- server_name: string;
227
- /**
228
- * Identifier for the tool call.
229
- */
230
- tool_call_id: string;
231
- /**
232
- * Name of the tool being called.
233
- */
234
- tool_name: string;
235
- /**
236
- * Output received from the tool call, if successful.
237
- */
238
- content?: string | null;
239
- /**
240
- * Error message if the tool call failed.
241
- */
242
- error?: string | null;
48
+ result(runID: string, params?: TaskRunResultParams | null | undefined, options?: RequestOptions): APIPromise<TaskRunAPI.TaskRunResult>;
243
49
  }
244
50
  /**
245
51
  * Model for the parallel-beta header.
246
52
  */
247
53
  export type ParallelBeta = 'mcp-server-2025-07-17' | 'events-sse-2025-07-24' | 'webhook-2025-08-12' | 'findall-2025-09-15' | 'search-extract-2025-10-10' | 'field-basis-2025-11-25' | (string & {});
248
- /**
249
- * Event when a task run transitions to a non-active status.
250
- *
251
- * May indicate completion, cancellation, or failure.
252
- */
253
- export interface TaskRunEvent {
254
- /**
255
- * Cursor to resume the event stream. Always empty for non Task Group runs.
256
- */
257
- event_id: string | null;
258
- /**
259
- * Task run object.
260
- */
261
- run: TaskRunAPI.TaskRun;
262
- /**
263
- * Event type; always 'task_run.state'.
264
- */
265
- type: 'task_run.state';
266
- /**
267
- * Task run input with additional beta fields.
268
- */
269
- input?: BetaRunInput | null;
270
- /**
271
- * Output from the run; included only if requested and if status == `completed`.
272
- */
273
- output?: TaskRunAPI.TaskRunTextOutput | TaskRunAPI.TaskRunJsonOutput | null;
274
- }
275
- /**
276
- * Webhooks for Task Runs.
277
- */
278
- export interface Webhook {
279
- /**
280
- * URL for the webhook.
281
- */
282
- url: string;
283
- /**
284
- * Event types to send the webhook notifications for.
285
- */
286
- event_types?: Array<'task_run.status'>;
287
- }
288
54
  /**
289
55
  * A progress update for a task run.
290
56
  */
291
- export type TaskRunEventsResponse = TaskRunEventsResponse.TaskRunProgressStatsEvent | TaskRunEventsResponse.TaskRunProgressMessageEvent | TaskRunEvent | ErrorEvent;
57
+ export type TaskRunEventsResponse = TaskRunEventsResponse.TaskRunProgressStatsEvent | TaskRunEventsResponse.TaskRunProgressMessageEvent | TaskRunAPI.TaskRunEvent | TaskRunAPI.ErrorEvent;
292
58
  export declare namespace TaskRunEventsResponse {
293
59
  /**
294
60
  * A progress update for a task run.
@@ -345,6 +111,44 @@ export declare namespace TaskRunEventsResponse {
345
111
  type: 'task_run.progress_msg.plan' | 'task_run.progress_msg.search' | 'task_run.progress_msg.result' | 'task_run.progress_msg.tool_call' | 'task_run.progress_msg.exec_status';
346
112
  }
347
113
  }
114
+ /**
115
+ * @deprecated Use parallel.types.task_run.TaskRunInput instead
116
+ */
117
+ export type BetaRunInput = TaskRunAPI.RunInput;
118
+ /**
119
+ * @deprecated Use parallel.types.task_run.TaskRunResult instead
120
+ */
121
+ export type BetaTaskRunResult = TaskRunAPI.TaskRunResult;
122
+ /**
123
+ * Backwards-compatible namespace for `BetaTaskRunResult`.
124
+ * @deprecated Use `TaskRunJsonOutput` and `TaskRunTextOutput` from `task-run` instead.
125
+ */
126
+ export declare namespace BetaTaskRunResult {
127
+ /** @deprecated Use `TaskRunAPI.TaskRunTextOutput` instead */
128
+ type BetaTaskRunTextOutput = TaskRunAPI.TaskRunTextOutput;
129
+ /** @deprecated Use `TaskRunAPI.TaskRunJsonOutput` instead */
130
+ type BetaTaskRunJsonOutput = TaskRunAPI.TaskRunJsonOutput;
131
+ }
132
+ /**
133
+ * @deprecated Use parallel.types.task_run.Webhook instead
134
+ */
135
+ export type Webhook = TaskRunAPI.Webhook;
136
+ /**
137
+ * @deprecated Use parallel.types.task_run.McpServer instead
138
+ */
139
+ export type McpServer = TaskRunAPI.McpServer;
140
+ /**
141
+ * @deprecated Use parallel.types.task_run.McpToolCall instead
142
+ */
143
+ export type McpToolCall = TaskRunAPI.McpToolCall;
144
+ /**
145
+ * @deprecated Use parallel.types.task_run.TaskRunEvent instead
146
+ */
147
+ export type TaskRunEvent = TaskRunAPI.TaskRunEvent;
148
+ /**
149
+ * @deprecated Use parallel.types.task_run.ErrorEvent instead
150
+ */
151
+ export type ErrorEvent = TaskRunAPI.ErrorEvent;
348
152
  export interface TaskRunCreateParams {
349
153
  /**
350
154
  * Body param: Input to the task, either text or a JSON object.
@@ -356,23 +160,23 @@ export interface TaskRunCreateParams {
356
160
  * Body param: Processor to use for the task.
357
161
  */
358
162
  processor: string;
163
+ /**
164
+ * Body param: Advanced search configuration for a task run.
165
+ */
166
+ advanced_settings?: TaskRunCreateParams.AdvancedSettings | null;
359
167
  /**
360
168
  * Body param: Controls tracking of task run execution progress. When set to true,
361
169
  * progress events are recorded and can be accessed via the
362
- * [Task Run events](https://platform.parallel.ai/api-reference) endpoint. When
363
- * false, no progress events are tracked. Note that progress tracking cannot be
364
- * enabled after a run has been created. The flag is set to true by default for
365
- * premium processors (pro and above). To enable this feature in your requests,
366
- * specify `events-sse-2025-07-24` as one of the values in `parallel-beta` header
367
- * (for API calls) or `betas` param (for the SDKs).
170
+ * [Task Run events](https://docs.parallel.ai/api-reference) endpoint. When false,
171
+ * no progress events are tracked. Note that progress tracking cannot be enabled
172
+ * after a run has been created. The flag is set to true by default for premium
173
+ * processors (pro and above).
368
174
  */
369
175
  enable_events?: boolean | null;
370
176
  /**
371
- * Body param: Optional list of MCP servers to use for the run. To enable this
372
- * feature in your requests, specify `mcp-server-2025-07-17` as one of the values
373
- * in `parallel-beta` header (for API calls) or `betas` param (for the SDKs).
177
+ * Body param: Optional list of MCP servers to use for the run.
374
178
  */
375
- mcp_servers?: Array<McpServer> | null;
179
+ mcp_servers?: Array<TaskRunAPI.McpServer> | null;
376
180
  /**
377
181
  * Body param: User-provided metadata stored with the run. Keys and values must be
378
182
  * strings with a maximum length of 16 and 512 characters respectively.
@@ -380,6 +184,10 @@ export interface TaskRunCreateParams {
380
184
  metadata?: {
381
185
  [key: string]: string | number | boolean;
382
186
  } | null;
187
+ /**
188
+ * Body param: Interaction ID to use as context for this request.
189
+ */
190
+ previous_interaction_id?: string | null;
383
191
  /**
384
192
  * Body param: Source policy for web search results.
385
193
  *
@@ -398,12 +206,23 @@ export interface TaskRunCreateParams {
398
206
  /**
399
207
  * Body param: Webhooks for Task Runs.
400
208
  */
401
- webhook?: Webhook | null;
209
+ webhook?: TaskRunAPI.Webhook | null;
402
210
  /**
403
211
  * Header param: Optional header to specify the beta version(s) to enable.
404
212
  */
405
213
  betas?: Array<ParallelBeta>;
406
214
  }
215
+ export declare namespace TaskRunCreateParams {
216
+ /**
217
+ * Advanced search configuration for a task run.
218
+ */
219
+ interface AdvancedSettings {
220
+ /**
221
+ * ISO 3166-1 alpha-2 country code for geo-targeted search results.
222
+ */
223
+ location?: string | null;
224
+ }
225
+ }
407
226
  export interface TaskRunResultParams {
408
227
  /**
409
228
  * Query param
@@ -415,6 +234,6 @@ export interface TaskRunResultParams {
415
234
  betas?: Array<ParallelBeta>;
416
235
  }
417
236
  export declare namespace TaskRun {
418
- export { type BetaRunInput as BetaRunInput, type BetaTaskRunResult as BetaTaskRunResult, type ErrorEvent as ErrorEvent, type McpServer as McpServer, type McpToolCall as McpToolCall, type ParallelBeta as ParallelBeta, type TaskRunEvent as TaskRunEvent, type Webhook as Webhook, type TaskRunEventsResponse as TaskRunEventsResponse, type TaskRunCreateParams as TaskRunCreateParams, type TaskRunResultParams as TaskRunResultParams, };
237
+ export { type ParallelBeta as ParallelBeta, type TaskRunEventsResponse as TaskRunEventsResponse, type BetaRunInput as BetaRunInput, type BetaTaskRunResult as BetaTaskRunResult, type Webhook as Webhook, type McpServer as McpServer, type McpToolCall as McpToolCall, type TaskRunEvent as TaskRunEvent, type ErrorEvent as ErrorEvent, type TaskRunCreateParams as TaskRunCreateParams, type TaskRunResultParams as TaskRunResultParams, };
419
238
  }
420
239
  //# sourceMappingURL=task-run.d.mts.map
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