@toa.io/extensions.exposition 1.0.0-alpha.273 → 1.0.0-alpha.274

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 (47) hide show
  1. package/CHANGELOG.md +197 -0
  2. package/components/identity.basic/manifest.toa.yaml +1 -1
  3. package/components/identity.basic/operations/authenticate.js +1 -1
  4. package/components/identity.basic/operations/authenticate.js.map +1 -1
  5. package/components/identity.basic/operations/transit.js +1 -1
  6. package/components/identity.basic/operations/transit.js.map +1 -1
  7. package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
  8. package/components/identity.basic/operations/types.d.ts +2 -2
  9. package/components/identity.basic/source/authenticate.ts +1 -1
  10. package/components/identity.basic/source/transit.ts +1 -1
  11. package/components/identity.basic/source/types.ts +2 -2
  12. package/components/identity.credentials/operations/tsconfig.tsbuildinfo +1 -1
  13. package/components/identity.federation/operations/lib/exchange.js +2 -2
  14. package/components/identity.federation/operations/lib/exchange.js.map +1 -1
  15. package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
  16. package/components/identity.federation/operations/types/configuration.d.ts +3 -2
  17. package/components/identity.federation/source/lib/exchange.ts +2 -2
  18. package/components/identity.federation/source/types/configuration.ts +4 -2
  19. package/components/identity.keys/operations/tsconfig.tsbuildinfo +1 -1
  20. package/components/identity.otp/operations/tsconfig.tsbuildinfo +1 -1
  21. package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +1 -1
  22. package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
  23. package/components/identity.tokens/operations/decrypt.js +1 -1
  24. package/components/identity.tokens/operations/decrypt.js.map +1 -1
  25. package/components/identity.tokens/operations/encrypt.js +1 -1
  26. package/components/identity.tokens/operations/encrypt.js.map +1 -1
  27. package/components/identity.tokens/operations/lib/types.d.ts +3 -2
  28. package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
  29. package/components/identity.tokens/source/authenticate.test.ts +7 -2
  30. package/components/identity.tokens/source/decrypt.test.ts +13 -7
  31. package/components/identity.tokens/source/decrypt.ts +1 -1
  32. package/components/identity.tokens/source/encrypt.test.ts +9 -4
  33. package/components/identity.tokens/source/encrypt.ts +1 -1
  34. package/components/identity.tokens/source/lib/types.ts +3 -2
  35. package/context.toa.yaml +2 -2
  36. package/documentation/components.md +1 -1
  37. package/features/configuration.feature +207 -0
  38. package/features/identity.federation.feature +15 -7
  39. package/features/introspection.map.feature +16 -0
  40. package/features/steps/Components.ts +29 -0
  41. package/features/steps/Gateway.ts +48 -10
  42. package/package.json +3 -3
  43. package/source/HTTP/formats/yaml.test.ts +6 -0
  44. package/source/HTTP/formats/yaml.ts +21 -1
  45. package/transpiled/HTTP/formats/yaml.js +15 -1
  46. package/transpiled/HTTP/formats/yaml.js.map +1 -1
  47. package/transpiled/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,203 @@
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.274](https://github.com/toa-io/toa/compare/v1.0.0-alpha.273...v1.0.0-alpha.274) (2026-09-02)
7
+
8
+
9
+ * 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)
10
+
11
+
12
+ ### BREAKING CHANGES
13
+
14
+ * a secret configuration value is an object, not a string;
15
+ read it with `unwrap()`.
16
+
17
+ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
18
+
19
+ * test(configuration): wait for the second round rather than assume it
20
+
21
+ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
22
+
23
+ * refactor(configuration)!: read a secret with its own unwrap
24
+
25
+ Component code depends on no Toa package, so a secret is read as
26
+ `context.configuration.apiKey.unwrap()` and the helper in `@toa.io/generic`
27
+ goes. A value a component reads as a secret is therefore given as a reference:
28
+ `identity.basic` no longer defaults `pepper` to `''`, the development context
29
+ and the feature harness give the token keys, the federation client secret and
30
+ the signing key as references, and the harness has a step for the secrets a
31
+ scenario refers to. CONTRIBUTING states the rule.
32
+ * `identity.basic` `pepper` has no default; a value read as a
33
+ secret must be given as a `$NAME` reference.
34
+
35
+ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
36
+
37
+ * feat(configuration): list the configurations
38
+
39
+ `configuration.values.list` returns every component's configuration for its
40
+ deployed epoch, by component name, and `GET /configuration/values/` serves it
41
+ behind `system:configuration:get`.
42
+
43
+ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
44
+
45
+ * fix(exposition): write a value in YAML the way its toJSON says
46
+
47
+ A redacted secret in a reply was dumped as an empty object; it is written as
48
+ `<REDACTED>`, as JSON and msgpack already write it.
49
+
50
+ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
51
+
52
+ * test(configuration): a secret is an object, and stays redacted in a reply
53
+
54
+ A component with `{ a: 1, b: $SECRET_B }` returns its configuration as
55
+ `{ a: 1, b: '<REDACTED>' }` and the secret itself through `unwrap()`. The reply
56
+ step also accepts a reply as a caller across a process boundary receives it,
57
+ since a call within the process hands the object over as it is.
58
+
59
+ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
60
+
61
+ * chore(schemas): bump the dependencies
62
+
63
+ ajv 8.18.0 to 8.20.0, ajv-formats 2.1.1 to 3.0.1, better-ajv-errors 1.2.0
64
+ 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
65
+ exposition already uses. The three majors keep the CommonJS entry points this
66
+ library calls: ajv-formats as a function, better-ajv-errors as .default, and
67
+ js-yaml's load.
68
+
69
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
70
+
71
+ * feat(configuration)!: serve the schema with the value
72
+
73
+ GET /configuration/values/:component/ answers { configuration, schema, epoch }
74
+ where it answered with the configuration alone, and list carries the schema of
75
+ every component. Nothing reads a configuration without needing to know what it
76
+ is checked against, and the schema was only ever on the values service.
77
+
78
+ An epoch the deployment does not know has no schema; the value stored for it
79
+ is still returned.
80
+
81
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
82
+
83
+ * feat(configuration): publish a configuration UI
84
+
85
+ The values service serves a page at /.configuration on port 8003, out of the
86
+ directory ui builds: the configured components, a screen per component showing
87
+ what it holds now, and a dialog creating the next one. Reading needs
88
+ system:configuration:get and creating needs system:configuration:create.
89
+
90
+ A configuration is immutable, so the dialog opens on the current value and what
91
+ is left out of it is left out of the component. The editor takes YAML, the
92
+ schema is applied before anything is sent, and a secret is a reference the page
93
+ never shows.
94
+
95
+ The page is always published: the annotation is the per-component values map
96
+ and has nowhere to carry a switch.
97
+
98
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
99
+
100
+ * feat(introspection): link a component to its configuration
101
+
102
+ A card carrying @toa.io/extensions.configuration reads that extension as a link
103
+ to the configuration UI rather than as a name, and configuration joins the
104
+ namespaces the runtime provides, so its components band under System.
105
+
106
+ Deployed, both pages sit behind the same ingress and the path alone is right;
107
+ locally each console has its own port.
108
+
109
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
110
+
111
+ * feat(introspection): scroll the map, zoom with a modifier
112
+
113
+ The map was grabbed to move and zoomed with a bare wheel, which is neither what
114
+ a page does nor what the wheel does anywhere else. A plain scroll now pans on
115
+ both axes and the wheel scales only with the modifier held — a trackpad pinch
116
+ arrives as one of those on every platform.
117
+
118
+ A card's own scrollable box keeps its wheel, in both paths.
119
+
120
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
121
+
122
+ * refactor(introspection): centre the filter in the header
123
+
124
+ The sides take equal space, which is what leaves the filter between them.
125
+ Neither side may shrink under what it holds, or the tabs run out from under
126
+ their side and across the filter, and the filter across the sign-out button;
127
+ the title gives way instead.
128
+
129
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
130
+
131
+ * fix(configuration): connect the UI to the values service
132
+
133
+ The page was declared as a dependency from inside `open`, and a connector connects
134
+ what it depends on before `open` runs — so the server was constructed and never
135
+ listened. Nothing caught it: the UI feature builds the server itself.
136
+
137
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
138
+
139
+ * feat(configuration)!: reserve resources in the annotation
140
+
141
+ The values service deploys like any other and must state what it may take, but the
142
+ annotation is a map of component ids and had nowhere to put it — so `toa env` failed
143
+ for every context using configuration unless it declared a context-wide `resources`.
144
+
145
+ `resources` is now the service's own, read the way `introspection` and `realtime` read
146
+ theirs. A component actually named `resources` is written `default.resources`, which is
147
+ what its id is anyway.
148
+
149
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
150
+
151
+ * feat(configuration): follow the system colour scheme
152
+
153
+ The dark tokens were behind a `.dark` class nothing sets, and the `dark:` variant was
154
+ pointed at that class too — so a component's own dark styling never applied either.
155
+ Both now key off `prefers-color-scheme`, and `color-scheme` hands the native chrome
156
+ the same answer.
157
+
158
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
159
+
160
+ * feat(introspection): follow the system colour scheme
161
+
162
+ The dark tokens were behind a `.dark` class nothing sets, and the `dark:` variant was
163
+ pointed at that class too — so a component's own dark styling never applied either.
164
+ Both now key off `prefers-color-scheme`, and `color-scheme` hands the native chrome
165
+ the same answer.
166
+
167
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
168
+
169
+ * feat(configuration): present a change as an edit of what is there
170
+
171
+ A configuration is immutable and creating one replaces the whole of it, but the dialog
172
+ opens on the current value and the page never shows an older one — so what the reader
173
+ does is edit. The words follow: Edit rather than New, Update rather than Create, and
174
+ the paragraph explaining the model goes, along with the field's label, which the title
175
+ above it already said.
176
+
177
+ The editor also stayed as wide as its longest line — `field-sizing: content` sizes to
178
+ content, and no `max-width` clamps that — so a long value painted outside the dialog.
179
+ It is fixed now, the dialog takes the width the screen has rather than a fixed step,
180
+ and the band held for errors no longer leaves a gap when there are none.
181
+
182
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
183
+
184
+ * feat(configuration): mark a component that keeps a secret
185
+
186
+ A key after the name on the row, wherever the configuration holds a reference, however
187
+ deep. The predicate reads the same lines the value screen renders, so the two cannot
188
+ disagree about what counts as a secret.
189
+
190
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
191
+
192
+ * feat(configuration): lead back to the list from the title
193
+
194
+ Every address ends in a slash, so the way up is the address itself on the list and one
195
+ level above it on a component's screen — which holds wherever the page is mounted.
196
+
197
+ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
198
+
199
+
200
+
201
+
202
+
6
203
  # [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
204
 
8
205
 
@@ -169,8 +169,8 @@ configuration:
169
169
  type: integer
170
170
  default: 10
171
171
  pepper:
172
+ description: Hashing pepper, a secret
172
173
  type: string
173
- default: ''
174
174
  principal:
175
175
  type: string
176
176
  username:
@@ -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,SAA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W,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,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