仓库上下文扫描忽略 .export 导出目录
- should_ignore_directory 顶层组件匹配补回 .export,避免把生成的导出包/zip 纳入 agent 仓库上下文
This commit is contained in:
@@ -716,10 +716,9 @@ fn should_ignore_directory(path: &Path) -> bool {
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if components
|
||||
.first()
|
||||
.is_some_and(|component| matches!(component.as_str(), "memory" | "logs" | ".app"))
|
||||
{
|
||||
if components.first().is_some_and(|component| {
|
||||
matches!(component.as_str(), "memory" | "logs" | ".app" | ".export")
|
||||
}) {
|
||||
return true;
|
||||
}
|
||||
components.windows(2).any(|pair| {
|
||||
|
||||
Reference in New Issue
Block a user