Conversation
Owner
Author
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.
对应 A07,基于 #11 的堆叠 PR。
此前 OpenCode 无论选择哪份配置,启动参数都为空,无法保证所选来源参与加载。现在由受信 discovery 解析的路径设置子进程 OPENCODE_CONFIG。Host 使用进程环境,WSL 使用 env 参数,macOS Terminal 使用逐项 shell 转义;不修改应用或系统环境。
统一启动路径转换,支持 wsl$ / wsl.localhost / extended UNC;保留 Linux 路径大小写,拒绝其他发行版路径。原有转换会把整个路径转小写。
验证:29 个命令/launcher Rust tests 通过,含真实 Linux 子进程收到环境、父进程环境不变、两个配置来源及 WSL 路径边界。完整 Tauri 与 Windows/macOS 端到端尚未验证,保留草稿。
OpenCode 会合并配置,OPENCODE_CONFIG 不是隔离模式,项目/内联等更高优先级来源仍可能覆盖;有效配置预览由 B09 后续处理。参考:https://opencode.ai/docs/config/#custom-path
2026-09-23 repair verification
25325ab15a10ed57bf9345cb8fb111342db8c9ad.