Conversation
This was referenced Sep 22, 2026
ChenM0M
added a commit
that referenced
this pull request
Sep 23, 2026
…dation Integrates PRs #6-#32 (Agent configuration reliability, contract and model modality work) as one reviewable candidate, including the stacked-branch CI trigger fix and cross-platform test hardening. - JSONC comments and unmanaged fields preserved when editing managed fields; failed discovery keeps the file and a structured error - XDG_CONFIG_HOME / OPENCODE_CONFIG / OPENCODE_CONFIG_DIR discovery with absolute-path validation and WSL environment inspection - Empty OpenCode config initialization; the selected config is bound to the launch environment - Draft save/discard/cancel guards on context switches; save before launch and before setting defaults - Model defaults keep provider identity; disabled models retained and controlled through native filters - Undeclared reasoning/tool/modality capabilities stay unknown; modalities, token limits, variant JSON and thinking parameters are editable - Effective config preview shows managed values and unknown sources and excludes credentials - Windows launcher keeps native argv boundaries and reports real launch results; interactive agents get a visible console while background probes stay silent - build.yml runs the full gates for PRs on dependent branches; MCP cold-start budget is separated from warm latency Verification: three-platform CI green at 8841ad8 (run 35838494343); local production build, agent-profile behavior checks, 828 contract assertions, three-locale parity, release metadata, Rust formatting and workspace tests passed. Not a release: Windows host/WSL native acceptance (A07/E07/F07-F10/G05) still requires the target environment against the Release artifact/hash.
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.
OpenCode 按 JSONC 读取
.json配置,但 VibeHub 的通用存储层按扩展名使用严格 JSON,导致含注释或尾随逗号的合法配置在发现/读取阶段失败。本 PR 为存储层增加显式解析格式接口,并让 OpenCode 读取、保存、备份恢复和凭据读取统一使用 JSONC。其他 Agent 的 JSON 规则保持原状,路径校验、并发修订校验和备份逻辑继续执行。
验证:
CONFIG_JSON_INVALID,修改后通过。待验证:Tauri 集成及 Windows 原生端到端。此修复确认的是解析问题,尚不能证明用户 Windows 报错的所有原因均已解决。
范围:已确认清单 A01,独立基于 main。A02(注释位于尾随逗号之后)另一个 PR。
提交身份:用户已在本次受信对话批准本批 PR 使用 GitHub 连接器默认提交身份,作为 AGENTS.md 固定 author/committer 要求的例外。上传后的 tree SHA 与已验证本地提交一致。