Files
archived-orca/src/shared/runtime-environment-catalog-channel.ts
T
NeilandTian-yi Liang c9eee6b54c fix(runtime-environments): every window sees a server saved from the CLI (#33930)
`orca environment add` writes the saved-server file directly. Main already
watched that file but only repaired the Active Server preference, so every
renderer surface listing saved servers (the Agent Session History host
picker, host menus, the status bar) kept the old list until something
else refreshed it. Main now tells every window when the file changes, and
the renderer refreshes through the existing coalesced catalog refresher.

Co-authored-by: Tian-yi Liang <tianyilt@qq.com>
2026-10-26 06:00:15 -07:00

3 lines
198 B
TypeScript

/** Main → renderer: the saved-server registry changed on disk, e.g. via `orca environment add`. */
export const RUNTIME_ENVIRONMENT_CATALOG_CHANGED_CHANNEL = 'runtimeEnvironments:catalogChanged'