Commit 28efa4d
committed
fix(core): seed devframe:services state in static build
v0.9.1's Services feature (devframes/devframe#256) has the client read
the devframe:services shared state on load. A static snapshot doesn't
stand up the live hub, so nothing fired the services barrier that
publishes that state — leaving the RPC dump without a match and the
client logging a hard error. Fire context.services.ready() before
collecting the dump (idempotent; publishes an empty state when no
services are installed), mirroring the dock-renderers seeding.1 parent f1a530d commit 28efa4d
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
0 commit comments