@gadicc/loom 1.17.0 → 1.19.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.
- package/README.md +120 -43
- package/deno.json +3 -0
- package/esm/src/cli/mod.d.ts +3 -1
- package/esm/src/cli/mod.d.ts.map +1 -1
- package/esm/src/cli/mod.js +968 -342
- package/esm/src/cli/projectTooling.d.ts +138 -0
- package/esm/src/cli/projectTooling.d.ts.map +1 -0
- package/esm/src/cli/projectTooling.js +614 -0
- package/esm/src/jobs/controller.d.ts +14 -1
- package/esm/src/jobs/controller.d.ts.map +1 -1
- package/esm/src/jobs/controller.js +54 -3
- package/esm/src/jobs/events.d.ts +9 -1
- package/esm/src/jobs/events.d.ts.map +1 -1
- package/esm/src/jobs/events.js +15 -2
- package/esm/src/jobs/mod.d.ts +1 -0
- package/esm/src/jobs/mod.d.ts.map +1 -1
- package/esm/src/jobs/mod.js +1 -0
- package/esm/src/jobs/run.d.ts +20 -1
- package/esm/src/jobs/run.d.ts.map +1 -1
- package/esm/src/jobs/run.js +29 -4
- package/esm/src/jobs/sanitize.d.ts +30 -0
- package/esm/src/jobs/sanitize.d.ts.map +1 -0
- package/esm/src/jobs/sanitize.js +91 -0
- package/esm/src/mail/postal.d.ts.map +1 -1
- package/esm/src/mail/postal.js +25 -20
- package/esm/src/mail/sender.d.ts +5 -0
- package/esm/src/mail/sender.d.ts.map +1 -0
- package/esm/src/mail/sender.js +48 -0
- package/esm/src/mail/service.d.ts.map +1 -1
- package/esm/src/mail/service.js +7 -5
- package/esm/src/next/jobs/route.d.ts.map +1 -1
- package/esm/src/next/jobs/route.js +1 -1
- package/package.json +3 -2
- package/script/src/cli/mod.d.ts +3 -1
- package/script/src/cli/mod.d.ts.map +1 -1
- package/script/src/cli/mod.js +968 -342
- package/script/src/cli/projectTooling.d.ts +138 -0
- package/script/src/cli/projectTooling.d.ts.map +1 -0
- package/script/src/cli/projectTooling.js +634 -0
- package/script/src/jobs/controller.d.ts +14 -1
- package/script/src/jobs/controller.d.ts.map +1 -1
- package/script/src/jobs/controller.js +54 -3
- package/script/src/jobs/events.d.ts +9 -1
- package/script/src/jobs/events.d.ts.map +1 -1
- package/script/src/jobs/events.js +15 -2
- package/script/src/jobs/mod.d.ts +1 -0
- package/script/src/jobs/mod.d.ts.map +1 -1
- package/script/src/jobs/mod.js +1 -0
- package/script/src/jobs/run.d.ts +20 -1
- package/script/src/jobs/run.d.ts.map +1 -1
- package/script/src/jobs/run.js +29 -4
- package/script/src/jobs/sanitize.d.ts +30 -0
- package/script/src/jobs/sanitize.d.ts.map +1 -0
- package/script/src/jobs/sanitize.js +97 -0
- package/script/src/mail/postal.d.ts.map +1 -1
- package/script/src/mail/postal.js +25 -20
- package/script/src/mail/sender.d.ts +5 -0
- package/script/src/mail/sender.d.ts.map +1 -0
- package/script/src/mail/sender.js +52 -0
- package/script/src/mail/service.d.ts.map +1 -1
- package/script/src/mail/service.js +7 -5
- package/script/src/next/jobs/route.d.ts.map +1 -1
- package/script/src/next/jobs/route.js +1 -1
- package/skills/loom/SKILL.md +38 -23
- package/skills/loom-db/SKILL.md +9 -7
- package/skills/loom-db/references/db-stack.md +2 -1
- package/skills/loom-jobs/SKILL.md +36 -6
- package/skills/loom-lingui/SKILL.md +38 -0
- package/skills/loom-lingui/agents/openai.yaml +4 -0
- package/skills/loom-mail/SKILL.md +14 -3
package/README.md
CHANGED
|
@@ -29,6 +29,9 @@ Current feature set:
|
|
|
29
29
|
transport and signed webhooks, per-recipient state, and admin-gated test mail
|
|
30
30
|
- a Loom-managed env runner for non-Next commands that need the same `.env*`
|
|
31
31
|
semantics as Next
|
|
32
|
+
- consumer project tooling that supports `package.json`, `deno.json`,
|
|
33
|
+
`deno.jsonc`, and dual-config projects with separate task and dependency
|
|
34
|
+
owners recorded in `loom.json`
|
|
32
35
|
- Deno tests with BDD-style assertions
|
|
33
36
|
- npm package generation via `dnt`
|
|
34
37
|
|
|
@@ -62,13 +65,16 @@ consumer migration are documented in
|
|
|
62
65
|
## CLI
|
|
63
66
|
|
|
64
67
|
`loom` now includes a small bootstrap CLI and feature-scaffolding entrypoint.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
and
|
|
71
|
-
|
|
68
|
+
The detection, dual-config precedence, and safe task-composition contract is
|
|
69
|
+
documented in [`docs/project-tooling.md`](docs/project-tooling.md).
|
|
70
|
+
|
|
71
|
+
- `loom init` adds `@gadicc/loom` to the authoritative dependency config,
|
|
72
|
+
creates or updates `loom.json`, records the authoritative task runner/config
|
|
73
|
+
and dependency manager/config, refreshes the managed Loom bootstrap block in
|
|
74
|
+
`AGENTS.md`, and ensures the managed `.agents/skills/*` links point at the
|
|
75
|
+
installed `@gadicc/loom` package, activates skills exposed by installed npm
|
|
76
|
+
packages, and configures version-matched Next.js guidance when supported by
|
|
77
|
+
the installed Next version.
|
|
72
78
|
- `loom add` lists the shared features that the CLI can activate and shows a
|
|
73
79
|
short description for each one.
|
|
74
80
|
- `loom add <feature>` activates one shared feature in `loom.json` and applies
|
|
@@ -77,10 +83,10 @@ consumer migration are documented in
|
|
|
77
83
|
any missing local jobs/admin route files without overwriting existing
|
|
78
84
|
app-local wrappers, while also enabling the `loom-jobs` skill link.
|
|
79
85
|
- `loom add db` activates the shared DB feature in `loom.json`, adds the managed
|
|
80
|
-
DB dependencies and
|
|
81
|
-
/ `neonFull.ts` / `drizzle.config.ts` / PGlite test harness files
|
|
82
|
-
Loom-managed thin wrappers, scaffolds the app-local fixture script
|
|
83
|
-
and enables the `loom-db` skill link.
|
|
86
|
+
DB dependencies and tasks to their recorded configs, rewrites the standard
|
|
87
|
+
`neon.ts` / `neonFull.ts` / `drizzle.config.ts` / PGlite test harness files
|
|
88
|
+
into Loom-managed thin wrappers, scaffolds the app-local fixture script
|
|
89
|
+
entrypoint, and enables the `loom-db` skill link.
|
|
84
90
|
- `loom add files` activates the shared files schema contract after the DB
|
|
85
91
|
feature is active. It materializes the Loom-managed Drizzle schema blueprint
|
|
86
92
|
into an app-local committed schema file, records the blueprint version and
|
|
@@ -97,8 +103,11 @@ consumer migration are documented in
|
|
|
97
103
|
orchestration and memory test adapters. `@gadicc/loom/mail/postal` owns the
|
|
98
104
|
Postal HTTP and webhook contract, `@gadicc/loom/next/mail` owns the raw-body
|
|
99
105
|
route handler, and `@gadicc/loom/mui/mail` owns optional serializable admin
|
|
100
|
-
views.
|
|
101
|
-
|
|
106
|
+
views. Keep the default sender structured with the required bare address
|
|
107
|
+
`POSTAL_FROM_EMAIL=noreply@example.com` and optional display name
|
|
108
|
+
`POSTAL_FROM_NAME=Example App`. Configure Postal webhook verification with a
|
|
109
|
+
JSON array of RSA public JWKs in `POSTAL_WEBHOOK_PUBLIC_KEYS`; shared-secret
|
|
110
|
+
emulation is unsupported.
|
|
102
111
|
- `loom files r2 setup` creates or reuses private Cloudflare R2 buckets for
|
|
103
112
|
Production and Preview, records the explicit Cloudflare account and storage
|
|
104
113
|
policy in `loom.json`, replaces only the untouched generated storage stub,
|
|
@@ -137,11 +146,18 @@ consumer migration are documented in
|
|
|
137
146
|
- `@gadicc/loom/next/files` provides App Router route-handler factories for
|
|
138
147
|
uploads, metadata lookup, and downloads over app-provided persistence and
|
|
139
148
|
storage adapters.
|
|
149
|
+
- `loom add lingui` adopts Lingui catalog tooling without owning locale routing
|
|
150
|
+
or translations. It records loader versus precompile mode, adds compatible
|
|
151
|
+
dependencies and extract/compile tasks, ignores generated JavaScript catalogs,
|
|
152
|
+
and ensures precompiled catalogs are built before the app build. `loom check`
|
|
153
|
+
also reports tracked generated catalogs, task-order drift, mismatched runtime
|
|
154
|
+
imports, and missing Next.js loader/SWC wiring.
|
|
140
155
|
- `loom add pwa` activates the shared Serwist PWA feature, adds the Serwist
|
|
141
|
-
dependencies and build
|
|
142
|
-
`serwist.config.mjs` plus worker/provider files,
|
|
143
|
-
prompt should use the MUI adapter or browser
|
|
144
|
-
check interval for MUI installs, and ignores
|
|
156
|
+
dependencies and build task, safely composes it after an existing Next build,
|
|
157
|
+
scaffolds configurator-mode `serwist.config.mjs` plus worker/provider files,
|
|
158
|
+
records whether the update prompt should use the MUI adapter or browser
|
|
159
|
+
fallback, adds a 60-second update check interval for MUI installs, and ignores
|
|
160
|
+
generated service-worker output.
|
|
145
161
|
- `loom add skills` adopts matching reviewed external skills into the gitignored
|
|
146
162
|
`.loom/skills` cache, records exact revisions and content hashes in
|
|
147
163
|
`loom-skills.lock.json`, and activates package-provided skills.
|
|
@@ -180,17 +196,18 @@ consumer migration are documented in
|
|
|
180
196
|
environment for staged Vercel releases: it stores `VERCEL_ORG_ID` and
|
|
181
197
|
`VERCEL_PROJECT_ID`, creates a Vercel token scoped to the linked Vercel team,
|
|
182
198
|
and saves that token as the GitHub `VERCEL_TOKEN` environment secret.
|
|
183
|
-
- `loom dev local /path/to/loom` enables local unpublished Loom development
|
|
184
|
-
|
|
185
|
-
`
|
|
199
|
+
- `loom dev local /path/to/loom` enables local unpublished Loom development. It
|
|
200
|
+
adds a managed `file:` override in `pnpm-workspace.yaml` for pnpm projects or
|
|
201
|
+
a Deno `links` entry in `deno.json(c)`, then runs the local-dev sync flow when
|
|
202
|
+
needed.
|
|
186
203
|
- `loom dev sync` rebuilds the local Loom package when source files are newer
|
|
187
|
-
than the generated npm output, then refreshes the consuming app with
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
204
|
+
than the generated npm output, then refreshes the consuming app with the pnpm
|
|
205
|
+
update/install flow or `deno install` when the installed linked dependency is
|
|
206
|
+
stale. Other Loom commands also run this sync automatically when the managed
|
|
207
|
+
local-dev override is active; pass `--no-sync` to skip it. Each sync records
|
|
208
|
+
the Loom source commit in the managed `pnpm-workspace.yaml` block and
|
|
209
|
+
gitignored `.loom/dev-state.json` when the local package path points at a Loom
|
|
210
|
+
git checkout.
|
|
194
211
|
- `loom dev published` removes that managed local-dev override so the app can
|
|
195
212
|
return to the published package version. When a prior sync recorded a Loom
|
|
196
213
|
source commit, this command verifies that the commit is reachable from
|
|
@@ -202,24 +219,26 @@ consumer migration are documented in
|
|
|
202
219
|
existing published dependency with an explicit warning. The command also
|
|
203
220
|
notices stale lockfiles that still resolve Loom to a local package even after
|
|
204
221
|
the workspace override has been removed.
|
|
205
|
-
- `loom check` verifies
|
|
206
|
-
block and `.agents/skills/*` links, and then runs
|
|
207
|
-
active entries in `loom.json`, including
|
|
208
|
-
runtime, script, Valibot-barrel wiring, and
|
|
209
|
-
flow for active DB installs, managed local
|
|
210
|
-
installs, and Serwist package, worker,
|
|
211
|
-
MUI-confirm, and build-script wiring for
|
|
212
|
-
release-flow check expects Vercel automatic
|
|
213
|
-
disabled in `vercel.json` and a GitHub
|
|
214
|
-
production settings, build, upload a staged
|
|
215
|
-
run `db:migrate` through
|
|
216
|
-
|
|
217
|
-
|
|
222
|
+
- `loom check` verifies the recorded package/Deno configs, `loom.json`, the
|
|
223
|
+
managed `AGENTS.md` block and `.agents/skills/*` links, and then runs
|
|
224
|
+
feature-specific checks for active entries in `loom.json`, including
|
|
225
|
+
jobs-wrapper validation plus DB runtime, script, Valibot-barrel wiring, and
|
|
226
|
+
the production migration release flow for active DB installs, managed local
|
|
227
|
+
schema validation for active files installs, and Serwist package, worker,
|
|
228
|
+
provider, update-check interval, MUI-confirm, and build-script wiring for
|
|
229
|
+
active PWA installs. The DB release-flow check expects Vercel automatic
|
|
230
|
+
production Git deployments to be disabled in `vercel.json` and a GitHub
|
|
231
|
+
Actions workflow to pull Vercel production settings, build, upload a staged
|
|
232
|
+
prebuilt production deployment, run `db:migrate` through
|
|
233
|
+
`vercel env run -e production`, then promote the staged deployment.
|
|
234
|
+
`loom check --network` also verifies the required GitHub release
|
|
235
|
+
secret/variables when that workflow exists. When
|
|
218
236
|
`.github/workflows/*.yml|yaml` still contains Loom's obsolete GitHub Packages
|
|
219
237
|
registry/auth setup, `loom check` recommends removing it. The command also
|
|
220
238
|
activates newly discovered npm package skills with a notice, warns when the
|
|
221
239
|
managed local dev override is active, reports inline `dotenv`/`@next/env`
|
|
222
|
-
imports or DB/jobs
|
|
240
|
+
imports or DB/jobs tasks that bypass `loom env --`, warns when authoritative
|
|
241
|
+
and secondary configs expose conflicting tasks, and warns when a Deno link or
|
|
223
242
|
`pnpm-lock.yaml` still resolves Loom to local source. If
|
|
224
243
|
`.loom/dev-state.json` records a synced Loom commit, `loom check` also
|
|
225
244
|
explains whether that commit is unpublished or published in a newer exact Loom
|
|
@@ -255,11 +274,14 @@ pnpm install
|
|
|
255
274
|
loom check --production
|
|
256
275
|
```
|
|
257
276
|
|
|
277
|
+
For Deno-managed projects, replace the pnpm refresh commands with
|
|
278
|
+
`deno install`; `loom dev published` prints the project-appropriate command.
|
|
279
|
+
|
|
258
280
|
Publishing Loom is only required when the app was synced against
|
|
259
281
|
package-relevant Loom changes that are not already covered by a published semver
|
|
260
282
|
tag. Publishing a new Loom version does not move other consumer apps; each app
|
|
261
|
-
remains on its committed
|
|
262
|
-
upgrades.
|
|
283
|
+
remains on its committed dependency config and lockfile until that app
|
|
284
|
+
deliberately upgrades.
|
|
263
285
|
|
|
264
286
|
### New app DB bootstrap
|
|
265
287
|
|
|
@@ -428,6 +450,61 @@ import { testMeta } from "./indexWithMetaOnly";
|
|
|
428
450
|
export const test = createLazyJob(testMeta, () => import("./test"));
|
|
429
451
|
```
|
|
430
452
|
|
|
453
|
+
Job output can be sanitized once at the execution boundary so the same policy
|
|
454
|
+
applies to NDJSON, text, HTML, direct runners, HTTP responses, and app-provided
|
|
455
|
+
formatters:
|
|
456
|
+
|
|
457
|
+
```ts
|
|
458
|
+
import { createJobOutputRedactor, type Job } from "@gadicc/loom/jobs";
|
|
459
|
+
import { createJobsRouteHandler } from "@gadicc/loom/next/jobs/route";
|
|
460
|
+
|
|
461
|
+
const providerToken = process.env.PROVIDER_TOKEN;
|
|
462
|
+
if (!providerToken) throw new Error("PROVIDER_TOKEN is required");
|
|
463
|
+
|
|
464
|
+
const outputSanitizer = createJobOutputRedactor(
|
|
465
|
+
new Map<string | RegExp, true | string>([
|
|
466
|
+
[providerToken, true],
|
|
467
|
+
[/Bearer\s+\S+/gi, "Bearer [REDACTED]"],
|
|
468
|
+
]),
|
|
469
|
+
);
|
|
470
|
+
|
|
471
|
+
export const jobsRouteHandler = createJobsRouteHandler({
|
|
472
|
+
catalog: jobs as readonly Job[],
|
|
473
|
+
handlerErrorMessage: "Job execution failed.",
|
|
474
|
+
outputSanitizer,
|
|
475
|
+
});
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
Redaction rules run in map insertion order, each against the preceding rule's
|
|
479
|
+
result. Exact strings match wherever they occur. RegExp rules replace every
|
|
480
|
+
match without using the caller's `lastIndex`, even when the expression is
|
|
481
|
+
non-global or sticky. A `true` replacement means `[REDACTED]`; string
|
|
482
|
+
replacements are literal, so `$&`, `$1`, and `$$` are not expanded. Empty exact
|
|
483
|
+
matchers are rejected without printing configured match or replacement values.
|
|
484
|
+
|
|
485
|
+
The sanitizer visits every string value emitted through `job.log()`, all other
|
|
486
|
+
log levels, and `job.json()` while retaining normal JSON behavior for arrays,
|
|
487
|
+
objects, dates, numbers, booleans, and null. Inputs are not mutated. If a
|
|
488
|
+
sanitizer throws or returns a non-string, Loom fails the execution closed and
|
|
489
|
+
emits only `Job output sanitation failed.` for that failure.
|
|
490
|
+
|
|
491
|
+
Output redaction and unexpected-error disclosure are separate. Omitting
|
|
492
|
+
`handlerErrorMessage` retains Loom's existing full-stack fatal event; supplying
|
|
493
|
+
a string emits that exact generic literal instead. Deferred-task errors keep
|
|
494
|
+
their own `deferredTaskErrorHandler`, and the additive
|
|
495
|
+
`runDeferredTasksWithResult()` method returns a failure count while
|
|
496
|
+
`runDeferredTasks()` keeps its legacy `Promise<void>` contract. Consumers that
|
|
497
|
+
run deferred tasks inline can emit a generic event from that callback; tasks run
|
|
498
|
+
after a response stream closes should report through a separate safe sink.
|
|
499
|
+
`cancellationMessage: false` suppresses the legacy `Job cancelled` event when
|
|
500
|
+
cancellation must only set the controller flag.
|
|
501
|
+
|
|
502
|
+
This boundary protects Loom job-event output only. It does not sanitize
|
|
503
|
+
`console.*`, provider or framework logs, audit metadata, request URLs, thrown
|
|
504
|
+
values retained in `execution.result`, or external logging systems. Object
|
|
505
|
+
property names are JSON structure rather than string values and are not
|
|
506
|
+
rewritten; do not place secrets in keys.
|
|
507
|
+
|
|
431
508
|
For the strongest Next.js deployment boundary, mount jobs in static route files
|
|
432
509
|
with `createJobRouteHandler({ job })`. A dynamic `[id]` route is one serverless
|
|
433
510
|
function and therefore still traces every implementation reachable from its
|
package/deno.json
ADDED
package/esm/src/cli/mod.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ProjectTooling } from "./projectTooling.js";
|
|
1
2
|
export declare const DEFAULT_LOOM_RANGE = "^1.0.0";
|
|
2
3
|
export declare const LOOM_DEPENDENCY = "@gadicc/loom";
|
|
3
4
|
export declare const LOOM_MANIFEST_SCHEMA = "https://loom.gadicc.local/project-manifest.schema.json";
|
|
@@ -84,6 +85,7 @@ type LoomManifest = {
|
|
|
84
85
|
project?: {
|
|
85
86
|
framework?: FrameworkInfo;
|
|
86
87
|
name?: string;
|
|
88
|
+
tooling?: ProjectTooling;
|
|
87
89
|
};
|
|
88
90
|
version: 1;
|
|
89
91
|
};
|
|
@@ -213,7 +215,7 @@ export declare function ensurePackageJsonDependency(packageJson: PackageJson, ve
|
|
|
213
215
|
packageJson: any;
|
|
214
216
|
previous: any;
|
|
215
217
|
};
|
|
216
|
-
export declare function buildManifest(cwd: string, packageJson: PackageJson, framework: FrameworkInfo, existingManifest: LoomManifest | null): LoomManifest;
|
|
218
|
+
export declare function buildManifest(cwd: string, packageJson: PackageJson, framework: FrameworkInfo, existingManifest: LoomManifest | null, tooling?: ProjectTooling): LoomManifest;
|
|
217
219
|
export declare function ensureAgentsMdText(existingText: string | null): {
|
|
218
220
|
changed: boolean;
|
|
219
221
|
text: string;
|
package/esm/src/cli/mod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../src/src/cli/mod.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../src/src/cli/mod.ts"],"names":[],"mappings":"AAuCA,OAAO,EAUL,KAAK,cAAc,EAMpB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAC9C,eAAO,MAAM,oBAAoB,2DACyB,CAAC;AAC3D,eAAO,MAAM,yBAAyB,uCAAuC,CAAC;AAC9E,eAAO,MAAM,uBAAuB,qCAAqC,CAAC;AAC1E,eAAO,MAAM,8BAA8B,8CACE,CAAC;AAC9C,eAAO,MAAM,4BAA4B,4CACE,CAAC;AAC5C,eAAO,MAAM,+BAA+B,6BAA6B,CAAC;AAC1E,eAAO,MAAM,6BAA6B,2BAA2B,CAAC;AACtE,eAAO,MAAM,kCAAkC,yBAAyB,CAAC;AACzE,eAAO,MAAM,mCAAmC,yBAAyB,CAAC;AAI1E,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAAO,CAAC;AAwCtD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAA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