MCPcopy
hub / github.com/claude-code-best/claude-code / notifySessionMetadataChanged

Function notifySessionMetadataChanged

src/utils/sessionState.ts:226–231  ·  view source on GitHub ↗
(
  metadata: SessionExternalMetadata,
)

Source from the content-addressed store, hash-verified

224}
225
226export function notifySessionMetadataChanged(
227 metadata: SessionExternalMetadata,
228): void {
229 applyMetadataUpdate(metadata)
230 metadataListener?.(metadata)
231}
232
233export function notifyAutomationStateChanged(
234 state: AutomationStateMetadata | null | undefined,

Callers 4

onChangeAppStateFunction · 0.85
runHeadlessStreamingFunction · 0.85

Calls 1

applyMetadataUpdateFunction · 0.85

Tested by

no test coverage detected