Skip to content

The agent that grows with you

fix(tui): hide the composer while the password-manager unlock card is open

Tekniumac33da3c73ff
diff --git a/hermes_cli/cli_tui_mixin.py b/hermes_cli/cli_tui_mixin.py
index 935ee2ad854..7e762c6d4d6 100644
--- a/hermes_cli/cli_tui_mixin.py
+++ b/hermes_cli/cli_tui_mixin.py
@@ -692,8 +692,8 @@ class CLITuiMixin:
return self._render_sudo_style_panel(
f'πŸ” Unlock {backend}',
[f'The agent wants to sign into a site with a login saved in {backend}.',
- 'Enter your master password below (hidden) to unlock it for this session, or press Enter to keep it locked.',
- 'The password never reaches the model; only a session token is kept in memory.'])
+ 'Type your master password (hidden) to unlock it for this session.',
+ 'Enter on an empty line keeps it locked. The model never sees the password.'])
return self._render_sudo_style_panel(
'πŸ” Sudo Password Required', ['Enter password below (hidden), or press Enter to skip'])
diff --git a/ui-tui/src/app/overlayStore.ts b/ui-tui/src/app/overlayStore.ts
index 48258a0c0ec..437d16d1397 100644
--- a/ui-tui/src/app/overlayStore.ts
+++ b/ui-tui/src/app/overlayStore.ts
@@ -45,6 +45,7 @@ export const $isBlocked = computed(
skillsHub,
subscription,
sudo,
+ vaultUnlock,
widget
}) =>
Boolean(
@@ -63,6 +64,7 @@ export const $isBlocked = computed(
skillsHub ||
subscription ||
sudo ||
+ vaultUnlock ||
widget
)
)
diff --git a/ui-tui/src/app/usePet.ts b/ui-tui/src/app/usePet.ts
index 595d9a37b1e..b4ae6fb3d26 100644
--- a/ui-tui/src/app/usePet.ts
+++ b/ui-tui/src/app/usePet.ts
@@ -50,7 +50,7 @@ export function derivePetState({ busy, toolRunning, reasoning, awaitingInput }:
function isAwaitingInput(): boolean {
const o = getOverlayState()
- return Boolean(o.clarify || o.approval || o.sudo || o.secret || o.confirm)
+ return Boolean(o.clarify || o.approval || o.sudo || o.secret || o.vaultUnlock || o.confirm)
}
// A kitty Unicode-placeholder frame set: a static placeholder grid (painted by