René's URL Explorer Experiment


Title: feat(core-rules): 工具目录改由插件声明(layout.hiddenDirectoryNames、workspace.configureVisibility),Core 只隐藏自己的目录 by xiaoyumuxi · Pull Request #72 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: feat(core-rules): 工具目录改由插件声明(layout.hiddenDirectoryNames、workspace.configureVisibility),Core 只隐藏自己的目录 by xiaoyumuxi · Pull Request #72 · Lithe-IDEA/Lithe-core-rust

X Title: feat(core-rules): 工具目录改由插件声明(layout.hiddenDirectoryNames、workspace.configureVisibility),Core 只隐藏自己的目录 by xiaoyumuxi · Pull Request #72 · Lithe-IDEA/Lithe-core-rust

Description: 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1856 #1856 要求把 Core 里剩下的 5 类语言专属默认值移出 Core。本 PR 只做第 1 项(工具目录名单)。第 5 项 #66、第 2 项 #68 已合入,第 3 项在 #69;第 4 项(运行发现的探测器与指纹)不在本 PR,#1856 保持打开。 PR 类型 / Type feat:构建系统可以声明自己的隐藏目录(layout.hiddenDirectoryNames),宿主用新命令 workspace.configureVisibility 把已启用插件交给 Core;Core 不再内置任何语言或工具的目录名 改动说明 / What changes 背景 / Why Core 里有 4 份各自维护、互相漂移的“工具目录”名单,全都写着具体工具的名字: 名单 用在哪里 个数 core-rules/visibility.rs BUILT_IN_HIDDEN_DIRECTORIES,外加 BUILT_IN_HIDDEN_FILE_PATTERNS 里的 *.pyc 项目树、搜索、索引、文件事件、Git 仓库发现 19 个目录 + *.pyc project/history.rs BUILT_IN_IGNORED_DIRECTORY_NAMES 本地历史默认忽略、清理旧基线 30 execution/workspace_scan.rs EXCLUDED_DIRECTORIES 运行配置发现、运行指纹、宿主文件列表 34 vcs/roots.rs PRUNED VCS 根发现 25 例如 target(Cargo、Maven)、.gradle、build(Gradle)、node_modules、.venv、DerivedData、.svn 都写在 Core 里。这违反“Core 对语言和工具零特判”。名单还互相不一致:同一个文件夹在项目树里隐藏了,运行发现或 VCS 根发现却照样会遍历它,反过来也有。 改动 / Changes 一份名单:Core 自己的目录 + 已启用插件声明的目录 core-rules(visibility.rs) BUILT_IN_HIDDEN_DIRECTORIES 只剩 Core 自己的 .git、.worktree、.worktrees。BUILT_IN_HIDDEN_FILE_PATTERNS 去掉 *.pyc,只剩 .DS_Store、根目录 .lithe/**、.lithe/run/local.json。 新增进程级名单 PluginHiddenDirectories { generated, metadata }(RwLock): generated 来自构建系统的 layout.hiddenDirectoryNames,是生成产物; metadata 来自 VCS 提供者 detection.markers 里的目录标记(如 .svn),是 VCS 元数据。 新增函数 set_plugin_hidden_directories、plugin_hidden_directories、plugin_generated_directories、default_hidden_directories。VisibilityRules::new 和 workspace.visibilityDefaults 都返回 Core 自有目录加插件声明目录。!name 和 !**/name/ 照样能关掉任意一个默认目录,包括插件声明的目录。 build(清单) layout 新增可选字段 hiddenDirectoryNames。 check_directory_names 做校验:每个值必须是单段文件夹名,最多 32 个、每个最长 255。以下情况以 plugin.path.invalid 拒绝,字段为 buildSystems[].layout.hiddenDirectoryNames[]: 是 . 或 ..; 有首尾空白; 含 /、\、*、?、[、] 或控制字符; 以 ! 开头。 layout.excluded(单个项目的排除内容根)保持原样。它和 hiddenDirectoryNames(全工作区任意层级的名字)是两回事。 vcs:新增 metadata_directory_names,收集 VCS 提供者的目录标记。 plugin-manifest:新增 declared_hidden_directories。它解码 workspace.configureVisibility 的载荷,并像 build.detect 一样逐个校验清单:不合格的清单记进 rejected,不让整个调用失败。 core(协议与分发):新增命令 workspace.configureVisibility。 载荷:{plugins: [{manifest}]}。 返回:{hiddenDirectoryNames, rejected: [{index, error}]},hiddenDirectoryNames 按大小写不敏感排序。 行为:整份替换已有名单;{plugins: []} 清空;载荷格式错误时返回 invalid_request,并保留原名单。 所有遍历都读这一份名单 execution:删除 EXCLUDED_DIRECTORIES 和 is_run_scan_excluded_directory。运行发现和指纹在每次扫描开始时读一次 VisibilityRules::new(vec![], vec![]),扫描中途启用的插件从下一次扫描开始生效。 vcs(roots.rs):删除 PRUNED,VCS 根发现改用同一份可见性规则。 git(repository.rs):嵌套仓库发现在扫描开始时读一次 default_hidden_directories(),名字检查用这份快照,不再引用 BUILT_IN_HIDDEN_DIRECTORIES。 project history.rs:删除 BUILT_IN_IGNORED_DIRECTORY_NAMES。本地历史默认忽略的目录就是默认隐藏目录,! 关掉的照旧不忽略。响应字段 builtInIgnorePatterns 保留原名,因为桌面端在读它;内部函数和注释改称“默认”。 files/events.rs:文件事件过滤每批读一次名单。 files/search_everywhere.rs:includeGeneratedFileNames 只重新列出构建系统声明的生成目录(plugin_generated_directories())。VCS 元数据和 Core 自有目录始终不列,不再写死 [".git", ".svn", ".worktree", ".worktrees"]。 search_index.rs:索引缓存键(IndexKey)包含隐藏目录,插件声明一变,下次请求自动重建。 契约文档 rust/contracts/rust-core-api.md、rust/contracts/vcs-provider-v1.md:写明默认目录的组成和 workspace.configureVisibility,删掉列举工具目录的段落。 测试 新增集成测试 core/tests/configure_visibility.rs。它单独成一个测试二进制,因为名单是进程级状态,放进单元测试会互相干扰。测试只用虚构的 dev.lithe.test.* 插件,清单取自契约 fixture。 工作区里放了这些文件:target/、module/generated/、legacy/.svn/、target/checkout/.svn/、target/repository(嵌套 Git 仓库)、target/Makefile、target/debug/Cargo.toml。 声明前:项目树、Search Everywhere、内容搜索、运行发现、构建探测、VCS 根发现、Git 仓库发现都能看到这些文件和目录。 声明后:名单是 [".svn", "Generated", "target"],非法插件(out/classes)进 rejected;visibilityDefaults、classifyVisibility 和 !target 都按名单生效;上面 7 条路径都不再遍历它们;includeGeneratedFileNames 只列 target、Generated 下的文件,不列 .svn;索引增量更新以及 is_workspace_event_relevant 都排除它们。 清空后:所有遍历又能看到。 载荷格式错误时:返回 invalid_request,名单保持不变。 改了既有单元测试和 fixture(core/src/tests/project.rs、detectors.rs、run_configuration.rs、build_systems.rs,fixtures/workspace/visibility-v1.json、change-filter-v1.json、repository-visibility-v1.json,fixtures/vcs/model-v1.json)。原来用 node_modules、.build、.pytest_cache 当例子的用例,改用 Core 自有目录。凡是验证“工具目录会被隐藏”的用例,都移到上面的集成测试里,在插件声明之后验证。 契约(shared/plugins/) plugin-manifest.schema.json:layout 新增 hiddenDirectoryNames,写明 maxItems、maxLength 和名字的 pattern。 README.md: 构建系统 detection 一行改成“跳过默认隐藏目录(Core 自有的和已启用插件声明的)”; layout 一行写明 hiddenDirectoryNames 的规则、作用范围、Search Everywhere 的生成文件列表,以及 !name 关闭; VCS 小节新增一段:目录标记是元数据,插件启用期间隐藏,Search Everywhere 永远不列。 invalid-manifests.json:新增 3 个用例,分别是含路径分隔符、含 glob 字符、以 ! 开头。 reference/domains/build-systems.md、reference/domains/vcs.md 中英两行同步。 protocol-changelog.md 在 2026-11-16 下登记(API-29、API-31,buildSystems 0、vcsProviders 0 内的补充)。 兼容性与发布顺序 / Compatibility and rollout 行为变化:合入后,没有插件声明的工具目录不再默认隐藏。这些目录会出现在项目树和搜索里,运行发现、VCS 根发现、本地历史也会遍历它们,直到对应插件声明为止。本次去掉的默认值: 可见性:.svn、.build、.swiftpm、node_modules、.venv、venv、__pycache__、target、build、DerivedData、.gradle、.next、dist、coverage、design-qa-artifacts、.artifacts,以及文件模式 *.pyc。 本地历史另外去掉:.cache、.claude、.idea、.mypy_cache、.nuxt、.pytest_cache、.ruff_cache、.tox、.uv-cache、Pods、out。 运行发现和 VCS 根发现另外去掉:.vscode、.bundle、.cargo、.dart_tool、.stack-work、.svelte-kit、.terraform、bower_components、vendor、obj,以及非根目录的 .lithe。 这是 #1856 讨论里确认过的取舍:这些目录本来就应该由插件探测。没有对应插件的生态会失去默认隐藏,用户可以在“隐藏路径”设置里自己加。 已发布插件:清单不用改也照常通过校验(新字段可选)。按组织内官方插件当前的 main 清单: 插件 现在 要做的事 lithe-plugin-svn VCS 提供者 detection.markers 已有 .svn 目录标记 不用改,启用即隐藏 .svn lithe-plugin-cargo layout.excluded: ["target"] 加 hiddenDirectoryNames: ["target"] lithe-plugin-gradle layout.excluded: [".gradle", "build"] 加 hiddenDirectoryNames: [".gradle", "build"] lithe-plugin-maven layout.excluded: ["target"] 加 hiddenDirectoryNames: ["target"] lithe-plugin-go 构建系统没有 layout 不用改 发布顺序 本 PR 合入。 桌面端在升级 PINNED_CORE_REVISION 的同一个 PR 里接入:启动时,以及插件启用、停用、安装、卸载后,调用 workspace.configureVisibility 发送全部已启用插件的清单,然后刷新项目树。只升级固定版本、不接入的话,所有工具目录都会显示出来,所以两件事必须在同一个 PR 里完成。 含第 2 步的桌面端发布之后,cargo、gradle、maven 三个插件再发布带 hiddenDirectoryNames 的版本。旧宿主不认识这个字段,会拒绝带它的清单,所以插件不能提前发布。 宿主方法:workspace.configureVisibility 是宿主调用 Core 的命令,不是插件可调用的方法。没有新增宿主方法、通知或能力版本。 不在本 PR 范围内 / Out of scope #1856 第 4 项(运行发现探测器与指纹迁到插件)。 桌面端接入,见上方“发布顺序”第 2 步。同一个桌面端 PR 还会去掉 desktop/internal/fileicons/fileicons.go 里按名字(target、build、out、bin、dist、node_modules、.idea)选择排除目录图标的写死逻辑,改用 Core 返回的名单。 三个插件的 Draft PR,见上方“发布顺序”第 3 步。 类型专属:feat 多平台对齐 两端都具备:逻辑全部在 Core。macOS 和 Windows 用的是同一个 Viva 桌面端,接入只需要做一次,见“不在本 PR 范围内”。 范围检查 / Scope checks 功能矩阵 / Feature matrix N/A:Core 仓库没有功能矩阵。宿主端的可见行为在桌面端接入 PR 里按矩阵规则处理。 插件归属 / Plugin ownership Core 不再出现任何具体工具的目录名;测试只用虚构的 dev.lithe.test.* 插件和契约 fixture,没有读取任何真实插件的清单或插件包。 测试只使用合成插件和契约 fixture。 没有为具体插件新建功能矩阵条目。 没有插件文案或插件构建说明写进 Core 文档。 [N/A] 在受影响插件仓库跑测试:已发布插件的清单不变,新字段由插件在桌面端发布后再加;本 PR 不改变已有字段的校验。 UI 验证 / UI evidence N/A:Core 没有界面。项目树的可见变化在桌面端接入 PR 里验证。 统一日志系统 / Structured logging N/A:没有新增或改动日志事件(generate-log-events.mjs --check 通过)。 界面文案 / i18n N/A:没有用户可见文案。rejected[].error 沿用已有错误码 plugin.path.invalid,消息是给插件作者看的诊断,和其他清单校验错误一样不翻译。 逻辑归属 / Logic placement 默认目录的组成、插件声明的收集和校验、所有遍历的剪枝规则,全部在 Core 的一处(lithe-core-rules);平台层只负责把已启用插件的清单交过来。 工具专属的目录名由插件声明,Core 不按工具名加分支。 性能与内存 / Performance and memory 名单是一个读写锁保护的小 Vec,最多 32 × 插件数个名字。项目树、搜索、运行发现、构建探测、VCS 根发现、Git 仓库发现都在遍历开始时读一次,文件事件每批读一次,不在每个路径上加锁。只有本地历史的 ignored_rule 每个路径读一次,但它本来就要为每条 glob 构造匹配器,相比之下这点开销可以忽略。 没有新增后台任务、子进程或缓存。搜索索引缓存键多了隐藏目录一项,声明变化时重建,不变时照旧复用。 设置 / Settings N/A:设置页读的仍是 workspace.visibilityDefaults 和 builtInIgnorePatterns,数据来源不变,内容变成 Core 自有目录加插件声明目录。 插件契约 / Plugin contract 契约(schema、README、fixture、参考页)随执行它的代码在本 PR,协议更新记录已登记在 2026-11-16 下。 [N/A] PINNED_CORE_REVISION:在桌面端接入 PR 里升级。 [N/A] sdk-e2e.mjs:没有改插件后端协议。 [N/A] 宿主方法表:没有新增宿主方法或通知;workspace.configureVisibility 是宿主调用 Core 的命令。 发行包与资源 / Bundle and resources N/A:没有运行时资源、缓存或下载物。 无用代码与重构 / Dead code and refactoring 删除了 4 份名单和随之无用的 is_run_scan_excluded_directory、files.rs 里对 BUILT_IN_HIDDEN_DIRECTORIES 的重新导出,以及 Search Everywhere 里写死的 [".git", ".svn", ".worktree", ".worktrees"]。 发现的既有问题 fileicons.go 在桌面端接入 PR 里一并处理(见“不在本 PR 范围内”),不另建单。 验证 / Verification 命令或操作 平台 结果 cargo fmt --manifest-path rust/Cargo.toml --all -- --check macOS arm64 通过 node scripts/logging/generate-log-events.mjs --check macOS arm64 通过(133 个事件) scripts/rust-core/verify-rust-core-comments.sh build core core-rules execution git plugin-manifest project vcs macOS arm64 通过 cargo clippy --locked --workspace --all-targets --all-features -- -D warnings macOS arm64 通过 cargo clippy --locked --workspace --all-targets --target x86_64-pc-windows-msvc -- -D warnings macOS arm64(交叉检查 Windows 目标) 通过 cargo test --locked --workspace --features lithe-remote/server macOS arm64 通过(124 个测试二进制,2133 个测试,0 失败;含新集成测试 configure_visibility) node scripts/rust-core/verify-platform-tests.mjs macOS arm64 通过(52 个 crate) node shared/plugins/scripts/verify-docs.mjs macOS arm64 通过 node scripts/rust-core/affected-crates.mjs --base origin/main macOS arm64 Linux:--workspace --features lithe-remote/server;macOS:lithe-platform、lithe-remote、lithe-platform-tests;Windows:lithe-platform、lithe-platform-tests 未能执行的检查和原因: Windows 上没有在本机运行测试,ready 后由 CI 覆盖;本 PR 没有平台相关代码。桌面端整机效果(项目树、运行发现)要在桌面端接入 PR 里验证,因为当前桌面端还不会调用 workspace.configureVisibility。 提交前确认 / Final checks 分支从最新的 main 创建,并已合入 main(5a8d786);目标分支 main 以 Draft 提交 没有无关改动和构建产物 没有启动 Lithe 应用

Open Graph Description: 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1856 #1856 要求把 Core 里剩下的 5 类语言专属默认值移出 Core。本 PR 只做第 1 项(工具目录名单)。第 5 项 #66、第 2 项 #68 已合入,第 3 项在 #69;第 4 项(运行发现的探测器与指纹)不在本 PR,#1856 保持打开。 PR 类型 / Type ...

X Description: 关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1856 #1856 要求把 Core 里剩下的 5 类语言专属默认值移出 Core。本 PR 只做第 1 项(工具目录名单)。第 5 项 #66、第 2 项 #68 已合入,第 3 项在 #69;第 4 项(运行发现的探测器与指纹)不在本 PR,#1856 保持打开。 PR 类型 / Type ...

Opengraph URL: https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1a60c7e2-a86c-451d-a875-08367ead3bbf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE854:214A35:41AD3BB:58E952C:6B0722D0
html-safe-nonce7a3ba37e74125a3ea9a20a3b1da011a9f7c40a8a1fb5e9a9593a065c148353d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODU0OjIxNEEzNTo0MUFEM0JCOjU4RTk1MkM6NkIwNzIyRDAiLCJ2aXNpdG9yX2lkIjoiNTc4NTE5MjgwOTE1ODM1MzYxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5ff38f8707dd9c33e4538120f772ce7a6f672ccde6fca20fa100d2754f9ed3ec
hovercard-subject-tagpull_request:5337821176
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
twitter:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
og:image:alt关联 Issue / Linked issue Refs 1lck/Lithe-IDEA#1856 #1856 要求把 Core 里剩下的 5 类语言专属默认值移出 Core。本 PR 只做第 1 项(工具目录名单)。第 5 项 #66、第 2 项 #68 已合入,第 3 项在 #69;第 4 项(运行发现的探测器与指纹)不在本 PR,#1856 保持打开。 PR 类型 / Type ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5a20fe9aa5e45c6df9328a5ec3f167a7805856126d8bf72d810541ca01962ef9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/Lithe-core-rust git https://github.com/Lithe-IDEA/Lithe-core-rust.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1449354685
octolytics-dimension-repository_nwoLithe-IDEA/Lithe-core-rust
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1449354685
octolytics-dimension-repository_network_root_nwoLithe-IDEA/Lithe-core-rust
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ce961d9a663a99bc4bcab9fd6ac5cca54bd6fcc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F72%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F72%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Lithe-IDEA%2FLithe-core-rust
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
Lithe-core-rusthttps://github.com/Lithe-IDEA/Lithe-core-rust
Codehttps://github.com/Lithe-IDEA/Lithe-core-rust
Issues1 (1)https://github.com/Lithe-IDEA/Lithe-core-rust/issues
Pull requests2 (2)https://github.com/Lithe-IDEA/Lithe-core-rust/pulls
Actionshttps://github.com/Lithe-IDEA/Lithe-core-rust/actions
Projectshttps://github.com/Lithe-IDEA/Lithe-core-rust/projects
Security and qualityhttps://github.com/Lithe-IDEA/Lithe-core-rust/security
Insightshttps://github.com/Lithe-IDEA/Lithe-core-rust/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2FLithe-core-rust%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FLithe-IDEA%2FLithe-core-rust%2Fissues%2Fnew%2Fchoose
xiaoyumuxihttps://github.com/xiaoyumuxi
mainhttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/main
refactor/1856-ignored-directorieshttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/refactor/1856-ignored-directories
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72
Commits 5 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/commits
Checks 10 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
feat(core-rules): 工具目录改由插件声明(layout.hiddenDirectoryNames、workspace.configureVisibility),Core 只隐藏自己的目录 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#top
Show all changes 5 commits https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
7523127 refactor(core-rules): 隐藏目录默认值只留 Core 自有目录,其余由插件经 workspace.configureV… xiaoyumuxi Nov 16, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/commits/752312707528e9d7f145922b83dd6832b5ecca7c
5ec4abe Merge remote-tracking branch 'origin/main' into refactor/1856-ignored… xiaoyumuxi Nov 16, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/commits/5ec4abee503ddacff2e0c5527486c88d6a71269b
cd3918c chore(project): 本地历史与请求注释改称默认目录,补协议更新记录并格式化 (#1856) xiaoyumuxi Nov 16, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/commits/cd3918cc75bd73f11e1116dc6a7f4b9fc6f8771e
b92c592 perf(git): 嵌套仓库发现每次扫描读一次隐藏目录,删除按名字逐个加锁的 is_default_hidden_directory_n… xiaoyumuxi Nov 16, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/commits/b92c592dcd587f4ef2aaa41a37411f800ec590c9
a88fe73 Merge remote-tracking branch 'origin/main' into refactor/1856-ignored… xiaoyumuxi Nov 16, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/commits/a88fe734c12096cd40f8385d1d7dc5090ab2944f
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Cargo.lock https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-31311f589f85f3d98efe0429e90a39407857c13a4e81dd742f1ba22fab29950a
rust-core-api.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
vcs-provider-v1.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-0206f2bcc5ce49ff1339f76e6543d13dd71c70e3bfd26b6e7405baba7fcd6ee3
manifest.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-fb48f7daf0b4d9103776698c316ea2a4d2a7055266df2cb802d8e213ea40b852
checks.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-7764e69b3cee558c5dbb9ed746a4623a1ebd9da727aad4259603c222b49a7a98
dependencies.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-8c1ed69db19284e7437e0e5ec38c841da23b1ba976f8548c08f0156a2bf76ce0
lib.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-bbf628b67b232ef38fe8a31ee88e381dc5df966eeb6b2805cc0e6c0fba040352
visibility.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-d3608d0ba06bae403f4d4d5b03bb8e7f8e3ea9012e9bd070f3039a2c91dded63
command.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
workspace.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-d3fbb51673fd159bb678f935766c6b9ad7603638bf0e8a588055dd91c0729b03
build_systems.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-8ce263434c950431d898c1c930d81b347a9672d6917f542cf590bba99cc6b302
detectors.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-b27a2fd6a600f11229cc011214ce1a5836b7e7a63bee8ba1fda9c173e44d373f
project.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-98fd47c6de4bf8d2f05c9fcad9a0aea1f44be73ca99f043faba68eb87fdd8ca5
run_configuration.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-f62754743073e5e5cc5b4ebe90d203c9631bc2db0ec892dc6de3fd84825c1511
configure_visibility.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-381debe89049a2e0523fa90c4fe8a6ba19e70e40ad73603a551690acd5bf75b6
Cargo.toml https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-86f2b9e1253d6d85142a55580b6b1e58cf676c3d754c366bf621680b38e2aedb
scan.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-3ec0c1fb0b84497c5170efdb81ff6b263710734a7fd88926ba84cf113e6d610d
lib.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-799706e42617cec236fc9972f89d7a9e3b6cc602a65cbf61efe35efcdf32464a
workspace_scan.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-f64d54ddf7db9df5e93efcbdb70fbfde4d5512e353bbb0ba4a611a88f35ed6dc
repository.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-dbd5d0b64315fd3609b1ac109a07c8ee79643530d7f4ed7eb343f3ba9e84f7ae
commands.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-30951bdb7b0f5814fbf8237ab51197650d4117c0b7ae003ac3450d1e2e622579
files.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-0fa9d30ba45eab907d429c380ed9be42f270d3287591cba8b5f839ff6eb2ce89
events.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-0f63ed4287807a9777f8a8e93eda0a26203d302aebdd2a9c6fc4275e7640ed18
requests.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-a098a9496b40d2d4ebea551227b2e91c885d206de41406a753a6497e0d86a36d
search_everywhere.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-8b7e32cd48ff918f02884c2273b323f9c11216e97bf14997210bad31a81bc409
history.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-daa20ba11a6e8627f980906d6955ec1ab8654fba87f1eef1b0522ae57c16b99a
search_index.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-95041b1fbbdd9139199797aca01c8cb0514420e58adceba965f3bfdd4a6ddec9
Cargo.toml https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-66b20691e53648c5b6b9f8048235a0ae6ba89e4118209f6268613215bee9a66b
manifest.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-3312d7d06f571bdc31b74fbbb5bb3f2c5f975d05f7e144dd8d0d879db02e3dcd
roots.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-4f66f156014f1fed0692d9544445515b1a04d3f5044a714a95dcd455f8c4d75d
model-v1.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-b5fe42d9f9f0fa4f867deb080f236bec816d4c4b87ad342cf356850f56c5dafe
change-filter-v1.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-22984d929f5e362c0ba59957aa00239213b4ba6d40f48531d36ab68057ebc569
repository-visibility-v1.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-73d00127cb38d7be6d95fff9e544ad2d35dd55d857797058fe70057abc4c8db8
visibility-v1.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-c665a421487436b9d4bffbd7fd75641be9ec617b0c6b2e771e94af781aa2d2c6
README.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
invalid-manifests.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-9f4797408c1d68cdf48888d4a7b2c0aeea0127439a48bf69b1196bcf2ec6502b
plugin-manifest.schema.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-df3469fd8eb5deb0238aba2ecc45d3c9bdc19cbc23a0c2e624202abda0578af2
build-systems.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-818c8166e0d6899844191499f463ad45339a46eb5c166afdd70790a5070c1c15
vcs.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-b82ed0b6cd75ac3f36e2b05caa37b6944053e159ad46bb7efc7c358dc293dd6c
protocol-changelog.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
rust/Cargo.lockhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-31311f589f85f3d98efe0429e90a39407857c13a4e81dd742f1ba22fab29950a
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
rust/contracts/rust-core-api.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/contracts/rust-core-api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
rust/contracts/vcs-provider-v1.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-0206f2bcc5ce49ff1339f76e6543d13dd71c70e3bfd26b6e7405baba7fcd6ee3
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/contracts/vcs-provider-v1.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-0206f2bcc5ce49ff1339f76e6543d13dd71c70e3bfd26b6e7405baba7fcd6ee3
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-0206f2bcc5ce49ff1339f76e6543d13dd71c70e3bfd26b6e7405baba7fcd6ee3
rust/crates/build/src/manifest.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-fb48f7daf0b4d9103776698c316ea2a4d2a7055266df2cb802d8e213ea40b852
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/crates/build/src/manifest.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-fb48f7daf0b4d9103776698c316ea2a4d2a7055266df2cb802d8e213ea40b852
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-fb48f7daf0b4d9103776698c316ea2a4d2a7055266df2cb802d8e213ea40b852
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-fb48f7daf0b4d9103776698c316ea2a4d2a7055266df2cb802d8e213ea40b852
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-fb48f7daf0b4d9103776698c316ea2a4d2a7055266df2cb802d8e213ea40b852
rust/crates/build/src/manifest/checks.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-7764e69b3cee558c5dbb9ed746a4623a1ebd9da727aad4259603c222b49a7a98
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/crates/build/src/manifest/checks.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-7764e69b3cee558c5dbb9ed746a4623a1ebd9da727aad4259603c222b49a7a98
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-7764e69b3cee558c5dbb9ed746a4623a1ebd9da727aad4259603c222b49a7a98
rust/crates/build/src/manifest/dependencies.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-8c1ed69db19284e7437e0e5ec38c841da23b1ba976f8548c08f0156a2bf76ce0
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/crates/build/src/manifest/dependencies.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-8c1ed69db19284e7437e0e5ec38c841da23b1ba976f8548c08f0156a2bf76ce0
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-8c1ed69db19284e7437e0e5ec38c841da23b1ba976f8548c08f0156a2bf76ce0
rust/crates/core-rules/src/lib.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-bbf628b67b232ef38fe8a31ee88e381dc5df966eeb6b2805cc0e6c0fba040352
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/a88fe734c12096cd40f8385d1d7dc5090ab2944f/rust/crates/core-rules/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-bbf628b67b232ef38fe8a31ee88e381dc5df966eeb6b2805cc0e6c0fba040352
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files#diff-bbf628b67b232ef38fe8a31ee88e381dc5df966eeb6b2805cc0e6c0fba040352
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/72/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.