@agentyx/core 0.2.0 → 0.3.1
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/index.d.mts +151 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +404 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/api-documentation/SKILL.md +34 -0
- package/skills/aria-patterns/SKILL.md +36 -0
- package/skills/auth-patterns/SKILL.md +35 -0
- package/skills/branching-strategy/SKILL.md +34 -0
- package/skills/ci-pipelines/SKILL.md +34 -0
- package/skills/commit-hygiene/SKILL.md +34 -0
- package/skills/containerization/SKILL.md +38 -0
- package/skills/data-modeling/SKILL.md +34 -0
- package/skills/decision-records/SKILL.md +34 -0
- package/skills/dependency-hygiene/SKILL.md +34 -0
- package/skills/dependency-security/SKILL.md +35 -0
- package/skills/deployment-safety/SKILL.md +33 -0
- package/skills/e2e-testing/SKILL.md +34 -0
- package/skills/flaky-tests/SKILL.md +29 -0
- package/skills/incident-response/SKILL.md +34 -0
- package/skills/infrastructure-as-code/SKILL.md +34 -0
- package/skills/keyboard-navigation/SKILL.md +34 -0
- package/skills/legacy-code/SKILL.md +34 -0
- package/skills/metrics-and-tracing/SKILL.md +33 -0
- package/skills/performance-profiling/SKILL.md +34 -0
- package/skills/pull-requests/SKILL.md +34 -0
- package/skills/query-performance/SKILL.md +34 -0
- package/skills/refactoring-safely/SKILL.md +34 -0
- package/skills/schema-migrations/SKILL.md +34 -0
- package/skills/secrets-handling/SKILL.md +34 -0
- package/skills/secure-coding/SKILL.md +33 -0
- package/skills/semantic-html/SKILL.md +34 -0
- package/skills/structured-logging/SKILL.md +34 -0
- package/skills/technical-writing/SKILL.md +34 -0
- package/skills/test-doubles/SKILL.md +30 -0
- package/skills/test-strategy/SKILL.md +35 -0
- package/skills/transactions-and-consistency/SKILL.md +34 -0
- package/skills/web-vitals/SKILL.md +34 -0
package/dist/index.d.mts
CHANGED
|
@@ -12,13 +12,17 @@ declare class AgentyxError extends Error {
|
|
|
12
12
|
constructor(code: string, message: string, options?: ErrorOptions);
|
|
13
13
|
}
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region src/
|
|
16
|
-
/** A single
|
|
17
|
-
interface
|
|
15
|
+
//#region src/issues.d.ts
|
|
16
|
+
/** A single problem in an Agentyx document, addressed by its location in it. */
|
|
17
|
+
interface AgentyxIssue {
|
|
18
18
|
/** Dotted path to the offending value, or `(root)` for the document itself. */
|
|
19
19
|
readonly path: string;
|
|
20
20
|
readonly message: string;
|
|
21
21
|
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/config/errors.d.ts
|
|
24
|
+
/** A single configuration problem, addressed by its location in the document. */
|
|
25
|
+
type AgentyxConfigIssue = AgentyxIssue;
|
|
22
26
|
/** Raised when the supplied directory has no `.agentyx.json`. */
|
|
23
27
|
declare class AgentyxConfigNotFoundError extends AgentyxError {
|
|
24
28
|
readonly filePath: string;
|
|
@@ -415,6 +419,148 @@ interface ResolvedAgentyxConfig {
|
|
|
415
419
|
*/
|
|
416
420
|
declare function resolveAgentyxConfig(config: AgentyxConfig, registry?: PackRegistry, skillRegistry?: SkillRegistry, mcpRegistry?: McpServerRegistry, toolRegistry?: ToolRegistry): ResolvedAgentyxConfig;
|
|
417
421
|
//#endregion
|
|
422
|
+
//#region src/manifest/errors.d.ts
|
|
423
|
+
/** Raised when `.agentyx.lock.json` is not valid JSON. */
|
|
424
|
+
declare class AgentyxManifestParseError extends AgentyxError {
|
|
425
|
+
readonly filePath: string;
|
|
426
|
+
constructor(filePath: string, reason: string, options?: ErrorOptions);
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Raised when the manifest parses as JSON but is not a manifest Agentyx
|
|
430
|
+
* understands.
|
|
431
|
+
*
|
|
432
|
+
* This is never repaired. The manifest is what tells Agentyx which files it is
|
|
433
|
+
* allowed to overwrite and delete, so guessing at a damaged one would be
|
|
434
|
+
* guessing about destructive operations.
|
|
435
|
+
*/
|
|
436
|
+
declare class AgentyxManifestValidationError extends AgentyxError {
|
|
437
|
+
readonly issues: readonly AgentyxIssue[];
|
|
438
|
+
readonly filePath: string | undefined;
|
|
439
|
+
constructor(error: ZodError, filePath?: string);
|
|
440
|
+
}
|
|
441
|
+
//#endregion
|
|
442
|
+
//#region src/manifest/schema.d.ts
|
|
443
|
+
/**
|
|
444
|
+
* The manifest format version.
|
|
445
|
+
*
|
|
446
|
+
* A manifest written by a newer Agentyx fails validation instead of being
|
|
447
|
+
* reinterpreted, because acting on a half-understood record of managed files is
|
|
448
|
+
* how an installer deletes something it should not.
|
|
449
|
+
*/
|
|
450
|
+
declare const INSTALL_MANIFEST_VERSION = 1;
|
|
451
|
+
/** A `SKILL.md` file Agentyx wrote, owned entirely by Agentyx. */
|
|
452
|
+
declare const skillManifestEntrySchema: z.ZodObject<{
|
|
453
|
+
kind: z.ZodLiteral<"skill">;
|
|
454
|
+
path: z.ZodString;
|
|
455
|
+
skill: z.ZodString;
|
|
456
|
+
targets: z.ZodArray<z.ZodString>;
|
|
457
|
+
hash: z.ZodString;
|
|
458
|
+
}, z.core.$strict>;
|
|
459
|
+
/**
|
|
460
|
+
* A provider MCP configuration file Agentyx contributed entries to.
|
|
461
|
+
*
|
|
462
|
+
* Unlike a skill file this one is shared with the user, so the entry records
|
|
463
|
+
* the server keys Agentyx added rather than claiming the whole document.
|
|
464
|
+
* `created` says whether the file existed before Agentyx first wrote it, which
|
|
465
|
+
* is the only thing that makes removing the file itself safe.
|
|
466
|
+
*/
|
|
467
|
+
declare const mcpManifestEntrySchema: z.ZodObject<{
|
|
468
|
+
kind: z.ZodLiteral<"mcp">;
|
|
469
|
+
path: z.ZodString;
|
|
470
|
+
servers: z.ZodArray<z.ZodString>;
|
|
471
|
+
targets: z.ZodArray<z.ZodString>;
|
|
472
|
+
hash: z.ZodString;
|
|
473
|
+
created: z.ZodBoolean;
|
|
474
|
+
}, z.core.$strict>;
|
|
475
|
+
declare const installManifestEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
476
|
+
kind: z.ZodLiteral<"skill">;
|
|
477
|
+
path: z.ZodString;
|
|
478
|
+
skill: z.ZodString;
|
|
479
|
+
targets: z.ZodArray<z.ZodString>;
|
|
480
|
+
hash: z.ZodString;
|
|
481
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
482
|
+
kind: z.ZodLiteral<"mcp">;
|
|
483
|
+
path: z.ZodString;
|
|
484
|
+
servers: z.ZodArray<z.ZodString>;
|
|
485
|
+
targets: z.ZodArray<z.ZodString>;
|
|
486
|
+
hash: z.ZodString;
|
|
487
|
+
created: z.ZodBoolean;
|
|
488
|
+
}, z.core.$strict>], "kind">;
|
|
489
|
+
/** The `.agentyx.lock.json` record of everything Agentyx installed into a project. */
|
|
490
|
+
declare const installManifestSchema: z.ZodObject<{
|
|
491
|
+
version: z.ZodLiteral<1>;
|
|
492
|
+
entries: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
493
|
+
kind: z.ZodLiteral<"skill">;
|
|
494
|
+
path: z.ZodString;
|
|
495
|
+
skill: z.ZodString;
|
|
496
|
+
targets: z.ZodArray<z.ZodString>;
|
|
497
|
+
hash: z.ZodString;
|
|
498
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
499
|
+
kind: z.ZodLiteral<"mcp">;
|
|
500
|
+
path: z.ZodString;
|
|
501
|
+
servers: z.ZodArray<z.ZodString>;
|
|
502
|
+
targets: z.ZodArray<z.ZodString>;
|
|
503
|
+
hash: z.ZodString;
|
|
504
|
+
created: z.ZodBoolean;
|
|
505
|
+
}, z.core.$strict>], "kind">>>;
|
|
506
|
+
}, z.core.$strict>;
|
|
507
|
+
type SkillManifestEntry = z.infer<typeof skillManifestEntrySchema>;
|
|
508
|
+
type McpManifestEntry = z.infer<typeof mcpManifestEntrySchema>;
|
|
509
|
+
type InstallManifestEntry = z.infer<typeof installManifestEntrySchema>;
|
|
510
|
+
/** A validated manifest, with defaults applied. */
|
|
511
|
+
type InstallManifest = z.infer<typeof installManifestSchema>;
|
|
512
|
+
/** The shape accepted in a `.agentyx.lock.json` file. */
|
|
513
|
+
type InstallManifestInput = z.input<typeof installManifestSchema>;
|
|
514
|
+
//#endregion
|
|
515
|
+
//#region src/manifest/io.d.ts
|
|
516
|
+
declare const AGENTYX_MANIFEST_FILENAME = ".agentyx.lock.json";
|
|
517
|
+
/** The absolute path `.agentyx.lock.json` is read from for a given project. */
|
|
518
|
+
declare function agentyxManifestPath(projectPath?: string): string;
|
|
519
|
+
/** A manifest that claims nothing — what a project has before its first install. */
|
|
520
|
+
declare function emptyInstallManifest(): InstallManifest;
|
|
521
|
+
/**
|
|
522
|
+
* The SHA-256 digest Agentyx records for managed content.
|
|
523
|
+
*
|
|
524
|
+
* Comparing this digest with the file on disk is what separates "Agentyx wrote
|
|
525
|
+
* this and may replace it" from "someone else owns this file", so it is
|
|
526
|
+
* computed over the exact bytes written, never over a normalised form.
|
|
527
|
+
*/
|
|
528
|
+
declare function hashContent(content: string): string;
|
|
529
|
+
/**
|
|
530
|
+
* Validates an already-parsed manifest document.
|
|
531
|
+
*
|
|
532
|
+
* @throws {AgentyxManifestValidationError} when the document violates the schema.
|
|
533
|
+
*/
|
|
534
|
+
declare function parseInstallManifest(value: unknown, filePath?: string): InstallManifest;
|
|
535
|
+
/**
|
|
536
|
+
* Reads `.agentyx.lock.json` from `projectPath`.
|
|
537
|
+
*
|
|
538
|
+
* A missing manifest is a legitimate state — the project has simply never been
|
|
539
|
+
* installed into — and yields an empty manifest. A manifest that exists but
|
|
540
|
+
* cannot be understood is a hard failure: it governs which files Agentyx may
|
|
541
|
+
* overwrite and delete, and a damaged one is never guessed at.
|
|
542
|
+
*
|
|
543
|
+
* @throws {AgentyxManifestParseError} when the file is not valid JSON.
|
|
544
|
+
* @throws {AgentyxManifestValidationError} when the document violates the schema.
|
|
545
|
+
*/
|
|
546
|
+
declare function loadInstallManifest(projectPath?: string): Promise<InstallManifest>;
|
|
547
|
+
/**
|
|
548
|
+
* Serialises a manifest for writing.
|
|
549
|
+
*
|
|
550
|
+
* Entries and their lists are sorted so that reinstalling an unchanged project
|
|
551
|
+
* produces a byte-identical file and the manifest never shows up as noise in a
|
|
552
|
+
* diff. Writing is deliberately not done here — only the install executor
|
|
553
|
+
* touches the filesystem.
|
|
554
|
+
*/
|
|
555
|
+
declare function formatInstallManifest(manifest: InstallManifest): string;
|
|
556
|
+
/**
|
|
557
|
+
* Indexes manifest entries by managed path.
|
|
558
|
+
*
|
|
559
|
+
* Every ownership question — may this file be overwritten, may it be deleted —
|
|
560
|
+
* is a lookup by path, so callers do not scan the list themselves.
|
|
561
|
+
*/
|
|
562
|
+
declare function manifestEntriesByPath(manifest: InstallManifest): ReadonlyMap<string, InstallManifestEntry>;
|
|
563
|
+
//#endregion
|
|
418
564
|
//#region src/mcp/built-in.d.ts
|
|
419
565
|
declare const builtInMcpServerRegistry: McpServerRegistry;
|
|
420
566
|
declare const builtInMcpServerNames: readonly string[];
|
|
@@ -516,7 +662,7 @@ declare function formatAgentyxConfig(config: AgentyxConfigInput): string;
|
|
|
516
662
|
* `packages/core/skills`, and knowing them without touching the filesystem is
|
|
517
663
|
* what lets pack resolution validate references without reading any body.
|
|
518
664
|
*/
|
|
519
|
-
declare const builtInSkillNames: readonly ["engineering-principles", "code-quality", "api-design", "code-review", "planning", "systematic-debugging", "verification", "brainstorming", "parallel-work", "worktree-workflow", "subagent-driven-development", "requesting-code-review", "typescript-strict", "typescript-modeling", "typescript-modern", "angular-modern", "angular-signals", "angular-architecture", "angular-testing", "context-efficient-development", "concise-output", "targeted-exploration", "focused-verification"];
|
|
665
|
+
declare const builtInSkillNames: readonly ["engineering-principles", "code-quality", "api-design", "code-review", "planning", "systematic-debugging", "verification", "brainstorming", "parallel-work", "worktree-workflow", "subagent-driven-development", "requesting-code-review", "typescript-strict", "typescript-modeling", "typescript-modern", "angular-modern", "angular-signals", "angular-architecture", "angular-testing", "context-efficient-development", "concise-output", "targeted-exploration", "focused-verification", "test-strategy", "test-doubles", "e2e-testing", "flaky-tests", "secure-coding", "secrets-handling", "dependency-security", "auth-patterns", "performance-profiling", "web-vitals", "query-performance", "semantic-html", "aria-patterns", "keyboard-navigation", "refactoring-safely", "legacy-code", "dependency-hygiene", "technical-writing", "api-documentation", "decision-records", "structured-logging", "metrics-and-tracing", "incident-response", "data-modeling", "schema-migrations", "transactions-and-consistency", "commit-hygiene", "branching-strategy", "pull-requests", "ci-pipelines", "containerization", "deployment-safety", "infrastructure-as-code"];
|
|
520
666
|
/** The registry used by default when no explicit registry is supplied. */
|
|
521
667
|
declare const builtInSkillRegistry: SkillRegistry;
|
|
522
668
|
//#endregion
|
|
@@ -632,5 +778,5 @@ declare function filterEffectiveTools(tools: readonly ToolReference[], enabledCa
|
|
|
632
778
|
declare function resolvePackToolReferences(requestedPacks: readonly string[], packRegistry?: PackRegistry, toolRegistry?: ToolRegistry): ToolReference[];
|
|
633
779
|
declare function resolvePackTools(requestedPacks: readonly string[], packRegistry?: PackRegistry, toolRegistry?: ToolRegistry, enabledCapabilities?: readonly string[]): string[];
|
|
634
780
|
//#endregion
|
|
635
|
-
export { AGENTYX_CONFIG_FILENAME, AGENTYX_CONFIG_SCHEMA_ID, type AgentyxConfig, type AgentyxConfigInput, type AgentyxConfigIssue, AgentyxConfigNotFoundError, AgentyxConfigParseError, AgentyxConfigValidationError, AgentyxError, CircularPackDependencyError, DuplicateMcpServerError, DuplicatePackError, DuplicateSkillError, DuplicateToolError, InvalidMcpServerError, InvalidSkillError, InvalidToolError, MCP_CAPABILITY_LEVELS, MCP_CONTEXT_COSTS, type McpCapabilityLevel, type McpContextCost, type McpEnvReference, type McpServerDefinition, type McpServerDefinitionInput, type McpServerMetadata, type McpServerReference, type McpServerReferenceInput, type McpServerRegistry, type McpServerSource, PACKAGE_MANAGERS, PACK_CATEGORIES, type PackCategory, type PackDefinition, type PackDefinitionInput, type PackRegistry, type PackageManagerDetection, type PackageManagerName, type ProjectDetection, type ProjectPackageJsonDetection, type ResolvedAgentyxConfig, type SkillDefinition, type SkillDefinitionInput, type SkillRegistry, type SkillSource, TOOL_ACTIVATION_LEVELS, type ToolActivationLevel, type ToolDefinition, type ToolDefinitionInput, type ToolMetadata, type ToolReference, type ToolReferenceInput, type ToolRegistry, type ToolSource, UnknownEnabledCapabilityError, UnknownMcpServerError, UnknownPackError, UnknownSkillError, UnknownToolError, agentyxConfigPath, agentyxConfigSchema, agentyxCoreName, agentyxTargetSchema, buildAgentyxConfig, buildAgentyxConfigJsonSchema, builtInMcpServerNames, builtInMcpServerRegistry, builtInPackRegistry, builtInPacks, builtInSkillNames, builtInSkillRegistry, builtInToolNames, builtInToolRegistry, collectPackMcpServerReferences, collectPackMcpServers, collectPackToolReferences, createMcpServerRegistry, createPackRegistry, createSkillRegistry, createToolRegistry, detectProject, enabledCapabilityNameSchema, filterEffectiveMcpServers, filterEffectiveTools, formatAgentyxConfig, formatSkillMarkdown, getCoreStatus, loadAgentyxConfig, mcpCapabilityLevelSchema, mcpContextCostSchema, mcpEnvReferenceSchema, mcpServerDefinitionSchema, mcpServerReferenceSchema, packCategorySchema, packDefinitionSchema, packNameSchema, parseAgentyxConfig, parseSkillMarkdown, resolveAgentyxConfig, resolvePackMcpServerReferences, resolvePackMcpServers, resolvePackSkills, resolvePackToolReferences, resolvePackTools, resolvePacks, skillDefinitionSchema, toolActivationLevelSchema, toolDefinitionSchema, toolNameSchema, toolReferenceSchema };
|
|
781
|
+
export { AGENTYX_CONFIG_FILENAME, AGENTYX_CONFIG_SCHEMA_ID, AGENTYX_MANIFEST_FILENAME, type AgentyxConfig, type AgentyxConfigInput, type AgentyxConfigIssue, AgentyxConfigNotFoundError, AgentyxConfigParseError, AgentyxConfigValidationError, AgentyxError, type AgentyxIssue, AgentyxManifestParseError, AgentyxManifestValidationError, CircularPackDependencyError, DuplicateMcpServerError, DuplicatePackError, DuplicateSkillError, DuplicateToolError, INSTALL_MANIFEST_VERSION, type InstallManifest, type InstallManifestEntry, type InstallManifestInput, InvalidMcpServerError, InvalidSkillError, InvalidToolError, MCP_CAPABILITY_LEVELS, MCP_CONTEXT_COSTS, type McpCapabilityLevel, type McpContextCost, type McpEnvReference, type McpManifestEntry, type McpServerDefinition, type McpServerDefinitionInput, type McpServerMetadata, type McpServerReference, type McpServerReferenceInput, type McpServerRegistry, type McpServerSource, PACKAGE_MANAGERS, PACK_CATEGORIES, type PackCategory, type PackDefinition, type PackDefinitionInput, type PackRegistry, type PackageManagerDetection, type PackageManagerName, type ProjectDetection, type ProjectPackageJsonDetection, type ResolvedAgentyxConfig, type SkillDefinition, type SkillDefinitionInput, type SkillManifestEntry, type SkillRegistry, type SkillSource, TOOL_ACTIVATION_LEVELS, type ToolActivationLevel, type ToolDefinition, type ToolDefinitionInput, type ToolMetadata, type ToolReference, type ToolReferenceInput, type ToolRegistry, type ToolSource, UnknownEnabledCapabilityError, UnknownMcpServerError, UnknownPackError, UnknownSkillError, UnknownToolError, agentyxConfigPath, agentyxConfigSchema, agentyxCoreName, agentyxManifestPath, agentyxTargetSchema, buildAgentyxConfig, buildAgentyxConfigJsonSchema, builtInMcpServerNames, builtInMcpServerRegistry, builtInPackRegistry, builtInPacks, builtInSkillNames, builtInSkillRegistry, builtInToolNames, builtInToolRegistry, collectPackMcpServerReferences, collectPackMcpServers, collectPackToolReferences, createMcpServerRegistry, createPackRegistry, createSkillRegistry, createToolRegistry, detectProject, emptyInstallManifest, enabledCapabilityNameSchema, filterEffectiveMcpServers, filterEffectiveTools, formatAgentyxConfig, formatInstallManifest, formatSkillMarkdown, getCoreStatus, hashContent, installManifestEntrySchema, installManifestSchema, loadAgentyxConfig, loadInstallManifest, manifestEntriesByPath, mcpCapabilityLevelSchema, mcpContextCostSchema, mcpEnvReferenceSchema, mcpManifestEntrySchema, mcpServerDefinitionSchema, mcpServerReferenceSchema, packCategorySchema, packDefinitionSchema, packNameSchema, parseAgentyxConfig, parseInstallManifest, parseSkillMarkdown, resolveAgentyxConfig, resolvePackMcpServerReferences, resolvePackMcpServers, resolvePackSkills, resolvePackToolReferences, resolvePackTools, resolvePacks, skillDefinitionSchema, skillManifestEntrySchema, toolActivationLevelSchema, toolDefinitionSchema, toolNameSchema, toolReferenceSchema };
|
|
636
782
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/errors.ts","../src/config/errors.ts","../src/config/json-schema.ts","../src/config/schema.ts","../src/config/loader.ts","../src/mcp/schema.ts","../src/mcp/registry.ts","../src/pack/schema.ts","../src/pack/registry.ts","../src/skill/schema.ts","../src/skill/registry.ts","../src/tool/schema.ts","../src/tool/registry.ts","../src/config/resolver.ts","../src/mcp/built-in.ts","../src/mcp/errors.ts","../src/mcp/resolver.ts","../src/meta.ts","../src/pack/errors.ts","../src/pack/resolver.ts","../src/project/detector.ts","../src/skill/built-in.ts","../src/skill/errors.ts","../src/skill/markdown.ts","../src/skill/resolver.ts","../src/tool/built-in.ts","../src/tool/errors.ts","../src/tool/resolver.ts"],"mappings":";;;;;;;;;cAOa,qBAAqB;WACvB;EAEG,YAAA,cAAc,iBAAiB,UAAU;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/errors.ts","../src/issues.ts","../src/config/errors.ts","../src/config/json-schema.ts","../src/config/schema.ts","../src/config/loader.ts","../src/mcp/schema.ts","../src/mcp/registry.ts","../src/pack/schema.ts","../src/pack/registry.ts","../src/skill/schema.ts","../src/skill/registry.ts","../src/tool/schema.ts","../src/tool/registry.ts","../src/config/resolver.ts","../src/manifest/errors.ts","../src/manifest/schema.ts","../src/manifest/io.ts","../src/mcp/built-in.ts","../src/mcp/errors.ts","../src/mcp/resolver.ts","../src/meta.ts","../src/pack/errors.ts","../src/pack/resolver.ts","../src/project/detector.ts","../src/skill/built-in.ts","../src/skill/errors.ts","../src/skill/markdown.ts","../src/skill/resolver.ts","../src/tool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