Skip to main content

with_registry_session_id

Function with_registry_session_id 

Source
pub(super) fn with_registry_session_id(
    local: &AgentInstance,
    registry_session_id: Option<&str>,
) -> AgentInstance
Expand description

The local row, with the registry’s session id when the local one is empty rather than an empty id the picker’s reattach would read as “start fresh” (SPEC_PANE_CLOSE_REOPEN_CONTINUITY_GUARANTEE_2026_07_27.md §4.1). The local row is normally fresher, but this holds for a row that predates the live write or raced it.