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
refactor(protocol,node): unify path logging via ExpandedPath/DataModelPath (#3664)
Routes Read/Write/Subscribe/Invoke diagnostics — both client request-formation and
server-side response handlers — through a single DataModelPath produced by either
ExpandedPath (wire paths) or resolvePathForSpecifier (specifier paths). Output now
uses camelCase property names with hex fallback (`0.onOff.state.onOff`,
`0.0xabcd.state.0x0`) instead of the dual `Name:0xHex` style. Markers `[ADD]`
(listIndex===null) and `!` (isUrgent) attach to the previous segment without an
intervening dot via a new "marker" segment type on DataModelPath.
Fixes a wildcard-vs-concrete bug in Write request diagnostics: the formatter
passed entry directly to resolvePathForSpecifier, which expects `attribute`
(singular), while Write.Attribute carries `attributes` (plural). Concrete writes
were therefore logged as `*` instead of the actual attribute name.
inspectPath() now returns DataModelPath instead of string. Legacy callers using
string interpolation/join keep working via toString().
Adds chunked-write detection: when chunked-list writes are emitted, the Write
diagnostic includes an `chunked` flag alongside the path/value list.
Removes obsolete toWildcardOrHexPath helper and node-local endpoint-name
resolution (symmetric with client-side which has no endpoint names).
Closes#2584
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments