René's URL Explorer Experiment


Title: feat(plugins): 命令安装器支持固定 URL 归档下载(commandInstallers 1) by xiaoyumuxi · Pull Request #133 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: feat(plugins): 命令安装器支持固定 URL 归档下载(commandInstallers 1) by xiaoyumuxi · Pull Request #133 · Lithe-IDEA/Lithe-core-rust

X Title: feat(plugins): 命令安装器支持固定 URL 归档下载(commandInstallers 1) by xiaoyumuxi · Pull Request #133 · Lithe-IDEA/Lithe-core-rust

Description: 关联 Issue 无独立 Issue。用于 Rust Support 插件(API-23)按需下载 CodeLLDB:调试器不打进插件包,第一次调试缺命令时由宿主提示安装,体验与 Go 插件安装 dlv 一致。 类型 feat:commandInstallers 能力版本 1,新增固定 URL 归档下载安装 改动说明 清单与校验(plugin-manifest) 新增 archives.rs:managedRuntimes 依赖和命令下载共用的归档声明校验(HTTPS 无凭据/片段的 URL、最多 8 个唯一镜像、完整 SHA-256 并转小写、zip/tar.gz、stripPrefix 布局路径、平台 os/arch)。managed_runtimes.rs 改为调用这套共用逻辑,行为不变。 commandInstallers[].download:version 加 1–6 个平台归档(每个平台最多一个),与 tool、minimumVersion、arguments 互斥;只能用 managed 目标,不带 arguments、environment,commandDirectory 相对解压根目录;mayUseNetwork 必须为 true;清单 requires.commandInstallers 必须 ≥ 1。 capabilities.rs:commandInstallers 支持 [0, 1]。 Core API(plugins.commandInstallers.requirements / plan) 两个请求新增可选 platform: {os, arch};不支持的平台返回 plugin.commandInstaller.platformInvalid。 requirements:安装条目新增 download: null | {version};带 platform 时没有该平台归档的下载安装不列出。 plan:下载安装必须带 platform、不接受 installDirectory;没有该平台归档返回 plugin.commandInstaller.unavailable。计划的 arguments、environment、directoryProbes 为空、commandDirectory 为 null,新增 download:选中归档的 installer、version、os、arch、url、sha256、archive、stripPrefix、mirrors、cacheKey、commandDirectory。cacheKey 是规范 JSON(不含镜像)的 SHA-256,改地址、摘要、格式、版本或布局都会换新目录。工具安装的计划 download 为 null。 审查程序(approval program)对下载安装列出全部归档,改地址、镜像、摘要或版本都需要重新批准。 契约与文档 plugin-manifest.schema.json:commandInstallers 条目改为 tool / download 二选一,新增归档 $defs。 契约 README:命令安装一节重写,新增“Download installers”“Installation steps”,补错误码表(Core:platformInvalid、unavailable;宿主:downloadFailed、checksumMismatch、archiveInvalid,failed 只指工具安装失败)。 fixture:新增 command-installer-download.plugin.json;command-installer-plans.json 共 28 个用例;invalid-manifests.json 新增 22 个非法清单。 能力版本表、工具链领域页(中英)、API 总表 API-23 行、rust-core-api.md、协议更新记录(commandInstallers 1 条目和首次出现表)。 本 PR 不新增或修改插件宿主方法(lithe/host/*)、宿主通知或 SDK 版本,所以没有“原计划编号 | 方法 | 用途”表;改动属于 API-23 的清单声明和 Core API 请求参数。桌面端实现下载、校验、解压和界面在 Lithe-IDEA 的后续 Draft PR。 验证 cargo test --workspace(rust/):19 组全部通过(含 lithe-core 876 项)。 cargo test -p lithe-plugin-manifest、lithe-core 的 declarative_plugins 定向测试通过。 cargo fmt --all --check、cargo clippy --workspace --all-targets -- -D warnings 通过。 node shared/plugins/scripts/verify-docs.mjs 通过;新 fixture 用 ajv 对 schema 校验通过。 用 CodeLLDB v1.12.3 五个平台的真实 vsix 核对了 SHA-256 和压缩包布局(extension/adapter/codelldb,zip 保留可执行位)。 没改插件后端协议,未运行 sdk-e2e.mjs。 范围检查 通用的声明校验、平台选择和计划在 Core,下载、校验、解压由宿主做。 不依赖具体插件,fixture 用示例插件。 没有新增宿主方法、SDK、日志旁路或运行时资源写入。 Draft 提交,不触发合并。

Open Graph Description: 关联 Issue 无独立 Issue。用于 Rust Support 插件(API-23)按需下载 CodeLLDB:调试器不打进插件包,第一次调试缺命令时由宿主提示安装,体验与 Go 插件安装 dlv 一致。 类型 feat:commandInstallers 能力版本 1,新增固定 URL 归档下载安装 改动说明 清单与校验(plugin-manifest) 新增 archive...

X Description: 关联 Issue 无独立 Issue。用于 Rust Support 插件(API-23)按需下载 CodeLLDB:调试器不打进插件包,第一次调试缺命令时由宿主提示安装,体验与 Go 插件安装 dlv 一致。 类型 feat:commandInstallers 能力版本 1,新增固定 URL 归档下载安装 改动说明 清单与校验(plugin-manifest) 新增 archive...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:8e47d86a-2c7d-0aea-92d3-5ef12dd1d42a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC25A:27372C:1A5846C:2536957:6B07251B
html-safe-nonceaa69d1565f71ecbab149635eb9ab71642001ba93ad3ee82f8343e45e2cd22ea6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjVBOjI3MzcyQzoxQTU4NDZDOjI1MzY5NTc6NkIwNzI1MUIiLCJ2aXNpdG9yX2lkIjoiODYxMDQyMTA4MDk5MTQwOTQzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacabee0cd8deb66d87ecf883a177c3e926e0cc42a37a3e3eb1e706a150e8225a4b
hovercard-subject-tagpull_request:5414233657
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/133/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 插件(API-23)按需下载 CodeLLDB:调试器不打进插件包,第一次调试缺命令时由宿主提示安装,体验与 Go 插件安装 dlv 一致。 类型 feat:commandInstallers 能力版本 1,新增固定 URL 归档下载安装 改动说明 清单与校验(plugin-manifest) 新增 archive...
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/133/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%2F133%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%2F133%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/133/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/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
feat/command-installer-archiveshttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/feat/command-installer-archives
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133
Commits 1 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/commits
Checks 14 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
feat(plugins): 命令安装器支持固定 URL 归档下载(commandInstallers 1) https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#top
Show all changes 1 commit https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
f9af83e feat(plugins): 命令安装器支持固定 URL 归档下载(commandInstallers 1) xiaoyumuxi Nov 20, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/commits/f9af83e6a827fb87464b9e7228c187fe516982b6
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
rust-core-api.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
declarative_plugins.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
archives.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-848d028d780b9a160a252db249c2838cf9a384019f3caedb0bafe1fddaaf7383
command_installers.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-ac96b81f0cbf685687a1736bd5ca9803e7a77a4e8b1135d0d7b30fddb1593e35
lib.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-72b01d42bf8cf2139f86eaab44a9bc7b295de8a7562128b90823751c94ead45f
managed_runtimes.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-0339ec01a0b722ce881e1136cec72b9e9e9c0c52356a3a5a58c2195114407d7b
capabilities.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-277e34f97484d8251ac066cabd2eb14b999925e99fcf32e65ec25e7bfce781db
README.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
command-installer-download.plugin.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-21fc0e24a4156686b184924910f83402b48c575751252aede964df85854b5c04
command-installer-plans.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-207a8f7ed720b4050054dc0239c711549456c431bed8172b0d184d0987f36172
invalid-manifests.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-9f4797408c1d68cdf48888d4a7b2c0aeea0127439a48bf69b1196bcf2ec6502b
plugin-manifest.schema.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-df3469fd8eb5deb0238aba2ecc45d3c9bdc19cbc23a0c2e624202abda0578af2
api-catalog.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-3e62af5b87d566d03b3453576a99bf7544f0f2667c7bbec5322829126b407716
capabilities-and-versions.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-85bb167f1b9c08d114ddbaebe7c92e1100bb8678de9f725ee8e91c902c3d41a0
toolchains.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-1da9e81803f47812f9a92ac701eb8472f11b5e893f9f9361698304ccead28ec2
protocol-changelog.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
rust/contracts/rust-core-api.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/f9af83e6a827fb87464b9e7228c187fe516982b6/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/133/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
rust/crates/core/src/tests/declarative_plugins.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/f9af83e6a827fb87464b9e7228c187fe516982b6/rust/crates/core/src/tests/declarative_plugins.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-39e0246acac815aef61d5c820b0373ba4bdfc78123d932b204026f23527fad1e
rust/crates/plugin-manifest/src/archives.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files#diff-848d028d780b9a160a252db249c2838cf9a384019f3caedb0bafe1fddaaf7383
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/f9af83e6a827fb87464b9e7228c187fe516982b6/rust/crates/plugin-manifest/src/archives.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/{{ revealButtonHref }}
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/133/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.