Skip to content

feat(opencode): Support nested project config#139

Merged
gricha merged 1 commit into
mainfrom
gricha/feat/opencode-nested-config
Jul 17, 2026
Merged

feat(opencode): Support nested project config#139
gricha merged 1 commit into
mainfrom
gricha/feat/opencode-nested-config

Conversation

@gricha

@gricha gricha commented Jul 17, 2026

Copy link
Copy Markdown
Member

Create new OpenCode MCP configuration at .opencode/opencode.jsonc instead of adding another file to the repository root.

Existing projects remain compatible: dotagents reuses an existing .opencode/opencode.json, root opencode.jsonc, or root opencode.json before creating the new default. JSONC reconciliation updates only declared MCP entries so comments, trailing commas, unrelated settings, and user-owned servers remain intact.

This also updates the public documentation and agent QA fixtures to describe and verify the new path behavior.

Fixes #114

Create new OpenCode MCP config in .opencode/opencode.jsonc while reusing existing nested or root config files.

Preserve JSONC comments and trailing commas during MCP reconciliation.

Fixes #114
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dotagents Ready Ready Preview Jul 17, 2026 5:44am

Request Review

@gricha
gricha marked this pull request as ready for review July 17, 2026 05:48
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Jul 17, 2026
@gricha
gricha merged commit b27fbf2 into main Jul 17, 2026
21 checks passed
@gricha
gricha deleted the gricha/feat/opencode-nested-config branch July 17, 2026 05:59
@ofek

ofek commented Jul 17, 2026

Copy link
Copy Markdown

Thanks for removing an unnecessary root file! When might this be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow storing opencode.jsonc in .opencode folder, rather than in root

2 participants