From 108e273dbfb3d3aa80be48a867af6e2697ce0506 Mon Sep 17 00:00:00 2001 From: Robby Date: Mon, 8 Jun 2026 13:01:21 +0200 Subject: [PATCH] fix: emit initial status on init + remove duplicate home slot #102 --- src/status.ts | 5 ++++- src/tui.tsx | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/status.ts b/src/status.ts index 3879f7b..ce85638 100644 --- a/src/status.ts +++ b/src/status.ts @@ -24,7 +24,10 @@ let _version = ""; let toastFn: ReturnType | null = null; /** Initialize with client for toast support */ -export function initVersion(v: string): void { _version = v; } +export function initVersion(v: string): void { + _version = v; + write({ phase: "init", statusText: "initializing ..." }); +} export function initStatus(client: PluginInput["client"]): void { toastFn = createToast(client, "Brain 🧠"); diff --git a/src/tui.tsx b/src/tui.tsx index f2d6425..4c6d4ea 100644 --- a/src/tui.tsx +++ b/src/tui.tsx @@ -120,7 +120,6 @@ const tui: TuiPlugin = (api) => { slots: { sidebar_content: () => , home_bottom: () => , - home_footer: () => , }, }); return Promise.resolve();