From 460cef3d2374b0d7d5c3d66dc4f589da051e5ef5 Mon Sep 17 00:00:00 2001 From: Emil Date: Fri, 31 Jul 2026 23:33:33 +0300 Subject: [PATCH] fix: anchor the /agents overlay to the top-right corner instead of center --- src/supervisor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supervisor.ts b/src/supervisor.ts index a700617..7c8dc49 100644 --- a/src/supervisor.ts +++ b/src/supervisor.ts @@ -69,7 +69,7 @@ export class SupervisorIntegration { const tree = this.required().tree; await ctx.ui.custom((tui, theme, _kb, done) => createAgentTreeOverlay(tree, tui, theme, () => done(undefined)), { overlay: true, - overlayOptions: { width: "65%", minWidth: 60, maxHeight: "75%", anchor: "center", visible: (termWidth) => termWidth >= 60 }, + overlayOptions: { width: "55%", minWidth: 60, maxHeight: "80%", anchor: "top-right", margin: 1, visible: (termWidth) => termWidth >= 60 }, }); }