@powerhousedao/switchboard 6.2.2-dev.9 → 6.2.2-staging.0
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/.gitignore +41 -0
- package/.npmignore +2 -0
- package/.tsbuild/test/attachment-reference-read-model.test.d.ts +2 -0
- package/.tsbuild/test/attachment-reference-read-model.test.d.ts.map +1 -0
- package/.tsbuild/test/attachments/download-target.test.d.ts +2 -0
- package/.tsbuild/test/attachments/download-target.test.d.ts.map +1 -0
- package/.tsbuild/test/reactor-feature-flags.test.d.ts +2 -0
- package/.tsbuild/test/reactor-feature-flags.test.d.ts.map +1 -0
- package/.tsbuild/tsconfig.tsbuildinfo +1 -1
- package/Auth.md +107 -1
- package/CHANGELOG.md +587 -0
- package/README.md +44 -2
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{server-Cgud_ONM.mjs → server-DYraD11D.mjs} +364 -48
- package/dist/server-DYraD11D.mjs.map +1 -0
- package/dist/server.d.mts +9 -5
- package/dist/server.d.mts.map +1 -1
- package/dist/server.mjs +3 -3
- package/package.json +14 -13
- package/test/attachment-reference-read-model.test.ts +425 -0
- package/test/attachments/auth.test.ts +138 -8
- package/test/attachments/download-target.test.ts +450 -0
- package/test/attachments/index.test.ts +37 -2
- package/test/attachments/routes-integration.test.ts +98 -1
- package/test/reactor-feature-flags.test.ts +61 -0
- package/test/worker-pool.test.ts +27 -0
- package/tsconfig.json +3 -0
- package/dist/server-Cgud_ONM.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,590 @@
|
|
|
1
|
+
## 6.2.2-staging.0 (2026-09-09)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **ci:** test package managers against pnpm latest ([#2990](https://github.com/powerhouse-inc/powerhouse/issues/2990))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- froid1911
|
|
10
|
+
|
|
11
|
+
## 6.2.2-dev.87 (2026-09-09)
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **ci:** test package managers against pnpm latest ([#2990](https://github.com/powerhouse-inc/powerhouse/issues/2990))
|
|
16
|
+
|
|
17
|
+
### ❤️ Thank You
|
|
18
|
+
|
|
19
|
+
- froid1911
|
|
20
|
+
|
|
21
|
+
## 6.2.2-dev.86 (2026-09-09)
|
|
22
|
+
|
|
23
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
24
|
+
|
|
25
|
+
## 6.2.2-dev.85 (2026-09-09)
|
|
26
|
+
|
|
27
|
+
### 🚀 Features
|
|
28
|
+
|
|
29
|
+
- **reactor-api:** prefill GraphiQL explorer from explorerURLState ([f609aaaa0](https://github.com/powerhouse-inc/powerhouse/commit/f609aaaa0))
|
|
30
|
+
|
|
31
|
+
### 🩹 Fixes
|
|
32
|
+
|
|
33
|
+
- **ci:** move @jsr registry mapping to the root .npmrc ([56092b254](https://github.com/powerhouse-inc/powerhouse/commit/56092b254))
|
|
34
|
+
- **reactor-browser:** remove duplicate graphql dependency and clean lockfile ([472c42a1c](https://github.com/powerhouse-inc/powerhouse/commit/472c42a1c))
|
|
35
|
+
- **reactor-browser:** prefill Switchboard link with document-scoped query ([db58970d3](https://github.com/powerhouse-inc/powerhouse/commit/db58970d3))
|
|
36
|
+
|
|
37
|
+
### ❤️ Thank You
|
|
38
|
+
|
|
39
|
+
- froid1911
|
|
40
|
+
|
|
41
|
+
## 6.2.2-dev.84 (2026-09-09)
|
|
42
|
+
|
|
43
|
+
### 🚀 Features
|
|
44
|
+
|
|
45
|
+
- download drive folders as zip archives with round-trip import ([#134](https://github.com/powerhouse-inc/powerhouse/pull/134), [#2986](https://github.com/powerhouse-inc/powerhouse/pull/2986))
|
|
46
|
+
- **scripts:** add new-worktree.sh to create ready-to-test worktrees ([#2982](https://github.com/powerhouse-inc/powerhouse/pull/2982))
|
|
47
|
+
- **switchboard:** bound and instrument the reactor host Postgres pool ([deb71b911](https://github.com/powerhouse-inc/powerhouse/commit/deb71b911))
|
|
48
|
+
- **switchboard, opentelemetry-instrumentation-reactor:** emit host event-loop metrics ([e23f219ab](https://github.com/powerhouse-inc/powerhouse/commit/e23f219ab))
|
|
49
|
+
|
|
50
|
+
### 🩹 Fixes
|
|
51
|
+
|
|
52
|
+
- **academy:** pin cross-env instead of catalog: so the Docker build resolves ([705d68a09](https://github.com/powerhouse-inc/powerhouse/commit/705d68a09))
|
|
53
|
+
- **switchboard:** resolve the host pool size only on the Postgres path ([a6ac10b15](https://github.com/powerhouse-inc/powerhouse/commit/a6ac10b15))
|
|
54
|
+
- **reactor-api:** uninstallPackage tears down everything the package registered ([#2973](https://github.com/powerhouse-inc/powerhouse/issues/2973))
|
|
55
|
+
|
|
56
|
+
### ❤️ Thank You
|
|
57
|
+
|
|
58
|
+
- Benjamin Jordan
|
|
59
|
+
- Claude Opus 5
|
|
60
|
+
- Frank @froid1911
|
|
61
|
+
- froid1911
|
|
62
|
+
|
|
63
|
+
## 6.2.2-dev.83 (2026-09-08)
|
|
64
|
+
|
|
65
|
+
### 🩹 Fixes
|
|
66
|
+
|
|
67
|
+
- **release:** create the GitHub release after the push, not during changelog ([df3d2c88c](https://github.com/powerhouse-inc/powerhouse/commit/df3d2c88c))
|
|
68
|
+
|
|
69
|
+
### ❤️ Thank You
|
|
70
|
+
|
|
71
|
+
- acaldas
|
|
72
|
+
|
|
73
|
+
## 6.2.2-dev.82 (2026-09-08)
|
|
74
|
+
|
|
75
|
+
### 🩹 Fixes
|
|
76
|
+
|
|
77
|
+
- **release:** emit the pnpm 11+ scoped-registry publish flag ([1ddf2464b](https://github.com/powerhouse-inc/powerhouse/commit/1ddf2464b))
|
|
78
|
+
- **ci:** route the @jsr scope from the workspace root .npmrc ([#2968](https://github.com/powerhouse-inc/powerhouse/pull/2968))
|
|
79
|
+
- **ci:** resolve @jsr scope to npm.jsr.io in pnpm-workspace ([d5dd3a39e](https://github.com/powerhouse-inc/powerhouse/commit/d5dd3a39e))
|
|
80
|
+
|
|
81
|
+
### ❤️ Thank You
|
|
82
|
+
|
|
83
|
+
- acaldas
|
|
84
|
+
- Frank @froid1911
|
|
85
|
+
|
|
86
|
+
## 6.2.2-dev.81 (2026-09-05)
|
|
87
|
+
|
|
88
|
+
### 🚀 Features
|
|
89
|
+
|
|
90
|
+
- **reactor:** a FIXED task must cite a benchmark measured at the fix commit ([c091953ad](https://github.com/powerhouse-inc/powerhouse/commit/c091953ad))
|
|
91
|
+
|
|
92
|
+
### ❤️ Thank You
|
|
93
|
+
|
|
94
|
+
- Benjamin Jordan
|
|
95
|
+
- Claude Opus 5
|
|
96
|
+
|
|
97
|
+
## 6.2.2-dev.80 (2026-09-04)
|
|
98
|
+
|
|
99
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
100
|
+
|
|
101
|
+
## 6.2.2-dev.79 (2026-09-04)
|
|
102
|
+
|
|
103
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
104
|
+
|
|
105
|
+
## 6.2.2-dev.78 (2026-09-04)
|
|
106
|
+
|
|
107
|
+
### 🚀 Features
|
|
108
|
+
|
|
109
|
+
- **bench:** bench:fix gate picks the next VERIFIED task when no id is given ([7c0560964](https://github.com/powerhouse-inc/powerhouse/commit/7c0560964))
|
|
110
|
+
- **bench:** bench-fixer agent and /bench-fix command close a verified finding ([9a2cbfdfe](https://github.com/powerhouse-inc/powerhouse/commit/9a2cbfdfe))
|
|
111
|
+
|
|
112
|
+
### 🩹 Fixes
|
|
113
|
+
|
|
114
|
+
- **connect:** stop serving stale builds after a deploy ([#2960](https://github.com/powerhouse-inc/powerhouse/pull/2960))
|
|
115
|
+
|
|
116
|
+
### ❤️ Thank You
|
|
117
|
+
|
|
118
|
+
- Benjamin Jordan
|
|
119
|
+
- Claude Fable 5.1
|
|
120
|
+
- Frank @froid1911
|
|
121
|
+
|
|
122
|
+
## 6.2.2-dev.77 (2026-09-03)
|
|
123
|
+
|
|
124
|
+
### 🚀 Features
|
|
125
|
+
|
|
126
|
+
- **connect:** AI chat assistant with settings, feature flag, and markdown ([#2956](https://github.com/powerhouse-inc/powerhouse/pull/2956))
|
|
127
|
+
- **reactor:** pure data layer for a bench records viewer ([d7abdde8e](https://github.com/powerhouse-inc/powerhouse/commit/d7abdde8e))
|
|
128
|
+
|
|
129
|
+
### ❤️ Thank You
|
|
130
|
+
|
|
131
|
+
- Benjamin Jordan
|
|
132
|
+
- Claude Fable 5.1
|
|
133
|
+
- Frank @froid1911
|
|
134
|
+
|
|
135
|
+
## 6.2.2-dev.76 (2026-09-03)
|
|
136
|
+
|
|
137
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
138
|
+
|
|
139
|
+
## 6.2.2-dev.75 (2026-09-03)
|
|
140
|
+
|
|
141
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
142
|
+
|
|
143
|
+
## 6.2.2-dev.74 (2026-09-02)
|
|
144
|
+
|
|
145
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
146
|
+
|
|
147
|
+
## 6.2.2-dev.73 (2026-09-02)
|
|
148
|
+
|
|
149
|
+
### 🚀 Features
|
|
150
|
+
|
|
151
|
+
- **reactor-api:** resolve the caller's identity without enforcing a policy ([#2953](https://github.com/powerhouse-inc/powerhouse/pull/2953))
|
|
152
|
+
- **reactor:** one script runs the benchmarks and records them ([89f958f97](https://github.com/powerhouse-inc/powerhouse/commit/89f958f97))
|
|
153
|
+
- three bench agents and the loop that runs them back to back ([af0e7467f](https://github.com/powerhouse-inc/powerhouse/commit/af0e7467f))
|
|
154
|
+
- **reactor:** add zod schemas for benchmark and task records ([9869572ba](https://github.com/powerhouse-inc/powerhouse/commit/9869572ba))
|
|
155
|
+
|
|
156
|
+
### 🩹 Fixes
|
|
157
|
+
|
|
158
|
+
- **ci:** emit an empty changed-files list without a trailing space ([366ad4d96](https://github.com/powerhouse-inc/powerhouse/commit/366ad4d96))
|
|
159
|
+
|
|
160
|
+
### ❤️ Thank You
|
|
161
|
+
|
|
162
|
+
- Benjamin Jordan
|
|
163
|
+
- Claude Opus 5
|
|
164
|
+
- Guillermo Puente Sandoval @gpuente
|
|
165
|
+
|
|
166
|
+
## 6.2.2-dev.72 (2026-09-02)
|
|
167
|
+
|
|
168
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
169
|
+
|
|
170
|
+
## 6.2.2-dev.71 (2026-09-01)
|
|
171
|
+
|
|
172
|
+
### 🚀 Features
|
|
173
|
+
|
|
174
|
+
- agent-managed Vetra with per-project ports ([#2946](https://github.com/powerhouse-inc/powerhouse/pull/2946))
|
|
175
|
+
|
|
176
|
+
### 🩹 Fixes
|
|
177
|
+
|
|
178
|
+
- **reactor-api:** hold @apollo/subgraph below 2.15 and use its array form ([ec6d19da0](https://github.com/powerhouse-inc/powerhouse/commit/ec6d19da0))
|
|
179
|
+
|
|
180
|
+
### ❤️ Thank You
|
|
181
|
+
|
|
182
|
+
- Benjamin Jordan
|
|
183
|
+
- Claude Opus 5
|
|
184
|
+
- Frank @froid1911
|
|
185
|
+
|
|
186
|
+
## 6.2.2-dev.70 (2026-09-01)
|
|
187
|
+
|
|
188
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
189
|
+
|
|
190
|
+
## 6.2.2-dev.69 (2026-08-31)
|
|
191
|
+
|
|
192
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
193
|
+
|
|
194
|
+
## 6.2.2-dev.68 (2026-08-31)
|
|
195
|
+
|
|
196
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
197
|
+
|
|
198
|
+
## 6.2.2-dev.67 (2026-08-31)
|
|
199
|
+
|
|
200
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
201
|
+
|
|
202
|
+
## 6.2.2-dev.66 (2026-08-30)
|
|
203
|
+
|
|
204
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
205
|
+
|
|
206
|
+
## 6.2.2-dev.65 (2026-08-29)
|
|
207
|
+
|
|
208
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
209
|
+
|
|
210
|
+
## 6.2.2-dev.64 (2026-08-28)
|
|
211
|
+
|
|
212
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
213
|
+
|
|
214
|
+
## 6.2.2-dev.63 (2026-08-27)
|
|
215
|
+
|
|
216
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
217
|
+
|
|
218
|
+
## 6.2.2-dev.62 (2026-08-27)
|
|
219
|
+
|
|
220
|
+
### 🩹 Fixes
|
|
221
|
+
|
|
222
|
+
- **ci:** build before typecheck in simulate-ci-workflow ([2ecd03e81](https://github.com/powerhouse-inc/powerhouse/commit/2ecd03e81))
|
|
223
|
+
- **windows:** spawn package managers through cross-spawn ([ff4140072](https://github.com/powerhouse-inc/powerhouse/commit/ff4140072))
|
|
224
|
+
- **windows:** make package scripts runnable under cmd.exe ([987022ed9](https://github.com/powerhouse-inc/powerhouse/commit/987022ed9))
|
|
225
|
+
|
|
226
|
+
### ❤️ Thank You
|
|
227
|
+
|
|
228
|
+
- Claude Opus 5 (1M context)
|
|
229
|
+
- Wouter Kampmann
|
|
230
|
+
|
|
231
|
+
## 6.2.2-dev.61 (2026-08-26)
|
|
232
|
+
|
|
233
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
234
|
+
|
|
235
|
+
## 6.2.2-dev.60 (2026-08-26)
|
|
236
|
+
|
|
237
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
238
|
+
|
|
239
|
+
## 6.2.2-dev.59 (2026-08-25)
|
|
240
|
+
|
|
241
|
+
### 🩹 Fixes
|
|
242
|
+
|
|
243
|
+
- **reactor:** stable processor cursor ids behind legacyProcessorIds flag ([ee82e90b4](https://github.com/powerhouse-inc/powerhouse/commit/ee82e90b4))
|
|
244
|
+
|
|
245
|
+
### ❤️ Thank You
|
|
246
|
+
|
|
247
|
+
- acaldas
|
|
248
|
+
|
|
249
|
+
## 6.2.2-dev.58 (2026-08-25)
|
|
250
|
+
|
|
251
|
+
### 🚀 Features
|
|
252
|
+
|
|
253
|
+
- **docker:** per-channel compose files on cr.vetra.io with fixed ports ([7d8f51b57](https://github.com/powerhouse-inc/powerhouse/commit/7d8f51b57))
|
|
254
|
+
|
|
255
|
+
### 🩹 Fixes
|
|
256
|
+
|
|
257
|
+
- **docker:** connect image HEALTHCHECK uses 127.0.0.1 ([4c80c5759](https://github.com/powerhouse-inc/powerhouse/commit/4c80c5759))
|
|
258
|
+
- **docker:** healthcheck 127.0.0.1 instead of localhost in compose files ([e15bb8c9d](https://github.com/powerhouse-inc/powerhouse/commit/e15bb8c9d))
|
|
259
|
+
|
|
260
|
+
### ❤️ Thank You
|
|
261
|
+
|
|
262
|
+
- froid1911
|
|
263
|
+
|
|
264
|
+
## 6.2.2-dev.57 (2026-08-24)
|
|
265
|
+
|
|
266
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
267
|
+
|
|
268
|
+
## 6.2.2-dev.56 (2026-08-23)
|
|
269
|
+
|
|
270
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
271
|
+
|
|
272
|
+
## 6.2.2-dev.55 (2026-08-22)
|
|
273
|
+
|
|
274
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
275
|
+
|
|
276
|
+
## 6.2.2-dev.54 (2026-08-21)
|
|
277
|
+
|
|
278
|
+
### 🚀 Features
|
|
279
|
+
|
|
280
|
+
- ⚠️ **reactor-api:** type the actions mutateDocument accepts ([1b9adbe2a](https://github.com/powerhouse-inc/powerhouse/commit/1b9adbe2a))
|
|
281
|
+
|
|
282
|
+
### ⚠️ Breaking Changes
|
|
283
|
+
|
|
284
|
+
- **reactor-api:** type the actions mutateDocument accepts ([1b9adbe2a](https://github.com/powerhouse-inc/powerhouse/commit/1b9adbe2a))
|
|
285
|
+
|
|
286
|
+
### ❤️ Thank You
|
|
287
|
+
|
|
288
|
+
- Benjamin Jordan
|
|
289
|
+
- Claude Fable 5
|
|
290
|
+
|
|
291
|
+
## 6.2.2-dev.53 (2026-08-20)
|
|
292
|
+
|
|
293
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
294
|
+
|
|
295
|
+
## 6.2.2-dev.52 (2026-08-19)
|
|
296
|
+
|
|
297
|
+
### 🚀 Features
|
|
298
|
+
|
|
299
|
+
- **switchboard:** verify renown credentials against the reactor's own read model ([9e7efe532](https://github.com/powerhouse-inc/powerhouse/commit/9e7efe532))
|
|
300
|
+
|
|
301
|
+
### 🩹 Fixes
|
|
302
|
+
|
|
303
|
+
- **reactor-api,switchboard:** parse PGlite read-model timestamps as UTC ([e6e25758b](https://github.com/powerhouse-inc/powerhouse/commit/e6e25758b))
|
|
304
|
+
|
|
305
|
+
### ❤️ Thank You
|
|
306
|
+
|
|
307
|
+
- acaldas
|
|
308
|
+
|
|
309
|
+
## 6.2.2-dev.51 (2026-08-19)
|
|
310
|
+
|
|
311
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
312
|
+
|
|
313
|
+
## 6.2.2-dev.50 (2026-08-18)
|
|
314
|
+
|
|
315
|
+
### 🚀 Features
|
|
316
|
+
|
|
317
|
+
- **switchboard:** read the group and condition enforcement flags ([e3d72b0a8](https://github.com/powerhouse-inc/powerhouse/commit/e3d72b0a8))
|
|
318
|
+
|
|
319
|
+
### 🩹 Fixes
|
|
320
|
+
|
|
321
|
+
- **ci:** install chromium from the package that owns playwright ([653349ee0](https://github.com/powerhouse-inc/powerhouse/commit/653349ee0))
|
|
322
|
+
- **connect:** stage the CSP rewrite instead of sed -i ([ab5cd1d8f](https://github.com/powerhouse-inc/powerhouse/commit/ab5cd1d8f))
|
|
323
|
+
|
|
324
|
+
### ❤️ Thank You
|
|
325
|
+
|
|
326
|
+
- Benjamin Jordan
|
|
327
|
+
- Claude Opus 5 (1M context)
|
|
328
|
+
|
|
329
|
+
## 6.2.2-dev.49 (2026-08-17)
|
|
330
|
+
|
|
331
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
332
|
+
|
|
333
|
+
## 6.2.2-dev.48 (2026-08-15)
|
|
334
|
+
|
|
335
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
336
|
+
|
|
337
|
+
## 6.2.2-dev.47 (2026-08-14)
|
|
338
|
+
|
|
339
|
+
### 🩹 Fixes
|
|
340
|
+
|
|
341
|
+
- **connect:** sync CSP registry origin to runtime packageRegistryUrl ([418652419](https://github.com/powerhouse-inc/powerhouse/commit/418652419))
|
|
342
|
+
|
|
343
|
+
### ❤️ Thank You
|
|
344
|
+
|
|
345
|
+
- Frank Pfeift
|
|
346
|
+
|
|
347
|
+
## 6.2.2-dev.46 (2026-08-14)
|
|
348
|
+
|
|
349
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
350
|
+
|
|
351
|
+
## 6.2.2-dev.45 (2026-08-13)
|
|
352
|
+
|
|
353
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
354
|
+
|
|
355
|
+
## 6.2.2-dev.44 (2026-08-12)
|
|
356
|
+
|
|
357
|
+
### 🚀 Features
|
|
358
|
+
|
|
359
|
+
- **reactor-api,codegen:** register upgrade manifests on the switchboard ([85383aa0f](https://github.com/powerhouse-inc/powerhouse/commit/85383aa0f))
|
|
360
|
+
- **reactor-group:** ship the PHGroup document model as @powerhousedao/reactor-group ([d5a323016](https://github.com/powerhouse-inc/powerhouse/commit/d5a323016))
|
|
361
|
+
|
|
362
|
+
### 🩹 Fixes
|
|
363
|
+
|
|
364
|
+
- **shared:** harden the condition evaluator per review ([eea3fb475](https://github.com/powerhouse-inc/powerhouse/commit/eea3fb475))
|
|
365
|
+
|
|
366
|
+
### ❤️ Thank You
|
|
367
|
+
|
|
368
|
+
- Benjamin Jordan
|
|
369
|
+
- Claude Fable 5
|
|
370
|
+
|
|
371
|
+
## 6.2.2-dev.43 (2026-08-11)
|
|
372
|
+
|
|
373
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
374
|
+
|
|
375
|
+
## 6.2.2-dev.42 (2026-08-10)
|
|
376
|
+
|
|
377
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
378
|
+
|
|
379
|
+
## 6.2.2-dev.41 (2026-08-09)
|
|
380
|
+
|
|
381
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
382
|
+
|
|
383
|
+
## 6.2.2-dev.40 (2026-08-08)
|
|
384
|
+
|
|
385
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
386
|
+
|
|
387
|
+
## 6.2.2-dev.39 (2026-08-07)
|
|
388
|
+
|
|
389
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
390
|
+
|
|
391
|
+
## 6.2.2-dev.38 (2026-08-06)
|
|
392
|
+
|
|
393
|
+
### 🚀 Features
|
|
394
|
+
|
|
395
|
+
- added recipe e2e tests to the suite ([88cd1a55c](https://github.com/powerhouse-inc/powerhouse/commit/88cd1a55c))
|
|
396
|
+
- auth phase 4 ([28aa9ad6a](https://github.com/powerhouse-inc/powerhouse/commit/28aa9ad6a))
|
|
397
|
+
|
|
398
|
+
### 🩹 Fixes
|
|
399
|
+
|
|
400
|
+
- stage llm files from pre-commit hook ([0af2ab705](https://github.com/powerhouse-inc/powerhouse/commit/0af2ab705))
|
|
401
|
+
- **reactor:** point preflight:auth at a real store ([c1315a9f9](https://github.com/powerhouse-inc/powerhouse/commit/c1315a9f9))
|
|
402
|
+
- **reactor:** filter initialState and keep auth in a scoped subscription read ([77fee70b4](https://github.com/powerhouse-inc/powerhouse/commit/77fee70b4))
|
|
403
|
+
- **reactor:** degrade the poll query against a remote on the older schema ([0c3aefe65](https://github.com/powerhouse-inc/powerhouse/commit/0c3aefe65))
|
|
404
|
+
- **shared:** stop a state snapshot from installing or replacing a policy ([f947e562e](https://github.com/powerhouse-inc/powerhouse/commit/f947e562e))
|
|
405
|
+
- **shared:** make auth-administration retention a reachability rule ([3db42daac](https://github.com/powerhouse-inc/powerhouse/commit/3db42daac))
|
|
406
|
+
|
|
407
|
+
### ❤️ Thank You
|
|
408
|
+
|
|
409
|
+
- Benjamin Jordan
|
|
410
|
+
- Claude Fable 5
|
|
411
|
+
|
|
412
|
+
## 6.2.2-dev.37 (2026-08-05)
|
|
413
|
+
|
|
414
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
415
|
+
|
|
416
|
+
## 6.2.2-dev.36 (2026-08-04)
|
|
417
|
+
|
|
418
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
419
|
+
|
|
420
|
+
## 6.2.2-dev.35 (2026-08-03)
|
|
421
|
+
|
|
422
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
423
|
+
|
|
424
|
+
## 6.2.2-dev.34 (2026-08-02)
|
|
425
|
+
|
|
426
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
427
|
+
|
|
428
|
+
## 6.2.2-dev.33 (2026-08-01)
|
|
429
|
+
|
|
430
|
+
### 🩹 Fixes
|
|
431
|
+
|
|
432
|
+
- **reactor:** fixing a few defects with document scope reshuffle specifics ([7546b9ff2](https://github.com/powerhouse-inc/powerhouse/commit/7546b9ff2))
|
|
433
|
+
|
|
434
|
+
### ❤️ Thank You
|
|
435
|
+
|
|
436
|
+
- Benjamin Jordan
|
|
437
|
+
|
|
438
|
+
## 6.2.2-dev.32 (2026-07-31)
|
|
439
|
+
|
|
440
|
+
### 🚀 Features
|
|
441
|
+
|
|
442
|
+
- **reactor:** feature flag guards and spec updates to make plan for guarded reshuffle edge cases ([20b0fd6be](https://github.com/powerhouse-inc/powerhouse/commit/20b0fd6be))
|
|
443
|
+
|
|
444
|
+
### 🩹 Fixes
|
|
445
|
+
|
|
446
|
+
- **reactor:** fix convergence in the case we deny an operation that has a skip ([21cbb3ecb](https://github.com/powerhouse-inc/powerhouse/commit/21cbb3ecb))
|
|
447
|
+
- auth-scope spec updates, assert ordered streams, and fix some busted default protocol versions ([97c5a37b5](https://github.com/powerhouse-inc/powerhouse/commit/97c5a37b5))
|
|
448
|
+
|
|
449
|
+
### ❤️ Thank You
|
|
450
|
+
|
|
451
|
+
- Benjamin Jordan
|
|
452
|
+
|
|
453
|
+
## 6.2.2-dev.31 (2026-07-31)
|
|
454
|
+
|
|
455
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
456
|
+
|
|
457
|
+
## 6.2.2-dev.30 (2026-07-31)
|
|
458
|
+
|
|
459
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
460
|
+
|
|
461
|
+
## 6.2.2-dev.29 (2026-07-31)
|
|
462
|
+
|
|
463
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
464
|
+
|
|
465
|
+
## 6.2.2-dev.28 (2026-07-30)
|
|
466
|
+
|
|
467
|
+
### 🚀 Features
|
|
468
|
+
|
|
469
|
+
- **reactor-browser:** add IReactorBrowserClient and a light GraphQL client ([#2893](https://github.com/powerhouse-inc/powerhouse/pull/2893))
|
|
470
|
+
- **reactor:** plugging in the first decision model ([27e9b2772](https://github.com/powerhouse-inc/powerhouse/commit/27e9b2772))
|
|
471
|
+
|
|
472
|
+
### ❤️ Thank You
|
|
473
|
+
|
|
474
|
+
- Benjamin Jordan
|
|
475
|
+
- Guillermo Puente Sandoval @gpuente
|
|
476
|
+
|
|
477
|
+
## 6.2.2-dev.27 (2026-07-30)
|
|
478
|
+
|
|
479
|
+
### 🩹 Fixes
|
|
480
|
+
|
|
481
|
+
- **connect:** pin @privy-io/react-auth to 3.35.0 ([909352ce3](https://github.com/powerhouse-inc/powerhouse/commit/909352ce3))
|
|
482
|
+
|
|
483
|
+
### ❤️ Thank You
|
|
484
|
+
|
|
485
|
+
- acaldas
|
|
486
|
+
|
|
487
|
+
## 6.2.2-dev.26 (2026-07-30)
|
|
488
|
+
|
|
489
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
490
|
+
|
|
491
|
+
## 6.2.2-dev.25 (2026-07-29)
|
|
492
|
+
|
|
493
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
494
|
+
|
|
495
|
+
## 6.2.2-dev.24 (2026-07-29)
|
|
496
|
+
|
|
497
|
+
### 🩹 Fixes
|
|
498
|
+
|
|
499
|
+
- **reactor:** fix an issue exacerbated by auth where snapshots were ordered by insertion not revision ([4aa32fe1b](https://github.com/powerhouse-inc/powerhouse/commit/4aa32fe1b))
|
|
500
|
+
|
|
501
|
+
### ❤️ Thank You
|
|
502
|
+
|
|
503
|
+
- Benjamin Jordan
|
|
504
|
+
|
|
505
|
+
## 6.2.2-dev.23 (2026-07-28)
|
|
506
|
+
|
|
507
|
+
### 🩹 Fixes
|
|
508
|
+
|
|
509
|
+
- **deps:** pin qr to 0.5.5 so RainbowKit can render the WalletConnect QR ([5343f9178](https://github.com/powerhouse-inc/powerhouse/commit/5343f9178))
|
|
510
|
+
|
|
511
|
+
### ❤️ Thank You
|
|
512
|
+
|
|
513
|
+
- acaldas
|
|
514
|
+
|
|
515
|
+
## 6.2.2-dev.22 (2026-07-28)
|
|
516
|
+
|
|
517
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
518
|
+
|
|
519
|
+
## 6.2.2-dev.21 (2026-07-27)
|
|
520
|
+
|
|
521
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
522
|
+
|
|
523
|
+
## 6.2.2-dev.20 (2026-07-27)
|
|
524
|
+
|
|
525
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
526
|
+
|
|
527
|
+
## 6.2.2-dev.19 (2026-07-27)
|
|
528
|
+
|
|
529
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
530
|
+
|
|
531
|
+
## 6.2.2-dev.18 (2026-07-27)
|
|
532
|
+
|
|
533
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
534
|
+
|
|
535
|
+
## 6.2.2-dev.17 (2026-07-26)
|
|
536
|
+
|
|
537
|
+
### 🚀 Features
|
|
538
|
+
|
|
539
|
+
- **attachments:** S3-compatible storage, direct transfers, and document-derived authorization ([#2884](https://github.com/powerhouse-inc/powerhouse/pull/2884))
|
|
540
|
+
|
|
541
|
+
### ❤️ Thank You
|
|
542
|
+
|
|
543
|
+
- Guillermo Puente Sandoval @gpuente
|
|
544
|
+
|
|
545
|
+
## 6.2.2-dev.16 (2026-07-25)
|
|
546
|
+
|
|
547
|
+
### 🩹 Fixes
|
|
548
|
+
|
|
549
|
+
- code review fixes ([318cbefa9](https://github.com/powerhouse-inc/powerhouse/commit/318cbefa9))
|
|
550
|
+
- version 0 is reserved and only 1 and on is available for setting ([193ac4c56](https://github.com/powerhouse-inc/powerhouse/commit/193ac4c56))
|
|
551
|
+
- resolve a contradiction in group membership ([39845a65c](https://github.com/powerhouse-inc/powerhouse/commit/39845a65c))
|
|
552
|
+
- grant evaluation needs to ignore features that do not exist yet ([0c1d06396](https://github.com/powerhouse-inc/powerhouse/commit/0c1d06396))
|
|
553
|
+
|
|
554
|
+
### ❤️ Thank You
|
|
555
|
+
|
|
556
|
+
- Benjamin Jordan
|
|
557
|
+
|
|
558
|
+
## 6.2.2-dev.15 (2026-07-24)
|
|
559
|
+
|
|
560
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
561
|
+
|
|
562
|
+
## 6.2.2-dev.14 (2026-07-23)
|
|
563
|
+
|
|
564
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
565
|
+
|
|
566
|
+
## 6.2.2-dev.13 (2026-07-23)
|
|
567
|
+
|
|
568
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
569
|
+
|
|
570
|
+
## 6.2.2-dev.12 (2026-07-23)
|
|
571
|
+
|
|
572
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
573
|
+
|
|
574
|
+
## 6.2.2-dev.11 (2026-07-22)
|
|
575
|
+
|
|
576
|
+
### 🚀 Features
|
|
577
|
+
|
|
578
|
+
- **connect:** dynamic packages can contribute to the PWA configuration ([da867e21d](https://github.com/powerhouse-inc/powerhouse/commit/da867e21d))
|
|
579
|
+
|
|
580
|
+
### ❤️ Thank You
|
|
581
|
+
|
|
582
|
+
- Yasiel Cabrera @YasielCabrera
|
|
583
|
+
|
|
584
|
+
## 6.2.2-dev.10 (2026-07-21)
|
|
585
|
+
|
|
586
|
+
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
|
587
|
+
|
|
1
588
|
## 6.2.2-dev.9 (2026-07-20)
|
|
2
589
|
|
|
3
590
|
This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
|
package/README.md
CHANGED
|
@@ -105,6 +105,7 @@ pnpm add -g @powerhousedao/switchboard
|
|
|
105
105
|
| `PORT` | Server port | `4001` |
|
|
106
106
|
| `DATABASE_URL` | Database connection string | `./.ph/drive-storage` |
|
|
107
107
|
| `PH_REACTOR_DATABASE_URL` | PostgreSQL URL (takes precedence) | - |
|
|
108
|
+
| `REACTOR_DB_POOL_SIZE_HOST` | Reactor host Postgres pool size | `16` |
|
|
108
109
|
| `REDIS_URL` | Redis connection URL | - |
|
|
109
110
|
| `REDIS_TLS_URL` | Redis TLS connection URL | - |
|
|
110
111
|
| `PYROSCOPE_SERVER_ADDRESS` | Pyroscope server address | - |
|
|
@@ -141,8 +142,12 @@ Requirements when `REACTOR_WORKERS > 0`:
|
|
|
141
142
|
so every configured package needs a built `document-models` entry. `dev`
|
|
142
143
|
mode (Vite-loaded models, e.g. `ph vetra`) is rejected.
|
|
143
144
|
- **Connection budget.** Total Postgres connections are roughly
|
|
144
|
-
`
|
|
145
|
-
under the server's `max_connections`.
|
|
145
|
+
`REACTOR_DB_POOL_SIZE_HOST + REACTOR_WORKERS x REACTOR_DB_POOL_SIZE_WORKER`;
|
|
146
|
+
keep this under the server's `max_connections`. Behind a connection pooler,
|
|
147
|
+
check it against the pooler's client limit as well — and note that in
|
|
148
|
+
transaction pooling mode the pooler multiplexes those clients onto a smaller
|
|
149
|
+
set of server connections, so `reactor.db.pool.waiting` can read 0 while
|
|
150
|
+
requests queue one layer down.
|
|
146
151
|
|
|
147
152
|
Example:
|
|
148
153
|
|
|
@@ -156,6 +161,43 @@ The same settings are available programmatically via
|
|
|
156
161
|
`startSwitchboard({ workerPool: { numWorkers, dbPoolSizePerWorker, acquireTimeoutMs } })`,
|
|
157
162
|
which takes precedence over the environment variables.
|
|
158
163
|
|
|
164
|
+
### Reactor Enforcement Flags
|
|
165
|
+
|
|
166
|
+
| Variable | Description | Default |
|
|
167
|
+
| ------------------------------ | ------------------------------------------------------------------ | ------- |
|
|
168
|
+
| `REACTOR_DOCUMENT_DECISIONS` | Decide writes from the document stream, not the meta cache | `false` |
|
|
169
|
+
| `REACTOR_AUTH_ENFORCEMENT` | Enforce the auth scope's policy at admission, replay and read | `false` |
|
|
170
|
+
| `REACTOR_AUTH_GROUPS` | Let `{ group }` principals match against group-document rosters | `false` |
|
|
171
|
+
| `REACTOR_AUTH_CONDITIONS` | Evaluate `where` / `match` conditions on grants | `false` |
|
|
172
|
+
|
|
173
|
+
Set each to the literal `true` to enable. Each flag requires the one above it,
|
|
174
|
+
and switchboard refuses to start on a set that skips one — a partially enforcing
|
|
175
|
+
reactor would apply less than the operator asked for.
|
|
176
|
+
|
|
177
|
+
These change replay outcomes, which are consensus outcomes, so **a flag flips
|
|
178
|
+
for a whole document-sharing fleet, never per node**. Two nodes that share
|
|
179
|
+
documents and disagree on the flags diverge, exactly as two nodes on
|
|
180
|
+
incompatible versions would. Connect carries the same flags in
|
|
181
|
+
`connect.reactor.featureFlags` (see `apps/connect/RUNTIME-CONFIG.md`); a fleet
|
|
182
|
+
that includes browser replicas has to set them there too.
|
|
183
|
+
|
|
184
|
+
Sweep the store before enabling either auth flag — neither unsafe condition is
|
|
185
|
+
repairable after the fact, because the auth stream is never reshuffled:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
cd packages/reactor && pnpm preflight:auth --pg <connection-string>
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Exit `0` is clean for both; `1` means streams unsafe for `authEnforcement`, `2`
|
|
192
|
+
means documents unsafe for `authConditions`, `3` both, and `68` means the run
|
|
193
|
+
died having checked nothing. Gate on the whole code, not on a bit.
|
|
194
|
+
|
|
195
|
+
One expectation worth stating: turning enforcement on protects nothing that
|
|
196
|
+
already exists. The host's permission tables still own sync serving and the
|
|
197
|
+
GraphQL boundary, and every document that predates the auth scope carries an
|
|
198
|
+
uninitialized policy, which allows everything. Enforcement bites only on
|
|
199
|
+
documents that have emitted `INITIALIZE_AUTH`.
|
|
200
|
+
|
|
159
201
|
### Authentication Configuration
|
|
160
202
|
|
|
161
203
|
```typescript
|