From 8bb71b55925690bb2138b55f53cacdebe2967b59 Mon Sep 17 00:00:00 2001 From: ekko <152005280+EKKOLearnAI@users.noreply.github.com> Date: Sat, 16 May 2026 00:11:51 +0800 Subject: [PATCH] fix tool approval flow (#773) --- .../src/components/hermes/chat/ChatPanel.vue | 189 +++++++++++++----- packages/client/src/i18n/locales/de.ts | 6 + packages/client/src/i18n/locales/en.ts | 6 + packages/client/src/i18n/locales/es.ts | 6 + packages/client/src/i18n/locales/fr.ts | 6 + packages/client/src/i18n/locales/ja.ts | 6 + packages/client/src/i18n/locales/ko.ts | 6 + packages/client/src/i18n/locales/pt.ts | 6 + packages/client/src/i18n/locales/zh-TW.ts | 6 + packages/client/src/i18n/locales/zh.ts | 6 + .../hermes/agent-bridge/hermes_bridge.py | 45 ++++- 11 files changed, 235 insertions(+), 53 deletions(-) diff --git a/packages/client/src/components/hermes/chat/ChatPanel.vue b/packages/client/src/components/hermes/chat/ChatPanel.vue index 4972345..accb06b 100644 --- a/packages/client/src/components/hermes/chat/ChatPanel.vue +++ b/packages/client/src/components/hermes/chat/ChatPanel.vue @@ -210,6 +210,7 @@ const activeSessionSource = computed(() => ); const activeApproval = computed(() => chatStore.activePendingApproval); +const visibleApproval = computed(() => activeApproval.value); function handleNewChat() { chatStore.newChat(); @@ -835,44 +836,64 @@ async function handleWorkspaceConfirm() {