校正 check-config 免调用白名单中三条命令的说明

- 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 测试使用」这一对三条命令不成立的笼统说明
This commit is contained in:
2026-09-19 23:03:51 +08:00
parent 57b28ce5cd
commit 7a89a119d9
@@ -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',