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
{{ message }}
Repository navigation
Commit df4d69e
Browse filesBrowse the repository at this point in the historyBrowse files
sessions: sync customizations harness with AHP session resource scheme (#315127)
The customizations editor harness selector wasn't switching to the AHP
remote when an AHP session was selected, because all three sync points
looked up the harness by `session.sessionType`. For AHP sessions
`sessionType` is the agent provider name (e.g. `copilotcli`) and is
shared across all hosts, so the lookup always matched the local CLI
harness rather than the per-host AHP harness:
- Local AHP harness id: `agent-host-${provider}`
- Remote AHP harness id: `remote-${authority}-${provider}`
Both of those equal `session.resource.scheme`. Add a
`findHarnessIdForSession` helper that prefers the resource scheme and
falls back to `sessionType` for harnesses whose id matches it directly,
and use it from all three sync points:
- ActiveSessionHarnessSyncContribution autorun
- CustomizationLinkViewItem.run (sidebar customization links)
- AICustomizationShortcutsWidget._openWelcomePage
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments