@cadenya/cadenya 0.41.0 → 0.43.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 (120) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +4 -4
  3. package/client.d.mts +17 -5
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +17 -5
  6. package/client.d.ts.map +1 -1
  7. package/client.js +11 -1
  8. package/client.js.map +1 -1
  9. package/client.mjs +12 -2
  10. package/client.mjs.map +1 -1
  11. package/internal/utils/env.js +2 -2
  12. package/internal/utils/env.js.map +1 -1
  13. package/internal/utils/env.mjs +2 -2
  14. package/internal/utils/env.mjs.map +1 -1
  15. package/package.json +4 -2
  16. package/resources/account.d.mts +38 -1
  17. package/resources/account.d.mts.map +1 -1
  18. package/resources/account.d.ts +38 -1
  19. package/resources/account.d.ts.map +1 -1
  20. package/resources/account.js +6 -0
  21. package/resources/account.js.map +1 -1
  22. package/resources/account.mjs +6 -0
  23. package/resources/account.mjs.map +1 -1
  24. package/resources/{agents/variations.d.ts → agent-variations.d.mts} +124 -49
  25. package/resources/agent-variations.d.mts.map +1 -0
  26. package/resources/{agents/variations.d.mts → agent-variations.d.ts} +124 -49
  27. package/resources/agent-variations.d.ts.map +1 -0
  28. package/resources/{agents/variations.js → agent-variations.js} +29 -8
  29. package/resources/agent-variations.js.map +1 -0
  30. package/resources/{agents/variations.mjs → agent-variations.mjs} +27 -6
  31. package/resources/agent-variations.mjs.map +1 -0
  32. package/resources/agents/agents.d.mts +2 -11
  33. package/resources/agents/agents.d.mts.map +1 -1
  34. package/resources/agents/agents.d.ts +2 -11
  35. package/resources/agents/agents.d.ts.map +1 -1
  36. package/resources/agents/agents.js +0 -4
  37. package/resources/agents/agents.js.map +1 -1
  38. package/resources/agents/agents.mjs +0 -4
  39. package/resources/agents/agents.mjs.map +1 -1
  40. package/resources/agents/index.d.mts +0 -1
  41. package/resources/agents/index.d.mts.map +1 -1
  42. package/resources/agents/index.d.ts +0 -1
  43. package/resources/agents/index.d.ts.map +1 -1
  44. package/resources/agents/index.js +1 -3
  45. package/resources/agents/index.js.map +1 -1
  46. package/resources/agents/index.mjs +0 -1
  47. package/resources/agents/index.mjs.map +1 -1
  48. package/resources/agents/webhook-deliveries.d.mts +2 -2
  49. package/resources/agents/webhook-deliveries.d.mts.map +1 -1
  50. package/resources/agents/webhook-deliveries.d.ts +2 -2
  51. package/resources/agents/webhook-deliveries.d.ts.map +1 -1
  52. package/resources/index.d.mts +4 -2
  53. package/resources/index.d.mts.map +1 -1
  54. package/resources/index.d.ts +4 -2
  55. package/resources/index.d.ts.map +1 -1
  56. package/resources/index.js +5 -1
  57. package/resources/index.js.map +1 -1
  58. package/resources/index.mjs +3 -1
  59. package/resources/index.mjs.map +1 -1
  60. package/resources/objectives/feedback.d.mts +6 -6
  61. package/resources/objectives/feedback.d.ts +6 -6
  62. package/resources/objectives/index.d.mts +1 -1
  63. package/resources/objectives/index.d.mts.map +1 -1
  64. package/resources/objectives/index.d.ts +1 -1
  65. package/resources/objectives/index.d.ts.map +1 -1
  66. package/resources/objectives/index.js.map +1 -1
  67. package/resources/objectives/index.mjs.map +1 -1
  68. package/resources/objectives/objectives.d.mts +43 -3
  69. package/resources/objectives/objectives.d.mts.map +1 -1
  70. package/resources/objectives/objectives.d.ts +43 -3
  71. package/resources/objectives/objectives.d.ts.map +1 -1
  72. package/resources/objectives/objectives.js +7 -0
  73. package/resources/objectives/objectives.js.map +1 -1
  74. package/resources/objectives/objectives.mjs +7 -0
  75. package/resources/objectives/objectives.mjs.map +1 -1
  76. package/resources/objectives/tasks.d.mts +6 -6
  77. package/resources/objectives/tasks.d.ts +6 -6
  78. package/resources/objectives/tool-calls.d.mts +1 -0
  79. package/resources/objectives/tool-calls.d.mts.map +1 -1
  80. package/resources/objectives/tool-calls.d.ts +1 -0
  81. package/resources/objectives/tool-calls.d.ts.map +1 -1
  82. package/resources/objectives/tools.d.mts +6 -6
  83. package/resources/objectives/tools.d.ts +6 -6
  84. package/resources/shared.d.mts +13 -7
  85. package/resources/shared.d.mts.map +1 -1
  86. package/resources/shared.d.ts +13 -7
  87. package/resources/shared.d.ts.map +1 -1
  88. package/resources/webhooks.d.mts +116 -0
  89. package/resources/webhooks.d.mts.map +1 -0
  90. package/resources/webhooks.d.ts +116 -0
  91. package/resources/webhooks.d.ts.map +1 -0
  92. package/resources/webhooks.js +23 -0
  93. package/resources/webhooks.js.map +1 -0
  94. package/resources/webhooks.mjs +19 -0
  95. package/resources/webhooks.mjs.map +1 -0
  96. package/src/client.ts +84 -1
  97. package/src/internal/utils/env.ts +2 -2
  98. package/src/resources/account.ts +44 -0
  99. package/src/resources/{agents/variations.ts → agent-variations.ts} +175 -64
  100. package/src/resources/agents/agents.ts +2 -50
  101. package/src/resources/agents/index.ts +0 -19
  102. package/src/resources/agents/webhook-deliveries.ts +4 -2
  103. package/src/resources/index.ts +35 -1
  104. package/src/resources/objectives/feedback.ts +6 -6
  105. package/src/resources/objectives/index.ts +3 -0
  106. package/src/resources/objectives/objectives.ts +59 -2
  107. package/src/resources/objectives/tasks.ts +6 -6
  108. package/src/resources/objectives/tool-calls.ts +7 -0
  109. package/src/resources/objectives/tools.ts +6 -6
  110. package/src/resources/shared.ts +14 -7
  111. package/src/resources/webhooks.ts +156 -0
  112. package/src/version.ts +1 -1
  113. package/version.d.mts +1 -1
  114. package/version.d.ts +1 -1
  115. package/version.js +1 -1
  116. package/version.mjs +1 -1
  117. package/resources/agents/variations.d.mts.map +0 -1
  118. package/resources/agents/variations.d.ts.map +0 -1
  119. package/resources/agents/variations.js.map +0 -1
  120. package/resources/agents/variations.mjs.map +0 -1
@@ -3,9 +3,9 @@
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as ObjectivesAPI from './objectives';
5
5
  import * as AccountAPI from '../account';
6
+ import * as AgentVariationsAPI from '../agent-variations';
6
7
  import * as Shared from '../shared';
7
8
  import * as AgentsAPI from '../agents/agents';
8
- import * as VariationsAPI from '../agents/variations';
9
9
  import * as FeedbackAPI from './feedback';
10
10
  import {
11
11
  Feedback,
@@ -81,6 +81,18 @@ export class Objectives extends APIResource {
81
81
  return this._client.post(path`/v1/objectives/${objectiveID}/cancel`, { body, ...options });
82
82
  }
83
83
 
84
+ /**
85
+ * Triggers compaction on a running objective. Optionally override the variation's
86
+ * compaction config.
87
+ */
88
+ compact(
89
+ objectiveID: string,
90
+ body: ObjectiveCompactParams,
91
+ options?: RequestOptions,
92
+ ): APIPromise<ObjectiveCompactResponse> {
93
+ return this._client.post(path`/v1/objectives/${objectiveID}/compact`, { body, ...options });
94
+ }
95
+
84
96
  /**
85
97
  * Continues an objective that has completed
86
98
  */
@@ -173,6 +185,28 @@ export interface CallableTool {
173
185
  tool?: Shared.ResourceMetadata;
174
186
  }
175
187
 
188
+ export interface ContextWindowCompacted {
189
+ /**
190
+ * Number of messages that were compacted
191
+ */
192
+ messagesCompacted?: number;
193
+
194
+ /**
195
+ * The new context window created by this compaction
196
+ */
197
+ newContextWindow?: ObjectiveContextWindowData;
198
+
199
+ /**
200
+ * The strategies that were applied during this compaction
201
+ */
202
+ strategies?: Array<string>;
203
+
204
+ /**
205
+ * The summary generated by the summarization strategy, if used.
206
+ */
207
+ summary?: string;
208
+ }
209
+
176
210
  export interface Objective {
177
211
  data: ObjectiveData;
178
212
 
@@ -302,7 +336,7 @@ export interface ObjectiveData {
302
336
  /**
303
337
  * AgentVariation resource
304
338
  */
305
- variation?: VariationsAPI.AgentVariation;
339
+ variation?: AgentVariationsAPI.AgentVariation;
306
340
  }
307
341
 
308
342
  export interface ObjectiveDataSecret {
@@ -320,6 +354,8 @@ export interface ObjectiveError {
320
354
  export interface ObjectiveEventData {
321
355
  assistantMessage?: AssistantMessage;
322
356
 
357
+ contextWindowCompacted?: ContextWindowCompacted;
358
+
323
359
  error?: ObjectiveError;
324
360
 
325
361
  subObjectiveCreated?: SubObjectiveCreated;
@@ -541,6 +577,16 @@ export interface UserMessage {
541
577
  content?: string;
542
578
  }
543
579
 
580
+ /**
581
+ * Compact objective response
582
+ */
583
+ export interface ObjectiveCompactResponse {
584
+ /**
585
+ * The new context window created by the compaction
586
+ */
587
+ contextWindow?: ObjectiveContextWindowData;
588
+ }
589
+
544
590
  export interface ObjectiveContinueResponse {
545
591
  data: ObjectiveEventData;
546
592
 
@@ -630,6 +676,14 @@ export interface ObjectiveCancelParams {
630
676
  reason?: string;
631
677
  }
632
678
 
679
+ export interface ObjectiveCompactParams {
680
+ /**
681
+ * CompactionConfig defines how context window compaction behaves for objectives
682
+ * using this variation.
683
+ */
684
+ compactionConfig?: AgentVariationsAPI.AgentVariationSpecCompactionConfig;
685
+ }
686
+
633
687
  export interface ObjectiveContinueParams {
634
688
  /**
635
689
  * When set to true, the message will be enqueued for when the agent loop is
@@ -691,6 +745,7 @@ export declare namespace Objectives {
691
745
  type AssistantMessage as AssistantMessage,
692
746
  type AssistantToolCall as AssistantToolCall,
693
747
  type CallableTool as CallableTool,
748
+ type ContextWindowCompacted as ContextWindowCompacted,
694
749
  type Objective as Objective,
695
750
  type ObjectiveContextWindow as ObjectiveContextWindow,
696
751
  type ObjectiveContextWindowData as ObjectiveContextWindowData,
@@ -710,6 +765,7 @@ export declare namespace Objectives {
710
765
  type ToolError as ToolError,
711
766
  type ToolResult as ToolResult,
712
767
  type UserMessage as UserMessage,
768
+ type ObjectiveCompactResponse as ObjectiveCompactResponse,
713
769
  type ObjectiveContinueResponse as ObjectiveContinueResponse,
714
770
  type ObjectiveListEventsResponse as ObjectiveListEventsResponse,
715
771
  type ObjectivesCursorPagination as ObjectivesCursorPagination,
@@ -718,6 +774,7 @@ export declare namespace Objectives {
718
774
  type ObjectiveCreateParams as ObjectiveCreateParams,
719
775
  type ObjectiveListParams as ObjectiveListParams,
720
776
  type ObjectiveCancelParams as ObjectiveCancelParams,
777
+ type ObjectiveCompactParams as ObjectiveCompactParams,
721
778
  type ObjectiveContinueParams as ObjectiveContinueParams,
722
779
  type ObjectiveListContextWindowsParams as ObjectiveListContextWindowsParams,
723
780
  type ObjectiveListEventsParams as ObjectiveListEventsParams,
@@ -42,12 +42,12 @@ export interface ObjectiveTask {
42
42
  data: ObjectiveTaskData;
43
43
 
44
44
  /**
45
- * BareMetadata contains the minimal metadata for a resource, including the ID.
46
- * These are used sparingly in Cadenya for resources where the full metadata is not
47
- * needed. You will come across them in list responses and other places where the
48
- * full metadata is not required like listing the tools that were assigned to an
49
- * objective. Because these types records are commonly created by other processes
50
- * in Cadenya, they do not have things like external IDs, labels, or names.
45
+ * BareMetadata contains the minimal metadata for a resource: the ID and an
46
+ * optional human-readable name. These are used for reference fields where the full
47
+ * metadata (account scoping, timestamps, labels, external IDs) is not needed
48
+ * e.g., the tool references inside an agent variation spec or the tools assigned
49
+ * to an objective. Both fields are server-populated; clients provide IDs through
50
+ * sibling fields rather than by constructing a BareMetadata themselves.
51
51
  */
52
52
  metadata: Shared.BareMetadata;
53
53
  }
@@ -85,6 +85,13 @@ export interface ObjectiveToolCall {
85
85
  | 'TOOL_CALL_STATUS_APPROVED'
86
86
  | 'TOOL_CALL_STATUS_DENIED';
87
87
 
88
+ executionStatus?:
89
+ | 'TOOL_CALL_EXECUTION_STATUS_UNSPECIFIED'
90
+ | 'TOOL_CALL_EXECUTION_STATUS_PENDING'
91
+ | 'TOOL_CALL_EXECUTION_STATUS_RUNNING'
92
+ | 'TOOL_CALL_EXECUTION_STATUS_COMPLETED'
93
+ | 'TOOL_CALL_EXECUTION_STATUS_ERRORED';
94
+
88
95
  info?: ObjectiveToolCallInfo;
89
96
  }
90
97
 
@@ -31,12 +31,12 @@ export type ObjectiveToolsCursorPagination = CursorPagination<ObjectiveTool>;
31
31
  */
32
32
  export interface ObjectiveTool {
33
33
  /**
34
- * BareMetadata contains the minimal metadata for a resource, including the ID.
35
- * These are used sparingly in Cadenya for resources where the full metadata is not
36
- * needed. You will come across them in list responses and other places where the
37
- * full metadata is not required like listing the tools that were assigned to an
38
- * objective. Because these types records are commonly created by other processes
39
- * in Cadenya, they do not have things like external IDs, labels, or names.
34
+ * BareMetadata contains the minimal metadata for a resource: the ID and an
35
+ * optional human-readable name. These are used for reference fields where the full
36
+ * metadata (account scoping, timestamps, labels, external IDs) is not needed
37
+ * e.g., the tool references inside an agent variation spec or the tools assigned
38
+ * to an objective. Both fields are server-populated; clients provide IDs through
39
+ * sibling fields rather than by constructing a BareMetadata themselves.
40
40
  */
41
41
  metadata: Shared.BareMetadata;
42
42
 
@@ -36,15 +36,22 @@ export interface AccountResourceMetadata {
36
36
  }
37
37
 
38
38
  /**
39
- * BareMetadata contains the minimal metadata for a resource, including the ID.
40
- * These are used sparingly in Cadenya for resources where the full metadata is not
41
- * needed. You will come across them in list responses and other places where the
42
- * full metadata is not required like listing the tools that were assigned to an
43
- * objective. Because these types records are commonly created by other processes
44
- * in Cadenya, they do not have things like external IDs, labels, or names.
39
+ * BareMetadata contains the minimal metadata for a resource: the ID and an
40
+ * optional human-readable name. These are used for reference fields where the full
41
+ * metadata (account scoping, timestamps, labels, external IDs) is not needed
42
+ * e.g., the tool references inside an agent variation spec or the tools assigned
43
+ * to an objective. Both fields are server-populated; clients provide IDs through
44
+ * sibling fields rather than by constructing a BareMetadata themselves.
45
45
  */
46
46
  export interface BareMetadata {
47
- id: string;
47
+ id?: string;
48
+
49
+ /**
50
+ * Human-readable name of the referenced resource, populated by the server on reads
51
+ * for convenience. Absent on references to resources that do not have a name
52
+ * (e.g., objective tasks).
53
+ */
54
+ name?: string;
48
55
  }
49
56
 
50
57
  /**
@@ -0,0 +1,156 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import * as Shared from './shared';
5
+ import * as ObjectivesAPI from './objectives/objectives';
6
+ import { Webhook } from 'standardwebhooks';
7
+
8
+ export class Webhooks extends APIResource {
9
+ unsafeUnwrap(body: string): UnsafeUnwrapWebhookEvent {
10
+ return JSON.parse(body) as UnsafeUnwrapWebhookEvent;
11
+ }
12
+
13
+ unwrap(
14
+ body: string,
15
+ { headers, key }: { headers: Record<string, string>; key?: string },
16
+ ): UnwrapWebhookEvent {
17
+ if (headers !== undefined) {
18
+ const keyStr: string | null = key === undefined ? this._client.webhookKey : key;
19
+ if (keyStr === null) throw new Error('Webhook key must not be null in order to unwrap');
20
+ const wh = new Webhook(keyStr);
21
+ wh.verify(body, headers);
22
+ }
23
+ return JSON.parse(body) as UnwrapWebhookEvent;
24
+ }
25
+ }
26
+
27
+ /**
28
+ * The envelope for an objective event webhook delivery. Contains timestamp, event
29
+ * type, and the webhook data payload.
30
+ */
31
+ export interface UnsafeUnwrapWebhookEvent {
32
+ /**
33
+ * The webhook data payload with flat top-level keys for agent, variation,
34
+ * objective, and event.
35
+ */
36
+ data: UnsafeUnwrapWebhookEvent.Data;
37
+
38
+ timestamp: string;
39
+
40
+ /**
41
+ * The event type, prefixed with objective_event. (e.g.,
42
+ * objective_event.tool_result)
43
+ */
44
+ type: string;
45
+ }
46
+
47
+ export namespace UnsafeUnwrapWebhookEvent {
48
+ /**
49
+ * The webhook data payload with flat top-level keys for agent, variation,
50
+ * objective, and event.
51
+ */
52
+ export interface Data {
53
+ /**
54
+ * Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
55
+ */
56
+ agent: Shared.ResourceMetadata;
57
+
58
+ /**
59
+ * Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
60
+ */
61
+ agentVariation: Shared.ResourceMetadata;
62
+
63
+ /**
64
+ * Metadata for ephemeral operations and activities (e.g., objectives, executions,
65
+ * runs)
66
+ */
67
+ objective: Shared.OperationMetadata;
68
+
69
+ objectiveEvent: Data.ObjectiveEvent;
70
+ }
71
+
72
+ export namespace Data {
73
+ export interface ObjectiveEvent {
74
+ data: ObjectivesAPI.ObjectiveEventData;
75
+
76
+ /**
77
+ * Metadata for ephemeral operations and activities (e.g., objectives, executions,
78
+ * runs)
79
+ */
80
+ metadata: Shared.OperationMetadata;
81
+
82
+ contextWindowId?: string;
83
+
84
+ info?: ObjectivesAPI.ObjectiveEventInfo;
85
+ }
86
+ }
87
+ }
88
+
89
+ /**
90
+ * The envelope for an objective event webhook delivery. Contains timestamp, event
91
+ * type, and the webhook data payload.
92
+ */
93
+ export interface UnwrapWebhookEvent {
94
+ /**
95
+ * The webhook data payload with flat top-level keys for agent, variation,
96
+ * objective, and event.
97
+ */
98
+ data: UnwrapWebhookEvent.Data;
99
+
100
+ timestamp: string;
101
+
102
+ /**
103
+ * The event type, prefixed with objective_event. (e.g.,
104
+ * objective_event.tool_result)
105
+ */
106
+ type: string;
107
+ }
108
+
109
+ export namespace UnwrapWebhookEvent {
110
+ /**
111
+ * The webhook data payload with flat top-level keys for agent, variation,
112
+ * objective, and event.
113
+ */
114
+ export interface Data {
115
+ /**
116
+ * Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
117
+ */
118
+ agent: Shared.ResourceMetadata;
119
+
120
+ /**
121
+ * Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
122
+ */
123
+ agentVariation: Shared.ResourceMetadata;
124
+
125
+ /**
126
+ * Metadata for ephemeral operations and activities (e.g., objectives, executions,
127
+ * runs)
128
+ */
129
+ objective: Shared.OperationMetadata;
130
+
131
+ objectiveEvent: Data.ObjectiveEvent;
132
+ }
133
+
134
+ export namespace Data {
135
+ export interface ObjectiveEvent {
136
+ data: ObjectivesAPI.ObjectiveEventData;
137
+
138
+ /**
139
+ * Metadata for ephemeral operations and activities (e.g., objectives, executions,
140
+ * runs)
141
+ */
142
+ metadata: Shared.OperationMetadata;
143
+
144
+ contextWindowId?: string;
145
+
146
+ info?: ObjectivesAPI.ObjectiveEventInfo;
147
+ }
148
+ }
149
+ }
150
+
151
+ export declare namespace Webhooks {
152
+ export {
153
+ type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent,
154
+ type UnwrapWebhookEvent as UnwrapWebhookEvent,
155
+ };
156
+ }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.41.0'; // x-release-please-version
1
+ export const VERSION = '0.43.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.41.0";
1
+ export declare const VERSION = "0.43.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.41.0";
1
+ export declare const VERSION = "0.43.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.41.0'; // x-release-please-version
4
+ exports.VERSION = '0.43.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.41.0'; // x-release-please-version
1
+ export const VERSION = '0.43.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variations.d.mts","sourceRoot":"","sources":["../../src/resources/agents/variations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAE9D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI1G;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC;IAK7B;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,E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