@toa.io/extensions.exposition 1.0.0-alpha.273 → 1.0.0-alpha.276
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/CHANGELOG.md +209 -0
- package/components/identity.basic/manifest.toa.yaml +1 -1
- package/components/identity.basic/operations/authenticate.js +1 -1
- package/components/identity.basic/operations/authenticate.js.map +1 -1
- package/components/identity.basic/operations/transit.js +1 -1
- package/components/identity.basic/operations/transit.js.map +1 -1
- package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.basic/operations/types.d.ts +2 -2
- package/components/identity.basic/source/authenticate.ts +1 -1
- package/components/identity.basic/source/transit.ts +1 -1
- package/components/identity.basic/source/types.ts +2 -2
- package/components/identity.credentials/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.federation/operations/lib/exchange.js +2 -2
- package/components/identity.federation/operations/lib/exchange.js.map +1 -1
- package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.federation/operations/types/configuration.d.ts +3 -2
- package/components/identity.federation/source/lib/exchange.ts +2 -2
- package/components/identity.federation/source/types/configuration.ts +4 -2
- package/components/identity.keys/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.otp/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.tokens/operations/decrypt.js +1 -1
- package/components/identity.tokens/operations/decrypt.js.map +1 -1
- package/components/identity.tokens/operations/encrypt.js +1 -1
- package/components/identity.tokens/operations/encrypt.js.map +1 -1
- package/components/identity.tokens/operations/lib/types.d.ts +3 -2
- package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
- package/components/identity.tokens/source/authenticate.test.ts +7 -2
- package/components/identity.tokens/source/decrypt.test.ts +13 -7
- package/components/identity.tokens/source/decrypt.ts +1 -1
- package/components/identity.tokens/source/encrypt.test.ts +9 -4
- package/components/identity.tokens/source/encrypt.ts +1 -1
- package/components/identity.tokens/source/lib/types.ts +3 -2
- package/context.toa.yaml +2 -2
- package/documentation/components.md +1 -1
- package/documentation/protocol.md +24 -0
- package/features/configuration.feature +207 -0
- package/features/identity.federation.feature +15 -7
- package/features/introspection.map.feature +16 -0
- package/features/octets.cloudinary.feature +8 -2
- package/features/octets.download.feature +3 -1
- package/features/probes.feature +8 -4
- package/features/steps/Common.ts +24 -1
- package/features/steps/Components.ts +29 -0
- package/features/steps/Gateway.ts +57 -11
- package/features/steps/Parameters.ts +4 -0
- package/features/steps/Probe.ts +34 -0
- package/package.json +4 -3
- package/readme.md +7 -13
- package/schemas/annotation.cos.yaml +11 -0
- package/source/Annotation.ts +11 -0
- package/source/HTTP/Context.ts +1 -6
- package/source/HTTP/Probe.ts +112 -0
- package/source/HTTP/Server.ts +123 -74
- package/source/HTTP/Timing.ts +1 -1
- package/source/HTTP/formats/yaml.test.ts +6 -0
- package/source/HTTP/formats/yaml.ts +21 -1
- package/source/HTTP/index.ts +2 -0
- package/source/HTTP/messages.test.ts +2 -5
- package/source/HTTP/messages.ts +38 -42
- package/source/HTTP/types.ts +39 -0
- package/source/deployment.ts +12 -4
- package/source/directives/octets/Get.ts +3 -3
- package/transpiled/Annotation.d.ts +10 -0
- package/transpiled/HTTP/Context.d.ts +1 -6
- package/transpiled/HTTP/Context.js.map +1 -1
- package/transpiled/HTTP/Probe.d.ts +36 -0
- package/transpiled/HTTP/Probe.js +117 -0
- package/transpiled/HTTP/Probe.js.map +1 -0
- package/transpiled/HTTP/Server.d.ts +11 -7
- package/transpiled/HTTP/Server.js +92 -58
- package/transpiled/HTTP/Server.js.map +1 -1
- package/transpiled/HTTP/Timing.d.ts +1 -2
- package/transpiled/HTTP/formats/yaml.js +15 -1
- package/transpiled/HTTP/formats/yaml.js.map +1 -1
- package/transpiled/HTTP/index.d.ts +2 -0
- package/transpiled/HTTP/index.js +2 -0
- package/transpiled/HTTP/index.js.map +1 -1
- package/transpiled/HTTP/messages.d.ts +8 -3
- package/transpiled/HTTP/messages.js +31 -37
- package/transpiled/HTTP/messages.js.map +1 -1
- package/transpiled/HTTP/types.d.ts +40 -0
- package/transpiled/HTTP/types.js +3 -0
- package/transpiled/HTTP/types.js.map +1 -0
- package/transpiled/deployment.js +8 -2
- package/transpiled/deployment.js.map +1 -1
- package/transpiled/directives/octets/Get.js +3 -3
- package/transpiled/directives/octets/Get.js.map +1 -1
- package/transpiled/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,215 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.276](https://github.com/toa-io/toa/compare/v1.0.0-alpha.275...v1.0.0-alpha.276) (2026-09-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **exposition:** give a component `host` over HTTP/2 ([7635142](https://github.com/toa-io/toa/commit/7635142fccdd3a755b76c6b2de670bfee6da2d19))
|
|
12
|
+
* **exposition:** move the readiness probe off the Telemetry port ([4be9385](https://github.com/toa-io/toa/commit/4be93850f7eec65ded03a0a3ba3090003e40cb5c))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [1.0.0-alpha.274](https://github.com/toa-io/toa/compare/v1.0.0-alpha.273...v1.0.0-alpha.274) (2026-09-02)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* Configuration is served by a component, followed live, and kept per epoch (#1017) ([b05997d](https://github.com/toa-io/toa/commit/b05997d3adb784f238a222cb46878b23859339a2)), closes [#1017](https://github.com/toa-io/toa/issues/1017)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
* a secret configuration value is an object, not a string;
|
|
27
|
+
read it with `unwrap()`.
|
|
28
|
+
|
|
29
|
+
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
30
|
+
|
|
31
|
+
* test(configuration): wait for the second round rather than assume it
|
|
32
|
+
|
|
33
|
+
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
34
|
+
|
|
35
|
+
* refactor(configuration)!: read a secret with its own unwrap
|
|
36
|
+
|
|
37
|
+
Component code depends on no Toa package, so a secret is read as
|
|
38
|
+
`context.configuration.apiKey.unwrap()` and the helper in `@toa.io/generic`
|
|
39
|
+
goes. A value a component reads as a secret is therefore given as a reference:
|
|
40
|
+
`identity.basic` no longer defaults `pepper` to `''`, the development context
|
|
41
|
+
and the feature harness give the token keys, the federation client secret and
|
|
42
|
+
the signing key as references, and the harness has a step for the secrets a
|
|
43
|
+
scenario refers to. CONTRIBUTING states the rule.
|
|
44
|
+
* `identity.basic` `pepper` has no default; a value read as a
|
|
45
|
+
secret must be given as a `$NAME` reference.
|
|
46
|
+
|
|
47
|
+
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
48
|
+
|
|
49
|
+
* feat(configuration): list the configurations
|
|
50
|
+
|
|
51
|
+
`configuration.values.list` returns every component's configuration for its
|
|
52
|
+
deployed epoch, by component name, and `GET /configuration/values/` serves it
|
|
53
|
+
behind `system:configuration:get`.
|
|
54
|
+
|
|
55
|
+
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
56
|
+
|
|
57
|
+
* fix(exposition): write a value in YAML the way its toJSON says
|
|
58
|
+
|
|
59
|
+
A redacted secret in a reply was dumped as an empty object; it is written as
|
|
60
|
+
`<REDACTED>`, as JSON and msgpack already write it.
|
|
61
|
+
|
|
62
|
+
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
63
|
+
|
|
64
|
+
* test(configuration): a secret is an object, and stays redacted in a reply
|
|
65
|
+
|
|
66
|
+
A component with `{ a: 1, b: $SECRET_B }` returns its configuration as
|
|
67
|
+
`{ a: 1, b: '<REDACTED>' }` and the secret itself through `unwrap()`. The reply
|
|
68
|
+
step also accepts a reply as a caller across a process boundary receives it,
|
|
69
|
+
since a call within the process hands the object over as it is.
|
|
70
|
+
|
|
71
|
+
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
|
72
|
+
|
|
73
|
+
* chore(schemas): bump the dependencies
|
|
74
|
+
|
|
75
|
+
ajv 8.18.0 to 8.20.0, ajv-formats 2.1.1 to 3.0.1, better-ajv-errors 1.2.0
|
|
76
|
+
to 2.0.3, fast-glob 3.2.12 to 3.3.3 and js-yaml 4.3.1 to 5.4.1 — the version
|
|
77
|
+
exposition already uses. The three majors keep the CommonJS entry points this
|
|
78
|
+
library calls: ajv-formats as a function, better-ajv-errors as .default, and
|
|
79
|
+
js-yaml's load.
|
|
80
|
+
|
|
81
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
82
|
+
|
|
83
|
+
* feat(configuration)!: serve the schema with the value
|
|
84
|
+
|
|
85
|
+
GET /configuration/values/:component/ answers { configuration, schema, epoch }
|
|
86
|
+
where it answered with the configuration alone, and list carries the schema of
|
|
87
|
+
every component. Nothing reads a configuration without needing to know what it
|
|
88
|
+
is checked against, and the schema was only ever on the values service.
|
|
89
|
+
|
|
90
|
+
An epoch the deployment does not know has no schema; the value stored for it
|
|
91
|
+
is still returned.
|
|
92
|
+
|
|
93
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
94
|
+
|
|
95
|
+
* feat(configuration): publish a configuration UI
|
|
96
|
+
|
|
97
|
+
The values service serves a page at /.configuration on port 8003, out of the
|
|
98
|
+
directory ui builds: the configured components, a screen per component showing
|
|
99
|
+
what it holds now, and a dialog creating the next one. Reading needs
|
|
100
|
+
system:configuration:get and creating needs system:configuration:create.
|
|
101
|
+
|
|
102
|
+
A configuration is immutable, so the dialog opens on the current value and what
|
|
103
|
+
is left out of it is left out of the component. The editor takes YAML, the
|
|
104
|
+
schema is applied before anything is sent, and a secret is a reference the page
|
|
105
|
+
never shows.
|
|
106
|
+
|
|
107
|
+
The page is always published: the annotation is the per-component values map
|
|
108
|
+
and has nowhere to carry a switch.
|
|
109
|
+
|
|
110
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
111
|
+
|
|
112
|
+
* feat(introspection): link a component to its configuration
|
|
113
|
+
|
|
114
|
+
A card carrying @toa.io/extensions.configuration reads that extension as a link
|
|
115
|
+
to the configuration UI rather than as a name, and configuration joins the
|
|
116
|
+
namespaces the runtime provides, so its components band under System.
|
|
117
|
+
|
|
118
|
+
Deployed, both pages sit behind the same ingress and the path alone is right;
|
|
119
|
+
locally each console has its own port.
|
|
120
|
+
|
|
121
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
122
|
+
|
|
123
|
+
* feat(introspection): scroll the map, zoom with a modifier
|
|
124
|
+
|
|
125
|
+
The map was grabbed to move and zoomed with a bare wheel, which is neither what
|
|
126
|
+
a page does nor what the wheel does anywhere else. A plain scroll now pans on
|
|
127
|
+
both axes and the wheel scales only with the modifier held — a trackpad pinch
|
|
128
|
+
arrives as one of those on every platform.
|
|
129
|
+
|
|
130
|
+
A card's own scrollable box keeps its wheel, in both paths.
|
|
131
|
+
|
|
132
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
133
|
+
|
|
134
|
+
* refactor(introspection): centre the filter in the header
|
|
135
|
+
|
|
136
|
+
The sides take equal space, which is what leaves the filter between them.
|
|
137
|
+
Neither side may shrink under what it holds, or the tabs run out from under
|
|
138
|
+
their side and across the filter, and the filter across the sign-out button;
|
|
139
|
+
the title gives way instead.
|
|
140
|
+
|
|
141
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
142
|
+
|
|
143
|
+
* fix(configuration): connect the UI to the values service
|
|
144
|
+
|
|
145
|
+
The page was declared as a dependency from inside `open`, and a connector connects
|
|
146
|
+
what it depends on before `open` runs — so the server was constructed and never
|
|
147
|
+
listened. Nothing caught it: the UI feature builds the server itself.
|
|
148
|
+
|
|
149
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
150
|
+
|
|
151
|
+
* feat(configuration)!: reserve resources in the annotation
|
|
152
|
+
|
|
153
|
+
The values service deploys like any other and must state what it may take, but the
|
|
154
|
+
annotation is a map of component ids and had nowhere to put it — so `toa env` failed
|
|
155
|
+
for every context using configuration unless it declared a context-wide `resources`.
|
|
156
|
+
|
|
157
|
+
`resources` is now the service's own, read the way `introspection` and `realtime` read
|
|
158
|
+
theirs. A component actually named `resources` is written `default.resources`, which is
|
|
159
|
+
what its id is anyway.
|
|
160
|
+
|
|
161
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
162
|
+
|
|
163
|
+
* feat(configuration): follow the system colour scheme
|
|
164
|
+
|
|
165
|
+
The dark tokens were behind a `.dark` class nothing sets, and the `dark:` variant was
|
|
166
|
+
pointed at that class too — so a component's own dark styling never applied either.
|
|
167
|
+
Both now key off `prefers-color-scheme`, and `color-scheme` hands the native chrome
|
|
168
|
+
the same answer.
|
|
169
|
+
|
|
170
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
171
|
+
|
|
172
|
+
* feat(introspection): follow the system colour scheme
|
|
173
|
+
|
|
174
|
+
The dark tokens were behind a `.dark` class nothing sets, and the `dark:` variant was
|
|
175
|
+
pointed at that class too — so a component's own dark styling never applied either.
|
|
176
|
+
Both now key off `prefers-color-scheme`, and `color-scheme` hands the native chrome
|
|
177
|
+
the same answer.
|
|
178
|
+
|
|
179
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
180
|
+
|
|
181
|
+
* feat(configuration): present a change as an edit of what is there
|
|
182
|
+
|
|
183
|
+
A configuration is immutable and creating one replaces the whole of it, but the dialog
|
|
184
|
+
opens on the current value and the page never shows an older one — so what the reader
|
|
185
|
+
does is edit. The words follow: Edit rather than New, Update rather than Create, and
|
|
186
|
+
the paragraph explaining the model goes, along with the field's label, which the title
|
|
187
|
+
above it already said.
|
|
188
|
+
|
|
189
|
+
The editor also stayed as wide as its longest line — `field-sizing: content` sizes to
|
|
190
|
+
content, and no `max-width` clamps that — so a long value painted outside the dialog.
|
|
191
|
+
It is fixed now, the dialog takes the width the screen has rather than a fixed step,
|
|
192
|
+
and the band held for errors no longer leaves a gap when there are none.
|
|
193
|
+
|
|
194
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
195
|
+
|
|
196
|
+
* feat(configuration): mark a component that keeps a secret
|
|
197
|
+
|
|
198
|
+
A key after the name on the row, wherever the configuration holds a reference, however
|
|
199
|
+
deep. The predicate reads the same lines the value screen renders, so the two cannot
|
|
200
|
+
disagree about what counts as a secret.
|
|
201
|
+
|
|
202
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
203
|
+
|
|
204
|
+
* feat(configuration): lead back to the list from the title
|
|
205
|
+
|
|
206
|
+
Every address ends in a slash, so the way up is the address itself on the list and one
|
|
207
|
+
level above it on a component's screen — which holds wherever the page is mounted.
|
|
208
|
+
|
|
209
|
+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
6
215
|
# [1.0.0-alpha.273](https://github.com/toa-io/toa/compare/v1.0.0-alpha.272...v1.0.0-alpha.273) (2026-09-02)
|
|
7
216
|
|
|
8
217
|
|
|
@@ -13,7 +13,7 @@ async function computation(input, context) {
|
|
|
13
13
|
return credentials;
|
|
14
14
|
if (credentials === null)
|
|
15
15
|
return ERR_NOT_FOUND;
|
|
16
|
-
const spicy = password + context.configuration.pepper;
|
|
16
|
+
const spicy = password + (context.configuration.pepper?.unwrap() ?? '');
|
|
17
17
|
const match = await (0, bcryptjs_1.compare)(spicy, credentials.password);
|
|
18
18
|
if (match)
|
|
19
19
|
return { identity: { id: credentials.id } };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.js","sourceRoot":"","sources":["../source/authenticate.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAI3B,KAAK,UAAU,WAAW,CAAE,KAAY,EAAE,OAAgB;IAC/D,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,MAAM;SAChC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,CAAC;SACjC,QAAQ,EAAE;SACV,KAAK,CAAC,GAAG,CAAC,CAAA;IAEb,MAAM,KAAK,GAAU,EAAE,QAAQ,EAAE,cAAc,KAAK,CAAC,SAAS,eAAe,QAAQ,GAAG,EAAE,CAAA;IAC1F,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;IAE1D,IAAI,WAAW,YAAY,KAAK;QAC9B,OAAO,WAAW,CAAA;IAEpB,IAAI,WAAW,KAAK,IAAI;QACtB,OAAO,aAAa,CAAA;IAEtB,MAAM,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"authenticate.js","sourceRoot":"","sources":["../source/authenticate.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAI3B,KAAK,UAAU,WAAW,CAAE,KAAY,EAAE,OAAgB;IAC/D,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,MAAM;SAChC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,CAAC;SACjC,QAAQ,EAAE;SACV,KAAK,CAAC,GAAG,CAAC,CAAA;IAEb,MAAM,KAAK,GAAU,EAAE,QAAQ,EAAE,cAAc,KAAK,CAAC,SAAS,eAAe,QAAQ,GAAG,EAAE,CAAA;IAC1F,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;IAE1D,IAAI,WAAW,YAAY,KAAK;QAC9B,OAAO,WAAW,CAAA;IAEpB,IAAI,WAAW,KAAK,IAAI;QACtB,OAAO,aAAa,CAAA;IAEtB,MAAM,KAAK,GAAG,QAAQ,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;IACvE,MAAM,KAAK,GAAG,MAAM,IAAA,kBAAO,EAAC,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAA;IAExD,IAAI,KAAK;QACP,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,EAAE,CAAA;;QAE3C,OAAO,qBAAqB,CAAA;AAChC,CAAC;AAtBD,kCAsBC;AAED,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,aAAc,SAAQ,KAAK;IAC1C,IAAI,GAAG,WAAW,CAAA;CACnC,CAAC,EAAE,CAAA;AAEJ,MAAM,qBAAqB,GAAG,IAAI,CAAC,MAAM,qBAAsB,SAAQ,KAAK;IAC1D,IAAI,GAAG,mBAAmB,CAAA;CAC3C,CAAC,EAAE,CAAA"}
|
|
@@ -11,7 +11,7 @@ class Transition {
|
|
|
11
11
|
passwordRx = [];
|
|
12
12
|
mount(context) {
|
|
13
13
|
this.rounds = context.configuration.rounds;
|
|
14
|
-
this.pepper = context.configuration.pepper;
|
|
14
|
+
this.pepper = context.configuration.pepper?.unwrap() ?? '';
|
|
15
15
|
this.principal = context.configuration.principal;
|
|
16
16
|
this.tokens = context.remote.identity.tokens;
|
|
17
17
|
this.usernameRx = toRx(context.configuration.username);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transit.js","sourceRoot":"","sources":["../source/transit.ts"],"names":[],"mappings":";;;AAAA,uCAAwC;AAIxC,MAAa,UAAU;IACb,MAAM,GAAW,EAAE,CAAA;IACnB,MAAM,GAAW,EAAE,CAAA;IACnB,SAAS,CAAS;IAClB,MAAM,GAAW,SAA8B,CAAA;IAC/C,UAAU,GAAa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