feat(skills): inspector sync + endpoints for Shared Project Skills V1#2248
Draft
ignaciojimenezr wants to merge 1 commit into
Draft
feat(skills): inspector sync + endpoints for Shared Project Skills V1#2248ignaciojimenezr wants to merge 1 commit into
ignaciojimenezr wants to merge 1 commit into
Conversation
Inspector half of Shared Project Skills V1. Local/private skills under ~/.mcpjam/skills and friends keep their disk-native behavior. When the caller supplies a projectId, the loader also reads from a managed cache directory at ~/.mcpjam/projects/<projectId>/skills/ that mirrors active rows from the projectSkills Convex table. - Adds a sync service that materializes Convex rows into the cache dir, removes stale entries, and exposes a helper for reading a local skill bundle into the shape the publish/update mutations expect. - Extends getSkillsDirs() in both the REST route and the AI SDK tool loader to insert the shared cache between global personal skills and project-local skills, preserving first-match-wins precedence. - Threads an optional projectId through /list, /get, /files, and /read-file so cached shared skills participate in the existing flows. - Adds /list-project, /sync-project, /publish-to-project, /update-published, and /archive-published endpoints that proxy to Convex. Publish surfaces the structured nameCollision error so the UI can offer a rename-and-publish path. - Mirrors the new endpoints in the client API module. UI (popover split, publish-to-project toggle, owner-aware actions) and inspector tests land in follow-up commits on the same branch. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
Internal previewPreview URL: https://mcp-inspector-pr-2248.up.railway.app |
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.
UI (popover split, publish toggle, per-row actions) and inspector tests land in follow-up commits on this branch. Backend half: mcpjam-backend#326.