You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Decouple DatasourceCache from ClientEndpointStore for reuse by remote nodes
DatasourceCache now takes an options object with writer and optional persist/erase
callbacks instead of a direct ClientEndpointStore reference. RemoteWriteParticipant
takes a generic RemoteWriter function and uses it as both the writer and the
transaction dedup key. ClientEndpointStore.participantFor() is removed as its logic
moves into DatasourceCache.set().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Normalize ClientBehaviorBacking change keys from attribute IDs to property names
ClientBehaviorBacking uses primaryKey "id", causing its Datasource to
report changed properties as attribute ID strings (e.g. "0" for onOff).
Downstream consumers (ProtocolService, StateStream) expect property
names. Add a reverse id-to-name map on RootSupervisor and use it in
ClientBehaviorBacking.broadcastChanges to normalize before broadcast.
Also fix StateStream dirty tracking to deepCopy individual changed
properties rather than the full state object.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
0 commit comments