@artblocks/abx-cli 0.1.0-alpha.4 → 0.1.0-alpha.40

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 (180) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/assets/renderer-scaffold/README.md +29 -11
  3. package/assets/renderer-scaffold/foundry.toml +1 -0
  4. package/assets/renderer-scaffold/remappings.txt +1 -1
  5. package/assets/renderer-scaffold/script/DeployHooks.s.sol +24 -0
  6. package/assets/renderer-scaffold/src/MyHooks.sol +20 -0
  7. package/assets/renderer-scaffold/src/MyRenderer.sol +4 -4
  8. package/assets/renderer-scaffold/src/MyTraits.sol +2 -2
  9. package/assets/renderer-scaffold/test/MyRenderer.t.sol +60 -3
  10. package/dist/bin.d.ts +26 -0
  11. package/dist/bin.d.ts.map +1 -0
  12. package/dist/bin.js +63 -0
  13. package/dist/bin.js.map +1 -0
  14. package/dist/capabilities.d.ts +94 -0
  15. package/dist/capabilities.d.ts.map +1 -0
  16. package/dist/capabilities.js +135 -0
  17. package/dist/capabilities.js.map +1 -0
  18. package/dist/commands/auth.d.ts +54 -0
  19. package/dist/commands/auth.d.ts.map +1 -0
  20. package/dist/commands/auth.js +447 -0
  21. package/dist/commands/auth.js.map +1 -0
  22. package/dist/commands/deploy.d.ts +242 -0
  23. package/dist/commands/deploy.d.ts.map +1 -0
  24. package/dist/commands/deploy.js +4763 -0
  25. package/dist/commands/deploy.js.map +1 -0
  26. package/dist/commands/feedback.d.ts +7 -0
  27. package/dist/commands/feedback.d.ts.map +1 -0
  28. package/dist/commands/feedback.js +147 -0
  29. package/dist/commands/feedback.js.map +1 -0
  30. package/dist/commands/project.d.ts +257 -0
  31. package/dist/commands/project.d.ts.map +1 -0
  32. package/dist/commands/project.js +1414 -0
  33. package/dist/commands/project.js.map +1 -0
  34. package/dist/commands/reads.d.ts +64 -0
  35. package/dist/commands/reads.d.ts.map +1 -0
  36. package/dist/commands/reads.js +701 -0
  37. package/dist/commands/reads.js.map +1 -0
  38. package/dist/commands/scaffold.d.ts +89 -0
  39. package/dist/commands/scaffold.d.ts.map +1 -0
  40. package/dist/commands/scaffold.js +733 -0
  41. package/dist/commands/scaffold.js.map +1 -0
  42. package/dist/commands/service.d.ts +67 -0
  43. package/dist/commands/service.d.ts.map +1 -0
  44. package/dist/commands/service.js +741 -0
  45. package/dist/commands/service.js.map +1 -0
  46. package/dist/commands/storage.d.ts +51 -0
  47. package/dist/commands/storage.d.ts.map +1 -0
  48. package/dist/commands/storage.js +370 -0
  49. package/dist/commands/storage.js.map +1 -0
  50. package/dist/commands/submit-app.d.ts +59 -0
  51. package/dist/commands/submit-app.d.ts.map +1 -0
  52. package/dist/commands/submit-app.js +513 -0
  53. package/dist/commands/submit-app.js.map +1 -0
  54. package/dist/config.d.ts +90 -2
  55. package/dist/config.d.ts.map +1 -1
  56. package/dist/config.js +284 -11
  57. package/dist/config.js.map +1 -1
  58. package/dist/conformance.d.ts +31 -0
  59. package/dist/conformance.d.ts.map +1 -0
  60. package/dist/conformance.js +390 -0
  61. package/dist/conformance.js.map +1 -0
  62. package/dist/contract-read-error.d.ts +5 -0
  63. package/dist/contract-read-error.d.ts.map +1 -0
  64. package/dist/contract-read-error.js +37 -0
  65. package/dist/contract-read-error.js.map +1 -0
  66. package/dist/deps.d.ts +6 -39
  67. package/dist/deps.d.ts.map +1 -1
  68. package/dist/deps.js +4 -68
  69. package/dist/deps.js.map +1 -1
  70. package/dist/errors.d.ts +20 -0
  71. package/dist/errors.d.ts.map +1 -0
  72. package/dist/errors.js +25 -0
  73. package/dist/errors.js.map +1 -0
  74. package/dist/flag-allowlists.d.ts +53 -0
  75. package/dist/flag-allowlists.d.ts.map +1 -0
  76. package/dist/flag-allowlists.js +180 -0
  77. package/dist/flag-allowlists.js.map +1 -0
  78. package/dist/flags.d.ts +41 -0
  79. package/dist/flags.d.ts.map +1 -1
  80. package/dist/flags.js +111 -1
  81. package/dist/flags.js.map +1 -1
  82. package/dist/jsonout.d.ts +37 -0
  83. package/dist/jsonout.d.ts.map +1 -0
  84. package/dist/jsonout.js +68 -0
  85. package/dist/jsonout.js.map +1 -0
  86. package/dist/kind.d.ts +57 -0
  87. package/dist/kind.d.ts.map +1 -0
  88. package/dist/kind.js +122 -0
  89. package/dist/kind.js.map +1 -0
  90. package/dist/main.js +747 -4838
  91. package/dist/main.js.map +1 -1
  92. package/dist/mintpage.d.ts +17 -2
  93. package/dist/mintpage.d.ts.map +1 -1
  94. package/dist/mintpage.js +241 -54
  95. package/dist/mintpage.js.map +1 -1
  96. package/dist/output.d.ts +179 -0
  97. package/dist/output.d.ts.map +1 -0
  98. package/dist/output.js +780 -0
  99. package/dist/output.js.map +1 -0
  100. package/dist/ownerops.d.ts +312 -57
  101. package/dist/ownerops.d.ts.map +1 -1
  102. package/dist/ownerops.js +1808 -357
  103. package/dist/ownerops.js.map +1 -1
  104. package/dist/preview.d.ts +23 -5
  105. package/dist/preview.d.ts.map +1 -1
  106. package/dist/preview.js +95 -43
  107. package/dist/preview.js.map +1 -1
  108. package/dist/prompt.d.ts +17 -0
  109. package/dist/prompt.d.ts.map +1 -0
  110. package/dist/prompt.js +19 -0
  111. package/dist/prompt.js.map +1 -0
  112. package/dist/provision.d.ts +3 -13
  113. package/dist/provision.d.ts.map +1 -1
  114. package/dist/provision.js +19 -21
  115. package/dist/provision.js.map +1 -1
  116. package/dist/remote.d.ts +157 -52
  117. package/dist/remote.d.ts.map +1 -1
  118. package/dist/remote.js +435 -46
  119. package/dist/remote.js.map +1 -1
  120. package/dist/riskgate.d.ts +62 -0
  121. package/dist/riskgate.d.ts.map +1 -0
  122. package/dist/riskgate.js +234 -0
  123. package/dist/riskgate.js.map +1 -0
  124. package/dist/scaffold.d.ts +12 -0
  125. package/dist/scaffold.d.ts.map +1 -0
  126. package/dist/scaffold.js +56 -0
  127. package/dist/scaffold.js.map +1 -0
  128. package/dist/schema.d.ts +36 -1
  129. package/dist/schema.d.ts.map +1 -1
  130. package/dist/schema.js +121 -26
  131. package/dist/schema.js.map +1 -1
  132. package/dist/script-chunks.d.ts +8 -0
  133. package/dist/script-chunks.d.ts.map +1 -0
  134. package/dist/script-chunks.js +35 -0
  135. package/dist/script-chunks.js.map +1 -0
  136. package/dist/served.d.ts +30 -0
  137. package/dist/served.d.ts.map +1 -0
  138. package/dist/served.js +112 -0
  139. package/dist/served.js.map +1 -0
  140. package/dist/signer.d.ts +13 -0
  141. package/dist/signer.d.ts.map +1 -1
  142. package/dist/signer.js +84 -15
  143. package/dist/signer.js.map +1 -1
  144. package/dist/update-check.d.ts +86 -5
  145. package/dist/update-check.d.ts.map +1 -1
  146. package/dist/update-check.js +161 -20
  147. package/dist/update-check.js.map +1 -1
  148. package/package.json +13 -12
  149. package/skill/SKILL.md +179 -347
  150. package/skill/agents/openai.yaml +4 -0
  151. package/skill/reference/capabilities.md +188 -0
  152. package/skill/reference/code.md +211 -0
  153. package/skill/reference/creator-token.md +94 -0
  154. package/skill/reference/deploy.md +167 -0
  155. package/skill/reference/diagnose.md +165 -0
  156. package/skill/reference/hosting.md +161 -94
  157. package/skill/reference/operate.md +181 -0
  158. package/skill/reference/services.md +121 -0
  159. package/skill/reference/setup.md +140 -36
  160. package/assets/renderer-scaffold/src/interfaces/IAbxFieldRenderer.sol +0 -32
  161. package/assets/renderer-scaffold/src/interfaces/IAbxParams.sol +0 -26
  162. package/dist/inspect.d.ts +0 -48
  163. package/dist/inspect.d.ts.map +0 -1
  164. package/dist/inspect.js +0 -184
  165. package/dist/inspect.js.map +0 -1
  166. package/dist/migrate.d.ts +0 -65
  167. package/dist/migrate.d.ts.map +0 -1
  168. package/dist/migrate.js +0 -180
  169. package/dist/migrate.js.map +0 -1
  170. package/dist/onchain-uri.d.ts +0 -97
  171. package/dist/onchain-uri.d.ts.map +0 -1
  172. package/dist/onchain-uri.js +0 -243
  173. package/dist/onchain-uri.js.map +0 -1
  174. package/dist/upload.d.ts +0 -28
  175. package/dist/upload.d.ts.map +0 -1
  176. package/dist/upload.js +0 -41
  177. package/dist/upload.js.map +0 -1
  178. package/skill/reference/code-projects.md +0 -246
  179. package/skill/reference/operating.md +0 -116
  180. package/skill/reference/troubleshooting.md +0 -28
package/dist/remote.d.ts CHANGED
@@ -1,58 +1,163 @@
1
1
  /**
2
- * Talk to a REMOTE resolver's admin control plane the HTTP form of `abx add` /
3
- * `abx index` / `abx forget`, pointed at a hosted node (fly/render/vps) instead of
4
- * this machine's local projection. This is the bridge the toolkit was missing: a
5
- * contract you deploy here is registered with the *local* store; the resolver baked
6
- * into your on-chain tokenURI is a *different* store and must be told separately, or
7
- * it answers "unknown project". These helpers do the telling.
2
+ * Remote-resolver resolution which service `--remote` means, and whose credential drives it.
3
+ * The HTTP client itself lives in the SDK (`AbxServiceClient`, speaking the /v1 control plane from
4
+ * site/content/docs/using-abx/remote-services.mdx); this module owns the CLI conventions around it:
8
5
  *
9
- * The admin token authorizes indexing control only never on-chain signing so the
10
- * "no signing key on the host" rule is intact. It lives in `.env` as
11
- * ABX_RESOLVER_ADMIN_TOKEN and must match the token set on the resolver.
12
- */
13
- export interface RemoteAddBody {
14
- address: string;
15
- /** Scan floor the deploy block. Omit on a re-POST (the nudge) to keep the stored floor + reindex incrementally. */
16
- fromBlock?: string;
17
- factory?: string;
18
- label?: string;
19
- description?: string;
20
- externalUrl?: string;
21
- /** Off-chain operator traits (OpenSea attribute array) — stitched UNDER any on-chain `attributes`. */
22
- attributes?: Array<{
23
- trait_type: string;
24
- value: string | number;
25
- display_type?: string;
26
- }>;
27
- /** Off-chain PER-TOKEN operator traits, `{ "<tokenId>": OpenSeaAttribute[] }` a Series' editable
28
- * traits (a token's entry wins over the collection-scope `attributes`; on-chain wins over both). */
29
- tokenAttributes?: Record<string, Array<{
30
- trait_type: string;
31
- value: string | number;
32
- display_type?: string;
33
- }>>;
34
- /** Durable locators keyed by on-chain hash, `{ "0x<keccak>": "ipfs://<cid>" }` — lets the resolver
35
- * point `image` at IPFS/Arweave without holding the bytes. Merged over any already stored. */
36
- contentLocators?: Record<string, string>;
37
- /** Force a full replay even on a re-POST. */
38
- full?: boolean;
6
+ * --remote <name> a NAMED remote`ABX_REMOTE_<NAME>_URL` + `ABX_REMOTE_<NAME>_TOKEN` in .env
7
+ * (same env-name normalization as ABX_RPC_URLS_<CHAIN>). "self" is just a name
8
+ * under this SAME convention the node YOU run reads ABX_REMOTE_SELF_URL/_TOKEN
9
+ * with zero special-casing below. A managed provider's per-account API key lives
10
+ * under its own name — and deliberately NEVER falls back to ABX_REMOTE_SELF_TOKEN,
11
+ * so your node-admin secret can't silently go to a third party.
12
+ * `abx` is the built-in first-party name: https://services.abx.io plus
13
+ * ABX_SERVICES_API_KEY. It needs no URL pasted into project configuration.
14
+ * --remote <url> an ad-hoc URL — token from --remote-token or ABX_REMOTE_SELF_TOKEN (the local
15
+ * client credential for a node you run; `abx deploy-resolver` generates it).
16
+ * --remote bare: the self-host default — ABX_PUBLIC_BASE_URL (the URL baked on-chain,
17
+ * else ABX_RESOLVER_URL) + ABX_REMOTE_SELF_TOKEN.
18
+ *
19
+ * Every token here authorizes indexing/metadata control only — never on-chain signing — so the
20
+ * "no signing key on the host" rule is intact. (`--remote-token`, not `--token`: `--token` already
21
+ * means a token ID across the owner ops.)
22
+ *
23
+ * The RESOLVER's own env var — what gates ITS control plane, server-side (packages/token-api/src/
24
+ * control-plane.ts) is unchanged: still `ABX_RESOLVER_ADMIN_TOKEN`. Only the CLIENT-side lookup
25
+ * for a self-run node moved to the named-remote grammar above; `abx deploy-resolver` prints the exact
26
+ * command that carries the value across the name boundary (fly secrets set ABX_RESOLVER_ADMIN_TOKEN
27
+ * from your local ABX_REMOTE_SELF_TOKEN).
28
+ */
29
+ import { AbxServiceClient, type Address, type IndexError, type IndexErrorClass, type IndexStatus, type ProvenanceResult, type RegisterProjectResult, type RemoteProjectStatus } from '@artblocks/abx-sdk';
30
+ import { type Flags } from './flags.js';
31
+ export declare const ABX_SERVICES_URL = "https://services.abx.io";
32
+ export declare const ABX_SERVICES_API_KEY_VAR = "ABX_SERVICES_API_KEY";
33
+ export type RemoteSource = 'url' | 'named' | 'builtin' | 'default';
34
+ export interface RemoteTarget {
35
+ /** Base URL, trailing slashes stripped. */
36
+ url: string;
37
+ token?: string;
38
+ /** The normalized remote name (named form only). */
39
+ name?: string;
40
+ source: RemoteSource;
41
+ /** The env var that should hold this target's token — every error/skip message names it. */
42
+ tokenVar: string;
43
+ /** WHERE the token in hand actually came from. A 401 that blames the env var when the caller
44
+ * passed `--remote-token` makes the override look ignored — which is exactly the moment someone
45
+ * is testing a replacement key. */
46
+ tokenFrom?: 'flag' | 'env';
39
47
  }
40
- export interface RemoteAddResult {
48
+ /** How to refer to the credential this target is using, in an error the creator has to act on. */
49
+ export declare function tokenSourceLabel(t: RemoteTarget): string;
50
+ /**
51
+ * Resolve the `--remote` flag value (undefined = local op → null). Pure: pass `env` in tests.
52
+ * `tokenFlag` is `--remote-token` and wins over any env token for this invocation.
53
+ */
54
+ export declare function resolveRemote(spec: string | undefined, tokenFlag?: string, env?: NodeJS.ProcessEnv): RemoteTarget | null;
55
+ /**
56
+ * The OLD client-side var (`ABX_RESOLVER_ADMIN_TOKEN`) sitting unused in `.env` because the
57
+ * self-host default's credential moved to the named-remote grammar (`ABX_REMOTE_SELF_TOKEN`) — a
58
+ * silent fallback would mean an operator's `.env` never gets renamed, so this is the ONE place both
59
+ * {@link requireRemoteToken} (the hard-stop for a real command) and `abx doctor` (the same fault,
60
+ * surfaced before a command needs it) decide whether to flag it — sharing the check means they can
61
+ * never drift on the condition. `null` when there's nothing to flag (old var absent, or the new one
62
+ * is already set and simply wins).
63
+ */
64
+ export declare function selfTokenMigrationWarning(env?: NodeJS.ProcessEnv): string | null;
65
+ /** The token, when the remote is the command's OBJECT (add/index/forget/render/migrate-dest) —
66
+ * a missing credential is a hard stop that names the exact var to set. */
67
+ export declare function requireRemoteToken(t: RemoteTarget, env?: NodeJS.ProcessEnv): string;
68
+ /** Every named remote configured in the env (`ABX_REMOTE_<NAME>_URL`). The normalized name is
69
+ * canonical — the env convention is lossy, so enumeration reads the env, never inverts it. */
70
+ export declare function listConfiguredRemotes(env?: NodeJS.ProcessEnv): Array<{
71
+ name: string;
72
+ url: string;
73
+ hasToken: boolean;
74
+ }>;
75
+ /**
76
+ * `ABX_REMOTE_*` vars that follow no recognized suffix — i.e. a typo. The convention has exactly two
77
+ * suffixes (`_URL`, `_TOKEN`), and anything else (`_KEY`, `_APIKEY`, `_SECRET`) is silently ignored:
78
+ * the CLI reports "no token" while the value sits right there in `.env`. Cheap to detect, so detect
79
+ * it rather than leaving the creator to compare strings by eye.
80
+ */
81
+ export declare function misnamedRemoteVars(env?: NodeJS.ProcessEnv): Array<{
82
+ key: string;
83
+ suggestion: string;
84
+ }>;
85
+ /** The SDK service client bound to this target (call {@link requireRemoteToken} first when the
86
+ * operation needs auth). */
87
+ export declare function serviceClient(t: RemoteTarget): AbxServiceClient;
88
+ /**
89
+ * Is this named remote's stored credential actually accepted? One cheap authed read, so `doctor` can
90
+ * report capability instead of mere presence.
91
+ *
92
+ * Doctor is the command a creator runs FIRST, and it used to print a clean `remotes: meridian` for a
93
+ * key the service rejects — the 401 only surfaced later, from `abx remote <name>`, after they had
94
+ * already trusted the line. Same class as an RPC that answers `[]` because it pruned its logs: an
95
+ * empty success is not evidence of capability.
96
+ *
97
+ * Never throws and never blocks doctor for long: a short per-attempt timeout, and anything that is
98
+ * not a definitive rejection is reported as a soft note rather than a ✗, because a slow or briefly
99
+ * unreachable provider is not a misconfiguration the creator can act on.
100
+ */
101
+ export declare function probeRemoteCredential(name: string, timeoutMs?: number): Promise<{
41
102
  ok: boolean;
42
- mode: 'full' | 'incremental';
43
- elapsedMs: number;
44
- project: {
45
- address: string;
46
- name: string | null;
47
- eventCount: number;
48
- tokenCount: number;
49
- mintedCount: number;
103
+ fatal: boolean;
104
+ detail: string;
105
+ }>;
106
+ /** The env var a named remote's token is read from — the one to name when it is rejected. */
107
+ export declare function tokenVarFor(name: string): string;
108
+ /**
109
+ * Map a control-plane failure to an actionable CLI error. Keys off `AbxServiceError.code`/status,
110
+ * never off message prose (the machine-code half of the interface spec):
111
+ * 401 — the credential itself was rejected → name the var that supplied it.
112
+ * 403 — credential fine, not authorized for this resource → provider scoping, don't retry.
113
+ * `disabled` — the node has no control-plane token configured at all.
114
+ * bare 404 on /v1 — no control plane at this URL (pre-/v1 node, or not an ABX service).
115
+ */
116
+ export declare function describeRemoteError(err: unknown, t: RemoteTarget, label: string): Error;
117
+ export declare function remoteFlag(flags: Flags): RemoteTarget | null;
118
+ /**
119
+ * The factory-verification tri-state, said plainly. `null` means the check never ran (no factory
120
+ * configured, or the configured one has no code on this chain — common on a local/dev chain), which
121
+ * is NOT the same as the chain telling us this contract isn't a clone of it.
122
+ */
123
+ export declare function canonicalLabel(isCanonical: boolean | null | undefined, provenance?: ProvenanceResult): string;
124
+ /** How a lifecycle state reads at a glance — the same word everywhere it's printed. */
125
+ export declare function statusLabel(s: IndexStatus): string;
126
+ /** `label value` with only the label dimmed — status values carry their own color, and wrapping
127
+ * them in `info()` would fight it. */
128
+ export declare const statusRow: (label: string, value: string) => void;
129
+ /**
130
+ * What to DO about a failure class — whose problem it is and whether waiting is the answer.
131
+ * The class alone told an agent enough to reason it out; it does not tell a creator, and "whose
132
+ * problem is this" is the single question a failed catch-up has to answer.
133
+ */
134
+ export declare function indexErrorAction(cls: IndexErrorClass): string;
135
+ /** The one wording for "registered, but catch-up failed" — shared by add/index so both say the same
136
+ * thing: what failed, whose problem it is, and that the registration survived. */
137
+ export declare function failedCatchUpMessage(address: Address, remote: RemoteTarget, err: IndexError | undefined, check: string): string;
138
+ /**
139
+ * One human line for a status read: where it is, how far along, and why if it's unhappy.
140
+ *
141
+ * What "where" means depends on the state, so say the right thing rather than one number that reads
142
+ * differently in each: a percentage is only honest while BACKFILLING (see indexProgress). A `live`
143
+ * project's `toBlock` only advances when that project has events, so on a busy chain a perfectly
144
+ * current project sits far below head — printing that as a ratio makes healthy look broken.
145
+ */
146
+ export declare function statusLine(s: RemoteProjectStatus): string;
147
+ /**
148
+ * Report a register/reindex answer, whichever of the two conformant shapes the service used.
149
+ *
150
+ * A `200` already carries the counts. A `202` means the registration is durable and catch-up is still
151
+ * running — so by default we poll to a terminal state and print the SAME summary line, giving the
152
+ * human the "waits, then tells you what happened" UX without the service holding a socket open for
153
+ * minutes. `--no-wait` stops at the 202 and names the command that checks later.
154
+ */
155
+ export declare function reportRemoteIndexing(remote: RemoteTarget, chainId: number, address: Address, r: RegisterProjectResult, flags: Flags, verb: string): Promise<void>;
156
+ /** "3 live, 1 backfilling, 1 failed (rpc_rate_limited)" — the one-line answer to "is my stuff ok?" */
157
+ export declare function rollUp(projects: Array<{
158
+ status?: IndexStatus;
159
+ error?: {
160
+ class: string;
50
161
  };
51
- }
52
- /** Normalize a resolver base URL to its `/admin/projects` control-plane endpoint. */
53
- export declare function adminProjectsUrl(base: string): string;
54
- /** Register + index a project with a remote resolver (remote `abx add`/`index`). */
55
- export declare function remoteAddProject(base: string, token: string, body: RemoteAddBody): Promise<RemoteAddResult>;
56
- /** Stop a remote resolver from indexing a project (remote `abx forget`). */
57
- export declare function remoteRemoveProject(base: string, token: string, address: string): Promise<void>;
162
+ }>): string;
58
163
  //# sourceMappingURL=remote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../src/remote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,qHAAqH;IACrH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,UAAU,CAAC,EAAE,KAAK,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC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