From 0f49bbbeb28d8339fbdefcb24808302e4adef19d Mon Sep 17 00:00:00 2001 From: Shakker Date: Tue, 26 May 2026 21:07:26 +0100 Subject: [PATCH] fix: dedupe transcripts tool display metadata --- .../OpenClawKit/Resources/tool-display.json | 55 +++---------------- src/agents/tool-display-config.ts | 35 ++---------- 2 files changed, 13 insertions(+), 77 deletions(-) diff --git a/apps/shared/OpenClawKit/Sources/OpenClawKit/Resources/tool-display.json b/apps/shared/OpenClawKit/Sources/OpenClawKit/Resources/tool-display.json index 1ed6d8d3160..220eea196d3 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawKit/Resources/tool-display.json +++ b/apps/shared/OpenClawKit/Sources/OpenClawKit/Resources/tool-display.json @@ -500,23 +500,25 @@ ] }, "transcripts": { - "emoji": "๐Ÿ“", + "emoji": "๐Ÿงพ", "title": "Transcripts", "actions": { "start": { "label": "start", "detailKeys": [ + "title", "providerId", "accountId", "guildId", "channelId", - "title" + "meetingUrl" ] }, "stop": { "label": "stop", "detailKeys": [ - "sessionId" + "sessionId", + "title" ] }, "status": { @@ -525,15 +527,16 @@ "import": { "label": "import", "detailKeys": [ - "providerId", "title", + "providerId", "speakerLabel" ] }, "summarize": { "label": "summarize", "detailKeys": [ - "sessionId" + "sessionId", + "title" ] } } @@ -932,48 +935,6 @@ "text", "channel" ] - }, - "transcripts": { - "emoji": "๐Ÿงพ", - "title": "Transcripts", - "actions": { - "start": { - "label": "start", - "detailKeys": [ - "title", - "providerId", - "accountId", - "guildId", - "channelId", - "meetingUrl" - ] - }, - "stop": { - "label": "stop", - "detailKeys": [ - "sessionId", - "title" - ] - }, - "import": { - "label": "import", - "detailKeys": [ - "title", - "providerId", - "speakerLabel" - ] - }, - "summarize": { - "label": "summarize", - "detailKeys": [ - "sessionId", - "title" - ] - }, - "status": { - "label": "status" - } - } } } } diff --git a/src/agents/tool-display-config.ts b/src/agents/tool-display-config.ts index 3b027ef7d56..243e9f48003 100644 --- a/src/agents/tool-display-config.ts +++ b/src/agents/tool-display-config.ts @@ -348,27 +348,27 @@ export const TOOL_DISPLAY_CONFIG: ToolDisplayConfig = { detailKeys: ["path", "from", "lines"], }, transcripts: { - emoji: "๐Ÿ“", + emoji: "๐Ÿงพ", title: "Transcripts", actions: { start: { label: "start", - detailKeys: ["providerId", "accountId", "guildId", "channelId", "title"], + detailKeys: ["title", "providerId", "accountId", "guildId", "channelId", "meetingUrl"], }, stop: { label: "stop", - detailKeys: ["sessionId"], + detailKeys: ["sessionId", "title"], }, status: { label: "status", }, import: { label: "import", - detailKeys: ["providerId", "title", "speakerLabel"], + detailKeys: ["title", "providerId", "speakerLabel"], }, summarize: { label: "summarize", - detailKeys: ["sessionId"], + detailKeys: ["sessionId", "title"], }, }, }, @@ -592,30 +592,5 @@ export const TOOL_DISPLAY_CONFIG: ToolDisplayConfig = { title: "TTS", detailKeys: ["text", "channel"], }, - transcripts: { - emoji: "๐Ÿงพ", - title: "Transcripts", - actions: { - start: { - label: "start", - detailKeys: ["title", "providerId", "accountId", "guildId", "channelId", "meetingUrl"], - }, - stop: { - label: "stop", - detailKeys: ["sessionId", "title"], - }, - import: { - label: "import", - detailKeys: ["title", "providerId", "speakerLabel"], - }, - summarize: { - label: "summarize", - detailKeys: ["sessionId", "title"], - }, - status: { - label: "status", - }, - }, - }, }, };