From 22d1efdbb48bf62fee8045fa61fa9542f38764a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 6 Oct 2026 21:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=8E=89=E5=90=8C=E6=AD=A5=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E6=B3=A8=E9=87=8A=E9=87=8C=E5=86=99=E9=94=99=E7=9A=84?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit project/filesystem.rs:文档注释把 PROJECT_SNAPSHOT_SYNC_ONLY_EXCLUDED_COMPONENTS 改成实际使用的 PROJECT_DERIVED_EXCLUDED_COMPONENTS。 --- apps/ai-game-creator-shell/src-tauri/src/project/filesystem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/project/filesystem.rs b/apps/ai-game-creator-shell/src-tauri/src/project/filesystem.rs index 03757e283..8c140b94b 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/project/filesystem.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/project/filesystem.rs @@ -438,7 +438,7 @@ pub(crate) fn should_skip_project_derived_path(relative_path: &str) -> bool { * 其余排除项在 `.agent` 内同样生效:版本库、依赖与构建目录、凭据目录、敏感后缀、 * `.env*` 与凭据类文件名一律不参与同步;符号链接与重解析点在扫描阶段单独跳过。 * - * 另外,同步还多认 `PROJECT_SNAPSHOT_SYNC_ONLY_EXCLUDED_COMPONENTS`(`.export`):本机派生 + * 另外,同步还多认 `PROJECT_DERIVED_EXCLUDED_COMPONENTS`(`.export`):本机派生 * 的导出工作目录不进同步,但 Agent 仍要能读写它。 */ pub(crate) fn should_skip_project_snapshot_sync_path(relative_path: &str) -> bool {