@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
@@ -10,7 +10,7 @@ var _searchAtlaskitComponentsInputSchema = require("./search-atlaskit-components
10
10
 
11
11
  var listSearchAtlaskitComponentsTool = exports.listSearchAtlaskitComponentsTool = {
12
12
  name: 'atlaskit_search_components',
13
- 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.",
13
+ 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.",
14
14
  annotations: {
15
15
  title: 'Search Atlaskit components',
16
16
  readOnlyHint: true,
@@ -17,6 +17,7 @@ var buildComponentResult = function buildComponentResult(result) {
17
17
  return {
18
18
  name: result.name,
19
19
  package: result.package,
20
+ description: result.description,
20
21
  examples: result.examples,
21
22
  props: result.props,
22
23
  designSource: result.designSource
@@ -10,7 +10,7 @@ var _searchComponentsInputSchema = require("./search-components-input-schema");
10
10
 
11
11
  var listSearchComponentsTool = exports.listSearchComponentsTool = {
12
12
  name: 'ads_search_components',
13
- 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.",
13
+ 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.",
14
14
  annotations: {
15
15
  title: 'Search ADS components',
16
16
  readOnlyHint: true,
@@ -94,7 +94,7 @@ var searchComponentsTool = exports.searchComponentsTool = /*#__PURE__*/function
94
94
  return _context.abrupt("return", {
95
95
  content: [{
96
96
  type: 'text',
97
- 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) {
97
+ 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) {
98
98
  return c.name;
99
99
  }).join(', '))
100
100
  }]