feat: 完善用户脚本热重载与启动自查 - #1730
Open
130040167 wants to merge 2 commits into
Open
Conversation
130040167
force-pushed
the
codex/user-script-reload-v2
branch
from
July 31, 2026 16:04
cd1a5b1 to
2dc9368
Compare
130040167
force-pushed
the
codex/user-script-reload-v2
branch
from
July 31, 2026 17:15
2dc9368 to
1092422
Compare
130040167
force-pushed
the
codex/user-script-reload-v2
branch
from
July 31, 2026 17:26
1092422 to
71ee237
Compare
Owner
|
维护者审查:当前“热重载/清理”契约不完整,会让现有脚本重复执行并遗留副作用,暂不建议直接合并。
但现有 loader 的 这与 PR 描述中的“禁用或删除脚本后可以清理旧状态”不一致,也会使手动“热重载”按钮在多数现有脚本上产生重复 UI/重复请求。 建议先定义可执行的生命周期契约,例如 registry 为每个脚本保存可选 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
更新内容
启动自查策略
验证
cargo fmt --checkcargo test -p codex-plus-core --test bridge_routescargo test -p codex-plus-core --test cdp_bridgecargo test -p codex-plus-manager --test windows_subsystemcargo test -p codex-plus-launcher --no-runnpm run checknpm testnpm run vite:build本地实际启动验证中,启动自查在第 1 次检查通过,bridge 与 helper 状态正常。