feat: update mentions of MCP to AI and CLI#1773
Merged
Merged
Conversation
Update the placeholder comment generated when creating a new slice to suggest using your own AI agent with the Prismic CLI instead of the Prismic MCP server, and link to the corresponding docs section. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Update the sidebar navigation link, the slice builder promo button, and the corresponding Playwright test to link to the Prismic AI docs landing page instead of the now-removed `code-with-prismics-mcp-server` anchor. Co-authored-by: Cursor <cursoragent@cursor.com>
xrutayisire
requested changes
May 14, 2026
Update the sidebar navigation item, slice builder promo button, and the Playwright locator/test that exercises the sidebar link to use the new "Prismic with AI" wording. The sidebar tooltip is also rephrased to mention the CLI alongside AI usage. Internal identifiers (component name, telemetry event name, locator variable) are left unchanged on purpose to preserve analytics continuity. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 22f05f5. Configure here.
xrutayisire
approved these changes
May 14, 2026
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.

Summary
adapter-sveltekitupdated to match.McpPromoLink→AIPromoLink) and update its import sites.mcp:promo-link-clicked→ai:promo-link-clicked, human name "MCP Promo Link Clicked" → "AI Promo Link Clicked", typeMcpPromoLinkClicked→AiPromoLinkClicked, and the sidebarlink_name: "prismic_mcp"→"prismic_ai".Preview
Security fix:
defuprototype-pollution vulnerability (GHSA-737v-mqg7-c878)Problem
The
@slicemachine/plugin-kitCIauditstep (yarn npm audit --environment production --severity high) was failing with:Root cause
Yarn 3.6.0's
npm auditimplementation (legacy v1 API) sends all resolved package versions in the entire monorepo to the npm registry's bulk advisory endpoint — not just the workspace's own dependency tree. This means even thoughplugin-kititself resolveddefu@^6.1.5 → 6.1.7, the audit still flaggeddefu@6.1.4(resolved viah3,c12,rc9, etc. in sibling workspaces like@slicemachine/manager).Fix
defuinpackages/plugin-kit/package.jsonfrom^6.1.2to^6.1.5"defu": "^6.1.5"to the rootpackage.jsonresolutionsfield — this forces all defu ranges across the entire monorepo to resolve to6.1.7(patched)Compatibility checks
The resolution override affects consumers that previously required
defu@^5.0.0(→ 5.0.1) anddefu@^6.x(→ 6.1.2 / 6.1.4). We verified the following:@slicemachine/plugin-kit(direct)import { defu } from "defu"(ESM named import)@nuxt/loading-screen@2.0.4(transitive via nuxt@2.16.3)const defu = require('defu')(CJS default)lib/defu.cjs) setsmodule.exports = defufor backwards compath3,c12,rc9,nitropack,@nuxt/kit,@nuxt/schemaetc.import { defu } from "defu")vite-plugin-sdk@0.1.1giget@1.1.2The 6.1.5 release contains only the prototype-pollution fix (unjs/defu#156) and "ignore inherited enumerable properties" — no breaking changes. Versions 6.1.6/6.1.7 add a types export fix and mixed-types build fix respectively.
Made with Cursor