@open-agent-toolkit/cli 0.2.51 → 0.2.53

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 (218) hide show
  1. package/assets/bundle-metadata.json +1 -1
  2. package/assets/docs/cli-utilities/bootstrap.md +6 -2
  3. package/assets/docs/cli-utilities/tool-packs.md +87 -33
  4. package/assets/docs/provider-sync/commands.md +30 -2
  5. package/assets/docs/provider-sync/config.md +19 -0
  6. package/assets/docs/provider-sync/manifest-and-drift.md +37 -0
  7. package/assets/docs/provider-sync/providers.md +69 -2
  8. package/assets/docs/provider-sync/scope-and-surface.md +44 -0
  9. package/assets/docs/reference/cli-reference.md +1 -0
  10. package/assets/docs/reference/oat-directory-structure.md +11 -4
  11. package/assets/docs/workflows/projects/evidence-layers.md +110 -1
  12. package/assets/docs/workflows/projects/implementation-execution.md +13 -0
  13. package/assets/docs/workflows/projects/orchestration-model.md +18 -0
  14. package/assets/public-package-versions.json +4 -4
  15. package/assets/skills/oat-dispatch-subagents/SKILL.md +57 -1
  16. package/assets/skills/oat-dispatch-subagents/references/record-schema.md +77 -1
  17. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +1 -1
  18. package/assets/skills/oat-project-dispatch-subagents/SKILL.md +24 -1
  19. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +1 -1
  20. package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +11 -0
  21. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +1 -1
  22. package/assets/skills/oat-project-plan-writing/SKILL.md +12 -1
  23. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +1 -1
  24. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +1 -1
  25. package/assets/skills/oat-project-review-provide/SKILL.md +12 -1
  26. package/assets/skills/oat-project-review-provide-remote/SKILL.md +12 -1
  27. package/dist/agents/canonical/index.d.ts +2 -0
  28. package/dist/agents/canonical/index.d.ts.map +1 -1
  29. package/dist/agents/canonical/index.js +1 -0
  30. package/dist/agents/canonical/resolve.d.ts +45 -0
  31. package/dist/agents/canonical/resolve.d.ts.map +1 -0
  32. package/dist/agents/canonical/resolve.js +175 -0
  33. package/dist/commands/decision/agents-guidance.d.ts +2 -2
  34. package/dist/commands/decision/agents-guidance.d.ts.map +1 -1
  35. package/dist/commands/decision/agents-guidance.js +1 -4
  36. package/dist/commands/decision/index.d.ts.map +1 -1
  37. package/dist/commands/decision/index.js +25 -6
  38. package/dist/commands/docs/init/index.d.ts +7 -1
  39. package/dist/commands/docs/init/index.d.ts.map +1 -1
  40. package/dist/commands/docs/init/index.js +53 -20
  41. package/dist/commands/doctor/index.d.ts +8 -2
  42. package/dist/commands/doctor/index.d.ts.map +1 -1
  43. package/dist/commands/doctor/index.js +157 -46
  44. package/dist/commands/init/index.d.ts +8 -3
  45. package/dist/commands/init/index.d.ts.map +1 -1
  46. package/dist/commands/init/index.js +66 -28
  47. package/dist/commands/init/tools/index.d.ts +12 -12
  48. package/dist/commands/init/tools/index.d.ts.map +1 -1
  49. package/dist/commands/init/tools/index.js +430 -99
  50. package/dist/commands/init/tools/install-state.d.ts +2 -0
  51. package/dist/commands/init/tools/install-state.d.ts.map +1 -1
  52. package/dist/commands/init/tools/install-state.js +11 -0
  53. package/dist/commands/init/tools/project-guidance.d.ts +49 -0
  54. package/dist/commands/init/tools/project-guidance.d.ts.map +1 -0
  55. package/dist/commands/init/tools/project-guidance.js +144 -0
  56. package/dist/commands/init/tools/workflows/index.d.ts +7 -0
  57. package/dist/commands/init/tools/workflows/index.d.ts.map +1 -1
  58. package/dist/commands/init/tools/workflows/index.js +160 -7
  59. package/dist/commands/pjm/index.d.ts.map +1 -1
  60. package/dist/commands/pjm/index.js +28 -3
  61. package/dist/commands/pjm/init.d.ts +5 -0
  62. package/dist/commands/pjm/init.d.ts.map +1 -1
  63. package/dist/commands/pjm/init.js +19 -3
  64. package/dist/commands/project/dispatch/index.d.ts +10 -0
  65. package/dist/commands/project/dispatch/index.d.ts.map +1 -0
  66. package/dist/commands/project/dispatch/index.js +137 -0
  67. package/dist/commands/project/dispatch/record.d.ts +91 -0
  68. package/dist/commands/project/dispatch/record.d.ts.map +1 -0
  69. package/dist/commands/project/dispatch/record.js +402 -0
  70. package/dist/commands/project/index.d.ts.map +1 -1
  71. package/dist/commands/project/index.js +2 -0
  72. package/dist/commands/providers/inspect/inspect.d.ts +8 -1
  73. package/dist/commands/providers/inspect/inspect.d.ts.map +1 -1
  74. package/dist/commands/providers/inspect/inspect.js +146 -26
  75. package/dist/commands/providers/list/list.d.ts +8 -1
  76. package/dist/commands/providers/list/list.d.ts.map +1 -1
  77. package/dist/commands/providers/list/list.js +139 -23
  78. package/dist/commands/providers/providers.types.d.ts +25 -1
  79. package/dist/commands/providers/providers.types.d.ts.map +1 -1
  80. package/dist/commands/providers/set/index.d.ts +9 -1
  81. package/dist/commands/providers/set/index.d.ts.map +1 -1
  82. package/dist/commands/providers/set/index.js +43 -33
  83. package/dist/commands/remove/skill/remove-skill.d.ts.map +1 -1
  84. package/dist/commands/remove/skill/remove-skill.js +11 -0
  85. package/dist/commands/shared/agents-md.d.ts +42 -14
  86. package/dist/commands/shared/agents-md.d.ts.map +1 -1
  87. package/dist/commands/shared/agents-md.js +364 -70
  88. package/dist/commands/status/index.d.ts +8 -3
  89. package/dist/commands/status/index.d.ts.map +1 -1
  90. package/dist/commands/status/index.js +149 -37
  91. package/dist/commands/sync/apply.d.ts.map +1 -1
  92. package/dist/commands/sync/apply.js +220 -29
  93. package/dist/commands/sync/dry-run.d.ts.map +1 -1
  94. package/dist/commands/sync/dry-run.js +30 -6
  95. package/dist/commands/sync/index.d.ts +17 -2
  96. package/dist/commands/sync/index.d.ts.map +1 -1
  97. package/dist/commands/sync/index.js +108 -43
  98. package/dist/commands/sync/sync.types.d.ts +39 -2
  99. package/dist/commands/sync/sync.types.d.ts.map +1 -1
  100. package/dist/commands/sync/sync.utils.d.ts +5 -1
  101. package/dist/commands/sync/sync.utils.d.ts.map +1 -1
  102. package/dist/commands/sync/sync.utils.js +73 -0
  103. package/dist/commands/tools/info/info-tool.d.ts +2 -0
  104. package/dist/commands/tools/info/info-tool.d.ts.map +1 -1
  105. package/dist/commands/tools/info/info-tool.js +34 -12
  106. package/dist/commands/tools/install/index.d.ts.map +1 -1
  107. package/dist/commands/tools/install/index.js +19 -3
  108. package/dist/commands/tools/list/list-tools.d.ts +2 -0
  109. package/dist/commands/tools/list/list-tools.d.ts.map +1 -1
  110. package/dist/commands/tools/list/list-tools.js +36 -7
  111. package/dist/commands/tools/remove/index.d.ts.map +1 -1
  112. package/dist/commands/tools/remove/index.js +150 -21
  113. package/dist/commands/tools/remove/remove-tools.d.ts +20 -0
  114. package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -1
  115. package/dist/commands/tools/remove/remove-tools.js +122 -1
  116. package/dist/commands/tools/shared/format-pack-inventory.d.ts +19 -0
  117. package/dist/commands/tools/shared/format-pack-inventory.d.ts.map +1 -1
  118. package/dist/commands/tools/shared/format-pack-inventory.js +109 -0
  119. package/dist/commands/tools/shared/pack-evidence.d.ts +66 -0
  120. package/dist/commands/tools/shared/pack-evidence.d.ts.map +1 -0
  121. package/dist/commands/tools/shared/pack-evidence.js +132 -0
  122. package/dist/commands/tools/shared/pack-inventory.d.ts +1 -0
  123. package/dist/commands/tools/shared/pack-inventory.d.ts.map +1 -1
  124. package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts +44 -0
  125. package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts.map +1 -0
  126. package/dist/commands/tools/shared/pack-lifecycle-outcome.js +91 -0
  127. package/dist/commands/tools/update/index.d.ts.map +1 -1
  128. package/dist/commands/tools/update/index.js +74 -4
  129. package/dist/commands/tools/update/update-tools.d.ts +5 -0
  130. package/dist/commands/tools/update/update-tools.d.ts.map +1 -1
  131. package/dist/commands/tools/update/update-tools.js +64 -2
  132. package/dist/config/oat-config.d.ts +5 -0
  133. package/dist/config/oat-config.d.ts.map +1 -1
  134. package/dist/config/oat-config.js +17 -5
  135. package/dist/config/user-sync-config.d.ts +1 -0
  136. package/dist/config/user-sync-config.d.ts.map +1 -1
  137. package/dist/config/user-sync-config.js +8 -0
  138. package/dist/drift/detector.d.ts +2 -2
  139. package/dist/drift/detector.d.ts.map +1 -1
  140. package/dist/drift/detector.js +18 -0
  141. package/dist/drift/strays.d.ts.map +1 -1
  142. package/dist/drift/strays.js +5 -0
  143. package/dist/engine/collection-sync.d.ts +14 -0
  144. package/dist/engine/collection-sync.d.ts.map +1 -0
  145. package/dist/engine/collection-sync.js +282 -0
  146. package/dist/engine/compute-plan.d.ts +8 -1
  147. package/dist/engine/compute-plan.d.ts.map +1 -1
  148. package/dist/engine/compute-plan.js +303 -12
  149. package/dist/engine/engine.types.d.ts +61 -0
  150. package/dist/engine/engine.types.d.ts.map +1 -1
  151. package/dist/engine/execute-plan.d.ts +22 -2
  152. package/dist/engine/execute-plan.d.ts.map +1 -1
  153. package/dist/engine/execute-plan.js +459 -27
  154. package/dist/engine/index.d.ts +1 -1
  155. package/dist/engine/index.d.ts.map +1 -1
  156. package/dist/engine/index.js +1 -1
  157. package/dist/engine/provider-path-safety.d.ts +1 -0
  158. package/dist/engine/provider-path-safety.d.ts.map +1 -1
  159. package/dist/engine/provider-path-safety.js +15 -0
  160. package/dist/engine/scanner.d.ts +9 -2
  161. package/dist/engine/scanner.d.ts.map +1 -1
  162. package/dist/engine/scanner.js +58 -4
  163. package/dist/fs/io.d.ts +67 -0
  164. package/dist/fs/io.d.ts.map +1 -1
  165. package/dist/fs/io.js +536 -3
  166. package/dist/manifest/index.d.ts +2 -2
  167. package/dist/manifest/index.d.ts.map +1 -1
  168. package/dist/manifest/index.js +1 -1
  169. package/dist/manifest/manager.d.ts +2 -2
  170. package/dist/manifest/manager.d.ts.map +1 -1
  171. package/dist/manifest/manager.js +20 -3
  172. package/dist/manifest/manifest.types.d.ts +704 -13
  173. package/dist/manifest/manifest.types.d.ts.map +1 -1
  174. package/dist/manifest/manifest.types.js +131 -15
  175. package/dist/providers/codex/codec/sync-extension.d.ts +1 -1
  176. package/dist/providers/codex/codec/sync-extension.d.ts.map +1 -1
  177. package/dist/providers/codex/codec/sync-extension.js +48 -17
  178. package/dist/providers/cursor/codec/sync-extension.d.ts +1 -1
  179. package/dist/providers/cursor/codec/sync-extension.d.ts.map +1 -1
  180. package/dist/providers/cursor/codec/sync-extension.js +52 -23
  181. package/dist/providers/identity/absolute-paths.d.ts +68 -0
  182. package/dist/providers/identity/absolute-paths.d.ts.map +1 -0
  183. package/dist/providers/identity/absolute-paths.js +144 -0
  184. package/dist/providers/identity/claude-runtime-observation.d.ts +105 -0
  185. package/dist/providers/identity/claude-runtime-observation.d.ts.map +1 -0
  186. package/dist/providers/identity/claude-runtime-observation.fixtures.d.ts +40 -0
  187. package/dist/providers/identity/claude-runtime-observation.fixtures.d.ts.map +1 -0
  188. package/dist/providers/identity/claude-runtime-observation.fixtures.js +146 -0
  189. package/dist/providers/identity/claude-runtime-observation.js +229 -0
  190. package/dist/providers/identity/codex-runtime-observation.d.ts +75 -0
  191. package/dist/providers/identity/codex-runtime-observation.d.ts.map +1 -0
  192. package/dist/providers/identity/codex-runtime-observation.fixtures.d.ts +37 -0
  193. package/dist/providers/identity/codex-runtime-observation.fixtures.d.ts.map +1 -0
  194. package/dist/providers/identity/codex-runtime-observation.fixtures.js +539 -0
  195. package/dist/providers/identity/codex-runtime-observation.js +255 -0
  196. package/dist/providers/identity/generic-dispatch-record.d.ts +313 -0
  197. package/dist/providers/identity/generic-dispatch-record.d.ts.map +1 -0
  198. package/dist/providers/identity/generic-dispatch-record.js +539 -0
  199. package/dist/providers/identity/oat-dispatch-record.d.ts +1964 -0
  200. package/dist/providers/identity/oat-dispatch-record.d.ts.map +1 -0
  201. package/dist/providers/identity/oat-dispatch-record.js +691 -0
  202. package/dist/providers/identity/runtime-observation.d.ts +100 -0
  203. package/dist/providers/identity/runtime-observation.d.ts.map +1 -0
  204. package/dist/providers/identity/runtime-observation.js +169 -0
  205. package/dist/providers/shared/index.d.ts +2 -0
  206. package/dist/providers/shared/index.d.ts.map +1 -1
  207. package/dist/providers/shared/index.js +1 -0
  208. package/dist/providers/shared/materialization-extension.d.ts +12 -0
  209. package/dist/providers/shared/materialization-extension.d.ts.map +1 -1
  210. package/dist/providers/shared/registry.d.ts +69 -0
  211. package/dist/providers/shared/registry.d.ts.map +1 -0
  212. package/dist/providers/shared/registry.js +252 -0
  213. package/dist/providers/shared/restart-adviser.d.ts +26 -0
  214. package/dist/providers/shared/restart-adviser.d.ts.map +1 -0
  215. package/dist/providers/shared/restart-adviser.js +96 -0
  216. package/dist/shared/types.d.ts +4 -0
  217. package/dist/shared/types.d.ts.map +1 -1
  218. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { readdir } from 'node:fs/promises';
2
- import { join, resolve } from 'node:path';
2
+ import { isAbsolute, join, relative, resolve, sep } from 'node:path';
3
3
  import { CliError } from '../errors/index.js';
4
4
  import { resolveAssetsRoot } from '../fs/assets.js';
5
5
  import { SCOPE_CONTENT_TYPES, USER_SCOPE_MANAGED_AGENT_FILES, } from '../shared/types.js';
@@ -58,13 +58,67 @@ export async function scanBundledManagedAgents() {
58
58
  isFile: true,
59
59
  }));
60
60
  }
61
+ /**
62
+ * User-scope Codex/Cursor materialization reads the bundled managed role files,
63
+ * not the installed copies under `~/.agents/agents/`. Concatenating both lists
64
+ * produces the same Cursor/Codex role name twice and aborts the whole sync.
65
+ */
66
+ export function mergeUserScopeMaterializationEntries(canonicalEntries, bundledManagedAgents) {
67
+ const bundledNames = new Set(bundledManagedAgents.map((entry) => entry.name));
68
+ const merged = [];
69
+ const seenBundledNames = new Set();
70
+ for (const entry of bundledManagedAgents) {
71
+ if (seenBundledNames.has(entry.name)) {
72
+ continue;
73
+ }
74
+ seenBundledNames.add(entry.name);
75
+ merged.push(entry);
76
+ }
77
+ for (const entry of canonicalEntries) {
78
+ if (entry.type === 'agent' && bundledNames.has(entry.name)) {
79
+ continue;
80
+ }
81
+ merged.push(entry);
82
+ }
83
+ return merged;
84
+ }
85
+ export function materializationCanonicalPathAllowed(scopeRoot, canonicalEntry, allowedCanonicalPaths) {
86
+ if (!allowedCanonicalPaths?.length) {
87
+ return true;
88
+ }
89
+ const allowed = new Set(allowedCanonicalPaths);
90
+ const relativePath = relative(scopeRoot, canonicalEntry.canonicalPath).replaceAll('\\', '/');
91
+ if (allowed.has(relativePath)) {
92
+ return true;
93
+ }
94
+ return (canonicalEntry.type === 'agent' &&
95
+ canonicalEntry.isFile &&
96
+ allowed.has(join('.agents', 'agents', canonicalEntry.name).replaceAll('\\', '/')));
97
+ }
61
98
  /** @deprecated Use scanBundledManagedAgents for provider-neutral materialization. */
62
99
  export const scanBundledManagedCodexAgents = scanBundledManagedAgents;
63
- export async function scanCanonical(basePath, scope) {
100
+ export async function scanCanonical(basePath, scope, targets) {
64
101
  const scopeRoot = resolve(basePath);
65
102
  const entries = [];
66
- for (const contentType of SCOPE_CONTENT_TYPES[scope]) {
67
- const contentDir = join(scopeRoot, '.agents', canonicalDirectoryName(contentType));
103
+ const scanTargets = targets ??
104
+ SCOPE_CONTENT_TYPES[scope].map((contentType) => ({
105
+ contentType,
106
+ canonicalDir: join('.agents', canonicalDirectoryName(contentType)),
107
+ }));
108
+ const seenTargets = new Set();
109
+ for (const { contentType, canonicalDir } of scanTargets) {
110
+ const contentDir = resolve(scopeRoot, canonicalDir);
111
+ const relativeContentDir = relative(scopeRoot, contentDir);
112
+ if (isAbsolute(canonicalDir) ||
113
+ relativeContentDir === '..' ||
114
+ relativeContentDir.startsWith(`..${sep}`)) {
115
+ throw new CliError(`Canonical scan target must stay within the scope root: ${canonicalDir}`);
116
+ }
117
+ const targetKey = `${contentType}::${contentDir}`;
118
+ if (seenTargets.has(targetKey)) {
119
+ continue;
120
+ }
121
+ seenTargets.add(targetKey);
68
122
  const includeFiles = contentType === 'agent' || contentType === 'rule';
69
123
  const scanned = await readEntries(contentDir);
70
124
  for (const scannedEntry of scanned) {
package/dist/fs/io.d.ts CHANGED
@@ -1,10 +1,77 @@
1
1
  export declare function fileExists(path: string): Promise<boolean>;
2
2
  export declare function dirExists(path: string): Promise<boolean>;
3
3
  export type LinkStrategy = 'symlink' | 'copy';
4
+ export interface CreatedCollectionSymlink {
5
+ linkText: string;
6
+ device: string;
7
+ inode: string;
8
+ }
9
+ export interface CollectionSymlinkCreationGuard {
10
+ scopeRoot: string;
11
+ expectedParent: {
12
+ device: string;
13
+ inode: string;
14
+ };
15
+ }
4
16
  export type CopyDirectoryFilter = (sourcePath: string, relativePath: string) => boolean | Promise<boolean>;
5
17
  export declare function ensureDir(dirPath: string): Promise<void>;
6
18
  export declare function copyDirectory(src: string, dest: string, filter?: CopyDirectoryFilter, sourceRoot?: string): Promise<void>;
7
19
  export declare function copySingleFile(src: string, dest: string): Promise<void>;
20
+ export declare function copySingleFileNoClobber(src: string, dest: string): Promise<void>;
21
+ export declare function writeFileNoClobber(dest: string, content: string): Promise<void>;
8
22
  export declare function createSymlink(target: string, linkPath: string, onFallback?: (error: unknown) => void, isFile?: boolean): Promise<LinkStrategy>;
23
+ export declare function createSymlinkNoClobber(target: string, linkPath: string, isFile?: boolean): Promise<'symlink'>;
24
+ export declare function createCollectionSymlinkNoClobber(_target: string, linkPath: string, guard: CollectionSymlinkCreationGuard): Promise<CreatedCollectionSymlink>;
25
+ export declare function removeCollectionSymlinkIfUnchanged(linkPath: string, created: CreatedCollectionSymlink): Promise<boolean>;
26
+ /**
27
+ * The one serialization of a JSON document OAT writes to disk.
28
+ *
29
+ * Every size bound that claims to constrain a published file must measure this
30
+ * exact string. Validating compact `JSON.stringify` while writing pretty-printed
31
+ * output with a trailing newline let a record validated at 65,536 bytes land on
32
+ * disk at 65,874.
33
+ */
34
+ export declare function serializeJsonDocument(data: unknown): string;
9
35
  export declare function atomicWriteJson(filePath: string, data: unknown): Promise<void>;
36
+ export interface ContainedWriterLockOptions {
37
+ timeoutMs?: number;
38
+ minReclaimMs?: number;
39
+ hardStaleMs?: number;
40
+ }
41
+ /**
42
+ * Exclusive contained writer lock. `mkdir` without `recursive` is the atomic
43
+ * primitive: exactly one caller can create the directory, and every other
44
+ * caller observes `EEXIST`. The lock is validated as a real directory so a
45
+ * planted symlink fails closed instead of redirecting the guarded section, it
46
+ * records holder evidence so a crashed writer can be reclaimed rather than
47
+ * wedging the project forever, and no message it raises contains an absolute
48
+ * path.
49
+ */
50
+ export declare function withContainedWriterLock<T>(lockPath: string, scopeRoot: string, run: () => Promise<T>, options?: ContainedWriterLockOptions): Promise<T>;
51
+ export declare function journalErrorCode(error: unknown): string | null;
52
+ /**
53
+ * Re-raise a filesystem error without Node's absolute-path message text while
54
+ * preserving its `code` so callers can still branch on `EEXIST`/`ENOENT`.
55
+ * Exported so every journal producer redacts identically instead of each one
56
+ * re-deriving the rule.
57
+ */
58
+ export declare function redactedFsError(error: unknown, operation: string, relativeTarget: string): Error;
59
+ /**
60
+ * Publish one immutable JSON journal revision.
61
+ *
62
+ * Guarantees, stated as what the code does:
63
+ * - The destination is created with `link` only. An occupied destination raises
64
+ * `EEXIST`; the destination is never renamed onto, removed, or truncated.
65
+ * - After publication the destination is proven to be the exact staged inode,
66
+ * inside the same directory inode validated before staging, still resolving
67
+ * inside `scopeRoot`. Failure raises and removes nothing.
68
+ * - Staging cleanup removes only the inode this call created.
69
+ * - No raised message contains an absolute path.
70
+ *
71
+ * Residual, unchanged by this design: a privileged concurrent process that
72
+ * swaps the validated directory pathname can cause the `link` to create an
73
+ * unreferenced file under a directory it controls, and can strand the staged
74
+ * file. Neither outcome replaces or deletes pre-existing content.
75
+ */
76
+ export declare function publishContainedJsonRevision(filePath: string, data: unknown, scopeRoot: string): Promise<void>;
10
77
  //# sourceMappingURL=io.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"io.d.ts","sourceRoot":"","sources":["../../src/fs/io.ts"],"names":[],"mappings":"AAaA,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAA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