Skip to content

fix(kits): count OpenCode MCP servers from the resolved config file - #168

Merged
RealZST merged 1 commit into
mainfrom
fix/kit-summary-opencode-jsonc
Oct 28, 2026
Merged

RealZST merged 1 commit into
mainfrom
fix/kit-summary-opencode-jsonc

Conversation

@RealZST

@RealZST RealZST commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Follow-up to #167. The Kits project card counted MCP servers by joining project_mcp_config_relpath(), which is always opencode.json for OpenCode, so projects that only have opencode.jsonc showed zero servers. Resolve the file through mcp_config_path_for() like the scanner and Kit sync do.

Also drops a stale "early-return path" note in the dsh conflict test; that early return was removed in #167.

Testing

  • New regression test opencode_jsonc_only_project_counts_mcp_servers fails on main (0 ≠ 2) and passes here.
  • cargo test --workspace --locked — 799 passed
  • cargo clippy --workspace --locked — no new warnings

🤖 Generated with Claude Code

The Kits project card counted MCP servers by joining
project_mcp_config_relpath(), which is always opencode.json for OpenCode,
so projects that only have opencode.jsonc showed zero servers. Resolve
the file through mcp_config_path_for() like the scanner and Kit sync do.

Also drop a stale "early-return path" note in the dsh conflict test; the
early return was removed in #167.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@RealZST
RealZST merged commit 0df768f into main Oct 28, 2026
5 of 6 checks passed
@RealZST
RealZST deleted the fix/kit-summary-opencode-jsonc branch October 28, 2026 15:54
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.

1 participant