@atlaskit/ads-mcp 0.21.0 → 1.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.
Files changed (162) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/a11y-fixes/package.json +1 -8
  3. package/a11y-guidelines/package.json +1 -8
  4. package/dist/cjs/index.js +23 -23
  5. package/dist/cjs/tools/analyze-a11y/analyze-a11y-tool.js +10 -10
  6. package/dist/cjs/tools/analyze-a11y/analyze-localhost-a11y-tool.js +28 -28
  7. package/dist/cjs/tools/get-a11y-guidelines/get-a11y-guidelines-tool.js +4 -4
  8. package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
  9. package/dist/cjs/tools/get-all-components/get-all-components-tool.js +1 -1
  10. package/dist/cjs/tools/get-all-icons/get-all-icons-tool.js +1 -1
  11. package/dist/cjs/tools/get-all-tokens/get-all-tokens-tool.js +1 -1
  12. package/dist/cjs/tools/get-atlaskit-components/get-atlaskit-components-tool.js +2 -2
  13. package/dist/cjs/tools/get-guidelines/get-guidelines-tool.js +4 -4
  14. package/dist/cjs/tools/get-lint-rules/get-lint-rules-tool.js +6 -6
  15. package/dist/cjs/tools/i18n-conversion/i18n-conversion-tool.js +1 -1
  16. package/dist/cjs/tools/migration-guides/migration-guides-tool.js +4 -4
  17. package/dist/cjs/tools/plan/plan-tool.js +6 -6
  18. package/dist/cjs/tools/search-atlaskit-components/search-atlaskit-components-tool.js +6 -6
  19. package/dist/cjs/tools/search-components/search-components-tool.js +6 -6
  20. package/dist/cjs/tools/search-icons/search-icons-tool.js +6 -6
  21. package/dist/cjs/tools/search-tokens/search-tokens-tool.js +6 -6
  22. package/dist/cjs/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.js +4 -4
  23. package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
  24. package/dist/esm/index.js +23 -23
  25. package/dist/esm/tools/analyze-a11y/analyze-a11y-tool.js +10 -10
  26. package/dist/esm/tools/analyze-a11y/analyze-localhost-a11y-tool.js +28 -28
  27. package/dist/esm/tools/get-a11y-guidelines/get-a11y-guidelines-tool.js +4 -4
  28. package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
  29. package/dist/esm/tools/get-all-components/get-all-components-tool.js +1 -1
  30. package/dist/esm/tools/get-all-icons/get-all-icons-tool.js +1 -1
  31. package/dist/esm/tools/get-all-tokens/get-all-tokens-tool.js +1 -1
  32. package/dist/esm/tools/get-atlaskit-components/get-atlaskit-components-tool.js +2 -2
  33. package/dist/esm/tools/get-guidelines/get-guidelines-tool.js +4 -4
  34. package/dist/esm/tools/get-lint-rules/get-lint-rules-tool.js +6 -6
  35. package/dist/esm/tools/i18n-conversion/i18n-conversion-tool.js +1 -1
  36. package/dist/esm/tools/migration-guides/migration-guides-tool.js +4 -4
  37. package/dist/esm/tools/plan/plan-tool.js +6 -6
  38. package/dist/esm/tools/search-atlaskit-components/search-atlaskit-components-tool.js +6 -6
  39. package/dist/esm/tools/search-components/search-components-tool.js +6 -6
  40. package/dist/esm/tools/search-icons/search-icons-tool.js +6 -6
  41. package/dist/esm/tools/search-tokens/search-tokens-tool.js +6 -6
  42. package/dist/esm/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.js +4 -4
  43. package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
  44. package/i18n-conversion-guide/package.json +1 -8
  45. package/migration-registry/package.json +1 -8
  46. package/package.json +5 -13
  47. package/tools/analyze-a11y/package.json +1 -8
  48. package/tools/get-a11y-guidelines/package.json +1 -8
  49. package/tools/get-all-components/package.json +1 -8
  50. package/tools/get-all-icons/package.json +1 -8
  51. package/tools/get-all-tokens/package.json +1 -8
  52. package/tools/get-guidelines/package.json +1 -8
  53. package/tools/get-lint-rules/package.json +1 -8
  54. package/tools/i18n-conversion/package.json +1 -8
  55. package/tools/migration-guides/package.json +1 -8
  56. package/tools/plan/package.json +1 -8
  57. package/tools/search-components/package.json +1 -8
  58. package/tools/search-icons/package.json +1 -8
  59. package/tools/search-tokens/package.json +1 -8
  60. package/tools/suggest-a11y-fixes/package.json +1 -8
  61. package/dist/types-ts4.5/entry-points/a11y-fixes.d.ts +0 -1
  62. package/dist/types-ts4.5/entry-points/a11y-guidelines.d.ts +0 -1
  63. package/dist/types-ts4.5/entry-points/analyze-a11y.d.ts +0 -5
  64. package/dist/types-ts4.5/entry-points/get-a11y-guidelines.d.ts +0 -3
  65. package/dist/types-ts4.5/entry-points/get-all-components.d.ts +0 -2
  66. package/dist/types-ts4.5/entry-points/get-all-icons.d.ts +0 -2
  67. package/dist/types-ts4.5/entry-points/get-all-tokens.d.ts +0 -2
  68. package/dist/types-ts4.5/entry-points/get-atlaskit-components.d.ts +0 -2
  69. package/dist/types-ts4.5/entry-points/get-guidelines.d.ts +0 -3
  70. package/dist/types-ts4.5/entry-points/get-lint-rules.d.ts +0 -3
  71. package/dist/types-ts4.5/entry-points/i18n-conversion-guide.d.ts +0 -1
  72. package/dist/types-ts4.5/entry-points/i18n-conversion.d.ts +0 -3
  73. package/dist/types-ts4.5/entry-points/migration-guides.d.ts +0 -3
  74. package/dist/types-ts4.5/entry-points/migration-registry.d.ts +0 -1
  75. package/dist/types-ts4.5/entry-points/plan.d.ts +0 -3
  76. package/dist/types-ts4.5/entry-points/search-atlaskit-components.d.ts +0 -3
  77. package/dist/types-ts4.5/entry-points/search-components.d.ts +0 -3
  78. package/dist/types-ts4.5/entry-points/search-icons.d.ts +0 -3
  79. package/dist/types-ts4.5/entry-points/search-tokens.d.ts +0 -3
  80. package/dist/types-ts4.5/entry-points/suggest-a11y-fixes.d.ts +0 -3
  81. package/dist/types-ts4.5/helpers/agent.d.ts +0 -3
  82. package/dist/types-ts4.5/helpers/analytics.d.ts +0 -21
  83. package/dist/types-ts4.5/helpers/clean-query.d.ts +0 -1
  84. package/dist/types-ts4.5/helpers/compute-multi-term-fuse-allocation.d.ts +0 -14
  85. package/dist/types-ts4.5/helpers/config-path.d.ts +0 -7
  86. package/dist/types-ts4.5/helpers/fuse-multi-term.d.ts +0 -26
  87. package/dist/types-ts4.5/helpers/index.d.ts +0 -3
  88. package/dist/types-ts4.5/helpers/send-operational-event.d.ts +0 -13
  89. package/dist/types-ts4.5/helpers/staff-id.d.ts +0 -1
  90. package/dist/types-ts4.5/helpers/validation.d.ts +0 -26
  91. package/dist/types-ts4.5/helpers/zod-to-json-schema.d.ts +0 -3
  92. package/dist/types-ts4.5/index.d.ts +0 -7
  93. package/dist/types-ts4.5/instructions.d.ts +0 -1
  94. package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-input-schema.d.ts +0 -17
  95. package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-localhost-input-schema.d.ts +0 -17
  96. package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-tool.d.ts +0 -8
  97. package/dist/types-ts4.5/tools/analyze-a11y/analyze-localhost-a11y-tool.d.ts +0 -8
  98. package/dist/types-ts4.5/tools/analyze-a11y/generate-ads-fix-for-violation.d.ts +0 -1
  99. package/dist/types-ts4.5/tools/analyze-a11y/list-analyze-a11y-tool.d.ts +0 -2
  100. package/dist/types-ts4.5/tools/analyze-a11y/list-analyze-localhost-a11y-tool.d.ts +0 -2
  101. package/dist/types-ts4.5/tools/get-a11y-guidelines/get-a11y-guidelines-input-schema.d.ts +0 -8
  102. package/dist/types-ts4.5/tools/get-a11y-guidelines/get-a11y-guidelines-tool.d.ts +0 -8
  103. package/dist/types-ts4.5/tools/get-a11y-guidelines/guidelines.d.ts +0 -102
  104. package/dist/types-ts4.5/tools/get-a11y-guidelines/list-get-a11y-guidelines-tool.d.ts +0 -2
  105. package/dist/types-ts4.5/tools/get-all-components/components.codegen.d.ts +0 -10
  106. package/dist/types-ts4.5/tools/get-all-components/components.d.ts +0 -10
  107. package/dist/types-ts4.5/tools/get-all-components/get-all-components-tool.d.ts +0 -6
  108. package/dist/types-ts4.5/tools/get-all-components/list-get-all-components-tool.d.ts +0 -2
  109. package/dist/types-ts4.5/tools/get-all-components/load-all-components.d.ts +0 -2
  110. package/dist/types-ts4.5/tools/get-all-components/types.d.ts +0 -26
  111. package/dist/types-ts4.5/tools/get-all-icons/get-all-icons-tool.d.ts +0 -6
  112. package/dist/types-ts4.5/tools/get-all-icons/icons.d.ts +0 -11
  113. package/dist/types-ts4.5/tools/get-all-icons/list-get-all-icons-tool.d.ts +0 -2
  114. package/dist/types-ts4.5/tools/get-all-tokens/get-all-tokens-tool.d.ts +0 -6
  115. package/dist/types-ts4.5/tools/get-all-tokens/list-get-all-tokens-tool.d.ts +0 -2
  116. package/dist/types-ts4.5/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +0 -10
  117. package/dist/types-ts4.5/tools/get-atlaskit-components/get-atlaskit-components-tool.d.ts +0 -6
  118. package/dist/types-ts4.5/tools/get-atlaskit-components/list-get-atlaskit-components-tool.d.ts +0 -2
  119. package/dist/types-ts4.5/tools/get-guidelines/get-guidelines-input-schema.d.ts +0 -5
  120. package/dist/types-ts4.5/tools/get-guidelines/get-guidelines-tool.d.ts +0 -8
  121. package/dist/types-ts4.5/tools/get-guidelines/guidelines-structured-content.codegen.d.ts +0 -13
  122. package/dist/types-ts4.5/tools/get-guidelines/list-get-guidelines-tool.d.ts +0 -2
  123. package/dist/types-ts4.5/tools/get-lint-rules/get-lint-rules-input-schema.d.ts +0 -6
  124. package/dist/types-ts4.5/tools/get-lint-rules/get-lint-rules-tool.d.ts +0 -4
  125. package/dist/types-ts4.5/tools/get-lint-rules/lint-rules-structured-content.codegen.d.ts +0 -13
  126. package/dist/types-ts4.5/tools/get-lint-rules/list-get-lint-rules-tool.d.ts +0 -19
  127. package/dist/types-ts4.5/tools/i18n-conversion/guide.d.ts +0 -5
  128. package/dist/types-ts4.5/tools/i18n-conversion/i18n-conversion-input-schema.d.ts +0 -10
  129. package/dist/types-ts4.5/tools/i18n-conversion/i18n-conversion-tool.d.ts +0 -8
  130. package/dist/types-ts4.5/tools/i18n-conversion/list-i18n-conversion-tool.d.ts +0 -2
  131. package/dist/types-ts4.5/tools/i18n-conversion/types.d.ts +0 -22
  132. package/dist/types-ts4.5/tools/migration-guides/get-available-migration-ids.d.ts +0 -12
  133. package/dist/types-ts4.5/tools/migration-guides/get-available-migrations-description.d.ts +0 -13
  134. package/dist/types-ts4.5/tools/migration-guides/list-migration-guides-tool.d.ts +0 -2
  135. package/dist/types-ts4.5/tools/migration-guides/migration-guides-input-schema.d.ts +0 -15
  136. package/dist/types-ts4.5/tools/migration-guides/migration-guides-tool.d.ts +0 -8
  137. package/dist/types-ts4.5/tools/migration-guides/migration-registry.d.ts +0 -2
  138. package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-jira-spotlight.d.ts +0 -2
  139. package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-multi-step.d.ts +0 -2
  140. package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-single-step.d.ts +0 -2
  141. package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-with-motion.d.ts +0 -2
  142. package/dist/types-ts4.5/tools/migration-guides/types.d.ts +0 -23
  143. package/dist/types-ts4.5/tools/plan/list-plan-tool.d.ts +0 -2
  144. package/dist/types-ts4.5/tools/plan/plan-input-schema.d.ts +0 -20
  145. package/dist/types-ts4.5/tools/plan/plan-tool.d.ts +0 -15
  146. package/dist/types-ts4.5/tools/search-atlaskit-components/list-search-atlaskit-components-tool.d.ts +0 -2
  147. package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-input-schema.d.ts +0 -11
  148. package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-tool.d.ts +0 -4
  149. package/dist/types-ts4.5/tools/search-components/list-search-components-tool.d.ts +0 -2
  150. package/dist/types-ts4.5/tools/search-components/search-components-input-schema.d.ts +0 -11
  151. package/dist/types-ts4.5/tools/search-components/search-components-tool.d.ts +0 -4
  152. package/dist/types-ts4.5/tools/search-icons/list-search-icons-tool.d.ts +0 -2
  153. package/dist/types-ts4.5/tools/search-icons/search-icons-input-schema.d.ts +0 -11
  154. package/dist/types-ts4.5/tools/search-icons/search-icons-tool.d.ts +0 -4
  155. package/dist/types-ts4.5/tools/search-tokens/list-search-tokens-tool.d.ts +0 -2
  156. package/dist/types-ts4.5/tools/search-tokens/search-tokens-input-schema.d.ts +0 -11
  157. package/dist/types-ts4.5/tools/search-tokens/search-tokens-tool.d.ts +0 -4
  158. package/dist/types-ts4.5/tools/suggest-a11y-fixes/fixes.d.ts +0 -17
  159. package/dist/types-ts4.5/tools/suggest-a11y-fixes/keywords.d.ts +0 -12
  160. package/dist/types-ts4.5/tools/suggest-a11y-fixes/list-suggest-a11y-fixes-tool.d.ts +0 -2
  161. package/dist/types-ts4.5/tools/suggest-a11y-fixes/suggest-a11y-fixes-input-schema.d.ts +0 -17
  162. package/dist/types-ts4.5/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.d.ts +0 -8
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/i18n-conversion.js",
4
4
  "module": "../../dist/esm/entry-points/i18n-conversion.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/i18n-conversion.js",
6
- "types": "../../dist/types/entry-points/i18n-conversion.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/i18n-conversion.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/i18n-conversion.d.ts"
14
7
  }
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/migration-guides.js",
4
4
  "module": "../../dist/esm/entry-points/migration-guides.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/migration-guides.js",
6
- "types": "../../dist/types/entry-points/migration-guides.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/migration-guides.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/migration-guides.d.ts"
14
7
  }
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/plan.js",
4
4
  "module": "../../dist/esm/entry-points/plan.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/plan.js",
6
- "types": "../../dist/types/entry-points/plan.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/plan.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/plan.d.ts"
14
7
  }
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/search-components.js",
4
4
  "module": "../../dist/esm/entry-points/search-components.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/search-components.js",
6
- "types": "../../dist/types/entry-points/search-components.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/search-components.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/search-components.d.ts"
14
7
  }
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/search-icons.js",
4
4
  "module": "../../dist/esm/entry-points/search-icons.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/search-icons.js",
6
- "types": "../../dist/types/entry-points/search-icons.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/search-icons.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/search-icons.d.ts"
14
7
  }
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/search-tokens.js",
4
4
  "module": "../../dist/esm/entry-points/search-tokens.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/search-tokens.js",
6
- "types": "../../dist/types/entry-points/search-tokens.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/search-tokens.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/search-tokens.d.ts"
14
7
  }
@@ -3,12 +3,5 @@
3
3
  "main": "../../dist/cjs/entry-points/suggest-a11y-fixes.js",
4
4
  "module": "../../dist/esm/entry-points/suggest-a11y-fixes.js",
5
5
  "module:es2019": "../../dist/es2019/entry-points/suggest-a11y-fixes.js",
6
- "types": "../../dist/types/entry-points/suggest-a11y-fixes.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.9": {
9
- "*": [
10
- "../../dist/types-ts4.5/entry-points/suggest-a11y-fixes.d.ts"
11
- ]
12
- }
13
- }
6
+ "types": "../../dist/types/entry-points/suggest-a11y-fixes.d.ts"
14
7
  }
@@ -1 +0,0 @@
1
- export { accessibilityFixes } from '../tools/suggest-a11y-fixes/fixes';
@@ -1 +0,0 @@
1
- export { accessibilityGuidelines } from '../tools/get-a11y-guidelines/guidelines';
@@ -1,5 +0,0 @@
1
- export { analyzeA11yInputSchema } from '../tools/analyze-a11y/analyze-a11y-input-schema';
2
- export { listAnalyzeA11yTool } from '../tools/analyze-a11y/list-analyze-a11y-tool';
3
- export { analyzeA11yLocalhostInputSchema } from '../tools/analyze-a11y/analyze-a11y-localhost-input-schema';
4
- export { listAnalyzeLocalhostA11yTool } from '../tools/analyze-a11y/list-analyze-localhost-a11y-tool';
5
- export { analyzeA11yTool } from '../tools/analyze-a11y/analyze-a11y-tool';
@@ -1,3 +0,0 @@
1
- export { getA11yGuidelinesInputSchema } from '../tools/get-a11y-guidelines/get-a11y-guidelines-input-schema';
2
- export { listGetA11yGuidelinesTool } from '../tools/get-a11y-guidelines/list-get-a11y-guidelines-tool';
3
- export { getA11yGuidelinesTool } from '../tools/get-a11y-guidelines/get-a11y-guidelines-tool';
@@ -1,2 +0,0 @@
1
- export { listGetAllComponentsTool } from '../tools/get-all-components/list-get-all-components-tool';
2
- export { getAllComponentsTool } from '../tools/get-all-components/get-all-components-tool';
@@ -1,2 +0,0 @@
1
- export { listGetAllIconsTool } from '../tools/get-all-icons/list-get-all-icons-tool';
2
- export { getAllIconsTool } from '../tools/get-all-icons/get-all-icons-tool';
@@ -1,2 +0,0 @@
1
- export { listGetAllTokensTool } from '../tools/get-all-tokens/list-get-all-tokens-tool';
2
- export { getAllTokensTool } from '../tools/get-all-tokens/get-all-tokens-tool';
@@ -1,2 +0,0 @@
1
- export { listGetAtlaskitComponentsTool } from '../tools/get-atlaskit-components/list-get-atlaskit-components-tool';
2
- export { getAtlaskitComponentsTool } from '../tools/get-atlaskit-components/get-atlaskit-components-tool';
@@ -1,3 +0,0 @@
1
- export { listGetGuidelinesTool } from '../tools/get-guidelines/list-get-guidelines-tool';
2
- export { getGuidelinesTool } from '../tools/get-guidelines/get-guidelines-tool';
3
- export { getGuidelinesInputSchema } from '../tools/get-guidelines/get-guidelines-input-schema';
@@ -1,3 +0,0 @@
1
- export { getLintRulesInputSchema } from '../tools/get-lint-rules/get-lint-rules-input-schema';
2
- export { listGetLintRulesTool } from '../tools/get-lint-rules/list-get-lint-rules-tool';
3
- export { getLintRulesTool } from '../tools/get-lint-rules/get-lint-rules-tool';
@@ -1 +0,0 @@
1
- export { i18nConversionGuide } from '../tools/i18n-conversion/guide';
@@ -1,3 +0,0 @@
1
- export { i18nConversionInputSchema } from '../tools/i18n-conversion/i18n-conversion-input-schema';
2
- export { listI18nConversionTool } from '../tools/i18n-conversion/list-i18n-conversion-tool';
3
- export { i18nConversionTool } from '../tools/i18n-conversion/i18n-conversion-tool';
@@ -1,3 +0,0 @@
1
- export { migrationGuidesInputSchema } from '../tools/migration-guides/migration-guides-input-schema';
2
- export { listMigrationGuidesTool } from '../tools/migration-guides/list-migration-guides-tool';
3
- export { migrationGuidesTool } from '../tools/migration-guides/migration-guides-tool';
@@ -1 +0,0 @@
1
- export { migrationRegistry } from '../tools/migration-guides/migration-registry';
@@ -1,3 +0,0 @@
1
- export { planInputSchema } from '../tools/plan/plan-input-schema';
2
- export { listPlanTool } from '../tools/plan/list-plan-tool';
3
- export { planTool } from '../tools/plan/plan-tool';
@@ -1,3 +0,0 @@
1
- export { searchAtlaskitComponentsInputSchema } from '../tools/search-atlaskit-components/search-atlaskit-components-input-schema';
2
- export { listSearchAtlaskitComponentsTool } from '../tools/search-atlaskit-components/list-search-atlaskit-components-tool';
3
- export { searchAtlaskitComponentsTool } from '../tools/search-atlaskit-components/search-atlaskit-components-tool';
@@ -1,3 +0,0 @@
1
- export { searchComponentsInputSchema } from '../tools/search-components/search-components-input-schema';
2
- export { listSearchComponentsTool } from '../tools/search-components/list-search-components-tool';
3
- export { searchComponentsTool } from '../tools/search-components/search-components-tool';
@@ -1,3 +0,0 @@
1
- export { searchIconsInputSchema } from '../tools/search-icons/search-icons-input-schema';
2
- export { listSearchIconsTool } from '../tools/search-icons/list-search-icons-tool';
3
- export { searchIconsTool } from '../tools/search-icons/search-icons-tool';
@@ -1,3 +0,0 @@
1
- export { searchTokensInputSchema } from '../tools/search-tokens/search-tokens-input-schema';
2
- export { listSearchTokensTool } from '../tools/search-tokens/list-search-tokens-tool';
3
- export { searchTokensTool } from '../tools/search-tokens/search-tokens-tool';
@@ -1,3 +0,0 @@
1
- export { suggestA11yFixesInputSchema } from '../tools/suggest-a11y-fixes/suggest-a11y-fixes-input-schema';
2
- export { listSuggestA11yFixesTool } from '../tools/suggest-a11y-fixes/list-suggest-a11y-fixes-tool';
3
- export { suggestA11yFixesTool } from '../tools/suggest-a11y-fixes/suggest-a11y-fixes-tool';
@@ -1,3 +0,0 @@
1
- type AGENT = 'cursor' | 'vscode' | 'rovodev' | 'codelassian' | string;
2
- export declare const agent: AGENT;
3
- export {};
@@ -1,21 +0,0 @@
1
- /**
2
- * This is a user-passed value via environment to define what agent we may be running in.
3
- * This could be anything, do not rely on it!
4
- * @default `'unknown'`
5
- */
6
- type AGENT = 'cursor' | 'vscode' | 'rovodev' | 'codelassian' | string;
7
- export declare const agent: AGENT;
8
- interface OperationalEventOptions {
9
- action: string;
10
- actionSubject: string;
11
- actionSubjectId?: string;
12
- attributes?: Record<string, any>;
13
- }
14
- /**
15
- * Send an operational event to analytics
16
- * Wraps the analytics client and handles errors gracefully
17
- * If analytics client is not available, this function is a no-op
18
- */
19
- export declare function sendOperationalEvent({ action, actionSubject, actionSubjectId, attributes, }: OperationalEventOptions): void;
20
- export { staffId } from './staff-id';
21
- export { configPath } from './config-path';
@@ -1 +0,0 @@
1
- export declare const cleanQuery: (query: string) => string;
@@ -1,14 +0,0 @@
1
- export declare function computeMultiTermFuseAllocation(limit: number, termCount: number): {
2
- /**
3
- * The amount token by each term, minimum of 1.
4
- */
5
- perTermTake: number;
6
- /**
7
- * Hits to take from the spaced combined query.
8
- */
9
- combinedTake: number;
10
- /**
11
- * The total amount of hits to take, minimum of 1.
12
- */
13
- totalTake: number;
14
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * The path to the MCP config file that is being used to run the MCP server
3
- * e.g. 'mcp.json', 'jira/.cursor/mcp.json', 'platform/.vscode/mcp.json' or 'unknown'
4
- * This could be anything, do not rely on it!
5
- * @default `'unknown'`
6
- */
7
- export declare const configPath: string;
@@ -1,26 +0,0 @@
1
- export type FuseHit<T> = {
2
- item: T;
3
- /**
4
- * Fuse score when `includeScore` is enabled; lower is a better match.
5
- */
6
- score?: number;
7
- };
8
- /**
9
- * Runs `search` for each term (top `perTermTake`) and for `terms.join(' ')` (top `combinedTake`),
10
- * merges pools, sorts globally by Fuse score, then returns the first `limit` **distinct** keys
11
- * (later duplicate keys are skipped).
12
- *
13
- * Default `tokenKey` uses `item.name` when present; pass an explicit `tokenKey` for types without
14
- * `name` (e.g. icons keyed by `componentName`).
15
- */
16
- export declare function mergeMultiTermFuseResults<T>({ searchTerms, limit, search, tokenKey, searchTermsJoin, }: {
17
- searchTerms: string[];
18
- limit: number;
19
- search: (query: string) => FuseHit<T>[];
20
- tokenKey?: (item: T) => string;
21
- /**
22
- * Join the search terms when querying with this separator, eg. `color.text` vs. `color text`
23
- */
24
- searchTermsJoin?: ' ' | '.';
25
- }): T[];
26
- export { computeMultiTermFuseAllocation } from './compute-multi-term-fuse-allocation';
@@ -1,3 +0,0 @@
1
- export { computeMultiTermFuseAllocation, type FuseHit, mergeMultiTermFuseResults, } from './fuse-multi-term';
2
- export { cleanQuery } from './clean-query';
3
- export { zodToJsonSchema } from './zod-to-json-schema';
@@ -1,13 +0,0 @@
1
- interface OperationalEventOptions {
2
- action: string;
3
- actionSubject: string;
4
- actionSubjectId?: string;
5
- attributes?: Record<string, any>;
6
- }
7
- /**
8
- * Send an operational event to analytics
9
- * Wraps the analytics client and handles errors gracefully
10
- * If analytics client is not available, this function is a no-op
11
- */
12
- export declare function sendOperationalEvent({ action, actionSubject, actionSubjectId, attributes, }: OperationalEventOptions): void;
13
- export {};
@@ -1 +0,0 @@
1
- export declare const staffId: string;
@@ -1,26 +0,0 @@
1
- import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
2
- import type { z } from 'zod';
3
- export interface ValidationErrorResult extends CallToolResult {
4
- content: [
5
- {
6
- isError: true;
7
- type: 'text';
8
- text: string;
9
- }
10
- ];
11
- }
12
- export type ValidationResult<T> = {
13
- success: true;
14
- data: T;
15
- } | {
16
- success: false;
17
- error: ValidationErrorResult;
18
- };
19
- /**
20
- * Validates arguments against a Zod schema and returns a discriminated union result.
21
- *
22
- * @param schema - The Zod schema to validate against
23
- * @param args - The arguments to validate
24
- * @returns { success: true; data: T } if validation succeeds, { success: false; error: ValidationErrorResult } if validation fails
25
- */
26
- export declare function validateToolArguments<T>(schema: z.ZodSchema<T>, args: unknown): ValidationResult<T>;
@@ -1,3 +0,0 @@
1
- import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
- import { zodToJsonSchema as zodToJsonSchemaHelper } from 'zod-to-json-schema';
3
- export declare const zodToJsonSchema: <T = Tool["inputSchema"]>(schema: Parameters<typeof zodToJsonSchemaHelper>[0], options?: Parameters<typeof zodToJsonSchemaHelper>[1]) => T;
@@ -1,7 +0,0 @@
1
- import { type Tool } from '@modelcontextprotocol/sdk/types.js';
2
- import type { z } from 'zod';
3
- export declare const getToolRegistry: () => Record<string, {
4
- handler: (params: any) => Promise<any>;
5
- inputSchema: z.AnyZodObject | null;
6
- tool: Tool;
7
- }>;
@@ -1 +0,0 @@
1
- export declare const instructions = "\nYou are an expert in the Atlassian Design System (ADS).\nYou can search for tokens, icons, and components and return guidance on how to build user interfaces.\nYou have special accessibility knowledge and can ensure interfaces built with ADS components are accessible to all users.\nYou can analyze code for accessibility violations, provide specific fix suggestions, and offer guidance on accessibility best practices.\nFor org-wide standards alongside ADS tools: pair Context Engine `get_accessibility_docs` with `ads_get_a11y_guidelines`, `get_content_standards_docs` with `ads_get_guidelines`, and `get_i18n_docs` with `ads_i18n_conversion_guide` (Traduki/i18n policy plus the bundled formatMessage refactor guide).\nThese tools will support you, but for deep research you may also fetch https://atlassian.design/llms.txt, https://atlassian.design/llms-a11y.txt, or https://atlassian.design/ directly.\n";
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const analyzeA11yInputSchema: z.ZodObject<{
3
- code: z.ZodString;
4
- componentName: z.ZodOptional<z.ZodString>;
5
- context: z.ZodOptional<z.ZodString>;
6
- includePatternAnalysis: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
- }, 'strip', z.ZodTypeAny, {
8
- code: string;
9
- componentName?: string | undefined;
10
- context?: string | undefined;
11
- includePatternAnalysis?: boolean | undefined;
12
- }, {
13
- code: string;
14
- componentName?: string | undefined;
15
- context?: string | undefined;
16
- includePatternAnalysis?: boolean | undefined;
17
- }>;
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const analyzeA11yLocalhostInputSchema: z.ZodObject<{
3
- url: z.ZodString;
4
- componentName: z.ZodOptional<z.ZodString>;
5
- context: z.ZodOptional<z.ZodString>;
6
- selector: z.ZodOptional<z.ZodString>;
7
- }, 'strip', z.ZodTypeAny, {
8
- url: string;
9
- componentName?: string | undefined;
10
- context?: string | undefined;
11
- selector?: string | undefined;
12
- }, {
13
- url: string;
14
- componentName?: string | undefined;
15
- context?: string | undefined;
16
- selector?: string | undefined;
17
- }>;
@@ -1,8 +0,0 @@
1
- import { type z } from 'zod';
2
- import { type analyzeA11yInputSchema } from './analyze-a11y-input-schema';
3
- export declare const analyzeA11yTool: (params: z.infer<typeof analyzeA11yInputSchema>) => Promise<{
4
- content: {
5
- type: string;
6
- text: string;
7
- }[];
8
- }>;
@@ -1,8 +0,0 @@
1
- import { type z } from 'zod';
2
- import { type analyzeA11yLocalhostInputSchema } from './analyze-a11y-localhost-input-schema';
3
- export declare const analyzeLocalhostA11yTool: (params: z.infer<typeof analyzeA11yLocalhostInputSchema>) => Promise<{
4
- content: {
5
- type: string;
6
- text: string;
7
- }[];
8
- }>;
@@ -1 +0,0 @@
1
- export declare function generateADSFixForViolation(violation: any): any;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
- export declare const listAnalyzeA11yTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
- export declare const listAnalyzeLocalhostA11yTool: Tool;
@@ -1,8 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const getA11yGuidelinesInputSchema: z.ZodObject<{
3
- topic: z.ZodOptional<z.ZodString>;
4
- }, 'strip', z.ZodTypeAny, {
5
- topic?: string | undefined;
6
- }, {
7
- topic?: string | undefined;
8
- }>;
@@ -1,8 +0,0 @@
1
- import { type z } from 'zod';
2
- import { type getA11yGuidelinesInputSchema } from './get-a11y-guidelines-input-schema';
3
- export declare const getA11yGuidelinesTool: ({ topic, }: z.infer<typeof getA11yGuidelinesInputSchema>) => Promise<{
4
- content: {
5
- type: string;
6
- text: string;
7
- }[];
8
- }>;
@@ -1,102 +0,0 @@
1
- export declare const accessibilityGuidelines: {
2
- buttons: {
3
- title: string;
4
- description: string;
5
- guidelines: string[];
6
- codeExamples: {
7
- title: string;
8
- code: string;
9
- }[];
10
- bestPractices: string[];
11
- };
12
- forms: {
13
- title: string;
14
- description: string;
15
- guidelines: string[];
16
- codeExamples: {
17
- title: string;
18
- code: string;
19
- }[];
20
- bestPractices: string[];
21
- };
22
- images: {
23
- title: string;
24
- description: string;
25
- guidelines: string[];
26
- codeExamples: {
27
- title: string;
28
- code: string;
29
- }[];
30
- bestPractices: string[];
31
- };
32
- colors: {
33
- title: string;
34
- description: string;
35
- guidelines: string[];
36
- codeExamples: {
37
- title: string;
38
- code: string;
39
- }[];
40
- bestPractices: string[];
41
- };
42
- focus: {
43
- title: string;
44
- description: string;
45
- guidelines: string[];
46
- codeExamples: {
47
- title: string;
48
- code: string;
49
- }[];
50
- bestPractices: string[];
51
- };
52
- keyboard: {
53
- title: string;
54
- description: string;
55
- guidelines: string[];
56
- codeExamples: {
57
- title: string;
58
- code: string;
59
- }[];
60
- bestPractices: string[];
61
- };
62
- screenReaders: {
63
- title: string;
64
- description: string;
65
- guidelines: string[];
66
- codeExamples: {
67
- title: string;
68
- code: string;
69
- }[];
70
- bestPractices: string[];
71
- };
72
- aria: {
73
- title: string;
74
- description: string;
75
- guidelines: string[];
76
- codeExamples: {
77
- title: string;
78
- code: string;
79
- }[];
80
- bestPractices: string[];
81
- };
82
- wcag: {
83
- title: string;
84
- description: string;
85
- guidelines: string[];
86
- codeExamples: {
87
- title: string;
88
- code: string;
89
- }[];
90
- bestPractices: string[];
91
- };
92
- general: {
93
- title: string;
94
- description: string;
95
- guidelines: string[];
96
- codeExamples: {
97
- title: string;
98
- code: string;
99
- }[];
100
- bestPractices: string[];
101
- };
102
- };
@@ -1,2 +0,0 @@
1
- import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
- export declare const listGetA11yGuidelinesTool: Tool;
@@ -1,10 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- *
4
- * Structured content components from design-system *.docs.tsx files
5
- *
6
- * @codegen <<SignedSource::3ab8a33f5d9a961edc6704383dde23c4>>
7
- * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:ads-components
8
- */
9
- import type { ComponentMcpPayload } from './types';
10
- export declare const components: ComponentMcpPayload[];
@@ -1,10 +0,0 @@
1
- /**
2
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- *
4
- * Generates TypeScript components data for AI tooling from offerings.json files
5
- *
6
- * @codegen <<SignedSource::50f91993dda0440c9008527c32b631dc>>
7
- * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:prototyping
8
- */
9
- import type { Component } from './types';
10
- export declare const components: Component[];
@@ -1,6 +0,0 @@
1
- export declare const getAllComponentsTool: () => Promise<{
2
- content: {
3
- type: string;
4
- text: string;
5
- }[];
6
- }>;
@@ -1,2 +0,0 @@
1
- import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
- export declare const listGetAllComponentsTool: Tool;
@@ -1,2 +0,0 @@
1
- import type { ComponentMcpPayload } from './types';
2
- export declare function loadAllComponents(): ComponentMcpPayload[];
@@ -1,26 +0,0 @@
1
- export type ComponentStatus = 'release-candidate' | 'early-access' | 'open-beta' | 'general-availability' | 'intent-to-deprecate' | 'deprecated' | 'unmaintained';
2
- export type ComponentProps = {
3
- name: string;
4
- type: string;
5
- description?: string;
6
- isRequired?: boolean;
7
- isDeprecated?: boolean;
8
- defaultValue?: string;
9
- };
10
- export type ComponentMcpPayload = {
11
- name: string;
12
- description: string;
13
- status: ComponentStatus;
14
- usageGuidelines?: string[];
15
- contentGuidelines?: string[];
16
- accessibilityGuidelines?: string[];
17
- keywords: string[];
18
- package: string;
19
- examples: string[];
20
- props: ComponentProps[] | undefined;
21
- category: string;
22
- };
23
- /**
24
- * Re-exported to save rebuilding existing codegen.
25
- */
26
- export type Component = ComponentMcpPayload;
@@ -1,6 +0,0 @@
1
- export declare const getAllIconsTool: () => Promise<{
2
- content: {
3
- type: string;
4
- text: string;
5
- }[];
6
- }>;