Group of 2 Under the hood
Session state now tracks whether the current conversation originated locally or remotely
What
SessionControllergainedconversationOriginandpreClearOriginstate; resetting a conversation now records the prior origin and resetsconversationOriginback to"local".- A new
markConversationRemotecallback was wired into the query-event context and threaded through the main session-loop context object. - A Stop-hook path calls
markConversationRemoteto set the session'sconversationOriginto"remote".
Why This lets Claude Code distinguish conversations that originated remotely from local ones, which other logic (such as artifact-state reconstruction) can use to handle them differently.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What behavior differs based on this origin tracking, beyond restoring frame/artifact state, isn't detailed.