mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
`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>
3 lines
198 B
TypeScript
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'
|