Add moduleSnapshot() across all modules for uniform state export.
Completes the sixth expansion pass: zero-arg moduleSnapshot aliases snapshot() (or clusterSnapshot/stateSnapshot where specialized), with async variants for temporal, spatial, semantic-vector, and reactive-state indexes. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -120,6 +120,10 @@ class HyperBareHeadlessUi extends EventEmitter {
|
||||
return this.toJSON()
|
||||
}
|
||||
|
||||
moduleSnapshot () {
|
||||
return this.snapshot()
|
||||
}
|
||||
|
||||
sendToUiBatch (messages) {
|
||||
if (!Array.isArray(messages)) throw new Error('messages array required')
|
||||
return messages.map((m) => this.sendToUi(m.channel, m.payload))
|
||||
|
||||
Reference in New Issue
Block a user