René's URL Explorer Experiment


Title: fix(toolchain): 外部安装的多入口链接保留布局里的文件名 by xiaoyumuxi · Pull Request #135 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: fix(toolchain): 外部安装的多入口链接保留布局里的文件名 by xiaoyumuxi · Pull Request #135 · Lithe-IDEA/Lithe-core-rust

X Title: fix(toolchain): 外部安装的多入口链接保留布局里的文件名 by xiaoyumuxi · Pull Request #135 · Lithe-IDEA/Lithe-core-rust

Description: 关联 Issue 无独立 Issue。在 Rust Support 插件的集成测试中发现:通过 rustup 安装 Rust 的机器上,工具定义 cargo 永远找不到安装。 类型 fix:外部安装的多入口链接保留布局里的文件名(API-23,toolDefinitions 0 内的行为修正) 改动说明 问题 rustup 把 ~/.cargo/bin/cargo、rustc、rust-analyzer 等做成指向 ~/.cargo/bin/rustup 的符号链接,按启动时的文件名决定运行哪个工具。Core 校验外部安装时把可执行文件解析成规范路径,返回 ~/.cargo/bin/rustup;宿主拿这个路径运行版本探针,跑的是 rustup --version,输出不匹配 cargo 的版本正则,安装被判为 versionUnsatisfied。macOS 和 Linux 上用 rustup 的用户都会遇到;Windows 的代理是硬链接,不受影响。 修复(toolchain crate) query.rs 新增 invoked_executable:校验通过后,如果规范目标的文件名与 executableLayouts 里布局文件的文件名不同(按卷的大小写规则比较),返回规范主目录下的布局路径;文件名相同(版本管理器别名、Homebrew ../libexec/bin/go 这类)仍返回规范路径,行为不变。 链接目标的类型、可执行位、不越出主目录、不进入工作区的检查都不变,只是换成用户实际启动的那个名字。规范主目录与校验时的主目录是同一个目录,所以这个路径指向同一个已校验的文件。 paths.rs 新增 file_name,按目标平台的分隔符取路径最后一段(Windows 上的原生路径可能带反斜杠)。 契约与文档 契约 toolchains/README.md:探针按 selection 报告的可执行文件匹配一段,补上“布局文件链接到另一个文件名时报告布局路径”。 reference/domains/toolchains.md 中英各加一段说明。 protocol-changelog.md:本 PR 记在“待合入”;顺带把已经合入的 #112、#127、#128、#130、#133 从“待合入”移到时间线,首次出现表和宿主方法表里的“待合入”换成合入日期。 本 PR 不新增或修改插件宿主方法、宿主通知、清单字段、能力版本或 SDK,所以没有“原计划编号 | 方法 | 用途”表。 验证 新增 toolchain_resolution_starts_a_multi_call_link_by_its_layout_name:HOME/bin/java 链接到 HOME/bin/multiplexer,候选的待探针路径和最终选择的 executable 都是 HOME/bin/java;去掉修复时该测试失败。已有的同名别名链接测试(…_reached_through_an_alias_link)仍返回规范路径。 cargo test -p lithe-core -p lithe-toolchain:877 + 22 项全部通过。 cargo fmt --all --check、cargo clippy -p lithe-toolchain -p lithe-core --all-targets -- -D warnings 通过。 node shared/plugins/scripts/verify-docs.mjs 通过。 没改插件后端协议,未运行 sdk-e2e.mjs。 桌面端用本分支 Core 跑 Rust Support 插件的集成测试,结果写在桌面端固定版本的 PR 里。 范围检查 规则对所有工具定义通用,不按工具名分支,没有 rustup 特判。 只改返回给宿主的路径,安全检查不放宽。 没有新增宿主方法、SDK、日志旁路或运行时资源写入。 Draft 提交,不触发合并。

Open Graph Description: 关联 Issue 无独立 Issue。在 Rust Support 插件的集成测试中发现:通过 rustup 安装 Rust 的机器上,工具定义 cargo 永远找不到安装。 类型 fix:外部安装的多入口链接保留布局里的文件名(API-23,toolDefinitions 0 内的行为修正) 改动说明 问题 rustup 把 ~/.cargo/bin/cargo、rustc、rust...

X Description: 关联 Issue 无独立 Issue。在 Rust Support 插件的集成测试中发现:通过 rustup 安装 Rust 的机器上,工具定义 cargo 永远找不到安装。 类型 fix:外部安装的多入口链接保留布局里的文件名(API-23,toolDefinitions 0 内的行为修正) 改动说明 问题 rustup 把 ~/.cargo/bin/cargo、rustc、rust...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:9bc413e9-7949-e073-366d-6359e617e01d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD890:BEA40:215765:2E4CE0:6B072BB4
html-safe-noncef8b5531c34e6568e4c709161779acfd980b6a1a1930f4af074756b2f97e39ce3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODkwOkJFQTQwOjIxNTc2NToyRTRDRTA6NkIwNzJCQjQiLCJ2aXNpdG9yX2lkIjoiMTg2NDI4MzI3MjAzMzg0MjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9c32f76b5e2386198d549bb26b0d12bd310266ae788f1963038b69b5d328ee75
hovercard-subject-tagpull_request:5415737634
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/135/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 无独立 Issue。在 Rust Support 插件的集成测试中发现:通过 rustup 安装 Rust 的机器上,工具定义 cargo 永远找不到安装。 类型 fix:外部安装的多入口链接保留布局里的文件名(API-23,toolDefinitions 0 内的行为修正) 改动说明 问题 rustup 把 ~/.cargo/bin/cargo、rustc、rust...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1
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
releasea73ca0a5164c4669446bdffe239b0d7542ad735e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/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%2F135%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%2F135%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/135/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/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
fix/toolchain-keep-invoked-namehttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/fix/toolchain-keep-invoked-name
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135
Commits 2 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/commits
Checks 14 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
fix(toolchain): 外部安装的多入口链接保留布局里的文件名 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#top
Show all changes 2 commits https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
26a8353 fix(toolchain): 外部安装的多入口链接保留布局里的文件名 xiaoyumuxi Nov 20, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/commits/26a83538ce02d7ef7a24cc443f5c82d1fad01f89
8291f3c docs(plugins): 协议更新记录登记 #135 xiaoyumuxi Nov 20, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/commits/8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
toolchain_resolution.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-ff73520060d09358e6883563473ac7ecf505fcdb872e96ca181f5b478ddadf85
paths.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-eab9d1e693951d78e7a6e7f5a045fe0faba2e00ca552329450a07b7616ac5c79
query.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-9ec3e124fcdd6ddebe4e1141267a375a6132e1b23930ace3637d2ba9ae975616
README.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-3a9f181627659dee7a513c0593ec53cd503cf42121352d4ba7d330ce316d5e08
toolchains.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
protocol-changelog.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
rust/crates/core/src/tests/toolchain_resolution.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-ff73520060d09358e6883563473ac7ecf505fcdb872e96ca181f5b478ddadf85
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6/rust/crates/core/src/tests/toolchain_resolution.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-ff73520060d09358e6883563473ac7ecf505fcdb872e96ca181f5b478ddadf85
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-ff73520060d09358e6883563473ac7ecf505fcdb872e96ca181f5b478ddadf85
rust/crates/toolchain/src/paths.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-eab9d1e693951d78e7a6e7f5a045fe0faba2e00ca552329450a07b7616ac5c79
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6/rust/crates/toolchain/src/paths.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-eab9d1e693951d78e7a6e7f5a045fe0faba2e00ca552329450a07b7616ac5c79
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-eab9d1e693951d78e7a6e7f5a045fe0faba2e00ca552329450a07b7616ac5c79
rust/crates/toolchain/src/query.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-9ec3e124fcdd6ddebe4e1141267a375a6132e1b23930ace3637d2ba9ae975616
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6/rust/crates/toolchain/src/query.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-9ec3e124fcdd6ddebe4e1141267a375a6132e1b23930ace3637d2ba9ae975616
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-9ec3e124fcdd6ddebe4e1141267a375a6132e1b23930ace3637d2ba9ae975616
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-9ec3e124fcdd6ddebe4e1141267a375a6132e1b23930ace3637d2ba9ae975616
shared/plugins/contract/v1/toolchains/README.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-3a9f181627659dee7a513c0593ec53cd503cf42121352d4ba7d330ce316d5e08
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6/shared/plugins/contract/v1/toolchains/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-3a9f181627659dee7a513c0593ec53cd503cf42121352d4ba7d330ce316d5e08
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-3a9f181627659dee7a513c0593ec53cd503cf42121352d4ba7d330ce316d5e08
shared/plugins/reference/domains/toolchains.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6/shared/plugins/reference/domains/toolchains.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/135/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.