diff --git a/renderer/public/iconfont.css b/renderer/public/iconfont.css index 27c1d78..5a5273e 100644 --- a/renderer/public/iconfont.css +++ b/renderer/public/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 4870215 */ - src: url('iconfont.woff2?t=1745735110196') format('woff2'), - url('iconfont.woff?t=1745735110196') format('woff'), - url('iconfont.ttf?t=1745735110196') format('truetype'); + src: url('iconfont.woff2?t=1745774700883') format('woff2'), + url('iconfont.woff?t=1745774700883') format('woff'), + url('iconfont.ttf?t=1745774700883') format('truetype'); } .iconfont { @@ -13,6 +13,18 @@ -moz-osx-font-smoothing: grayscale; } +.icon-video:before { + content: "\e865"; +} + +.icon-image:before { + content: "\ebc7"; +} + +.icon-audio:before { + content: "\e768"; +} + .icon-error:before { content: "\e6c6"; } diff --git a/renderer/public/iconfont.woff2 b/renderer/public/iconfont.woff2 index d9738d6..4afc4a4 100644 Binary files a/renderer/public/iconfont.woff2 and b/renderer/public/iconfont.woff2 differ diff --git a/renderer/src/App.vue b/renderer/src/App.vue index d6af53d..f8d236d 100644 --- a/renderer/src/App.vue +++ b/renderer/src/App.vue @@ -29,8 +29,8 @@ bridge.addCommandListener('hello', data => { function initDebug() { - connectionArgs.commandString = 'node /Users/bytedance/projects/mcp/servers/src/puppeteer/dist/index.js'; - // connectionArgs.commandString = 'node C:/Users/K/code/servers/src/puppeteer/dist/index.js'; + // connectionArgs.commandString = 'node /Users/bytedance/projects/mcp/servers/src/puppeteer/dist/index.js'; + connectionArgs.commandString = 'node C:/Users/K/code/servers/src/puppeteer/dist/index.js'; // connectionArgs.commandString = 'uv run mcp run bing-picture.py'; connectionArgs.cwd = '../servers'; connectionMethods.current = 'STDIO'; diff --git a/renderer/src/api/message-bridge.ts b/renderer/src/api/message-bridge.ts index 68d1c70..3efd991 100644 --- a/renderer/src/api/message-bridge.ts +++ b/renderer/src/api/message-bridge.ts @@ -123,6 +123,7 @@ class MessageBridge { if (!this.handlers.has(command)) { this.handlers.set(command, new Set()); } + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const commandHandlers = this.handlers.get(command)!; const wrapperCommandHandler = option.once ? (data: any) => { diff --git a/renderer/src/components/main-panel/chat/message/toolcall-result-item.vue b/renderer/src/components/main-panel/chat/message/toolcall-result-item.vue index 0711c1c..82f3043 100644 --- a/renderer/src/components/main-panel/chat/message/toolcall-result-item.vue +++ b/renderer/src/components/main-panel/chat/message/toolcall-result-item.vue @@ -5,12 +5,18 @@
- #{{ props.item.data }} +
+ screenshot + + + +
+ -