Repository navigation
feat(mcp): native harness formats, scoped install, and PalamHealth leak guards - #2
Merged
Merged
Conversation
…cope Codex now writes [mcp_servers] TOML and OpenCode writes opencode.json mcp entries, merging into existing user files instead of inventing fake JSON paths. Servers can be user- or project-layered with whenPathContains so PalamHealth MCPs stay in PalamHealth repos. `ai-mcp audit` flags interactive op-run-palamhealth and misnamed PalamHealth Linear.
Add Grok/ZCode skills, agents, rules, and Grok hooks. Round-trip MCP generate/install/import on real temp dirs. Detect ZCode from its user config when the binary name is missing. Isolate rules CLI tests from the repo ai-rules.config.ts. Gate npm audit on production deps so check is not blocked by nested npm/dev CVEs.
MCP sync/install/generate now take servers only from mcp.config.ts (layer + whenPathContains) and refuse empty writes. Unified `ai-tools sync` is disabled. Cursor/Claude emit HTTP type, Claude user MCP is ~/.claude.json, ZCode writes mcp.servers, and skills use SKILL.md. Grok and ZCode hooks run HookEngine instead of a no-op. Add MIT LICENSE and drop unused UI/session code.
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.
Why
User-global MCP configs were leaking PalamHealth / interactive 1Password into every harness because
ai-mcp syncunion-copied imported servers, and adapters wrote files hosts do not actually load.What
mcpmergelayer+whenPathContainsso PalamHealth stays project-localai-mcp auditfor user-global PalamHealth /op-run-palamhealthleakssync/install/generateinstall only frommcp.config.tsand refuse empty writes; unifiedai-tools syncis disabledtypehttp/sse, Claude user~/.claude.json, ZCodemcp.servers, skillsSKILL.md, Cursor.mdc, OpenCodeagent/process.exit(0))Release
Conventional
featcommits. semantic-release on merge tomastershould publish@itz4blitz/ai-tools@1.2.0(currently 1.1.10).Verify
npm run checkpassed locally: 181 test files, coverage 89.27 / 80.03 / 88.21 / 90.25, smoke passed.