@atlaskit/ads-mcp 1.11.10 → 1.12.1
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 +20 -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/get-atlaskit-components/list-get-atlaskit-components-tool.js +1 -1
- package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +49 -1
- package/dist/cjs/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +2 -2
- package/dist/cjs/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js +1 -1
- package/dist/cjs/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -0
- 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/get-atlaskit-components/list-get-atlaskit-components-tool.js +4 -2
- package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +49 -1
- package/dist/es2019/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +2 -2
- package/dist/es2019/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js +2 -2
- package/dist/es2019/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -0
- 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/get-atlaskit-components/list-get-atlaskit-components-tool.js +1 -1
- package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +49 -1
- package/dist/esm/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +2 -2
- package/dist/esm/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js +1 -1
- package/dist/esm/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -0
- 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-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.d.ts +1 -1
- package/package.json +2 -2
package/dist/es2019/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js
CHANGED
|
@@ -4,10 +4,10 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
|
|
|
4
4
|
import { searchAtlaskitComponentsInputSchema } from './search-atlaskit-components-input-schema';
|
|
5
5
|
export const listSearchAtlaskitComponentsTool = {
|
|
6
6
|
name: 'atlaskit_search_components',
|
|
7
|
-
description: `Searches the bundled public \`@atlaskit/*\`
|
|
7
|
+
description: `Searches the bundled non-ADS component catalog, including public \`@atlaskit/*\` packages and internal \`@atlassian/*\` Platform offerings, outside the Atlassian Design System (ADS) component catalog. Returns JSON objects with **name**, **package**, **description**, **examples**, and **props** for each match (trimmed payload).
|
|
8
8
|
|
|
9
9
|
WHEN TO USE:
|
|
10
|
-
Use this for fallback research when \`ads_search_components\` or \`ads_plan.components\` does not find a useful ADS component, or when the user asks about a specific
|
|
10
|
+
Use this for fallback research when \`ads_search_components\` or \`ads_plan.components\` does not find a useful ADS component, or when the user asks about a specific non-ADS \`@atlaskit/*\` or \`@atlassian/*\` package. Prefer canonical ADS components first for standard UI. Internal Atlassian packages are not available for use outside Atlassian.`,
|
|
11
11
|
annotations: {
|
|
12
12
|
title: 'Search Atlaskit components',
|
|
13
13
|
readOnlyHint: true,
|
|
@@ -9,7 +9,7 @@ export const listSearchComponentsTool = {
|
|
|
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.
|
|
11
11
|
|
|
12
|
-
If you are looking for a public \`@atlaskit/*\` scoped package that is not part of the ADS component catalog, use \`atlaskit_search_components\` for fallback research instead of this ADS-only search.`,
|
|
12
|
+
If you are looking for a public \`@atlaskit/*\` or internal \`@atlassian/*\` Platform scoped package that is not part of the ADS component catalog, use \`atlaskit_search_components\` for fallback research instead of this ADS-only search.`,
|
|
13
13
|
annotations: {
|
|
14
14
|
title: 'Search ADS components',
|
|
15
15
|
readOnlyHint: true,
|
|
@@ -73,7 +73,7 @@ export const searchComponentsTool = async ({
|
|
|
73
73
|
return {
|
|
74
74
|
content: [{
|
|
75
75
|
type: 'text',
|
|
76
|
-
text: `Error: No ADS components found for '${terms.join(', ')}'. If this is a public @atlaskit/* package outside the ADS catalog, call atlaskit_search_components with the same terms. Available ADS components: ${components.map(c => c.name).join(', ')}`
|
|
76
|
+
text: `Error: No ADS components found for '${terms.join(', ')}'. If this is a public @atlaskit/* package or internal @atlassian/* Platform offering outside the ADS catalog, call atlaskit_search_components with the same terms. Available ADS components: ${components.map(c => c.name).join(', ')}`
|
|
77
77
|
}]
|
|
78
78
|
};
|
|
79
79
|
}
|