managed-deepagents 0.1.0 → 0.3.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 (75) hide show
  1. package/dist/connectors/langsmith.d.ts +385 -0
  2. package/dist/connectors/langsmith.d.ts.map +1 -0
  3. package/dist/connectors/langsmith.js +431 -0
  4. package/dist/connectors/langsmith.js.map +1 -0
  5. package/dist/connectors.d.ts +7 -2
  6. package/dist/connectors.d.ts.map +1 -1
  7. package/dist/connectors.js +18 -1
  8. package/dist/connectors.js.map +1 -1
  9. package/dist/identity/index.d.ts +88 -0
  10. package/dist/identity/index.d.ts.map +1 -0
  11. package/dist/identity/index.js +303 -0
  12. package/dist/identity/index.js.map +1 -0
  13. package/dist/identity/supabase.d.ts +48 -0
  14. package/dist/identity/supabase.d.ts.map +1 -0
  15. package/dist/identity/supabase.js +139 -0
  16. package/dist/identity/supabase.js.map +1 -0
  17. package/dist/identity/types.d.ts +185 -0
  18. package/dist/identity/types.d.ts.map +1 -0
  19. package/dist/identity/types.js +8 -0
  20. package/dist/identity/types.js.map +1 -0
  21. package/dist/index.d.ts +5 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +2 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/runtime/auth.d.ts +56 -0
  26. package/dist/runtime/auth.d.ts.map +1 -0
  27. package/dist/runtime/auth.js +204 -0
  28. package/dist/runtime/auth.js.map +1 -0
  29. package/dist/runtime/connector.d.ts +138 -0
  30. package/dist/runtime/connector.d.ts.map +1 -0
  31. package/dist/runtime/connector.js +82 -0
  32. package/dist/runtime/connector.js.map +1 -0
  33. package/dist/runtime/credentials.d.ts +68 -0
  34. package/dist/runtime/credentials.d.ts.map +1 -0
  35. package/dist/runtime/credentials.js +212 -0
  36. package/dist/runtime/credentials.js.map +1 -0
  37. package/dist/runtime/identity-http.d.ts +27 -0
  38. package/dist/runtime/identity-http.d.ts.map +1 -0
  39. package/dist/runtime/identity-http.js +159 -0
  40. package/dist/runtime/identity-http.js.map +1 -0
  41. package/dist/runtime/identity-runtime.d.ts +54 -0
  42. package/dist/runtime/identity-runtime.d.ts.map +1 -0
  43. package/dist/runtime/identity-runtime.js +151 -0
  44. package/dist/runtime/identity-runtime.js.map +1 -0
  45. package/dist/runtime/index.d.ts +14 -1
  46. package/dist/runtime/index.d.ts.map +1 -1
  47. package/dist/runtime/index.js +114 -68
  48. package/dist/runtime/index.js.map +1 -1
  49. package/dist/runtime/langsmith-connector.d.ts +247 -0
  50. package/dist/runtime/langsmith-connector.d.ts.map +1 -0
  51. package/dist/runtime/langsmith-connector.js +1175 -0
  52. package/dist/runtime/langsmith-connector.js.map +1 -0
  53. package/dist/runtime/managed-middleware.d.ts +25 -0
  54. package/dist/runtime/managed-middleware.d.ts.map +1 -0
  55. package/dist/runtime/managed-middleware.js +76 -0
  56. package/dist/runtime/managed-middleware.js.map +1 -0
  57. package/dist/runtime/managed-tools.d.ts +61 -0
  58. package/dist/runtime/managed-tools.d.ts.map +1 -0
  59. package/dist/runtime/managed-tools.js +102 -0
  60. package/dist/runtime/managed-tools.js.map +1 -0
  61. package/dist/runtime/sandbox-manager.d.ts +3 -2
  62. package/dist/runtime/sandbox-manager.d.ts.map +1 -1
  63. package/dist/runtime/sandbox-manager.js.map +1 -1
  64. package/dist/runtime/setup-script.d.ts +4 -7
  65. package/dist/runtime/setup-script.d.ts.map +1 -1
  66. package/dist/runtime/setup-script.js.map +1 -1
  67. package/dist/runtime/types.d.ts +23 -21
  68. package/dist/runtime/types.d.ts.map +1 -1
  69. package/dist/runtime/validated-token.d.ts +53 -0
  70. package/dist/runtime/validated-token.d.ts.map +1 -0
  71. package/dist/runtime/validated-token.js +411 -0
  72. package/dist/runtime/validated-token.js.map +1 -0
  73. package/dist/types.d.ts +15 -0
  74. package/dist/types.d.ts.map +1 -1
  75. package/package.json +12 -8
@@ -0,0 +1,385 @@
1
+ /**
2
+ * LangSmith connector — authoring surface.
3
+ *
4
+ * A capability-delegation layer for *external / untrusted* callers (browsers,
5
+ * channels, schedules). The deployment declares a small set of constrained
6
+ * LangSmith capabilities; MDA performs them server-side with the workspace key
7
+ * and returns allowlisted responses. The browser never receives
8
+ * `LANGSMITH_API_KEY`.
9
+ *
10
+ * This module is authoring-only: typed per-resource builders + presets that
11
+ * compile to grants, plus eager validation. The runtime enforcement engine lives
12
+ * in `runtime/langsmith-connector.ts` and is mounted synchronously by the
13
+ * connector's `http` hook so routes register before LangGraph captures the
14
+ * custom HTTP app.
15
+ */
16
+ import { type Connector } from "../runtime/connector.js";
17
+ /** External caller surfaces, mapped onto identity ingress / `source.provider`. */
18
+ export type LangSmithCallerSurface = "browser" | "trusted_backend" | "channel" | "schedule";
19
+ /** Ownership scope MDA proves from `runtime.identity` before the operation. */
20
+ export type LangSmithCapabilityScope = "agent" | "tenant" | "actor" | "thread" | "run";
21
+ /** LangSmith resource families the connector can delegate. */
22
+ export type LangSmithResource = "runs" | "threads" | "feedback" | "datasets" | "examples" | "annotation_queues" | "annotations" | "experiments" | "prompts" | "projects";
23
+ /** Response shaping for a capability (allowlist first, redact as backstop). */
24
+ export interface LangSmithResponseShape {
25
+ include?: string[];
26
+ redact?: string[];
27
+ }
28
+ /** A compiled capability grant. Builders and presets produce these. */
29
+ export interface LangSmithCapability {
30
+ id: string;
31
+ exposeTo: LangSmithCallerSurface[];
32
+ resource: LangSmithResource;
33
+ actions: string[];
34
+ scope: LangSmithCapabilityScope;
35
+ constraints?: Record<string, unknown>;
36
+ response?: LangSmithResponseShape;
37
+ /** Explicit acknowledgement required to include per-resource sensitive fields. */
38
+ allowSensitive?: string[];
39
+ }
40
+ /** The raw connector config the builders sugar over. */
41
+ export interface LangSmithConnectorConfig {
42
+ capabilities: LangSmithCapability[];
43
+ }
44
+ /**
45
+ * Options for a {@link runs} capability grant.
46
+ *
47
+ * Default response shaping (when `include` / `redact` are omitted):
48
+ * include `id`, `status`, `start_time`, `end_time`, `url`, `metadata`;
49
+ * redact `inputs`, `outputs`, `events`.
50
+ */
51
+ export interface RunsCapabilityOptions {
52
+ /** Stable capability id used in `POST .../capabilities/{id}`. */
53
+ id: string;
54
+ /** Caller surfaces allowed to invoke this grant. */
55
+ exposeTo: LangSmithCallerSurface[];
56
+ /** Allowed run operations. */
57
+ actions: Array<"read" | "share">;
58
+ /** Ownership boundary proven from `runtime.identity` before the call. */
59
+ scope: LangSmithCapabilityScope;
60
+ /** Response field allowlist (defaults to the browser-safe runs profile). */
61
+ include?: string[];
62
+ /** Fields stripped even if listed in `include` (defaults to sensitive runs fields). */
63
+ redact?: string[];
64
+ /**
65
+ * Explicit opt-in required to include sensitive run fields (`inputs`,
66
+ * `outputs`, `events`) when `exposeTo` includes `browser`.
67
+ */
68
+ allowSensitive?: string[];
69
+ }
70
+ /**
71
+ * Build a `runs` capability grant (`read` / `share`).
72
+ *
73
+ * Use for redacted trace summaries and share links. Prefer {@link traceViewer}
74
+ * when the default browser surface is enough.
75
+ *
76
+ * @param options - Grant id, surfaces, actions, scope, and optional response shaping.
77
+ * @returns A compiled {@link LangSmithCapability} for the `runs` resource.
78
+ *
79
+ * @example
80
+ * ```ts
81
+ * langsmith.runs({
82
+ * id: "app:run-summary",
83
+ * exposeTo: ["browser"],
84
+ * actions: ["read", "share"],
85
+ * scope: "thread",
86
+ * })
87
+ * ```
88
+ */
89
+ export declare function runs(options: RunsCapabilityOptions): LangSmithCapability;
90
+ /**
91
+ * Options for a {@link feedback} capability grant.
92
+ *
93
+ * Default response include (when omitted): `id`, `run_id`, `key`, `score`,
94
+ * `created_at`. Default scope: `run`.
95
+ */
96
+ export interface FeedbackCapabilityOptions {
97
+ /** Stable capability id used in `POST .../capabilities/{id}`. */
98
+ id: string;
99
+ /** Caller surfaces allowed to invoke this grant. */
100
+ exposeTo: LangSmithCallerSurface[];
101
+ /** Allowed feedback operations. */
102
+ actions: Array<"create" | "update" | "delete">;
103
+ /** Ownership boundary; defaults to `run`. */
104
+ scope?: LangSmithCapabilityScope;
105
+ /** Allowlisted feedback keys (e.g. `user_score`). Required. */
106
+ keys: string[];
107
+ /** Allowlisted score/value labels when feedback is categorical. */
108
+ scores?: string[];
109
+ /** Maximum comment length in characters. */
110
+ maxCommentChars?: number;
111
+ /** When true, each actor may submit at most one feedback row per run. */
112
+ onePerActor?: boolean;
113
+ /** Response field allowlist (defaults to the browser-safe feedback profile). */
114
+ include?: string[];
115
+ }
116
+ /**
117
+ * Build a `feedback` capability grant (`create` / `update` / `delete`).
118
+ *
119
+ * Constrains keys, optional categorical scores, comment length, and
120
+ * per-actor uniqueness. Prefer {@link chatFeedback} for the common browser
121
+ * thumbs-up/down + dataset capture surface.
122
+ *
123
+ * @param options - Grant id, surfaces, actions, key/score constraints, and shaping.
124
+ * @returns A compiled {@link LangSmithCapability} for the `feedback` resource.
125
+ *
126
+ * @example
127
+ * ```ts
128
+ * langsmith.feedback({
129
+ * id: "app:user-score",
130
+ * exposeTo: ["browser"],
131
+ * actions: ["create", "update", "delete"],
132
+ * scope: "run",
133
+ * keys: ["user_score"],
134
+ * scores: ["positive", "negative"],
135
+ * onePerActor: true,
136
+ * })
137
+ * ```
138
+ */
139
+ export declare function feedback(options: FeedbackCapabilityOptions): LangSmithCapability;
140
+ /**
141
+ * Options for an {@link examples} capability grant.
142
+ *
143
+ * Default response include (when omitted): `id`, `dataset_id`, `created_at`.
144
+ * Default scope: `thread`.
145
+ */
146
+ export interface ExamplesCapabilityOptions {
147
+ /** Stable capability id used in `POST .../capabilities/{id}`. */
148
+ id: string;
149
+ /** Caller surfaces allowed to invoke this grant. */
150
+ exposeTo: LangSmithCallerSurface[];
151
+ /** Allowed example operations (currently `create` only). */
152
+ actions: Array<"create">;
153
+ /** Ownership boundary; defaults to `thread`. */
154
+ scope?: LangSmithCapabilityScope;
155
+ /** Target LangSmith dataset name (server-side; not chosen by the client). */
156
+ dataset: string;
157
+ /** Allowlisted top-level fields the client may send on create. */
158
+ allowedFields?: string[];
159
+ /** Cap on examples created per thread for this grant. */
160
+ maxExamplesPerThread?: number;
161
+ /** Response field allowlist (defaults to the browser-safe examples profile). */
162
+ include?: string[];
163
+ }
164
+ /**
165
+ * Build an `examples` capability grant (`create` into a fixed dataset).
166
+ *
167
+ * The dataset name is fixed in the grant so callers cannot write to arbitrary
168
+ * datasets. Prefer {@link chatFeedback} when pairing with run feedback.
169
+ *
170
+ * @param options - Grant id, surfaces, dataset, and optional field/thread caps.
171
+ * @returns A compiled {@link LangSmithCapability} for the `examples` resource.
172
+ *
173
+ * @example
174
+ * ```ts
175
+ * langsmith.examples({
176
+ * id: "app:capture-thread",
177
+ * exposeTo: ["browser"],
178
+ * actions: ["create"],
179
+ * scope: "thread",
180
+ * dataset: "public-feedback",
181
+ * allowedFields: ["messages", "answer", "feedback", "source"],
182
+ * })
183
+ * ```
184
+ */
185
+ export declare function examples(options: ExamplesCapabilityOptions): LangSmithCapability;
186
+ /**
187
+ * Options for an {@link annotationQueues} capability grant.
188
+ *
189
+ * Enqueue is a write with no readable body; the response include is fixed to
190
+ * `["id"]`. Default scope: `run`.
191
+ */
192
+ export interface AnnotationQueuesCapabilityOptions {
193
+ /** Stable capability id used in `POST .../capabilities/{id}`. */
194
+ id: string;
195
+ /** Caller surfaces allowed to invoke this grant. */
196
+ exposeTo: LangSmithCallerSurface[];
197
+ /** Allowed queue operations (currently `enqueue_run` only). */
198
+ actions: Array<"enqueue_run">;
199
+ /** Ownership boundary; defaults to `run`. */
200
+ scope?: LangSmithCapabilityScope;
201
+ /** Target annotation queue id/name (server-side; not chosen by the client). */
202
+ queue: string;
203
+ /** Allowlisted priority labels when the client may set priority. */
204
+ allowedPriorities?: string[];
205
+ /** Maximum note length in characters. */
206
+ maxNoteChars?: number;
207
+ }
208
+ /**
209
+ * Build an `annotation_queues` capability grant (`enqueue_run` into a fixed queue).
210
+ *
211
+ * The queue is fixed in the grant so callers cannot enqueue into arbitrary
212
+ * queues.
213
+ *
214
+ * @param options - Grant id, surfaces, queue, and optional priority/note limits.
215
+ * @returns A compiled {@link LangSmithCapability} for the `annotation_queues` resource.
216
+ *
217
+ * @example
218
+ * ```ts
219
+ * langsmith.annotationQueues({
220
+ * id: "app:enqueue-review",
221
+ * exposeTo: ["trusted_backend"],
222
+ * actions: ["enqueue_run"],
223
+ * scope: "run",
224
+ * queue: "human-review",
225
+ * })
226
+ * ```
227
+ */
228
+ export declare function annotationQueues(options: AnnotationQueuesCapabilityOptions): LangSmithCapability;
229
+ /**
230
+ * Options for a {@link prompts} capability grant.
231
+ *
232
+ * Default response shaping (when omitted): include `name`, `commit_hash`,
233
+ * `updated_at`; redact `content`, `messages`. Default scope: `agent`.
234
+ */
235
+ export interface PromptsCapabilityOptions {
236
+ /** Stable capability id used in `POST .../capabilities/{id}`. */
237
+ id: string;
238
+ /** Caller surfaces allowed to invoke this grant. */
239
+ exposeTo: LangSmithCallerSurface[];
240
+ /** Allowed prompt operations (currently `read_metadata` only). */
241
+ actions: Array<"read_metadata">;
242
+ /** Ownership boundary; defaults to `agent`. */
243
+ scope?: LangSmithCapabilityScope;
244
+ /** Response field allowlist (defaults to the browser-safe prompts profile). */
245
+ include?: string[];
246
+ /** Fields stripped even if listed in `include` (defaults to prompt content). */
247
+ redact?: string[];
248
+ }
249
+ /**
250
+ * Build a `prompts` capability grant (`read_metadata`).
251
+ *
252
+ * Returns prompt metadata only by default; prompt body fields stay redacted.
253
+ *
254
+ * @param options - Grant id, surfaces, and optional response shaping.
255
+ * @returns A compiled {@link LangSmithCapability} for the `prompts` resource.
256
+ *
257
+ * @example
258
+ * ```ts
259
+ * langsmith.prompts({
260
+ * id: "app:prompt-meta",
261
+ * exposeTo: ["browser"],
262
+ * actions: ["read_metadata"],
263
+ * scope: "agent",
264
+ * })
265
+ * ```
266
+ */
267
+ export declare function prompts(options: PromptsCapabilityOptions): LangSmithCapability;
268
+ /**
269
+ * Options for a {@link threads} capability grant.
270
+ *
271
+ * Default response shaping (when omitted): include `thread_id`, `created_at`,
272
+ * `metadata.title`; redact `messages`, `values`. Default scope: `actor`.
273
+ */
274
+ export interface ThreadsCapabilityOptions {
275
+ /** Stable capability id used in `POST .../capabilities/{id}`. */
276
+ id: string;
277
+ /** Caller surfaces allowed to invoke this grant. */
278
+ exposeTo: LangSmithCallerSurface[];
279
+ /** Allowed thread operations. */
280
+ actions: Array<"read" | "update_metadata">;
281
+ /** Ownership boundary; defaults to `actor`. */
282
+ scope?: LangSmithCapabilityScope;
283
+ /** Allowlisted metadata keys the client may read or update. */
284
+ metadataKeys?: string[];
285
+ /** Maximum title length when updating thread metadata. */
286
+ maxTitleChars?: number;
287
+ /** Response field allowlist (defaults to the browser-safe threads profile). */
288
+ include?: string[];
289
+ /**
290
+ * Explicit opt-in required to include sensitive thread fields (`messages`,
291
+ * `values`) when `exposeTo` includes `browser`.
292
+ */
293
+ allowSensitive?: string[];
294
+ }
295
+ /**
296
+ * Build a `threads` capability grant (`read` / `update_metadata`).
297
+ *
298
+ * Thread message bodies stay redacted unless `allowSensitive` acknowledges
299
+ * them for a browser surface.
300
+ *
301
+ * @param options - Grant id, surfaces, actions, metadata constraints, and shaping.
302
+ * @returns A compiled {@link LangSmithCapability} for the `threads` resource.
303
+ *
304
+ * @example
305
+ * ```ts
306
+ * langsmith.threads({
307
+ * id: "app:thread-title",
308
+ * exposeTo: ["browser"],
309
+ * actions: ["read", "update_metadata"],
310
+ * scope: "actor",
311
+ * metadataKeys: ["title"],
312
+ * maxTitleChars: 120,
313
+ * })
314
+ * ```
315
+ */
316
+ export declare function threads(options: ThreadsCapabilityOptions): LangSmithCapability;
317
+ /**
318
+ * Browser chat feedback preset: thumbs up/down on a run, plus optional dataset
319
+ * capture of the conversation.
320
+ *
321
+ * Expands to two grants with stable capability ids (safe to hard-code in
322
+ * clients):
323
+ *
324
+ * - `langsmith:chat-feedback` — run-scoped {@link feedback} for browsers.
325
+ * Key `user_score`, scores `positive`/`negative`, comments ≤ 2000 chars,
326
+ * `onePerActor: true`.
327
+ * - `langsmith:chat-feedback-examples` — thread-scoped {@link examples} create
328
+ * into `dataset`, allowing fields `messages`, `answer`, `feedback`, `source`.
329
+ *
330
+ * Pass the returned array (or spread it) into {@link connector}.
331
+ *
332
+ * @param options.dataset - LangSmith dataset name for the examples capability.
333
+ * @returns Capability grants for feedback + example capture.
334
+ *
335
+ * @example
336
+ * ```ts
337
+ * export default langsmith.connector(
338
+ * langsmith.chatFeedback({ dataset: "public-feedback" }),
339
+ * );
340
+ * // POST /connectors/langsmith/capabilities/langsmith:chat-feedback
341
+ * ```
342
+ */
343
+ export declare function chatFeedback(options: {
344
+ dataset: string;
345
+ }): LangSmithCapability[];
346
+ /**
347
+ * Browser trace viewer preset: read a redacted run summary and create a share
348
+ * link for the caller's thread.
349
+ *
350
+ * Expands to one grant with a stable capability id:
351
+ *
352
+ * - `langsmith:trace-viewer` — thread-scoped {@link runs} with actions
353
+ * `read` and `share`, exposed to `browser`. Responses include
354
+ * `id` / `status` / `start_time` / `end_time` / `url` / `metadata` and redact
355
+ * `inputs` / `outputs` / `events` by default.
356
+ *
357
+ * Pass the returned array (or spread it) into {@link connector}.
358
+ *
359
+ * @returns Capability grant for redacted run read/share.
360
+ *
361
+ * @example
362
+ * ```ts
363
+ * export default langsmith.connector(langsmith.traceViewer());
364
+ * // POST /connectors/langsmith/capabilities/langsmith:trace-viewer
365
+ * ```
366
+ */
367
+ export declare function traceViewer(): LangSmithCapability[];
368
+ /**
369
+ * Fail-closed authoring checks that do not require the identity config. The
370
+ * identity-dependent checks (scope/ingress sanity, tenancy) run when the
371
+ * connector's `http` hook is mounted, where the resolved identity is available.
372
+ */
373
+ export declare function validateLangSmithConnector(capabilities: LangSmithCapability[]): void;
374
+ /** The branded LangSmith connector (implements only the `http` hook). */
375
+ export interface LangSmithConnector extends Connector {
376
+ readonly kind: "langsmith";
377
+ readonly capabilities: LangSmithCapability[];
378
+ }
379
+ /**
380
+ * Build a branded LangSmith connector from capabilities (or preset-produced
381
+ * capability arrays). Runs {@link validateLangSmithConnector} eagerly, then
382
+ * returns a connector whose `http` hook mounts the enforcement engine.
383
+ */
384
+ export declare function connector(...capabilities: Array<LangSmithCapability | LangSmithCapability[]>): LangSmithConnector;
385
+ //# sourceMappingURL=langsmith.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"langsmith.d.ts","sourceRoot":"","sources":["../../src/connectors/langsmith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,SAAS,EAEf,MAAM,yBAAyB,CAAC;AAGjC,kFAAkF;AAClF,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,iBAAiB,GACjB,SAAS,GACT,UAAU,CAAC;AAEf,+EAA+E;AAC/E,MAAM,MAAM,wBAAwB,GAChC,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,KAAK,CAAC;AAEV,8DAA8D;AAC9D,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,mBAAmB,GACnB,aAAa,GACb,aAAa,GACb,SAAS,GACT,UAAU,CAAC;AAEf,+EAA+E;AAC/E,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,wBAAwB,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,wDAAwD;AACxD,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,mBA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