@atlaskit/ads-mcp 1.11.9 → 1.12.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
  3. package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
  4. package/dist/cjs/tools/get-atlaskit-components/list-get-atlaskit-components-tool.js +1 -1
  5. package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +55 -7
  6. package/dist/cjs/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +2 -2
  7. package/dist/cjs/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js +1 -1
  8. package/dist/cjs/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -0
  9. package/dist/cjs/tools/search-components/list-search-components-tool.js +1 -1
  10. package/dist/cjs/tools/search-components/search-components-tool.js +1 -1
  11. package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
  12. package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
  13. package/dist/es2019/tools/get-atlaskit-components/list-get-atlaskit-components-tool.js +4 -2
  14. package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +55 -7
  15. package/dist/es2019/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +2 -2
  16. package/dist/es2019/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js +2 -2
  17. package/dist/es2019/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -0
  18. package/dist/es2019/tools/search-components/list-search-components-tool.js +1 -1
  19. package/dist/es2019/tools/search-components/search-components-tool.js +1 -1
  20. package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
  21. package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +2 -2
  22. package/dist/esm/tools/get-atlaskit-components/list-get-atlaskit-components-tool.js +1 -1
  23. package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +55 -7
  24. package/dist/esm/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +2 -2
  25. package/dist/esm/tools/search-atlaskit-components/list-search-atlaskit-components-tool.js +1 -1
  26. package/dist/esm/tools/search-atlaskit-components/search-atlaskit-components-tool.js +1 -0
  27. package/dist/esm/tools/search-components/list-search-components-tool.js +1 -1
  28. package/dist/esm/tools/search-components/search-components-tool.js +1 -1
  29. package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
  30. package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
  31. package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +1 -1
  32. package/dist/types/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.d.ts +1 -1
  33. package/package.json +2 -2
@@ -4,7 +4,7 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
4
4
  import { searchAtlaskitComponentsInputSchema } from './search-atlaskit-components-input-schema';
5
5
  export var listSearchAtlaskitComponentsTool = {
6
6
  name: 'atlaskit_search_components',
7
- description: "Searches the bundled public `@atlaskit/*` component catalog outside the Atlassian Design System (ADS) component catalog. Returns JSON objects with **name**, **package**, **examples**, and **props** for each match (trimmed payload).\n\nWHEN TO USE:\nUse 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 public `@atlaskit/*` package that is not part of ADS. Prefer canonical ADS components first for standard UI.",
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).\n\nWHEN TO USE:\nUse 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.",
8
8
  annotations: {
9
9
  title: 'Search Atlaskit components',
10
10
  readOnlyHint: true,
@@ -10,6 +10,7 @@ var buildComponentResult = function buildComponentResult(result) {
10
10
  return {
11
11
  name: result.name,
12
12
  package: result.package,
13
+ description: result.description,
13
14
  examples: result.examples,
14
15
  props: result.props,
15
16
  designSource: result.designSource
@@ -4,7 +4,7 @@ import { zodToJsonSchema } from '../../helpers/zod-to-json-schema';
4
4
  import { searchComponentsInputSchema } from './search-components-input-schema';
5
5
  export var 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 **designSource.figmaUrl** for each match (trimmed payload). When `designSource.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.\n\nWHEN TO USE:\n**Selecting which canonical ADS component to use**\u2014package name, examples, and props\u2014before 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.\n\nIf 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.",
7
+ description: "Searches the bundled Atlassian Design System (ADS) component catalog. Returns JSON objects with **name**, **package**, **examples**, **props**, and optional **designSource.figmaUrl** for each match (trimmed payload). When `designSource.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.\n\nWHEN TO USE:\n**Selecting which canonical ADS component to use**\u2014package name, examples, and props\u2014before 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.\n\nIf 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.",
8
8
  annotations: {
9
9
  title: 'Search ADS components',
10
10
  readOnlyHint: true,
@@ -87,7 +87,7 @@ export var searchComponentsTool = /*#__PURE__*/function () {
87
87
  return _context.abrupt("return", {
88
88
  content: [{
89
89
  type: 'text',
90
- text: "Error: No ADS components found for '".concat(terms.join(', '), "'. If this is a public @atlaskit/* package outside the ADS catalog, call atlaskit_search_components with the same terms. Available ADS components: ").concat(components.map(function (c) {
90
+ text: "Error: No ADS components found for '".concat(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: ").concat(components.map(function (c) {
91
91
  return c.name;
92
92
  }).join(', '))
93
93
  }]
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content components from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::16ec4101443a261472c81553a5161eea>>
6
+ * @codegen <<SignedSource::2f43da3dc48f093c5f14e25a6cb60b31>>
7
7
  * @codegenCommand afm workspace @af/ads-ai-tooling codegen
8
8
  */
9
9
  import type { ComponentMcpPayload } from './types';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content components from *.docs.tsx files outside of design-system
5
5
  *
6
- * @codegen <<SignedSource::28fd3f445a7b0277441de3efe11f80ab>>
6
+ * @codegen <<SignedSource::895a03f3de86eda99e847d6c5fd1c498>>
7
7
  * @codegenCommand afm workspace @af/ads-ai-tooling codegen
8
8
  */
9
9
  import type { ComponentMcpPayload } from '../get-all-components/types';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content hooks from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::3a2fe9a9152f31ebddcf3fa6102ec30b>>
6
+ * @codegen <<SignedSource::569e2db73fed31893c8123b061d19745>>
7
7
  * @codegenCommand afm workspace @af/ads-ai-tooling codegen
8
8
  */
9
9
  import type { HookMcpPayload } from './types';
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content utilities from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::d900c06f9360952a9b2ed832828f7896>>
6
+ * @codegen <<SignedSource::a15adab022737be881e06c0695fe6bf7>>
7
7
  * @codegenCommand afm workspace @af/ads-ai-tooling codegen
8
8
  */
9
9
  import type { UtilityMcpPayload } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ads-mcp",
3
- "version": "1.11.9",
3
+ "version": "1.12.0",
4
4
  "description": "The official Atlassian Design System MCP server to develop apps and user interfaces matching the Atlassian style.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,7 +24,7 @@
24
24
  "@atlaskit/icon": "^38.0.0",
25
25
  "@atlaskit/icon-lab": "^7.11.0",
26
26
  "@atlaskit/platform-feature-flags": "^2.2.0",
27
- "@atlaskit/tokens": "^20.8.0",
27
+ "@atlaskit/tokens": "^20.9.0",
28
28
  "@axe-core/playwright": "^4.11.1",
29
29
  "@axe-core/puppeteer": "^4.11.1",
30
30
  "@babel/runtime": "^7.0.0",