Q174: choosing a language no longer restarts the app; the restart waits for the user

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 04:53:25 -04:00
1 parent 3f14e3f706
commit dc3127c26f
9 files changed
+95 -27

No files matched your search

+4
View File
@@ -120,6 +120,10 @@ export type ModelCheckResult = { passed: true } | { passed: false; detail: strin
export interface DesktopApi {
loadSnapshot(): Promise<DesktopResult<AppSnapshot>>;
/** Restarts the app, which a display-language change needs; the user asks for it after seeing what it interrupts. */
relaunchApp(): Promise<DesktopResult<null>>;
/** Every agent session running now, in every company: what a restart interrupts. */
runningSessionCount(): Promise<DesktopResult<number>>;
bootstrapOnboarding(input: BootstrapOnboardingInput): Promise<DesktopResult<BootstrapOnboardingSummary>>;
setActiveOrganization(input: SetActiveOrganizationInput): Promise<DesktopResult<AppSnapshot>>;
setUiPreferences(input: SetUiPreferencesInput): Promise<DesktopResult<AppSnapshot>>;
+2
View File
@@ -1,5 +1,7 @@
export const IPC_CHANNELS = {
loadSnapshot: "agentcompany:load-snapshot",
relaunchApp: "agentcompany:relaunch-app",
runningSessionCount: "agentcompany:running-session-count",
bootstrapOnboarding: "agentcompany:bootstrap-onboarding",
setActiveOrganization: "agentcompany:set-active-organization",
setUiPreferences: "agentcompany:set-ui-preferences",