René's URL Explorer Experiment


Title: feat(run-config): 运行配置的启动前步骤 by 1lck · Pull Request #88 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: feat(run-config): 运行配置的启动前步骤 by 1lck · Pull Request #88 · Lithe-IDEA/Lithe-core-rust

X Title: feat(run-config): 运行配置的启动前步骤 by 1lck · Pull Request #88 · Lithe-IDEA/Lithe-core-rust

Description: 关联 Issue Refs 1lck/Lithe-IDEA#1616(运行配置的启动前步骤) 宿主 PR:随后在 1lck/Lithe-IDEA 固定到本 PR 合入后的 main 类型 feat:运行配置新增 beforeLaunch,新增宿主命令 runConfig.beforeLaunch 改动 对应 IntelliJ IDEA 的 “Before launch: Run Another Configuration”。展开、校验和确认指纹都放在 Core,各宿主行为一致,宿主只按顺序启动进程。 rust/crates/execution/src/configuration/before_launch.rs(新增) RunConfiguration.beforeLaunch: [{configuration: }]:最多 16 项,非空、≤256 字节、不能引用自己(validate_shape,由 validate_configuration 调用)。 一层写了 beforeLaunch 就整体替换下层的列表;local.yaml 写空列表可以隐藏项目文件里的步骤。 runConfig.beforeLaunch {root, configurationId, localDocument?}:展开嵌套步骤(被引用配置自己的步骤先运行),展开后最多 32 步;返回 {status:"ok", steps:[{configurationId,name,summary}], confirmation} 或 {status:"rejected", refusal:{code, configurationId}},原因码 notFound / notAllowed(不是内置进程运行)/ unavailable / cycle / tooLong。 展开时只要用到项目文件写的列表,confirmation 就给出 fingerprint:对用到的列表和这些步骤启动的命令定义求 sha256。宿主按指纹记住用户的确认,列表或命令一改就重新询问;只用到 local.yaml 的列表时为 null。 check_edit:保存时用同一套规则检查,成环报 conflict。 form.rs:editorForm 在最后加字段 beforeLaunch(类型 beforeLaunch,candidates:[{id,name}] 是除自己以外可用的内置进程运行);saveConfiguration 读写 values.beforeLaunch,错误码 notFound / notAllowed / unavailable / conflict / tooLong。 editing.rs / requests.rs:runConfig.updateOptions 接受可选的 beforeLaunch: [ids];本地层写空列表时,若项目层有步骤就写 beforeLaunch: [] 覆盖,否则删除该键。 document.rs:RunConfiguration.before_launch(为空时不序列化),provider_runs.rs 跟进。 协议:command.rs 解析 runConfig.beforeLaunch,dispatcher/run_config.rs 分发。 契约:run-configuration-v2.schema.json 增加 beforeLaunch;rust-core-api.md 命令表加一行,并新增 “Steps before launch” 一节。 没有改插件契约、能力版本或插件函数协议,插件无需改动。旧宿主不调用 runConfig.beforeLaunch,会忽略配置里的 beforeLaunch。 验证 cargo test -p lithe-core before_launch(core/src/tests/before_launch_steps.rs 3 个测试:嵌套展开与确认指纹、拒绝原因、编辑校验与本地层清空) cargo test -p lithe-core run_configuration(编辑器字段列表加 beforeLaunch) cargo test --workspace cargo clippy --workspace --all-targets -- -D warnings cargo fmt --check 宿主用本分支构建的 Core 跑通 runconfig_before_launch_test.go(真实 Core + 系统 shell)。 🤖 Generated with Claude Code

Open Graph Description: 关联 Issue Refs 1lck/Lithe-IDEA#1616(运行配置的启动前步骤) 宿主 PR:随后在 1lck/Lithe-IDEA 固定到本 PR 合入后的 main 类型 feat:运行配置新增 beforeLaunch,新增宿主命令 runConfig.beforeLaunch 改动 对应 IntelliJ IDEA 的 “Before launch: Run Anot...

X Description: 关联 Issue Refs 1lck/Lithe-IDEA#1616(运行配置的启动前步骤) 宿主 PR:随后在 1lck/Lithe-IDEA 固定到本 PR 合入后的 main 类型 feat:运行配置新增 beforeLaunch,新增宿主命令 runConfig.beforeLaunch 改动 对应 IntelliJ IDEA 的 “Before launch: Run Anot...

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

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:b50c9bcf-9486-ea48-1d62-fd20e59956cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F46:1FD067:469F9C:5FF948:6B076A0C
html-safe-nonceaee983e4a06c4a358446448d6b7d9a4a7c5ae54bd39dcffb0f8b99ebf50cd0df
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjQ2OjFGRDA2Nzo0NjlGOUM6NUZGOTQ4OjZCMDc2QTBDIiwidmlzaXRvcl9pZCI6IjkyMTA2OTI2OTgxOTIxNzc2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7701a51f7206f583455082a240652c76f24a818219d5e0b6c5d3a6f57ead8bec
hovercard-subject-tagpull_request:5368834565
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/88/files
twitter:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
og:image:alt关联 Issue Refs 1lck/Lithe-IDEA#1616(运行配置的启动前步骤) 宿主 PR:随后在 1lck/Lithe-IDEA 固定到本 PR 合入后的 main 类型 feat:运行配置新增 beforeLaunch,新增宿主命令 runConfig.beforeLaunch 改动 对应 IntelliJ IDEA 的 “Before launch: Run Anot...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None59b8f5d72ef6b72449d99daafd74abe56273d30f4491cc421870d3c1bcc07535
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
release2d876643548d19018f1accd48f914fec9bce9184
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/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%2F88%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%2F88%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/88/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/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
1lckhttps://github.com/1lck
mainhttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/main
feat/before-launch-stepshttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/feat/before-launch-steps
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88
Commits 1 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/commits
Checks 14 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
feat(run-config): 运行配置的启动前步骤 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#top
Show all changes 1 commit https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
11d1b72 feat(run-config): 运行配置的启动前步骤 1lck Nov 18, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/commits/11d1b72b6014c77b82e90ac20bb8f7ca3125281b
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
run-configuration-v2.schema.json https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-b3531b2b51ef66ad82cfd7af97d8759eed0c50f152dab026afa713aeaee21393
rust-core-api.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
command.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
run_config.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-9e1cbbfe2c17285f1cfc3b1db59556e846887539aeb76dd5a809365ea17760f3
before_launch_steps.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-3d65726bb70e2f1e1fc1b245de4ee99d4d3ad150c36b4edba8abeaa9024068b8
mod.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-9a6dd90ca9c60447f8aae59dc77df283cbf6504dff742660ef33b1a614f8ba53
run_configuration.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-f62754743073e5e5cc5b4ebe90d203c9631bc2db0ec892dc6de3fd84825c1511
configuration.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-29fdddfb4fcecbbe5a8d52c4e5e73d208c859471e306b3c68122488766245d20
before_launch.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-cb3b38f3d37d8b65341e3db006c93a676ae9ee44f02ab4c427d0d452950a988a
document.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-b96e727a0d817dde70eb35799eb4a547e6c19fce94340c8dbf34ee3793fb6fdb
editing.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-62932c8c67d7082842683d809fa8acadbcd49306ca3d1fde8936c8d9b888cf76
form.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-3f8c3a9860a2229727e1f7720ba8b77cf2428b04965c1b661cfffe22a5ad3025
requests.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-3781d7f9a865147cab65557fc9d1c1c69caab230ba2df763ac533c6d758e4c9b
validation.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-3c0a5b100d86920e9c7383b5a7c2b6fee0571e7b735406cd14da317afa5233f6
provider_runs.rs https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-eb08052fa1085fc4cef0a8a568d03c933f5b727323058790699b934e79d754eb
rust/contracts/run-configuration-v2.schema.jsonhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-b3531b2b51ef66ad82cfd7af97d8759eed0c50f152dab026afa713aeaee21393
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/11d1b72b6014c77b82e90ac20bb8f7ca3125281b/rust/contracts/run-configuration-v2.schema.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-b3531b2b51ef66ad82cfd7af97d8759eed0c50f152dab026afa713aeaee21393
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-b3531b2b51ef66ad82cfd7af97d8759eed0c50f152dab026afa713aeaee21393
rust/contracts/rust-core-api.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/11d1b72b6014c77b82e90ac20bb8f7ca3125281b/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/88/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-44fcab3ab252e95877546efaf4b5ae08e0ddf5a21a21873b2c07a66251e5ecf8
rust/crates/core/src/protocol/command.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/11d1b72b6014c77b82e90ac20bb8f7ca3125281b/rust/crates/core/src/protocol/command.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-533ca7afe491fe1e34d24ccc48aea145e2bbd60a26f92a90f4e412a2a0a3f88f
rust/crates/core/src/runtime/dispatcher/run_config.rshttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-9e1cbbfe2c17285f1cfc3b1db59556e846887539aeb76dd5a809365ea17760f3
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/11d1b72b6014c77b82e90ac20bb8f7ca3125281b/rust/crates/core/src/runtime/dispatcher/run_config.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-9e1cbbfe2c17285f1cfc3b1db59556e846887539aeb76dd5a809365ea17760f3
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files#diff-9e1cbbfe2c17285f1cfc3b1db59556e846887539aeb76dd5a809365ea17760f3
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/88/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.