From 7a89a119d918e76e2bc0858ee50dc1f597131a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 19 Sep 2026 23:03:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E6=AD=A3=20check-config=20=E5=85=8D?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E7=99=BD=E5=90=8D=E5=8D=95=E4=B8=AD=E4=B8=89?= =?UTF-8?q?=E6=9D=A1=E5=91=BD=E4=BB=A4=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - apps/ai-game-creator-shell/scripts/check-config.mjs 为 delete_local_game_memory、delete_local_project_file、pick_local_file 补写准确的剩余调用方说明(前两条只剩 Rust 测试直接调用命令函数,pick_local_file 前端与 Rust 均无调用方) - 修正原先「命令由 native Runtime、CLI swarm 与 Rust 测试使用」这一对三条命令不成立的笼统说明 --- apps/ai-game-creator-shell/scripts/check-config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/ai-game-creator-shell/scripts/check-config.mjs b/apps/ai-game-creator-shell/scripts/check-config.mjs index 0d64fb0a9..d1ab820ca 100644 --- a/apps/ai-game-creator-shell/scripts/check-config.mjs +++ b/apps/ai-game-creator-shell/scripts/check-config.mjs @@ -119,12 +119,16 @@ const allowedUncalledTauriCommands = [ 'chat_with_game_creator_role_agent_stream', 'check_game_creator_llm_config', 'confirm_game_creator_agent_runtime_task', + // 下面两条命令前端、native Runtime 与 CLI swarm 都没有调用方,只有 Rust 测试直接 + // 调用命令函数本身;保留注册是为了不动本地记忆 / 本地文件这两块 native 能力。 'delete_local_game_memory', 'delete_local_project_file', 'diff_local_project_checkpoint', 'get_game_creation_agent_capabilities', 'get_limited_local_commands', 'list_local_project_export_packages', + // 前端画板导出包入口已不再调用它,Rust 侧也只剩命令注册;若确认这条能力退役, + // 需要连同 main.rs 注册、commands.rs 实现和前端调用方用例一起删除。 'pick_local_file', 'read_game_creator_agent_runtime', 'read_local_agent_memory',