rivet-design 0.9.3 → 0.9.4
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.
- package/dist/mcp/agent-variants/SessionStore.d.ts +25 -10
- package/dist/mcp/agent-variants/SessionStore.d.ts.map +1 -1
- package/dist/mcp/agent-variants/SessionStore.js +186 -44
- package/dist/mcp/agent-variants/SessionStore.js.map +1 -1
- package/dist/mcp/agent-variants/WorktreeOrchestrator.d.ts +146 -13
- package/dist/mcp/agent-variants/WorktreeOrchestrator.d.ts.map +1 -1
- package/dist/mcp/agent-variants/WorktreeOrchestrator.js +1223 -58
- package/dist/mcp/agent-variants/WorktreeOrchestrator.js.map +1 -1
- package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.d.ts +65 -0
- package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.d.ts.map +1 -0
- package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.js +162 -0
- package/dist/mcp/agent-variants/WorktreeOrchestrator.testHelpers.js.map +1 -0
- package/dist/mcp/agent-variants/contracts.d.ts +1470 -64
- package/dist/mcp/agent-variants/contracts.d.ts.map +1 -1
- package/dist/mcp/agent-variants/contracts.js +173 -9
- package/dist/mcp/agent-variants/contracts.js.map +1 -1
- package/dist/mcp/agent-variants/createProjectArtifacts.d.ts +78 -0
- package/dist/mcp/agent-variants/createProjectArtifacts.d.ts.map +1 -0
- package/dist/mcp/agent-variants/createProjectArtifacts.js +123 -0
- package/dist/mcp/agent-variants/createProjectArtifacts.js.map +1 -0
- package/dist/mcp/agent-variants/createZeroToOneTool.d.ts +60 -24
- package/dist/mcp/agent-variants/createZeroToOneTool.d.ts.map +1 -1
- package/dist/mcp/agent-variants/createZeroToOneTool.js +38 -120
- package/dist/mcp/agent-variants/createZeroToOneTool.js.map +1 -1
- package/dist/mcp/agent-variants/errors.d.ts +1 -1
- package/dist/mcp/agent-variants/errors.d.ts.map +1 -1
- package/dist/mcp/agent-variants/errors.js +1 -0
- package/dist/mcp/agent-variants/errors.js.map +1 -1
- package/dist/mcp/agent-variants/index.d.ts +3 -4
- package/dist/mcp/agent-variants/index.d.ts.map +1 -1
- package/dist/mcp/agent-variants/index.js +2 -2
- package/dist/mcp/agent-variants/index.js.map +1 -1
- package/dist/mcp/agent-variants/inspirationDesignContext.d.ts +10 -0
- package/dist/mcp/agent-variants/inspirationDesignContext.d.ts.map +1 -1
- package/dist/mcp/agent-variants/inspirationDesignContext.js +104 -16
- package/dist/mcp/agent-variants/inspirationDesignContext.js.map +1 -1
- package/dist/mcp/agent-variants/pendingChangesAdapter.d.ts.map +1 -1
- package/dist/mcp/agent-variants/pendingChangesAdapter.js +11 -0
- package/dist/mcp/agent-variants/pendingChangesAdapter.js.map +1 -1
- package/dist/mcp/agent-variants/previewQa.d.ts +61 -0
- package/dist/mcp/agent-variants/previewQa.d.ts.map +1 -0
- package/dist/mcp/agent-variants/previewQa.js +374 -0
- package/dist/mcp/agent-variants/previewQa.js.map +1 -0
- package/dist/mcp/agent-variants/sourceContext.d.ts +1 -0
- package/dist/mcp/agent-variants/sourceContext.d.ts.map +1 -1
- package/dist/mcp/agent-variants/sourceContext.js +28 -3
- package/dist/mcp/agent-variants/sourceContext.js.map +1 -1
- package/dist/mcp/agent-variants/tools.d.ts +23 -1
- package/dist/mcp/agent-variants/tools.d.ts.map +1 -1
- package/dist/mcp/agent-variants/tools.js +144 -27
- package/dist/mcp/agent-variants/tools.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +25 -6
- package/dist/mcp/server.js.map +1 -1
- package/dist/prompts/agentModPrompts.js +4 -4
- package/dist/prompts/agentModPrompts.js.map +1 -1
- package/dist/routes/agentVariants.d.ts.map +1 -1
- package/dist/routes/agentVariants.js +8 -1
- package/dist/routes/agentVariants.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +21 -3
- package/dist/server.js.map +1 -1
- package/dist/services/ProjectDetectionService.d.ts.map +1 -1
- package/dist/services/ProjectDetectionService.js +9 -0
- package/dist/services/ProjectDetectionService.js.map +1 -1
- package/dist/services/WorktreeManager.d.ts +67 -9
- package/dist/services/WorktreeManager.d.ts.map +1 -1
- package/dist/services/WorktreeManager.js +209 -26
- package/dist/services/WorktreeManager.js.map +1 -1
- package/dist/services/agent/AgentModService.js +6 -6
- package/dist/services/agent/AgentModService.js.map +1 -1
- package/dist/services/templates/viteReactTs.d.ts +6 -0
- package/dist/services/templates/viteReactTs.d.ts.map +1 -1
- package/dist/services/templates/viteReactTs.js +8 -1
- package/dist/services/templates/viteReactTs.js.map +1 -1
- package/dist/types/change-request-types.d.ts +14 -0
- package/dist/types/change-request-types.d.ts.map +1 -1
- package/dist/utils/skills/claude-skill.d.ts +1 -1
- package/dist/utils/skills/claude-skill.js +2 -2
- package/dist/utils/skills/cursor-rules.d.ts +1 -1
- package/dist/utils/skills/cursor-rules.js +1 -1
- package/dist/utils/skills/shared-variants-protocol.d.ts +1 -1
- package/dist/utils/skills/shared-variants-protocol.d.ts.map +1 -1
- package/dist/utils/skills/shared-variants-protocol.js +31 -32
- package/dist/utils/skills/shared-variants-protocol.js.map +1 -1
- package/package.json +3 -4
- package/src/ui/dist/assets/{main-DejhsBWR.js → main-CpX7fB64.js} +113 -113
- package/src/ui/dist/assets/main-Qqe2_oMT.css +1 -0
- package/src/ui/dist/index.html +2 -2
- package/src/ui/dist/assets/main-C9jfEp80.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChildProcess } from 'child_process';
|
|
2
2
|
import { AgentVariantsError } from './errors';
|
|
3
3
|
import { SessionStore, type ApprovedBriefSelection, type ApproveResult, type ProposeArgs, type ProposeResult, type ReportCompleteResult, type RequestWorkResult } from './SessionStore';
|
|
4
|
-
import type { ActiveProjectContext, ActiveVariantSnapshot, Brief, DesignContextEntry, ProjectContext,
|
|
4
|
+
import type { ActiveProjectContext, ActiveVariantSnapshot, Brief, DesignContextEntry, ProjectContext, SourceContextInput, Stage, Target, TerminalSummary, VariantQaResult, VariantSessionArtifact, WorkItemStatus } from './contracts';
|
|
5
5
|
import type { PendingChangesAdapter } from './pendingChangesAdapter';
|
|
6
6
|
/**
|
|
7
7
|
* Subset of WorktreeManager that the orchestrator depends on. Defined as an
|
|
@@ -13,14 +13,30 @@ import type { PendingChangesAdapter } from './pendingChangesAdapter';
|
|
|
13
13
|
export interface WorktreeManagerLike {
|
|
14
14
|
createWorktrees(sessionId: string, count: number): Promise<string[]>;
|
|
15
15
|
getDiff(worktreePath: string): Promise<string>;
|
|
16
|
-
|
|
16
|
+
/** Apply a unified diff to a project working tree (no commit). Used by
|
|
17
|
+
* commitVariant to land the chosen variant on the user's branch
|
|
18
|
+
* immediately rather than waiting for an agent to pick up pending-changes. */
|
|
19
|
+
applyDiffToProject?(diff: string, projectPath: string): Promise<void>;
|
|
20
|
+
/** `freshDestinationParent` is required when the session was fresh — it
|
|
21
|
+
* tells WorktreeManager which `<destinationParent>/.rivet-variants/` root
|
|
22
|
+
* the worktrees live under (since fresh worktrees are no longer in /tmp). */
|
|
23
|
+
cleanupSession(sessionId: string, freshDestinationParent?: string): Promise<void>;
|
|
17
24
|
getFreePort(): Promise<number>;
|
|
18
25
|
startDevServer(worktreePath: string, port: number, cmd: string, args: string[], env: Record<string, string>): Promise<ChildProcess>;
|
|
19
26
|
stopDevServer(proc: ChildProcess, timeoutMs?: number): Promise<void>;
|
|
20
27
|
getProjectCwdInWorktree(worktreePath: string): Promise<string>;
|
|
21
28
|
/** Optional fresh-project scaffold support — present in production but
|
|
22
|
-
* optional so unit tests can mock with the minimum surface they need.
|
|
23
|
-
|
|
29
|
+
* optional so unit tests can mock with the minimum surface they need.
|
|
30
|
+
* `destinationParent` is the user-supplied workspace parent directory;
|
|
31
|
+
* fresh worktrees are scaffolded under `<destinationParent>/.rivet-variants/`
|
|
32
|
+
* so commit time can be a same-volume rename. */
|
|
33
|
+
createFreshWorktrees?(sessionId: string, count: number, template: import('../../services/templates/viteReactTs').TemplateBundle, designContext: ReadonlyArray<DesignContextEntry | undefined> | undefined, sourceContext: SourceContextInput | undefined, destinationParent: string): Promise<string[]>;
|
|
34
|
+
/** Move a fresh-worktree directory to its history location, preserving
|
|
35
|
+
* contents. Optional on the interface so unit tests can stub partially. */
|
|
36
|
+
moveWorktreeToHistory?(srcWorktreePath: string, historyDir: string, folderName: string): string;
|
|
37
|
+
/** Repoint a worktree's node_modules to a shared install via relative
|
|
38
|
+
* symlink. Optional on the interface so unit tests can stub partially. */
|
|
39
|
+
repointNodeModulesSymlink?(worktreePath: string, sharedNodeModulesAbsPath: string): void;
|
|
24
40
|
}
|
|
25
41
|
/**
|
|
26
42
|
* Per-session resolved environment. Used to populate destinationPath on the
|
|
@@ -43,6 +59,19 @@ export interface ProjectEnvironment {
|
|
|
43
59
|
env: Record<string, string>;
|
|
44
60
|
};
|
|
45
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Runs preview QA against a static_preview variant before the orchestrator
|
|
64
|
+
* marks it as succeeded. Default implementation in
|
|
65
|
+
* `defaultPreviewQaRunner` performs static asset reachability checks via
|
|
66
|
+
* the global `fetch`. Tests inject a deterministic stub so they can
|
|
67
|
+
* exercise QA-pass, asset-failure, and runtime/console failure paths
|
|
68
|
+
* without network or browser dependencies.
|
|
69
|
+
*/
|
|
70
|
+
export type PreviewQaRunner = (args: {
|
|
71
|
+
sessionId: string;
|
|
72
|
+
workItemId: string;
|
|
73
|
+
html: string;
|
|
74
|
+
}) => Promise<VariantQaResult>;
|
|
46
75
|
export interface OrchestratorDeps {
|
|
47
76
|
store: SessionStore;
|
|
48
77
|
worktreeManager: WorktreeManagerLike;
|
|
@@ -57,6 +86,16 @@ export interface OrchestratorDeps {
|
|
|
57
86
|
* initializes a fresh git repo. Defaults to a real fs.cp + simpleGit
|
|
58
87
|
* implementation; tests inject a stub. */
|
|
59
88
|
materializeProject?: (sourceWorktreePath: string, destinationPath: string) => Promise<void>;
|
|
89
|
+
/** Override the preview QA runner. See `PreviewQaRunner` for the contract. */
|
|
90
|
+
previewQaRunner?: PreviewQaRunner;
|
|
91
|
+
/** Retarget the iframe proxy to a different dev-server port (or back to the
|
|
92
|
+
* default upstream when `null`). Used by `commitVariant` on the fresh
|
|
93
|
+
* vite_app rename path: after the chosen variant is renamed into
|
|
94
|
+
* destinationPath, the orchestrator spawns a fresh dev server there and
|
|
95
|
+
* retargets so the iframe stays live instead of flashing "preview
|
|
96
|
+
* disconnected." Optional — tests can omit, and production wires it to
|
|
97
|
+
* `SessionBridgeService.switchPreviewPort`. */
|
|
98
|
+
switchPreviewPort?: (port: number | null) => void;
|
|
60
99
|
}
|
|
61
100
|
/**
|
|
62
101
|
* Minimal telemetry surface the orchestrator depends on. Decoupled from
|
|
@@ -145,6 +184,10 @@ export type ActiveSnapshot = {
|
|
|
145
184
|
/** For fresh sessions, the user-facing destination path the materialize
|
|
146
185
|
* step will land at. Undefined for existing-project sessions. */
|
|
147
186
|
destinationPath?: string;
|
|
187
|
+
/** Supporting artifacts the agent used or generated for this session
|
|
188
|
+
* (e.g. the DESIGN.md inspirations for a 0→1 run). Surfaced under the
|
|
189
|
+
* variants list so the user can inspect the hidden MCP context. */
|
|
190
|
+
artifacts?: VariantSessionArtifact[];
|
|
148
191
|
};
|
|
149
192
|
/**
|
|
150
193
|
* Wraps SessionStore for the operations that have side effects: approve
|
|
@@ -166,7 +209,29 @@ export declare class AgentVariantsOrchestrator {
|
|
|
166
209
|
private readonly telemetry;
|
|
167
210
|
private readonly installDependencies;
|
|
168
211
|
private readonly materializeProject;
|
|
212
|
+
private readonly previewQaRunner;
|
|
213
|
+
private readonly switchPreviewPort;
|
|
169
214
|
private readonly resources;
|
|
215
|
+
/**
|
|
216
|
+
* Committed dev servers from prior sessions that survived teardown. The
|
|
217
|
+
* orchestrator outlives any single session — once a new session starts, the
|
|
218
|
+
* prior committed dev server is no longer needed (the next session opens
|
|
219
|
+
* its own preview chip), so stop it before the new session's first preview
|
|
220
|
+
* goes live. Keyed by sessionId for diagnostics; values are kept alive
|
|
221
|
+
* intentionally between commit and next `propose` / `shutdown`.
|
|
222
|
+
*/
|
|
223
|
+
private readonly lingeringCommittedDevServers;
|
|
224
|
+
/**
|
|
225
|
+
* Per-session in-flight commit chain. Two overlapping commitVariant calls
|
|
226
|
+
* would otherwise both pass the `getVariantPick` idempotency check (the
|
|
227
|
+
* pick isn't recorded until after `applyDiffToProject`) and double-invoke
|
|
228
|
+
* `git apply` — which corrupts the working tree on the second run. The
|
|
229
|
+
* chain serializes commits per session so the second caller waits for the
|
|
230
|
+
* first to finish and then hits the idempotency check (returning
|
|
231
|
+
* `duplicate: true` for the same variantId, or `PENDING_CHANGE_CONFLICT`
|
|
232
|
+
* for a different one).
|
|
233
|
+
*/
|
|
234
|
+
private readonly inflightCommits;
|
|
170
235
|
/** Most recent agent-variants sessionId — read by the iframe chip via
|
|
171
236
|
* GET /api/variants/active. Cleared on cancel or commit. */
|
|
172
237
|
private activeSessionId;
|
|
@@ -192,14 +257,8 @@ export declare class AgentVariantsOrchestrator {
|
|
|
192
257
|
}): {
|
|
193
258
|
briefs: Brief[];
|
|
194
259
|
};
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
workItemId: string;
|
|
198
|
-
attempt: number;
|
|
199
|
-
leaseId: string;
|
|
200
|
-
sourceContext: SourceContextArtifact;
|
|
201
|
-
}): {
|
|
202
|
-
briefWorkItem: import("./contracts").WorkItem;
|
|
260
|
+
reportSourcePlan(args: import('./SessionStore').ReportSourcePlanArgs): {
|
|
261
|
+
briefWorkItem: import('./contracts').WorkItem;
|
|
203
262
|
};
|
|
204
263
|
requestWork(args: {
|
|
205
264
|
sessionId: string;
|
|
@@ -256,6 +315,11 @@ export declare class AgentVariantsOrchestrator {
|
|
|
256
315
|
* back to the agent in the same response — saving a separate
|
|
257
316
|
* continue_variants(request_work) round-trip. */
|
|
258
317
|
leaseOwner?: string;
|
|
318
|
+
/** Per-variant briefs supplied by the agent (label + body, optional
|
|
319
|
+
* visualReferenceUrl). When provided, briefs.length overrides any
|
|
320
|
+
* explicit count. When absent, the server stubs generic
|
|
321
|
+
* "Variant N" labels and a copy of the prompt as each body. */
|
|
322
|
+
briefs?: import('./contracts').StartVariantsBriefContent[];
|
|
259
323
|
}): Promise<{
|
|
260
324
|
sessionId: string;
|
|
261
325
|
variants: Array<{
|
|
@@ -324,9 +388,10 @@ export declare class AgentVariantsOrchestrator {
|
|
|
324
388
|
enqueued: boolean;
|
|
325
389
|
duplicate: boolean;
|
|
326
390
|
changedFilesCount: number;
|
|
327
|
-
payloadKind?: 'diff' | 'project-created';
|
|
391
|
+
payloadKind?: 'diff' | 'diff-applied' | 'project-created';
|
|
328
392
|
destinationPath?: string;
|
|
329
393
|
}>;
|
|
394
|
+
private commitVariantImpl;
|
|
330
395
|
cleanupCommittedSession(sessionId: string): Promise<void>;
|
|
331
396
|
/**
|
|
332
397
|
* Ensure the user-facing destination path can receive the new project.
|
|
@@ -362,13 +427,81 @@ export declare class AgentVariantsOrchestrator {
|
|
|
362
427
|
* mark scaffold_base failed via `failInternal` and emit telemetry.
|
|
363
428
|
*/
|
|
364
429
|
private runBackgroundInstall;
|
|
430
|
+
/**
|
|
431
|
+
* Gate `succeeded` reports for `static_preview` items through preview QA
|
|
432
|
+
* before they reach the store. Returns either `null` (caller continues
|
|
433
|
+
* with the original args — non-static-preview report, non-succeeded
|
|
434
|
+
* status, no parseable HTML, or QA passed) or an override carrying a
|
|
435
|
+
* `failed` rewrite of the report. The QA result is also memoized on the
|
|
436
|
+
* session resources so `getVariants` can surface it.
|
|
437
|
+
*
|
|
438
|
+
* Only fresh-project sessions go through this gate today; existing-
|
|
439
|
+
* project `code_gen` variants produce a diff with no preview document
|
|
440
|
+
* to inspect, so they skip QA and behave exactly as before.
|
|
441
|
+
*/
|
|
442
|
+
private evaluateQaForReport;
|
|
365
443
|
private handleSucceededReport;
|
|
444
|
+
private persistFreshVariantArtifacts;
|
|
445
|
+
private persistFreshSelectionMetadata;
|
|
446
|
+
private getFreshVariantFolderName;
|
|
447
|
+
private readManifest;
|
|
366
448
|
/**
|
|
367
449
|
* Resolve dev server invocation for a worktree. Fresh-project worktrees
|
|
368
450
|
* always use the Vite template's npm command at the worktree root; existing
|
|
369
451
|
* projects defer to the user's framework/packageManager config.
|
|
370
452
|
*/
|
|
371
453
|
private resolveDevServer;
|
|
454
|
+
/**
|
|
455
|
+
* After the chosen variant has been renamed into `destinationPath`, move
|
|
456
|
+
* each unchosen sibling worktree into a `<destinationParent>/<slug>-variants/NN-<label>/`
|
|
457
|
+
* folder and repoint its `node_modules` symlink at the chosen project's
|
|
458
|
+
* real install. Writes a manifest documenting all 5 variants (the chosen
|
|
459
|
+
* one with `folder: null` and `chosenPath: '../<slug>'`).
|
|
460
|
+
*
|
|
461
|
+
* Sets `vitePreservedSiblings = true` on session resources so the
|
|
462
|
+
* subsequent teardown skips `cleanupFreshWorktrees` (which would otherwise
|
|
463
|
+
* delete the just-preserved history). Dev servers still get stopped.
|
|
464
|
+
*/
|
|
465
|
+
private preserveUnchosenVariants;
|
|
466
|
+
/**
|
|
467
|
+
* Rename `sourceWorktreePath` into `destinationPath`, then replace the
|
|
468
|
+
* worktree's `.git` with a fresh-history init + initial commit. Matches
|
|
469
|
+
* the historical materializeProject behavior of "user sees a fresh repo
|
|
470
|
+
* at destinationPath" so we don't surprise them with a `rivet: variant
|
|
471
|
+
* baseline` commit they didn't intend.
|
|
472
|
+
*
|
|
473
|
+
* The rename is the load-bearing operation: it moves the entire variant
|
|
474
|
+
* tree (template files + materialized node_modules) in O(1) when the
|
|
475
|
+
* source and destination share a volume. The git reset that follows is
|
|
476
|
+
* best-effort housekeeping; a failure there leaves files in place.
|
|
477
|
+
*/
|
|
478
|
+
private renameWorktreeIntoDestination;
|
|
479
|
+
/**
|
|
480
|
+
* Stop every variant dev server currently running for `resources`. Clears
|
|
481
|
+
* the `devServerProcess` / `port` fields on each record so subsequent
|
|
482
|
+
* teardown logic doesn't try to stop them a second time. Called from
|
|
483
|
+
* `commitVariant` (vite_app rename path) BEFORE the worktree directory is
|
|
484
|
+
* renamed — leaving Vite alive across the rename leaks empty `.vite/`
|
|
485
|
+
* stub dirs at the old paths.
|
|
486
|
+
*/
|
|
487
|
+
private stopAllDevServersForSession;
|
|
488
|
+
/**
|
|
489
|
+
* Spawn a fresh dev server at the user-facing destinationPath and retarget
|
|
490
|
+
* the proxy so the iframe stays live across commit. Stores the process on
|
|
491
|
+
* `resources.committedDevServer` so teardown can hand it off to the
|
|
492
|
+
* lingering registry instead of killing it. Best-effort: a failure here is
|
|
493
|
+
* non-fatal — the commit still succeeds; the user just has to run
|
|
494
|
+
* `npm run dev` themselves to bring the preview back.
|
|
495
|
+
*/
|
|
496
|
+
private startCommittedDevServer;
|
|
497
|
+
/**
|
|
498
|
+
* Stop any committed dev servers that were left alive past their session's
|
|
499
|
+
* teardown. Called at the start of a new `propose` (so the next session's
|
|
500
|
+
* preview doesn't compete with stale processes) and exposed for explicit
|
|
501
|
+
* shutdown hooks. Best-effort: per-server failures are logged but don't
|
|
502
|
+
* propagate.
|
|
503
|
+
*/
|
|
504
|
+
private stopLingeringCommittedDevServers;
|
|
372
505
|
private teardownSession;
|
|
373
506
|
private ensureResources;
|
|
374
507
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorktreeOrchestrator.d.ts","sourceRoot":"","sources":["../../../src/mcp/agent-variants/WorktreeOrchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"WorktreeOrchestrator.d.ts","sourceRoot":"","sources":["../../../src/mcp/agent-variants/WorktreeOrchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQlD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAkB9C,OAAO,EACL,YAAY,EACZ,KAAK,sBAAsB,EAC3B,KAAK,aAAa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