@atlaskit/ads-mcp 1.10.11 → 1.11.0
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/CHANGELOG.md +22 -0
- package/dist/cjs/tools/get-all-tokens/get-all-tokens-tool.js +1 -0
- package/dist/cjs/tools/get-all-tokens/list-get-all-tokens-tool.js +1 -1
- package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
- package/dist/cjs/tools/search-tokens/list-search-tokens-tool.js +1 -1
- package/dist/cjs/tools/search-tokens/search-tokens-input-schema.js +1 -1
- package/dist/cjs/tools/search-tokens/search-tokens-tool.js +1 -0
- package/dist/es2019/tools/get-all-tokens/get-all-tokens-tool.js +1 -0
- package/dist/es2019/tools/get-all-tokens/list-get-all-tokens-tool.js +1 -1
- package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
- package/dist/es2019/tools/search-tokens/list-search-tokens-tool.js +1 -1
- package/dist/es2019/tools/search-tokens/search-tokens-input-schema.js +1 -1
- package/dist/es2019/tools/search-tokens/search-tokens-tool.js +1 -0
- package/dist/esm/tools/get-all-tokens/get-all-tokens-tool.js +1 -0
- package/dist/esm/tools/get-all-tokens/list-get-all-tokens-tool.js +1 -1
- package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
- package/dist/esm/tools/search-tokens/list-search-tokens-tool.js +1 -1
- package/dist/esm/tools/search-tokens/search-tokens-input-schema.js +1 -1
- package/dist/esm/tools/search-tokens/search-tokens-tool.js +1 -0
- package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
|
|
|
4
4
|
import { searchTokensInputSchema } from './search-tokens-input-schema';
|
|
5
5
|
export const listSearchTokensTool = {
|
|
6
6
|
name: 'ads_search_tokens',
|
|
7
|
-
description: `Searches Atlassian Design System **design tokens** from bundled metadata. Returns compact JSON objects with **name** and **exampleValue** for each match by default (search also considers description, usage guidelines, and CSS property hints in metadata). Set **includeMetadata** to include usage guidelines in each result.
|
|
7
|
+
description: `Searches Atlassian Design System **design tokens** from bundled metadata. Returns compact JSON objects with **name** and **exampleValue** for each match by default (search also considers description, usage guidelines, and CSS property hints in metadata). Set **includeMetadata** to include the canonical token description from the tokens package and shared usage guidelines in each result.
|
|
8
8
|
|
|
9
9
|
WHEN TO USE:
|
|
10
10
|
**Styling or theming in code**—you need the right \`token('…')\` names for colors, space, typography, etc. Use during layout and visual work when tokens must match ADS. Prefer \`ads_plan\` when you also need icons and components in the same step.
|
|
@@ -4,5 +4,5 @@ import { z } from 'zod';
|
|
|
4
4
|
export const searchTokensInputSchema = z.object({
|
|
5
5
|
terms: z.array(z.string()).describe('Required: one or more terms; fuzzy match on token **name**, **description**, **exampleValue**, **usageGuidelines.usage**, and **usageGuidelines.cssProperties**. Example: `["spacing", "color.text", "background"]`.'),
|
|
6
6
|
limit: z.number().default(2).describe('Max matches **per term** (default 2).').optional(),
|
|
7
|
-
includeMetadata: z.boolean().default(false).describe('Include usage guidelines in each result (default false).').optional()
|
|
7
|
+
includeMetadata: z.boolean().default(false).describe('Include the token description and usage guidelines in each result (default false).').optional()
|
|
8
8
|
});
|
|
@@ -5,7 +5,7 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
|
|
|
5
5
|
var inputSchema = z.object({});
|
|
6
6
|
export var listGetAllTokensTool = {
|
|
7
7
|
name: 'ads_get_all_tokens',
|
|
8
|
-
description: "Returns **every** ADS design token from bundled metadata (name, example value, usage guidelines)\u2014one JSON object per token, **very large** output.\n\nWHEN TO USE:\nLast resort when `ads_plan` / `ads_search_tokens` cannot answer the question and you need the full list (e.g. exhaustive audit). Prefer targeted search for normal development.\n\nNo parameters.",
|
|
8
|
+
description: "Returns **every** ADS design token from bundled metadata (name, canonical token description, example value, shared usage guidelines)\u2014one JSON object per token, **very large** output.\n\nWHEN TO USE:\nLast resort when `ads_plan` / `ads_search_tokens` cannot answer the question and you need the full list (e.g. exhaustive audit). Prefer targeted search for normal development.\n\nNo parameters.",
|
|
9
9
|
annotations: {
|
|
10
10
|
title: 'Get all ADS tokens',
|
|
11
11
|
readOnlyHint: true,
|