@gadicc/loom 1.35.1 → 1.35.2

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/README.md CHANGED
@@ -74,7 +74,24 @@ documented in [`docs/project-tooling.md`](docs/project-tooling.md).
74
74
  `AGENTS.md`, and ensures the managed `.agents/skills/*` links point at the
75
75
  installed `@gadicc/loom` package, activates skills exposed by installed npm
76
76
  packages, and configures version-matched Next.js guidance when supported by
77
- the installed Next version.
77
+ the installed Next version. It also resyncs every active feature's scaffolds
78
+ and Loom-managed files under the rule below. Like every Loom command that
79
+ updates `loom.json`, it patches only the changed members of an existing file,
80
+ so the file keeps its formatting and key order.
81
+ - Loom never overwrites a file with local edits. `loom init`, `loom add`, and
82
+ feature syncs create missing files and update a Loom-managed file only when
83
+ they can prove it is unmodified Loom output, ignoring indentation, line
84
+ wrapping, trailing commas and quote style: it matches the hash `loom.json`
85
+ records under the feature's `managedFiles` (once recorded with the current
86
+ canonical-form version, such as `c1:`, the only proof), or, for a file from
87
+ before that record, Loom's output for the recorded configuration or the exact
88
+ output of an earlier Loom release. Any other file is left alone and reported
89
+ with a summary of the difference, and `loom check` reports it too. To restore
90
+ Loom's version, move app-specific code elsewhere, delete the file, and rerun
91
+ the command. Tasks Loom owns by name (`db:*`, `drizzle-kit`, `schema:gen`,
92
+ `job`, `pwa:build`, the Lingui tasks) follow the same rule, using
93
+ `managedTasks` hashes: an edited task is kept, and `loom check` warns with
94
+ both values.
78
95
  - `loom add` lists the shared features that the CLI can activate and shows a
79
96
  short description for each one.
80
97
  - `loom add <feature>` activates one shared feature in `loom.json` and applies
@@ -85,23 +102,24 @@ documented in [`docs/project-tooling.md`](docs/project-tooling.md).
85
102
  any missing local jobs/admin route files without overwriting existing
86
103
  app-local wrappers, while also enabling the `loom-jobs` skill link.
87
104
  - `loom add db` activates the shared DB feature in `loom.json`, adds the managed
88
- DB dependencies and tasks to their recorded configs, rewrites the standard
89
- `neon.ts` / `neonFull.ts` / `drizzle.config.ts` / PGlite test harness files
90
- into Loom-managed thin wrappers, scaffolds the app-local fixture script
91
- entrypoint, and enables the `loom-db` skill link. `neonFull` verifies remote
92
- TLS certificates and hostnames even when the selected URL contains
93
- `sslmode=require`. Private remote CAs must be trusted explicitly, for example
94
- with process-start `NODE_EXTRA_CA_CERTS`; invalid certificates fail instead of
95
- falling back. The existing plaintext exceptions for `db.localtest.me`,
96
- `localhost` and `127.0.0.1` remain, including their existing override of URL
97
- TLS settings. Database URL precedence is unchanged. TLS verification does not
98
- add SCRAM channel-binding support to the underlying driver. Remote IPv4
99
- certificates must contain a matching IP subject alternative name. DNS-only
100
- multi-host URLs retain the driver's per-host verification. Empty or escaped
101
- hosts, extra unescaped `@` signs or fragments in the authority, IP-containing
102
- multi-host URLs and bracketed IPv6 hosts are rejected because the runtime
103
- cannot reliably bind their current driver routing to certificate identity; use
104
- an explicit DNS host or single IPv4 address.
105
+ DB dependencies and tasks to their recorded configs, keeps the standard
106
+ `neon.ts` / `neonFull.ts` / `drizzle.config.ts` / PGlite test harness files as
107
+ Loom-managed thin wrappers (an existing app file in one of those paths is
108
+ preserved and reported until the app moves its code and deletes it), scaffolds
109
+ the app-local fixture script entrypoint, and enables the `loom-db` skill link.
110
+ `neonFull` verifies remote TLS certificates and hostnames even when the
111
+ selected URL contains `sslmode=require`. Private remote CAs must be trusted
112
+ explicitly, for example with process-start `NODE_EXTRA_CA_CERTS`; invalid
113
+ certificates fail instead of falling back. The existing plaintext exceptions
114
+ for `db.localtest.me`, `localhost` and `127.0.0.1` remain, including their
115
+ existing override of URL TLS settings. Database URL precedence is unchanged.
116
+ TLS verification does not add SCRAM channel-binding support to the underlying
117
+ driver. Remote IPv4 certificates must contain a matching IP subject
118
+ alternative name. DNS-only multi-host URLs retain the driver's per-host
119
+ verification. Empty or escaped hosts, extra unescaped `@` signs or fragments
120
+ in the authority, IP-containing multi-host URLs and bracketed IPv6 hosts are
121
+ rejected because the runtime cannot reliably bind their current driver routing
122
+ to certificate identity; use an explicit DNS host or single IPv4 address.
105
123
  - `loom add files` activates the shared files schema contract after the DB
106
124
  feature is active. It materializes the Loom-managed Drizzle schema blueprint
107
125
  into an app-local committed schema file, records the blueprint version and
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Exact text that earlier Loom releases wrote for files Loom still manages.
3
+ *
4
+ * A file that still matches one of these (ignoring formatting) is unmodified
5
+ * Loom output, so Loom may update it. These record history: never edit them
6
+ * to follow the current templates. When a template changes, its previous
7
+ * output only needs adding here for files written before `loom.json` recorded
8
+ * managed-file hashes.
9
+ */
10
+ /**
11
+ * PGlite test harness written by Loom 1.2.0 through 1.11.x, before it closed
12
+ * its client after the test file.
13
+ */
14
+ export declare function legacyDbPgliteHarnessOutputs(schemaImportPath: string, fixtureDir: string): string[];
15
+ /**
16
+ * Direct jobs runners that loaded `.env.local` through dotenv: Loom 1.6.2
17
+ * through 1.7.x, then 1.8.x with CLI parameter parsing. Loom 1.9.0 moved env
18
+ * loading to `loom env`.
19
+ */
20
+ export declare function legacyJobsDirectRunnerOutputs(catalogImportPath: string): string[];
21
+ /**
22
+ * Task values earlier Loom releases wrote for DB tasks whose current value
23
+ * differs. Loom 1.2.0 through 1.17.x always ran drizzle-kit through pnpm,
24
+ * before tasks followed the recorded dependency manager, and Loom 1.2.0
25
+ * through 1.8.x ran `drizzle-kit` without `loom env`.
26
+ */
27
+ export declare function legacyDbTaskValues(drizzleConfig: string): Record<string, string[]>;
28
+ /**
29
+ * The `job` task Loom 1.6.2 through 1.8.x wrote, before it ran through
30
+ * `loom env`.
31
+ */
32
+ export declare function legacyJobsTaskValues(scriptsTsconfig: string, scriptPath: string): Record<string, string[]>;
33
+ //# sourceMappingURL=legacyManagedOutputs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legacyManagedOutputs.d.ts","sourceRoot":"","sources":["../../../src/src/cli/legacyManagedOutputs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,YAcnB;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,iBAAiB,EAAE,MAAM,YAwMtE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,MAAM,GACpB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAS1B;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,GACjB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAM1B"}
@@ -0,0 +1,260 @@
1
+ /**
2
+ * Exact text that earlier Loom releases wrote for files Loom still manages.
3
+ *
4
+ * A file that still matches one of these (ignoring formatting) is unmodified
5
+ * Loom output, so Loom may update it. These record history: never edit them
6
+ * to follow the current templates. When a template changes, its previous
7
+ * output only needs adding here for files written before `loom.json` recorded
8
+ * managed-file hashes.
9
+ */
10
+ /**
11
+ * PGlite test harness written by Loom 1.2.0 through 1.11.x, before it closed
12
+ * its client after the test file.
13
+ */
14
+ export function legacyDbPgliteHarnessOutputs(schemaImportPath, fixtureDir) {
15
+ return [
16
+ `import { createMemoryPgliteHarness } from "@gadicc/loom/db/testing";
17
+ import * as schema from "${schemaImportPath}";
18
+
19
+ const harness = await createMemoryPgliteHarness({
20
+ fixtureDir: "${fixtureDir}",
21
+ schema,
22
+ });
23
+
24
+ export const { db, tableLoader } = harness;
25
+ `,
26
+ ];
27
+ }
28
+ /**
29
+ * Direct jobs runners that loaded `.env.local` through dotenv: Loom 1.6.2
30
+ * through 1.7.x, then 1.8.x with CLI parameter parsing. Loom 1.9.0 moved env
31
+ * loading to `loom env`.
32
+ */
33
+ export function legacyJobsDirectRunnerOutputs(catalogImportPath) {
34
+ return [
35
+ `import {
36
+ createJobCatalogFromSource,
37
+ createJobExecution,
38
+ createJobUsageText,
39
+ getRequestedJobOutput,
40
+ resolveJobSpecifier,
41
+ writeJobStream,
42
+ } from "@gadicc/loom/jobs";
43
+ import dotenv from "dotenv";
44
+
45
+ dotenv.config({ path: ".env.local", quiet: true });
46
+
47
+ const jobs = await import("${catalogImportPath}");
48
+ const catalog = createJobCatalogFromSource(jobs);
49
+ const specifier = process.argv[2];
50
+
51
+ function formatDirectJobError(error: unknown) {
52
+ if (error instanceof Error) {
53
+ return error.message;
54
+ }
55
+
56
+ return String(error);
57
+ }
58
+
59
+ async function closeLoomDbIfNeeded() {
60
+ const sql = (
61
+ globalThis as {
62
+ __loomNeonFullSql?: {
63
+ end: (options?: { timeout?: number }) => Promise<void>;
64
+ };
65
+ }
66
+ ).__loomNeonFullSql;
67
+
68
+ await sql?.end({ timeout: 5 });
69
+ }
70
+
71
+ if (!specifier) {
72
+ console.error(createJobUsageText(catalog));
73
+ process.exit(1);
74
+ }
75
+
76
+ const resolvedJob = (() => {
77
+ try {
78
+ return resolveJobSpecifier(catalog, specifier);
79
+ } catch (error) {
80
+ console.error(formatDirectJobError(error));
81
+ console.error("");
82
+ console.error(createJobUsageText(catalog));
83
+ process.exit(1);
84
+ }
85
+ })();
86
+
87
+ if (resolvedJob.index !== null) {
88
+ console.log(
89
+ \`Mapped job number \${resolvedJob.index} to ID "\${resolvedJob.id}".\`,
90
+ );
91
+ }
92
+
93
+ const output = getRequestedJobOutput(resolvedJob.searchParams, "nd-json");
94
+ resolvedJob.searchParams.delete("output");
95
+
96
+ const execution = createJobExecution(
97
+ resolvedJob.job,
98
+ Object.fromEntries(resolvedJob.searchParams),
99
+ { runDeferredTasks: true },
100
+ );
101
+
102
+ try {
103
+ await writeJobStream(execution.stream, {
104
+ output,
105
+ startTime: Date.now(),
106
+ writeRaw(chunk) {
107
+ process.stdout.write(chunk);
108
+ },
109
+ });
110
+
111
+ const result = await execution.result;
112
+ if (result.error) {
113
+ process.exitCode = 1;
114
+ }
115
+ } finally {
116
+ await closeLoomDbIfNeeded();
117
+ }
118
+ `,
119
+ `import {
120
+ createJobCatalogFromSource,
121
+ createJobExecution,
122
+ createJobUsageText,
123
+ createJobHelpText,
124
+ getRequestedJobOutput,
125
+ parseCliArgs,
126
+ resolveJobSelection,
127
+ validateAndParseParams,
128
+ writeJobStream,
129
+ } from "@gadicc/loom/jobs";
130
+ import dotenv from "dotenv";
131
+
132
+ dotenv.config({ path: ".env.local", quiet: true });
133
+
134
+ const jobs = await import("${catalogImportPath}");
135
+ const catalog = createJobCatalogFromSource(jobs);
136
+ const args = process.argv.slice(2);
137
+ const parsedArgs = parseCliArgs(args);
138
+
139
+ function formatDirectJobError(error: unknown) {
140
+ if (error instanceof Error) {
141
+ return error.message;
142
+ }
143
+
144
+ return String(error);
145
+ }
146
+
147
+ async function closeLoomDbIfNeeded() {
148
+ const sql = (
149
+ globalThis as {
150
+ __loomNeonFullSql?: {
151
+ end: (options?: { timeout?: number }) => Promise<void>;
152
+ };
153
+ }
154
+ ).__loomNeonFullSql;
155
+
156
+ await sql?.end({ timeout: 5 });
157
+ }
158
+
159
+ if (parsedArgs.isHelp) {
160
+ console.log(createJobUsageText(catalog));
161
+ process.exit(0);
162
+ }
163
+
164
+ const resolvedJob = (() => {
165
+ try {
166
+ const resolved = resolveJobSelection(catalog, parsedArgs.selection);
167
+ return {
168
+ id: resolved.id,
169
+ job: resolved.job,
170
+ index: resolved.index,
171
+ };
172
+ } catch (error) {
173
+ console.error(formatDirectJobError(error));
174
+ console.error("");
175
+ console.error(createJobUsageText(catalog));
176
+ process.exit(1);
177
+ }
178
+ })();
179
+
180
+ if (resolvedJob.index !== null) {
181
+ console.log(
182
+ \`Mapped job number \${resolvedJob.index} to ID "\${resolvedJob.id}".\`,
183
+ );
184
+ }
185
+
186
+ if (parsedArgs.jobHelp) {
187
+ console.log(createJobHelpText(resolvedJob.job.meta));
188
+ process.exit(0);
189
+ }
190
+
191
+ const output = parsedArgs.rawParams.output || "nd-json";
192
+ delete parsedArgs.rawParams.output;
193
+
194
+ const { parsed: parsedParams, errors: paramErrors } = validateAndParseParams(
195
+ parsedArgs.rawParams,
196
+ resolvedJob.job.meta.params,
197
+ );
198
+
199
+ if (paramErrors.length > 0) {
200
+ console.error("Parameter validation failed:");
201
+ for (const err of paramErrors) {
202
+ console.error(\` - \${err}\`);
203
+ }
204
+ console.error("");
205
+ console.error(createJobHelpText(resolvedJob.job.meta));
206
+ process.exit(1);
207
+ }
208
+
209
+ const execution = createJobExecution(
210
+ resolvedJob.job,
211
+ parsedParams,
212
+ { runDeferredTasks: true },
213
+ );
214
+
215
+ try {
216
+ await writeJobStream(execution.stream, {
217
+ output: output as any,
218
+ startTime: Date.now(),
219
+ writeRaw(chunk) {
220
+ process.stdout.write(chunk);
221
+ },
222
+ });
223
+
224
+ const result = await execution.result;
225
+ if (result.error) {
226
+ process.exitCode = 1;
227
+ }
228
+ } finally {
229
+ await closeLoomDbIfNeeded();
230
+ }
231
+ `,
232
+ ];
233
+ }
234
+ /**
235
+ * Task values earlier Loom releases wrote for DB tasks whose current value
236
+ * differs. Loom 1.2.0 through 1.17.x always ran drizzle-kit through pnpm,
237
+ * before tasks followed the recorded dependency manager, and Loom 1.2.0
238
+ * through 1.8.x ran `drizzle-kit` without `loom env`.
239
+ */
240
+ export function legacyDbTaskValues(drizzleConfig) {
241
+ return {
242
+ "db:generate": ["pnpm drizzle-kit generate"],
243
+ "db:migrate": ["pnpm drizzle-kit migrate"],
244
+ "db:push": ["pnpm drizzle-kit push"],
245
+ "drizzle-kit": [
246
+ `NODE_OPTIONS='--import tsx' drizzle-kit --config=./${drizzleConfig}`,
247
+ ],
248
+ };
249
+ }
250
+ /**
251
+ * The `job` task Loom 1.6.2 through 1.8.x wrote, before it ran through
252
+ * `loom env`.
253
+ */
254
+ export function legacyJobsTaskValues(scriptsTsconfig, scriptPath) {
255
+ return {
256
+ job: [
257
+ `TSX_TSCONFIG=./${scriptsTsconfig} node --conditions=react-server --import tsx ${scriptPath}`,
258
+ ],
259
+ };
260
+ }
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Evidence that the file currently on disk is something Loom wrote.
3
+ */
4
+ export type ManagedFileProof = {
5
+ /**
6
+ * Hash (see {@link hashManagedFileText}) that the manifest recorded when
7
+ * Loom last wrote or verified this file. When present with the current
8
+ * {@link MANAGED_HASH_VERSION} it is the only proof: `knownOutputs` and
9
+ * `isLoomOutput` only cover files without such a record.
10
+ */
11
+ recordedHash?: string;
12
+ /**
13
+ * Complete texts that earlier Loom releases, or earlier recorded
14
+ * configurations, wrote to this path.
15
+ */
16
+ knownOutputs?: readonly string[];
17
+ /**
18
+ * Structural proof for generated files whose earlier text depends on
19
+ * project state Loom no longer knows, such as a generated barrel.
20
+ */
21
+ isLoomOutput?: (text: string) => boolean | Promise<boolean>;
22
+ };
23
+ /**
24
+ * Where a managed file stands relative to Loom's current output:
25
+ * - `missing`: the file does not exist;
26
+ * - `current`: it matches Loom's output, ignoring formatting;
27
+ * - `loom-output`: it is provably earlier Loom output that Loom may replace;
28
+ * - `customized`: it has local edits, or Loom cannot prove that it wrote it.
29
+ */
30
+ export type ManagedFileState = "missing" | "current" | "loom-output" | "customized";
31
+ /** Result of comparing a managed file with Loom's output. */
32
+ export type ManagedFileClassification = {
33
+ /** Hash of Loom's current output for the file. */
34
+ expectedHash: string;
35
+ state: ManagedFileState;
36
+ /** One-line summary of the local edits, for `customized` files. */
37
+ difference?: string;
38
+ };
39
+ /** Result of {@link syncManagedFile}. */
40
+ export type ManagedFileSyncResult = {
41
+ state: "created" | "updated" | "unchanged" | "customized";
42
+ /**
43
+ * Hash to record for the file, or `undefined` when Loom left local edits in
44
+ * place and the previous record should be kept.
45
+ */
46
+ hash?: string;
47
+ /** One-line summary of the local edits, for `customized` files. */
48
+ difference?: string;
49
+ };
50
+ /**
51
+ * Reduces source text to a formatting-insensitive form, so a consumer
52
+ * formatter's output still counts as Loom's own. Indentation, line wrapping,
53
+ * line endings, trailing commas and the quote style of plain string literals
54
+ * are ignored. Everything that can change meaning is kept: comment text
55
+ * (a comment-only edit is still a local edit), semicolons, string, template
56
+ * and regular expression contents, whitespace between operator characters
57
+ * (`a - -b` is not `a--b`), and line breaks where automatic semicolon
58
+ * insertion applies (before `++`/`--`, and after `return` and the other
59
+ * restricted keywords).
60
+ */
61
+ export declare function canonicalizeManagedFileText(text: string): string;
62
+ /**
63
+ * Version of the canonical forms that recorded hashes are prefixed with, as
64
+ * in `c1:<sha256>`. A future change to either canonicaliser bumps it, so
65
+ * older records are treated as absent instead of permanently disowning
66
+ * unmodified files whose canonical form changed.
67
+ */
68
+ export declare const MANAGED_HASH_VERSION = "c1";
69
+ /**
70
+ * Versioned hash of {@link canonicalizeManagedFileText}, as recorded in
71
+ * `loom.json`.
72
+ */
73
+ export declare function hashManagedFileText(text: string): string;
74
+ /**
75
+ * Summarizes how a local file differs from Loom's output in one line: how
76
+ * many lines exist only on each side, and the first line of each. Indentation
77
+ * and blank lines are ignored. Given several Loom versions, it describes the
78
+ * difference from the closest one.
79
+ */
80
+ export declare function describeManagedFileDifference(currentText: string, expected: string | readonly string[]): string;
81
+ /**
82
+ * Classifies existing file content against Loom's current output without
83
+ * writing anything. `loom check` and the sync helpers share this rule.
84
+ */
85
+ export declare function classifyManagedFile(currentText: string | null, expectedText: string, proof?: ManagedFileProof): Promise<ManagedFileClassification>;
86
+ /**
87
+ * Writes Loom's output for a managed file when the file is missing or is
88
+ * provably unmodified Loom output. A file that already matches, ignoring
89
+ * formatting, is left untouched so consumer formatting survives. A file with
90
+ * local edits is never written; the result describes the difference.
91
+ */
92
+ export declare function syncManagedFile(path: string, text: string, proof?: ManagedFileProof): Promise<ManagedFileSyncResult>;
93
+ /**
94
+ * Deletes a file Loom generated and no longer needs, but only when it is
95
+ * provably unmodified Loom output.
96
+ */
97
+ export declare function removeManagedFile(path: string, proof: ManagedFileProof): Promise<"missing" | "removed" | "customized">;
98
+ /**
99
+ * Evidence that a task definition is a value Loom wrote.
100
+ */
101
+ export type ManagedTaskProof = {
102
+ /**
103
+ * Hash (see {@link hashManagedTaskDefinition}) recorded in `loom.json`.
104
+ * When present with the current {@link MANAGED_HASH_VERSION} it is the only
105
+ * proof.
106
+ */
107
+ recordedHash?: string;
108
+ /**
109
+ * Values earlier Loom releases, or Loom under other recorded tooling,
110
+ * wrote for the task.
111
+ */
112
+ knownValues?: readonly unknown[];
113
+ };
114
+ /**
115
+ * Reduces a package script or Deno task definition to a comparable form.
116
+ * Surrounding and repeated whitespace is ignored, and a Deno object holding
117
+ * only `command` equals the same plain string. Any other key, such as a
118
+ * description or dependencies, is part of the value.
119
+ */
120
+ export declare function canonicalizeManagedTaskDefinition(definition: unknown): string;
121
+ /** Versioned hash of {@link canonicalizeManagedTaskDefinition}, as recorded. */
122
+ export declare function hashManagedTaskDefinition(definition: unknown): string;
123
+ /**
124
+ * Classifies a task's current definition against Loom's value, with the same
125
+ * states as {@link classifyManagedFile}: `undefined` is `missing`.
126
+ */
127
+ export declare function classifyManagedTask(current: unknown, expected: unknown, proof?: ManagedTaskProof): {
128
+ expectedHash: string;
129
+ state: ManagedFileState;
130
+ };
131
+ //# sourceMappingURL=managedFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managedFiles.d.ts","sourceRoot":"","sources":["../../../src/src/cli/managedFiles.ts"],"names":[],"mappings":"AAYA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC7D,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,SAAS,GACT,aAAa,GACb,YAAY,CAAC;AAEjB,6DAA6D;AAC7D,MAAM,MAAM,yBAAyB,GAAG;IACtC,kDAAkD;IAClD,YAAY,EAAE,MAAM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