What an activity message belongs to, recorded when the activity first
arrived. Activities restored through setMessages, initial messages or a
MESSAGES_SNAPSHOT get links recomputed from their position; incoming links
are never trusted.
API
export type ActivityLinks = {
runId?: string;
assistantMessageId?: string;
toolCallId?: string;
subagentRunId?: string;
};