MCPcopy Create free account
hub / github.com/chieapp/chie / #onRemoveAssistant

Method #onRemoveAssistant

src/controller/window-manager.ts:128–133  ·  view source on GitHub ↗
(assistant: Assistant)

Source from the content-addressed store, hash-verified

126 }
127
128 #onRemoveAssistant(assistant: Assistant) {
129 this.#chatWindows.closeWindow(assistant.id);
130 this.#chatWindows.removeWindowState(assistant.id);
131 this.#namedWindows.saveWindowState('dashboard');
132 this.saveConfig();
133 }
134}
135
136export default new WindowManager;

Callers

nothing calls this directly

Calls 3

closeWindowMethod · 0.80
removeWindowStateMethod · 0.80
saveWindowStateMethod · 0.80

Tested by

no test coverage detected