From 8d563e571d90420c649ec32baf58230e2d0cf744 Mon Sep 17 00:00:00 2001 From: dingyi Date: Wed, 15 Oct 2025 22:22:48 +0800 Subject: [PATCH 1/4] refactor(extension-mcp,extension-tools): simplify MCP list command and fix formatting - Remove raw server listing option from chatluna.mcp.list command - Simplify command to only list MCP tools without raw config display - Fix spacing in image URL format string in command execute tool - Clean up code structure by removing unnecessary nested logic The raw server listing functionality was removed to streamline the user experience and focus on tool management rather than exposing internal server configuration details. --- packages/extension-mcp/src/command.ts | 115 ++++++------------ .../extension-tools/src/plugins/command.ts | 2 +- 2 files changed, 36 insertions(+), 81 deletions(-) diff --git a/packages/extension-mcp/src/command.ts b/packages/extension-mcp/src/command.ts index 410773fd0..8c28f0380 100644 --- a/packages/extension-mcp/src/command.ts +++ b/packages/extension-mcp/src/command.ts @@ -5,90 +5,45 @@ export function apply(ctx: Context, config: Config) { ctx.command('chatluna.mcp', 'MCP 工具管理相关命令') // List command - ctx.command('chatluna.mcp.list', '列出所有 MCP 工具') - .option('raw', '-r 列出原始的 MCP 服务器配置') - .action(async ({ session, options }) => { - if (options.raw) { - // List raw MCP servers - try { - const parsedConfig = JSON.parse(config.servers) - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let servers: Record = {} - - if (Array.isArray(parsedConfig)) { - servers = parsedConfig.reduce((acc, server, index) => { - acc[`server-${index}`] = server - return acc - }, {}) - } else if (parsedConfig['mcpServers']) { - servers = parsedConfig['mcpServers'] - } else { - await session.send(session.text('.empty_servers')) - return - } - - if (Object.keys(servers).length === 0) { - await session.send(session.text('.empty_servers')) - return - } - - const messages = [session.text('.list_servers_header')] - for (const [name, serverConfig] of Object.entries( - servers - )) { - messages.push( - session.text('.server_name', [name]), - session.text('.server_config', [ - JSON.stringify(serverConfig, null, 2) - ]), - '---' - ) - } - - await session.send(messages.join('\n')) - } catch (error) { - await session.send(session.text('.parse_error')) + ctx.command('chatluna.mcp.list', '列出所有 MCP 工具').action( + async ({ session, options }) => { + // List tools + try { + const service = ctx.chatluna_mcp + if (!service) { + await session.send(session.text('.service_not_ready')) + return } - } else { - // List tools - try { - const service = ctx.chatluna_mcp - if (!service) { - await session.send(session.text('.service_not_ready')) - return - } - - const tools = service.globalTools - - if (Object.keys(tools).length === 0) { - await session.send(session.text('.empty_tools')) - return - } - - const messages = [session.text('.list_tools_header')] - for (const [name, tool] of Object.entries(tools)) { - const selectorText = - tool.selector && tool.selector.length > 0 - ? tool.selector.join(', ') - : session.text('.no_selector') - messages.push( - session.text('.tool_name', [name]), - session.text('.tool_enabled', [ - tool.enabled ? '✓' : '✗' - ]), - session.text('.tool_selector', [selectorText]), - '---' - ) - } - - await session.send(messages.join('\n')) - } catch (error) { - await session.send( - session.text('.list_error', [error.message]) + + const tools = service.globalTools + + if (Object.keys(tools).length === 0) { + await session.send(session.text('.empty_tools')) + return + } + + const messages = [session.text('.list_tools_header')] + for (const [name, tool] of Object.entries(tools)) { + const selectorText = + tool.selector && tool.selector.length > 0 + ? tool.selector.join(', ') + : session.text('.no_selector') + messages.push( + session.text('.tool_name', [name]), + session.text('.tool_enabled', [ + tool.enabled ? '✓' : '✗' + ]), + session.text('.tool_selector', [selectorText]), + '---' ) } + + await session.send(messages.join('\n')) + } catch (error) { + await session.send(session.text('.list_error', [error.message])) } - }) + } + ) // Add command ctx.command('chatluna.mcp.add ', '添加 MCP 服务器', { diff --git a/packages/extension-tools/src/plugins/command.ts b/packages/extension-tools/src/plugins/command.ts index 775857f65..996a7f82d 100644 --- a/packages/extension-tools/src/plugins/command.ts +++ b/packages/extension-tools/src/plugins/command.ts @@ -285,7 +285,7 @@ export class CommandExecuteTool extends StructuredTool { return `[image:${imageUrl.substring(0, 12)}]` } - return `[image:${imageUrl}] Please use ![image](url) send image to user` + return `[image:${imageUrl}] Please use ![image](url) send image to user` } }) .join('\n\n') From 9d3776c14181d81bbefada25af67383bea3898a4 Mon Sep 17 00:00:00 2001 From: dingyi Date: Wed, 15 Oct 2025 23:08:08 +0800 Subject: [PATCH 2/4] fix(core,extension-long-memory): add error handling for tool creation and lifecycle management - Add try-catch block in createToolsRef to handle tool creation errors - Filter out failed tool creations to prevent undefined tools - Wrap prompt function provider registration in ctx.effect() for proper lifecycle management - Add error logging for tool creation failures These changes improve stability by gracefully handling tool creation errors and ensuring proper cleanup of registered providers through Koishi's effect system. --- packages/core/src/llm-core/agent/creator.ts | 14 +++++++++---- .../src/plugins/prompt_varaiable.ts | 20 ++++++++++--------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/packages/core/src/llm-core/agent/creator.ts b/packages/core/src/llm-core/agent/creator.ts index b251ab65a..8f66389fd 100644 --- a/packages/core/src/llm-core/agent/creator.ts +++ b/packages/core/src/llm-core/agent/creator.ts @@ -78,11 +78,17 @@ export function createToolsRef(options: CreateToolsRefOptions) { const activeTools = shallowRef([]) const tools = computed(() => { - return activeTools.value.map((tool) => - tool.createTool({ - embeddings: options.embeddings + return activeTools.value + .map((tool) => { + try { + return tool.createTool({ + embeddings: options.embeddings + }) + } catch (error) { + console.error(`Error creating tool ${tool.id}:`, error) + } }) - ) + .filter(Boolean) }) const getActiveTools = ( diff --git a/packages/extension-long-memory/src/plugins/prompt_varaiable.ts b/packages/extension-long-memory/src/plugins/prompt_varaiable.ts index b0917348e..73b91f953 100644 --- a/packages/extension-long-memory/src/plugins/prompt_varaiable.ts +++ b/packages/extension-long-memory/src/plugins/prompt_varaiable.ts @@ -133,15 +133,17 @@ export async function apply(ctx: Context, config: Config) { return result } - ctx.chatluna.promptRenderer.registerFunctionProvider( - 'long_memory', - async (args, variables, configurable) => { - try { - return await handler(args, variables, configurable) - } catch (error) { - logger.error(error) - return 'Error retrieving long-term memory' + ctx.effect(() => + ctx.chatluna.promptRenderer.registerFunctionProvider( + 'long_memory', + async (args, variables, configurable) => { + try { + return await handler(args, variables, configurable) + } catch (error) { + logger.error(error) + return 'Error retrieving long-term memory' + } } - } + ) ) } From b2a8ed709d6466ca48a48509d434dbde21b99717 Mon Sep 17 00:00:00 2001 From: dingyi Date: Wed, 15 Oct 2025 23:19:30 +0800 Subject: [PATCH 3/4] refactor(extension-tools): optimize getCommandList with Map lookup and validation - Replace array filter/find operations with Map for O(1) lookup performance - Add validation warning when rawCommandList references non-existent commands - Simplify conditional logic: use rawCommandList for mapping when provided, otherwise return all commands - Reduce redundant operations by calling toJSON() once per command - Improve code readability with clearer separation of execution paths This optimization significantly improves performance when dealing with large command lists and provides better debugging feedback when commands are misconfigured. --- .../extension-tools/src/plugins/command.ts | 75 +++++++++++-------- 1 file changed, 45 insertions(+), 30 deletions(-) diff --git a/packages/extension-tools/src/plugins/command.ts b/packages/extension-tools/src/plugins/command.ts index 996a7f82d..d1ff046c7 100644 --- a/packages/extension-tools/src/plugins/command.ts +++ b/packages/extension-tools/src/plugins/command.ts @@ -131,39 +131,54 @@ function getCommandList( ctx: Context, rawCommandList: Config['commandList'] ): PickCommandType[] { - return ctx.$commander._commandList - .filter((item) => !item.name.includes('chatluna')) - .filter((item) => { - if (rawCommandList.length < 1) { - return true - } - return rawCommandList.some( - (command) => command.command === item.name - ) - }) - .map((item) => item.toJSON()) - .map((item) => { - const rawCommand = rawCommandList.find( - (command) => command.command === item.name - ) + const commandMap = new Map( + ctx.$commander._commandList + .filter((item) => !item.name.includes('chatluna')) + .map((cmd) => [cmd.name, cmd.toJSON()]) + ) + + // If rawCommandList is provided, map based on it + if (rawCommandList.length > 0) { + return rawCommandList + .map((rawCommand) => { + const item = commandMap.get(rawCommand.command) + + if (!item) { + ctx.logger.warn( + `Command "${rawCommand.command}" not found in command list` + ) + return null + } - let description: string | CommandType['description'] = - rawCommand?.description + let description: string | CommandType['description'] = + rawCommand.description - if ( - (rawCommand?.description?.length ?? 0) < 1 && - item.description - ) { - description = JSON.stringify(item.description) - } + if ( + (rawCommand.description?.length ?? 0) < 1 && + item.description + ) { + description = JSON.stringify(item.description) + } - return { - ...item, - selector: rawCommand?.selector, - confirm: rawCommand?.confirm ?? true, - description - } - }) + return { + ...item, + selector: rawCommand.selector, + confirm: rawCommand.confirm ?? true, + description + } satisfies PickCommandType + }) + .filter((item) => item !== null) + } + + // Otherwise, return all commands except chatluna + return Array.from(commandMap.values()).map((item) => ({ + ...item, + confirm: true, + description: + typeof item.description === 'string' + ? item.description + : JSON.stringify(item.description) + })) } export class CommandExecuteTool extends StructuredTool { From b7670e3834f19723380605ce887dcacbec14b63b Mon Sep 17 00:00:00 2001 From: dingyi Date: Wed, 15 Oct 2025 23:37:20 +0800 Subject: [PATCH 4/4] chore(packages): bump version to 1.3.0-alpha.65 - Update core package version from 1.3.0-alpha.64 to 1.3.0-alpha.65 - Update extension-mcp version from 1.3.0-alpha.8 to 1.3.0-alpha.9 - Update extension-tools version from 1.3.0-alpha.20 to 1.3.0-alpha.21 - Update all adapter packages peer dependency to ^1.3.0-alpha.65 - Update all extension packages peer dependency to ^1.3.0-alpha.65 - Update all service packages peer dependency to ^1.3.0-alpha.65 This version bump includes improvements to tool system stability, MCP command simplification, and getCommandList optimization. --- packages/adapter-azure-openai/package.json | 2 +- packages/adapter-claude/package.json | 2 +- packages/adapter-deepseek/package.json | 2 +- packages/adapter-dify/package.json | 2 +- packages/adapter-doubao/package.json | 2 +- packages/adapter-gemini/package.json | 2 +- packages/adapter-hunyuan/package.json | 2 +- packages/adapter-ollama/package.json | 2 +- packages/adapter-openai-like/package.json | 2 +- packages/adapter-openai/package.json | 2 +- packages/adapter-qwen/package.json | 2 +- packages/adapter-rwkv/package.json | 2 +- packages/adapter-spark/package.json | 2 +- packages/adapter-wenxin/package.json | 2 +- packages/adapter-zhipu/package.json | 2 +- packages/core/package.json | 2 +- packages/extension-long-memory/package.json | 2 +- packages/extension-mcp/package.json | 4 ++-- packages/extension-tools/package.json | 4 ++-- packages/extension-variable/package.json | 2 +- packages/renderer-image/package.json | 2 +- packages/service-embeddings/package.json | 2 +- packages/service-image/package.json | 2 +- packages/service-search/package.json | 2 +- packages/service-vector-store/package.json | 2 +- packages/shared-adapter/package.json | 2 +- 26 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/adapter-azure-openai/package.json b/packages/adapter-azure-openai/package.json index 74e467352..9a45de122 100644 --- a/packages/adapter-azure-openai/package.json +++ b/packages/adapter-azure-openai/package.json @@ -57,7 +57,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "resolutions": { "@langchain/core": "0.3.62", diff --git a/packages/adapter-claude/package.json b/packages/adapter-claude/package.json index 282958789..0947de115 100644 --- a/packages/adapter-claude/package.json +++ b/packages/adapter-claude/package.json @@ -59,7 +59,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "resolutions": { "@langchain/core": "0.3.62", diff --git a/packages/adapter-deepseek/package.json b/packages/adapter-deepseek/package.json index 10e6e34fa..1de16f393 100644 --- a/packages/adapter-deepseek/package.json +++ b/packages/adapter-deepseek/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "category": "ai", diff --git a/packages/adapter-dify/package.json b/packages/adapter-dify/package.json index 41cb7f880..64b5d7d96 100644 --- a/packages/adapter-dify/package.json +++ b/packages/adapter-dify/package.json @@ -70,7 +70,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-doubao/package.json b/packages/adapter-doubao/package.json index 099b1a3e9..6c399232e 100644 --- a/packages/adapter-doubao/package.json +++ b/packages/adapter-doubao/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-gemini/package.json b/packages/adapter-gemini/package.json index 445ae1ede..1d033d102 100644 --- a/packages/adapter-gemini/package.json +++ b/packages/adapter-gemini/package.json @@ -73,7 +73,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64", + "koishi-plugin-chatluna": "^1.3.0-alpha.65", "koishi-plugin-chatluna-storage-service": "^0.0.10" }, "peerDependenciesMeta": { diff --git a/packages/adapter-hunyuan/package.json b/packages/adapter-hunyuan/package.json index f24350271..0d5d9507f 100644 --- a/packages/adapter-hunyuan/package.json +++ b/packages/adapter-hunyuan/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-ollama/package.json b/packages/adapter-ollama/package.json index fc9ec76c8..53010c2e9 100644 --- a/packages/adapter-ollama/package.json +++ b/packages/adapter-ollama/package.json @@ -54,7 +54,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "resolutions": { "@langchain/core": "0.3.62", diff --git a/packages/adapter-openai-like/package.json b/packages/adapter-openai-like/package.json index 7daa7470a..6363d900e 100644 --- a/packages/adapter-openai-like/package.json +++ b/packages/adapter-openai-like/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-openai/package.json b/packages/adapter-openai/package.json index dabc56367..bd85f43f3 100644 --- a/packages/adapter-openai/package.json +++ b/packages/adapter-openai/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-qwen/package.json b/packages/adapter-qwen/package.json index 946093888..b1a34f87f 100644 --- a/packages/adapter-qwen/package.json +++ b/packages/adapter-qwen/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-rwkv/package.json b/packages/adapter-rwkv/package.json index bcdbcf693..6831e6330 100644 --- a/packages/adapter-rwkv/package.json +++ b/packages/adapter-rwkv/package.json @@ -69,7 +69,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-spark/package.json b/packages/adapter-spark/package.json index 6be211114..20b63ec27 100644 --- a/packages/adapter-spark/package.json +++ b/packages/adapter-spark/package.json @@ -72,7 +72,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-wenxin/package.json b/packages/adapter-wenxin/package.json index 7fda8aa86..bb2faa035 100644 --- a/packages/adapter-wenxin/package.json +++ b/packages/adapter-wenxin/package.json @@ -71,7 +71,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/adapter-zhipu/package.json b/packages/adapter-zhipu/package.json index f7717adc8..4fe564086 100644 --- a/packages/adapter-zhipu/package.json +++ b/packages/adapter-zhipu/package.json @@ -73,7 +73,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/core/package.json b/packages/core/package.json index 58b81c92a..0e7418b79 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "koishi-plugin-chatluna", "description": "chatluna for koishi", - "version": "1.3.0-alpha.64", + "version": "1.3.0-alpha.65", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", diff --git a/packages/extension-long-memory/package.json b/packages/extension-long-memory/package.json index a90259033..63e9d2a7d 100644 --- a/packages/extension-long-memory/package.json +++ b/packages/extension-long-memory/package.json @@ -62,7 +62,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "resolutions": { "@langchain/core": "0.3.62", diff --git a/packages/extension-mcp/package.json b/packages/extension-mcp/package.json index c0469c5e4..a7922b880 100644 --- a/packages/extension-mcp/package.json +++ b/packages/extension-mcp/package.json @@ -1,7 +1,7 @@ { "name": "koishi-plugin-chatluna-mcp-client", "description": "MCP Client for ChatLuna", - "version": "1.3.0-alpha.8", + "version": "1.3.0-alpha.9", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -58,7 +58,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64", + "koishi-plugin-chatluna": "^1.3.0-alpha.65", "koishi-plugin-chatluna-storage-service": "^0.0.10" }, "peerDependenciesMeta": { diff --git a/packages/extension-tools/package.json b/packages/extension-tools/package.json index 6be901d98..7fe65fb10 100644 --- a/packages/extension-tools/package.json +++ b/packages/extension-tools/package.json @@ -1,7 +1,7 @@ { "name": "koishi-plugin-chatluna-plugin-common", "description": "plugin service for agent mode of chatluna", - "version": "1.3.0-alpha.20", + "version": "1.3.0-alpha.21", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -68,7 +68,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64", + "koishi-plugin-chatluna": "^1.3.0-alpha.65", "koishi-plugin-chatluna-storage-service": "^0.0.10" }, "peerDependenciesMeta": { diff --git a/packages/extension-variable/package.json b/packages/extension-variable/package.json index fff06fda6..bbe534fd5 100644 --- a/packages/extension-variable/package.json +++ b/packages/extension-variable/package.json @@ -58,7 +58,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "resolutions": { "@langchain/core": "0.3.62", diff --git a/packages/renderer-image/package.json b/packages/renderer-image/package.json index 0f76ded36..d73ce95a8 100644 --- a/packages/renderer-image/package.json +++ b/packages/renderer-image/package.json @@ -62,7 +62,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/service-embeddings/package.json b/packages/service-embeddings/package.json index f3f134b66..6101f5fd0 100644 --- a/packages/service-embeddings/package.json +++ b/packages/service-embeddings/package.json @@ -63,7 +63,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/service-image/package.json b/packages/service-image/package.json index 73e9affb1..3a1a2bb5d 100644 --- a/packages/service-image/package.json +++ b/packages/service-image/package.json @@ -59,7 +59,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "resolutions": { "@langchain/core": "0.3.62", diff --git a/packages/service-search/package.json b/packages/service-search/package.json index b39a53223..c17df8614 100644 --- a/packages/service-search/package.json +++ b/packages/service-search/package.json @@ -74,7 +74,7 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "koishi": { "description": { diff --git a/packages/service-vector-store/package.json b/packages/service-vector-store/package.json index e374f63d3..f5dac14bc 100644 --- a/packages/service-vector-store/package.json +++ b/packages/service-vector-store/package.json @@ -58,7 +58,7 @@ "@zilliz/milvus2-sdk-node": "^2.6.0", "faiss-node": "^0.5.1", "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" }, "peerDependenciesMeta": { "@zilliz/milvus2-sdk-node": { diff --git a/packages/shared-adapter/package.json b/packages/shared-adapter/package.json index 93aa21583..8dc7617ee 100644 --- a/packages/shared-adapter/package.json +++ b/packages/shared-adapter/package.json @@ -70,6 +70,6 @@ }, "peerDependencies": { "koishi": "^4.18.9", - "koishi-plugin-chatluna": "^1.3.0-alpha.64" + "koishi-plugin-chatluna": "^1.3.0-alpha.65" } }