@atlaskit/ads-mcp 0.14.0 → 0.15.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 +13 -0
- package/dist/cjs/helpers/index.js +2 -0
- package/dist/cjs/helpers/validation.js +2 -0
- package/dist/cjs/tools/analyze-a11y/index.js +1 -1
- package/dist/cjs/tools/get-a11y-guidelines/index.js +1 -1
- package/dist/cjs/tools/get-all-icons/index.js +2 -0
- package/dist/cjs/tools/get-all-tokens/index.js +2 -0
- package/dist/cjs/tools/get-components/index.js +2 -0
- package/dist/cjs/tools/get-icons/icon-structured-content.codegen.js +3 -2580
- package/dist/cjs/tools/get-icons/index.js +2 -0
- package/dist/cjs/tools/get-lint-rules/index.js +2 -0
- package/dist/cjs/tools/get-tokens/index.js +2 -0
- package/dist/cjs/tools/i18n-conversion/index.js +2 -0
- package/dist/cjs/tools/migration-guides/index.js +2 -0
- package/dist/cjs/tools/plan/index.js +1 -1
- package/dist/cjs/tools/search-components/index.js +2 -0
- package/dist/cjs/tools/search-icons/index.js +2 -0
- package/dist/cjs/tools/search-tokens/index.js +2 -0
- package/dist/cjs/tools/suggest-a11y-fixes/index.js +1 -1
- package/dist/es2019/helpers/index.js +2 -0
- package/dist/es2019/helpers/validation.js +2 -0
- package/dist/es2019/tools/analyze-a11y/index.js +2 -0
- package/dist/es2019/tools/get-a11y-guidelines/index.js +2 -0
- package/dist/es2019/tools/get-all-icons/index.js +2 -0
- package/dist/es2019/tools/get-all-tokens/index.js +2 -0
- package/dist/es2019/tools/get-components/index.js +2 -0
- package/dist/es2019/tools/get-icons/icon-structured-content.codegen.js +2 -2573
- package/dist/es2019/tools/get-icons/index.js +2 -0
- package/dist/es2019/tools/get-lint-rules/index.js +2 -0
- package/dist/es2019/tools/get-tokens/index.js +2 -0
- package/dist/es2019/tools/i18n-conversion/index.js +2 -0
- package/dist/es2019/tools/migration-guides/index.js +2 -0
- package/dist/es2019/tools/plan/index.js +2 -0
- package/dist/es2019/tools/search-components/index.js +2 -0
- package/dist/es2019/tools/search-icons/index.js +2 -0
- package/dist/es2019/tools/search-tokens/index.js +2 -0
- package/dist/es2019/tools/suggest-a11y-fixes/index.js +2 -0
- package/dist/esm/helpers/index.js +2 -0
- package/dist/esm/helpers/validation.js +2 -0
- package/dist/esm/tools/analyze-a11y/index.js +2 -0
- package/dist/esm/tools/get-a11y-guidelines/index.js +2 -0
- package/dist/esm/tools/get-all-icons/index.js +2 -0
- package/dist/esm/tools/get-all-tokens/index.js +2 -0
- package/dist/esm/tools/get-components/index.js +2 -0
- package/dist/esm/tools/get-icons/icon-structured-content.codegen.js +2 -2573
- package/dist/esm/tools/get-icons/index.js +2 -0
- package/dist/esm/tools/get-lint-rules/index.js +2 -0
- package/dist/esm/tools/get-tokens/index.js +2 -0
- package/dist/esm/tools/i18n-conversion/index.js +2 -0
- package/dist/esm/tools/migration-guides/index.js +2 -0
- package/dist/esm/tools/plan/index.js +2 -0
- package/dist/esm/tools/search-components/index.js +2 -0
- package/dist/esm/tools/search-icons/index.js +2 -0
- package/dist/esm/tools/search-tokens/index.js +2 -0
- package/dist/esm/tools/suggest-a11y-fixes/index.js +2 -0
- package/dist/types/helpers/index.d.ts +1 -1
- package/dist/types/helpers/validation.d.ts +1 -1
- package/dist/types/tools/analyze-a11y/index.d.ts +3 -3
- package/dist/types/tools/get-a11y-guidelines/index.d.ts +2 -2
- package/dist/types/tools/get-all-icons/index.d.ts +1 -1
- package/dist/types/tools/get-all-tokens/index.d.ts +1 -1
- package/dist/types/tools/get-components/index.d.ts +1 -1
- package/dist/types/tools/get-icons/icon-structured-content.codegen.d.ts +1 -1
- package/dist/types/tools/get-icons/index.d.ts +4 -4
- package/dist/types/tools/get-lint-rules/index.d.ts +1 -1
- package/dist/types/tools/get-tokens/index.d.ts +4 -4
- package/dist/types/tools/i18n-conversion/index.d.ts +5 -7
- package/dist/types/tools/migration-guides/index.d.ts +2 -2
- package/dist/types/tools/plan/index.d.ts +5 -5
- package/dist/types/tools/search-components/index.d.ts +3 -3
- package/dist/types/tools/search-icons/index.d.ts +3 -3
- package/dist/types/tools/search-tokens/index.d.ts +3 -3
- package/dist/types/tools/suggest-a11y-fixes/index.d.ts +2 -2
- package/dist/types-ts4.5/helpers/index.d.ts +1 -1
- package/dist/types-ts4.5/helpers/validation.d.ts +1 -1
- package/dist/types-ts4.5/tools/analyze-a11y/index.d.ts +3 -3
- package/dist/types-ts4.5/tools/get-a11y-guidelines/index.d.ts +2 -2
- package/dist/types-ts4.5/tools/get-all-icons/index.d.ts +1 -1
- package/dist/types-ts4.5/tools/get-all-tokens/index.d.ts +1 -1
- package/dist/types-ts4.5/tools/get-components/index.d.ts +1 -1
- package/dist/types-ts4.5/tools/get-icons/icon-structured-content.codegen.d.ts +1 -1
- package/dist/types-ts4.5/tools/get-icons/index.d.ts +4 -4
- package/dist/types-ts4.5/tools/get-lint-rules/index.d.ts +1 -1
- package/dist/types-ts4.5/tools/get-tokens/index.d.ts +4 -4
- package/dist/types-ts4.5/tools/i18n-conversion/index.d.ts +5 -5
- package/dist/types-ts4.5/tools/migration-guides/index.d.ts +2 -2
- package/dist/types-ts4.5/tools/plan/index.d.ts +5 -5
- package/dist/types-ts4.5/tools/search-components/index.d.ts +3 -3
- package/dist/types-ts4.5/tools/search-icons/index.d.ts +3 -3
- package/dist/types-ts4.5/tools/search-tokens/index.d.ts +3 -3
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/index.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import Fuse from 'fuse.js';
|
|
4
6
|
import { z } from 'zod';
|
|
5
7
|
import { cleanQuery, zodToJsonSchema } from '../../helpers';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import Fuse from 'fuse.js';
|
|
4
6
|
import { z } from 'zod';
|
|
5
7
|
import { cleanQuery, zodToJsonSchema } from '../../helpers';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import Fuse from 'fuse.js';
|
|
4
6
|
import { z } from 'zod';
|
|
5
7
|
import { cleanQuery, zodToJsonSchema } from '../../helpers';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import { z } from 'zod';
|
|
4
6
|
import { zodToJsonSchema } from '../../helpers';
|
|
5
7
|
import { i18nConversionGuide } from './guide';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import { z } from 'zod';
|
|
4
6
|
import { zodToJsonSchema } from '../../helpers';
|
|
5
7
|
import { getAvailableMigrationIds, getAvailableMigrationsDescription, migrationRegistry } from './registry';
|
|
@@ -3,6 +3,8 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
7
|
+
|
|
6
8
|
import { z } from 'zod';
|
|
7
9
|
import { zodToJsonSchema } from '../../helpers';
|
|
8
10
|
import { searchComponentsTool } from '../search-components';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import Fuse from 'fuse.js';
|
|
4
6
|
import { z } from 'zod';
|
|
5
7
|
import { cleanQuery, zodToJsonSchema } from '../../helpers';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
5
|
+
|
|
4
6
|
import Fuse from 'fuse.js';
|
|
5
7
|
import { z } from 'zod';
|
|
6
8
|
import { coreIconMetadata } from '@atlaskit/icon/metadata';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
4
|
+
|
|
3
5
|
import Fuse from 'fuse.js';
|
|
4
6
|
import { z } from 'zod';
|
|
5
7
|
import { tokens } from '@atlaskit/tokens/token-metadata';
|
|
@@ -7,6 +7,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
8
8
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
9
9
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
10
|
+
/* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
|
|
11
|
+
|
|
10
12
|
import { z } from 'zod';
|
|
11
13
|
import { zodToJsonSchema } from '../../helpers';
|
|
12
14
|
import { accessibilityFixes } from './fixes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { zodToJsonSchema as zodToJsonSchemaHelper } from 'zod-to-json-schema';
|
|
3
3
|
export declare const cleanQuery: (query: string) => string;
|
|
4
4
|
export declare const zodToJsonSchema: <T = Tool["inputSchema"]>(schema: Parameters<typeof zodToJsonSchemaHelper>[0], options?: Parameters<typeof zodToJsonSchemaHelper>[1]) => T;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const analyzeA11yInputSchema: z.ZodObject<{
|
|
4
4
|
code: z.ZodString;
|
|
5
5
|
componentName: z.ZodOptional<z.ZodString>;
|
|
6
6
|
context: z.ZodOptional<z.ZodString>;
|
|
7
7
|
includePatternAnalysis: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
-
},
|
|
8
|
+
}, 'strip', z.ZodTypeAny, {
|
|
9
9
|
code: string;
|
|
10
10
|
componentName?: string | undefined;
|
|
11
11
|
context?: string | undefined;
|
|
@@ -22,7 +22,7 @@ export declare const analyzeA11yLocalhostInputSchema: z.ZodObject<{
|
|
|
22
22
|
componentName: z.ZodOptional<z.ZodString>;
|
|
23
23
|
context: z.ZodOptional<z.ZodString>;
|
|
24
24
|
selector: z.ZodOptional<z.ZodString>;
|
|
25
|
-
},
|
|
25
|
+
}, 'strip', z.ZodTypeAny, {
|
|
26
26
|
url: string;
|
|
27
27
|
componentName?: string | undefined;
|
|
28
28
|
context?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getA11yGuidelinesInputSchema: z.ZodObject<{
|
|
4
4
|
topic: z.ZodOptional<z.ZodString>;
|
|
5
|
-
},
|
|
5
|
+
}, 'strip', z.ZodTypeAny, {
|
|
6
6
|
topic?: string | undefined;
|
|
7
7
|
}, {
|
|
8
8
|
topic?: string | undefined;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content for icons generated from icon-metadata.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6232931cb337024e8c763a9415f28dce>>
|
|
7
7
|
* @codegenCommand yarn build structured-docs
|
|
8
8
|
*/
|
|
9
9
|
export interface IconStructuredContent {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getIconsInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms?: string[] | undefined;
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const listGetIconsTool: {
|
|
|
25
25
|
};
|
|
26
26
|
inputSchema: {
|
|
27
27
|
[x: string]: unknown;
|
|
28
|
-
type:
|
|
28
|
+
type: 'object';
|
|
29
29
|
properties?: {
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
} | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getLintRulesInputSchema: z.ZodObject<{
|
|
4
4
|
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getTokensInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms?: string[] | undefined;
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const listGetTokensTool: {
|
|
|
25
25
|
};
|
|
26
26
|
inputSchema: {
|
|
27
27
|
[x: string]: unknown;
|
|
28
|
-
type:
|
|
28
|
+
type: 'object';
|
|
29
29
|
properties?: {
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
} | undefined;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const i18nConversionInputSchema: z.ZodObject<{
|
|
4
|
-
guide: z.ZodEnum<[
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
guide: "hardcoded-string-to-formatmessage";
|
|
4
|
+
guide: z.ZodEnum<['hardcoded-string-to-formatmessage']>;
|
|
5
|
+
}, 'strip', z.ZodTypeAny, {
|
|
6
|
+
guide: 'hardcoded-string-to-formatmessage';
|
|
9
7
|
}, {
|
|
10
|
-
guide:
|
|
8
|
+
guide: 'hardcoded-string-to-formatmessage';
|
|
11
9
|
}>;
|
|
12
10
|
export declare const listI18nConversionTool: Tool;
|
|
13
11
|
export declare const i18nConversionTool: (_params: z.infer<typeof i18nConversionInputSchema>) => Promise<{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const migrationGuidesInputSchema: z.ZodObject<{
|
|
4
4
|
migration: z.ZodEnum<[string]>;
|
|
5
5
|
description: z.ZodEnum<[string]>;
|
|
6
|
-
},
|
|
6
|
+
}, 'strip', z.ZodTypeAny, {
|
|
7
7
|
migration: string;
|
|
8
8
|
description: string;
|
|
9
9
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const planInputSchema: z.ZodObject<{
|
|
4
|
-
tokens: z.ZodArray<z.ZodString,
|
|
5
|
-
icons: z.ZodArray<z.ZodString,
|
|
6
|
-
components: z.ZodArray<z.ZodString,
|
|
4
|
+
tokens: z.ZodArray<z.ZodString, 'many'>;
|
|
5
|
+
icons: z.ZodArray<z.ZodString, 'many'>;
|
|
6
|
+
components: z.ZodArray<z.ZodString, 'many'>;
|
|
7
7
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
8
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
-
},
|
|
9
|
+
}, 'strip', z.ZodTypeAny, {
|
|
10
10
|
tokens: string[];
|
|
11
11
|
icons: string[];
|
|
12
12
|
components: string[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const searchComponentsInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms: string[];
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const searchIconsInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms: string[];
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const searchTokensInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms: string[];
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const suggestA11yFixesInputSchema: z.ZodObject<{
|
|
4
4
|
violation: z.ZodString;
|
|
5
5
|
code: z.ZodString;
|
|
6
6
|
component: z.ZodOptional<z.ZodString>;
|
|
7
7
|
context: z.ZodOptional<z.ZodString>;
|
|
8
|
-
},
|
|
8
|
+
}, 'strip', z.ZodTypeAny, {
|
|
9
9
|
code: string;
|
|
10
10
|
violation: string;
|
|
11
11
|
context?: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { zodToJsonSchema as zodToJsonSchemaHelper } from 'zod-to-json-schema';
|
|
3
3
|
export declare const cleanQuery: (query: string) => string;
|
|
4
4
|
export declare const zodToJsonSchema: <T = Tool["inputSchema"]>(schema: Parameters<typeof zodToJsonSchemaHelper>[0], options?: Parameters<typeof zodToJsonSchemaHelper>[1]) => T;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const analyzeA11yInputSchema: z.ZodObject<{
|
|
4
4
|
code: z.ZodString;
|
|
5
5
|
componentName: z.ZodOptional<z.ZodString>;
|
|
6
6
|
context: z.ZodOptional<z.ZodString>;
|
|
7
7
|
includePatternAnalysis: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
-
},
|
|
8
|
+
}, 'strip', z.ZodTypeAny, {
|
|
9
9
|
code: string;
|
|
10
10
|
componentName?: string | undefined;
|
|
11
11
|
context?: string | undefined;
|
|
@@ -22,7 +22,7 @@ export declare const analyzeA11yLocalhostInputSchema: z.ZodObject<{
|
|
|
22
22
|
componentName: z.ZodOptional<z.ZodString>;
|
|
23
23
|
context: z.ZodOptional<z.ZodString>;
|
|
24
24
|
selector: z.ZodOptional<z.ZodString>;
|
|
25
|
-
},
|
|
25
|
+
}, 'strip', z.ZodTypeAny, {
|
|
26
26
|
url: string;
|
|
27
27
|
componentName?: string | undefined;
|
|
28
28
|
context?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getA11yGuidelinesInputSchema: z.ZodObject<{
|
|
4
4
|
topic: z.ZodOptional<z.ZodString>;
|
|
5
|
-
},
|
|
5
|
+
}, 'strip', z.ZodTypeAny, {
|
|
6
6
|
topic?: string | undefined;
|
|
7
7
|
}, {
|
|
8
8
|
topic?: string | undefined;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content for icons generated from icon-metadata.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6232931cb337024e8c763a9415f28dce>>
|
|
7
7
|
* @codegenCommand yarn build structured-docs
|
|
8
8
|
*/
|
|
9
9
|
export interface IconStructuredContent {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getIconsInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms?: string[] | undefined;
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const listGetIconsTool: {
|
|
|
25
25
|
};
|
|
26
26
|
inputSchema: {
|
|
27
27
|
[x: string]: unknown;
|
|
28
|
-
type:
|
|
28
|
+
type: 'object';
|
|
29
29
|
properties?: {
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
} | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getLintRulesInputSchema: z.ZodObject<{
|
|
4
4
|
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const getTokensInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms?: string[] | undefined;
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const listGetTokensTool: {
|
|
|
25
25
|
};
|
|
26
26
|
inputSchema: {
|
|
27
27
|
[x: string]: unknown;
|
|
28
|
-
type:
|
|
28
|
+
type: 'object';
|
|
29
29
|
properties?: {
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
} | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const i18nConversionInputSchema: z.ZodObject<{
|
|
4
4
|
guide: z.ZodEnum<[
|
|
5
|
-
|
|
5
|
+
'hardcoded-string-to-formatmessage'
|
|
6
6
|
]>;
|
|
7
|
-
},
|
|
8
|
-
guide:
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
|
+
guide: 'hardcoded-string-to-formatmessage';
|
|
9
9
|
}, {
|
|
10
|
-
guide:
|
|
10
|
+
guide: 'hardcoded-string-to-formatmessage';
|
|
11
11
|
}>;
|
|
12
12
|
export declare const listI18nConversionTool: Tool;
|
|
13
13
|
export declare const i18nConversionTool: (_params: z.infer<typeof i18nConversionInputSchema>) => Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const migrationGuidesInputSchema: z.ZodObject<{
|
|
4
4
|
migration: z.ZodEnum<[
|
|
@@ -7,7 +7,7 @@ export declare const migrationGuidesInputSchema: z.ZodObject<{
|
|
|
7
7
|
description: z.ZodEnum<[
|
|
8
8
|
string
|
|
9
9
|
]>;
|
|
10
|
-
},
|
|
10
|
+
}, 'strip', z.ZodTypeAny, {
|
|
11
11
|
migration: string;
|
|
12
12
|
description: string;
|
|
13
13
|
}, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const planInputSchema: z.ZodObject<{
|
|
4
|
-
tokens: z.ZodArray<z.ZodString,
|
|
5
|
-
icons: z.ZodArray<z.ZodString,
|
|
6
|
-
components: z.ZodArray<z.ZodString,
|
|
4
|
+
tokens: z.ZodArray<z.ZodString, 'many'>;
|
|
5
|
+
icons: z.ZodArray<z.ZodString, 'many'>;
|
|
6
|
+
components: z.ZodArray<z.ZodString, 'many'>;
|
|
7
7
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
8
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
-
},
|
|
9
|
+
}, 'strip', z.ZodTypeAny, {
|
|
10
10
|
tokens: string[];
|
|
11
11
|
icons: string[];
|
|
12
12
|
components: string[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const searchComponentsInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms: string[];
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const searchIconsInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms: string[];
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const searchTokensInputSchema: z.ZodObject<{
|
|
4
|
-
terms: z.ZodArray<z.ZodString,
|
|
4
|
+
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
5
5
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
6
|
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
-
},
|
|
7
|
+
}, 'strip', z.ZodTypeAny, {
|
|
8
8
|
terms: string[];
|
|
9
9
|
limit?: number | undefined;
|
|
10
10
|
exactName?: boolean | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Tool } from '@modelcontextprotocol/sdk/types';
|
|
1
|
+
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const suggestA11yFixesInputSchema: z.ZodObject<{
|
|
4
4
|
violation: z.ZodString;
|
|
5
5
|
code: z.ZodString;
|
|
6
6
|
component: z.ZodOptional<z.ZodString>;
|
|
7
7
|
context: z.ZodOptional<z.ZodString>;
|
|
8
|
-
},
|
|
8
|
+
}, 'strip', z.ZodTypeAny, {
|
|
9
9
|
code: string;
|
|
10
10
|
violation: string;
|
|
11
11
|
context?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ads-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@atlaskit/icon": "^
|
|
37
|
+
"@atlaskit/icon": "^31.0.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/tokens": "^11.0.0",
|
|
40
40
|
"@axe-core/playwright": "^4.8.0",
|