@atlaskit/ads-mcp 1.13.2 → 2.0.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 +9 -0
- package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
- package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
- package/dist/cjs/tools/plan/list-plan-tool.js +1 -1
- package/dist/cjs/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -1
- package/dist/cjs/tools/search-components/list-search-components-tool.js +1 -1
- package/dist/cjs/tools/search-components/search-components-tool.js +1 -1
- package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
- package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
- package/dist/es2019/tools/plan/list-plan-tool.js +1 -1
- package/dist/es2019/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -1
- package/dist/es2019/tools/search-components/list-search-components-tool.js +1 -1
- package/dist/es2019/tools/search-components/search-components-tool.js +1 -1
- package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
- package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
- package/dist/esm/tools/plan/list-plan-tool.js +1 -1
- package/dist/esm/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -1
- package/dist/esm/tools/search-components/list-search-components-tool.js +1 -1
- package/dist/esm/tools/search-components/search-components-tool.js +1 -1
- package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
- package/dist/types/tools/get-all-components/types.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
|
|
|
4
4
|
import { planInputSchema } from './plan-input-schema';
|
|
5
5
|
export const listPlanTool = {
|
|
6
6
|
name: 'ads_plan',
|
|
7
|
-
description: `Runs **ads_search_tokens**, **ads_search_icons**, **ads_search_components**, and optionally **atlaskit_search_components** in one call and returns a single JSON payload (each section only if that list was non-empty). Use this as the default way to discover ADS **tokens**, **icons**, and **components** for a UI task. Component results preserve optional \`
|
|
7
|
+
description: `Runs **ads_search_tokens**, **ads_search_icons**, **ads_search_components**, and optionally **atlaskit_search_components** in one call and returns a single JSON payload (each section only if that list was non-empty). Use this as the default way to discover ADS **tokens**, **icons**, and **components** for a UI task. Component results preserve optional \`references.figmaUrl\`; for Figma work, follow the canonical-source and property-verification guidance in \`ads_search_components\`.
|
|
8
8
|
|
|
9
9
|
WHEN TO USE:
|
|
10
10
|
**Implementing or iterating on a UI**—new screen, feature, or polish—and you need candidate **token** names, **icon** imports, and **ADS component** packages/props in one pass. Also use when exploring ADS building blocks before you write code.
|
|
@@ -10,7 +10,7 @@ const buildComponentResult = result => {
|
|
|
10
10
|
description: result.description,
|
|
11
11
|
examples: result.examples,
|
|
12
12
|
props: result.props,
|
|
13
|
-
|
|
13
|
+
references: result.references
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export const searchAtlaskitComponentsTool = async ({
|
|
@@ -4,7 +4,7 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
|
|
|
4
4
|
import { searchComponentsInputSchema } from './search-components-input-schema';
|
|
5
5
|
export const listSearchComponentsTool = {
|
|
6
6
|
name: 'ads_search_components',
|
|
7
|
-
description: `Searches the bundled Atlassian Design System (ADS) component catalog. Returns JSON objects with **name**, **package**, **examples**, **props**, and optional **
|
|
7
|
+
description: `Searches the bundled Atlassian Design System (ADS) component catalog. Returns JSON objects with **name**, **package**, **examples**, **props**, and optional **references.figmaUrl** for each match (trimmed payload). When \`references.figmaUrl\` is present, inspect the canonical Figma source before building or implementing the component. Reuse library instances/variables, verify Figma properties against code props, and report unresolved mappings or access; do not infer a missing source.
|
|
8
8
|
|
|
9
9
|
WHEN TO USE:
|
|
10
10
|
**Selecting which canonical ADS component to use**—package name, examples, and props—before implementation. Use when composing a new view or swapping a primitive. Prefer \`ads_plan\` when you also need token and icon discovery in one shot.
|