@primer/mcp 0.3.2-rc.6f6ee73cf → 0.3.2-rc.77917b416

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { s as server } from './server-DRag4xtw.js';
1
+ export { s as server } from './server-CGPYmiEJ.js';
2
2
  import '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import 'cheerio';
4
4
  import 'zod';
@@ -420,7 +420,7 @@ function getDesignTokenSpecsText(groups) {
420
420
  * **Shorthand**: MUST use \`font: var(...)\`. NEVER split size/weight.
421
421
  * **Shorthand Fallback**: If no shorthand exists (e.g. Monospace), use individual tokens for font-size, family, and line-height. NEVER raw 1.5.
422
422
  * **States**: Define 5: Rest, Hover, Focus-visible, Active, Disabled.
423
- * **Focus**: \`:focus-visible\` MUST use \`outline: var(--focus-outline)\` AND \`outline-offset: var(--outline-focus-offset)\`.
423
+ * **Focus**: \`:focus-visible\` MUST use \`outline: var(--focus-outline)\` AND \`outline-offset: var(--focus-outline-offset, var(--outline-focus-offset))\`.
424
424
  * **Validation**: CALL \`lint_css\` after any CSS change. Task is incomplete without a success message.
425
425
  * **Self-Correction**: Adopt autofixes immediately. Report unfixable errors to the user.
426
426
 
@@ -491,7 +491,7 @@ function getTokenUsagePatternsText() {
491
491
 
492
492
  .btn-primary:focus-visible {
493
493
  outline: var(--focus-outline);
494
- outline-offset: var(--outline-focus-offset);
494
+ outline-offset: var(--focus-outline-offset, var(--outline-focus-offset));
495
495
  }
496
496
 
497
497
  .btn-primary:active {
package/dist/stdio.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
2
- import { s as server } from './server-DRag4xtw.js';
2
+ import { s as server } from './server-CGPYmiEJ.js';
3
3
  import '@modelcontextprotocol/sdk/server/mcp.js';
4
4
  import 'cheerio';
5
5
  import 'zod';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/mcp",
3
3
  "description": "An MCP server that connects AI tools to the Primer Design System",
4
- "version": "0.3.2-rc.6f6ee73cf",
4
+ "version": "0.3.2-rc.77917b416",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "mcp": "./bin/mcp.js"
package/src/primitives.ts CHANGED
@@ -437,7 +437,7 @@ function getDesignTokenSpecsText(groups: TokenGroups): string {
437
437
  * **Shorthand**: MUST use \`font: var(...)\`. NEVER split size/weight.
438
438
  * **Shorthand Fallback**: If no shorthand exists (e.g. Monospace), use individual tokens for font-size, family, and line-height. NEVER raw 1.5.
439
439
  * **States**: Define 5: Rest, Hover, Focus-visible, Active, Disabled.
440
- * **Focus**: \`:focus-visible\` MUST use \`outline: var(--focus-outline)\` AND \`outline-offset: var(--outline-focus-offset)\`.
440
+ * **Focus**: \`:focus-visible\` MUST use \`outline: var(--focus-outline)\` AND \`outline-offset: var(--focus-outline-offset, var(--outline-focus-offset))\`.
441
441
  * **Validation**: CALL \`lint_css\` after any CSS change. Task is incomplete without a success message.
442
442
  * **Self-Correction**: Adopt autofixes immediately. Report unfixable errors to the user.
443
443
 
@@ -508,7 +508,7 @@ function getTokenUsagePatternsText(): string {
508
508
 
509
509
  .btn-primary:focus-visible {
510
510
  outline: var(--focus-outline);
511
- outline-offset: var(--outline-focus-offset);
511
+ outline-offset: var(--focus-outline-offset, var(--outline-focus-offset));
512
512
  }
513
513
 
514
514
  .btn-primary:active {