Skip to content

fix: preserve OpenCode JSONC configuration - #45

Merged
mahype merged 2 commits into
mainfrom
codex/issue-44-opencode-jsonc
Sep 23, 2026
Merged

mahype merged 2 commits into
mainfrom
codex/issue-44-opencode-jsonc

Conversation

@mahype

@mahype mahype commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • accept OpenCode opencode.jsonc files with comments and trailing commas
  • preserve unrelated settings and MCP servers during connect, reconnect, and disconnect
  • keep malformed configurations fail-closed in both Swift and Rust control surfaces
  • bump the patch version to 0.10.3

Closes #44

Verification

  • cargo test
  • cargo build -p torromail-mcp
  • Swift TorroMailKitContract
  • full Swift app build
  • real local OpenCode JSONC detected as configured with a token hash

Read, update, and remove TorroMail's OpenCode entry without discarding comments, trailing commas, or unrelated settings. Keep malformed configs fail-closed across the Swift and Rust control surfaces.\n\nFixes #44
@mahype
mahype merged commit cabaf17 into main Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCode setup rejects valid commented opencode.jsonc

1 participant