@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.
- package/CHANGELOG.md +33 -0
- package/a11y-fixes/package.json +1 -8
- package/a11y-guidelines/package.json +1 -8
- package/dist/cjs/index.js +23 -23
- package/dist/cjs/tools/analyze-a11y/analyze-a11y-tool.js +10 -10
- package/dist/cjs/tools/analyze-a11y/analyze-localhost-a11y-tool.js +28 -28
- package/dist/cjs/tools/get-a11y-guidelines/get-a11y-guidelines-tool.js +4 -4
- package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
- package/dist/cjs/tools/get-all-components/get-all-components-tool.js +1 -1
- package/dist/cjs/tools/get-all-icons/get-all-icons-tool.js +1 -1
- package/dist/cjs/tools/get-all-tokens/get-all-tokens-tool.js +1 -1
- package/dist/cjs/tools/get-atlaskit-components/get-atlaskit-components-tool.js +2 -2
- package/dist/cjs/tools/get-guidelines/get-guidelines-tool.js +4 -4
- package/dist/cjs/tools/get-lint-rules/get-lint-rules-tool.js +6 -6
- package/dist/cjs/tools/i18n-conversion/i18n-conversion-tool.js +1 -1
- package/dist/cjs/tools/migration-guides/migration-guides-tool.js +4 -4
- package/dist/cjs/tools/plan/plan-tool.js +6 -6
- package/dist/cjs/tools/search-atlaskit-components/search-atlaskit-components-tool.js +6 -6
- package/dist/cjs/tools/search-components/search-components-tool.js +6 -6
- package/dist/cjs/tools/search-icons/search-icons-tool.js +6 -6
- package/dist/cjs/tools/search-tokens/search-tokens-tool.js +6 -6
- package/dist/cjs/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.js +4 -4
- package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
- package/dist/esm/index.js +23 -23
- package/dist/esm/tools/analyze-a11y/analyze-a11y-tool.js +10 -10
- package/dist/esm/tools/analyze-a11y/analyze-localhost-a11y-tool.js +28 -28
- package/dist/esm/tools/get-a11y-guidelines/get-a11y-guidelines-tool.js +4 -4
- package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
- package/dist/esm/tools/get-all-components/get-all-components-tool.js +1 -1
- package/dist/esm/tools/get-all-icons/get-all-icons-tool.js +1 -1
- package/dist/esm/tools/get-all-tokens/get-all-tokens-tool.js +1 -1
- package/dist/esm/tools/get-atlaskit-components/get-atlaskit-components-tool.js +2 -2
- package/dist/esm/tools/get-guidelines/get-guidelines-tool.js +4 -4
- package/dist/esm/tools/get-lint-rules/get-lint-rules-tool.js +6 -6
- package/dist/esm/tools/i18n-conversion/i18n-conversion-tool.js +1 -1
- package/dist/esm/tools/migration-guides/migration-guides-tool.js +4 -4
- package/dist/esm/tools/plan/plan-tool.js +6 -6
- package/dist/esm/tools/search-atlaskit-components/search-atlaskit-components-tool.js +6 -6
- package/dist/esm/tools/search-components/search-components-tool.js +6 -6
- package/dist/esm/tools/search-icons/search-icons-tool.js +6 -6
- package/dist/esm/tools/search-tokens/search-tokens-tool.js +6 -6
- package/dist/esm/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.js +4 -4
- package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
- package/i18n-conversion-guide/package.json +1 -8
- package/migration-registry/package.json +1 -8
- package/package.json +5 -13
- package/tools/analyze-a11y/package.json +1 -8
- package/tools/get-a11y-guidelines/package.json +1 -8
- package/tools/get-all-components/package.json +1 -8
- package/tools/get-all-icons/package.json +1 -8
- package/tools/get-all-tokens/package.json +1 -8
- package/tools/get-guidelines/package.json +1 -8
- package/tools/get-lint-rules/package.json +1 -8
- package/tools/i18n-conversion/package.json +1 -8
- package/tools/migration-guides/package.json +1 -8
- package/tools/plan/package.json +1 -8
- package/tools/search-components/package.json +1 -8
- package/tools/search-icons/package.json +1 -8
- package/tools/search-tokens/package.json +1 -8
- package/tools/suggest-a11y-fixes/package.json +1 -8
- package/dist/types-ts4.5/entry-points/a11y-fixes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/a11y-guidelines.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/analyze-a11y.d.ts +0 -5
- package/dist/types-ts4.5/entry-points/get-a11y-guidelines.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/get-all-components.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-all-icons.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-all-tokens.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-atlaskit-components.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/get-guidelines.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/get-lint-rules.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/i18n-conversion-guide.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/i18n-conversion.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/migration-guides.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/migration-registry.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/plan.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-atlaskit-components.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-components.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-icons.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/search-tokens.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/suggest-a11y-fixes.d.ts +0 -3
- package/dist/types-ts4.5/helpers/agent.d.ts +0 -3
- package/dist/types-ts4.5/helpers/analytics.d.ts +0 -21
- package/dist/types-ts4.5/helpers/clean-query.d.ts +0 -1
- package/dist/types-ts4.5/helpers/compute-multi-term-fuse-allocation.d.ts +0 -14
- package/dist/types-ts4.5/helpers/config-path.d.ts +0 -7
- package/dist/types-ts4.5/helpers/fuse-multi-term.d.ts +0 -26
- package/dist/types-ts4.5/helpers/index.d.ts +0 -3
- package/dist/types-ts4.5/helpers/send-operational-event.d.ts +0 -13
- package/dist/types-ts4.5/helpers/staff-id.d.ts +0 -1
- package/dist/types-ts4.5/helpers/validation.d.ts +0 -26
- package/dist/types-ts4.5/helpers/zod-to-json-schema.d.ts +0 -3
- package/dist/types-ts4.5/index.d.ts +0 -7
- package/dist/types-ts4.5/instructions.d.ts +0 -1
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-input-schema.d.ts +0 -17
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-localhost-input-schema.d.ts +0 -17
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-a11y-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/analyze-a11y/analyze-localhost-a11y-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/analyze-a11y/generate-ads-fix-for-violation.d.ts +0 -1
- package/dist/types-ts4.5/tools/analyze-a11y/list-analyze-a11y-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/analyze-a11y/list-analyze-localhost-a11y-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-a11y-guidelines/get-a11y-guidelines-input-schema.d.ts +0 -8
- package/dist/types-ts4.5/tools/get-a11y-guidelines/get-a11y-guidelines-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/get-a11y-guidelines/guidelines.d.ts +0 -102
- package/dist/types-ts4.5/tools/get-a11y-guidelines/list-get-a11y-guidelines-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-all-components/components.codegen.d.ts +0 -10
- package/dist/types-ts4.5/tools/get-all-components/components.d.ts +0 -10
- package/dist/types-ts4.5/tools/get-all-components/get-all-components-tool.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-all-components/list-get-all-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-all-components/load-all-components.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-all-components/types.d.ts +0 -26
- package/dist/types-ts4.5/tools/get-all-icons/get-all-icons-tool.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-all-icons/icons.d.ts +0 -11
- package/dist/types-ts4.5/tools/get-all-icons/list-get-all-icons-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-all-tokens/get-all-tokens-tool.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-all-tokens/list-get-all-tokens-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +0 -10
- package/dist/types-ts4.5/tools/get-atlaskit-components/get-atlaskit-components-tool.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-atlaskit-components/list-get-atlaskit-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-guidelines/get-guidelines-input-schema.d.ts +0 -5
- package/dist/types-ts4.5/tools/get-guidelines/get-guidelines-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/get-guidelines/guidelines-structured-content.codegen.d.ts +0 -13
- package/dist/types-ts4.5/tools/get-guidelines/list-get-guidelines-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/get-lint-rules/get-lint-rules-input-schema.d.ts +0 -6
- package/dist/types-ts4.5/tools/get-lint-rules/get-lint-rules-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/get-lint-rules/lint-rules-structured-content.codegen.d.ts +0 -13
- package/dist/types-ts4.5/tools/get-lint-rules/list-get-lint-rules-tool.d.ts +0 -19
- package/dist/types-ts4.5/tools/i18n-conversion/guide.d.ts +0 -5
- package/dist/types-ts4.5/tools/i18n-conversion/i18n-conversion-input-schema.d.ts +0 -10
- package/dist/types-ts4.5/tools/i18n-conversion/i18n-conversion-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/i18n-conversion/list-i18n-conversion-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/i18n-conversion/types.d.ts +0 -22
- package/dist/types-ts4.5/tools/migration-guides/get-available-migration-ids.d.ts +0 -12
- package/dist/types-ts4.5/tools/migration-guides/get-available-migrations-description.d.ts +0 -13
- package/dist/types-ts4.5/tools/migration-guides/list-migration-guides-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migration-guides-input-schema.d.ts +0 -15
- package/dist/types-ts4.5/tools/migration-guides/migration-guides-tool.d.ts +0 -8
- package/dist/types-ts4.5/tools/migration-guides/migration-registry.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-jira-spotlight.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-multi-step.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-single-step.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/migrations/onboarding-with-motion.d.ts +0 -2
- package/dist/types-ts4.5/tools/migration-guides/types.d.ts +0 -23
- package/dist/types-ts4.5/tools/plan/list-plan-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/plan/plan-input-schema.d.ts +0 -20
- package/dist/types-ts4.5/tools/plan/plan-tool.d.ts +0 -15
- package/dist/types-ts4.5/tools/search-atlaskit-components/list-search-atlaskit-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-input-schema.d.ts +0 -11
- package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/search-components/list-search-components-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-components/search-components-input-schema.d.ts +0 -11
- package/dist/types-ts4.5/tools/search-components/search-components-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/search-icons/list-search-icons-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-icons/search-icons-input-schema.d.ts +0 -11
- package/dist/types-ts4.5/tools/search-icons/search-icons-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/search-tokens/list-search-tokens-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/search-tokens/search-tokens-input-schema.d.ts +0 -11
- package/dist/types-ts4.5/tools/search-tokens/search-tokens-tool.d.ts +0 -4
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/fixes.d.ts +0 -17
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/keywords.d.ts +0 -12
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/list-suggest-a11y-fixes-tool.d.ts +0 -2
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/suggest-a11y-fixes-input-schema.d.ts +0 -17
- package/dist/types-ts4.5/tools/suggest-a11y-fixes/suggest-a11y-fixes-tool.d.ts +0 -8
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type IconMCPSchema = {
|
|
2
|
-
keywords: string[];
|
|
3
|
-
componentName: string;
|
|
4
|
-
package: string;
|
|
5
|
-
categorization: 'single-purpose' | 'multi-purpose';
|
|
6
|
-
team: string;
|
|
7
|
-
status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated' | undefined;
|
|
8
|
-
usage?: string | undefined;
|
|
9
|
-
shouldRecommendSmallIcon?: boolean | undefined;
|
|
10
|
-
};
|
|
11
|
-
export declare const icons: IconMCPSchema[];
|
|
@@ -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::bd5b86ae65b6b9e48b637d6a463db4f9>>
|
|
7
|
-
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-components
|
|
8
|
-
*/
|
|
9
|
-
import type { ComponentMcpPayload } from '../get-all-components/types';
|
|
10
|
-
export declare const atlaskitComponents: ComponentMcpPayload[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type z } from 'zod';
|
|
2
|
-
import { type getGuidelinesInputSchema } from './get-guidelines-input-schema';
|
|
3
|
-
export declare const getGuidelinesTool: (params: z.infer<typeof getGuidelinesInputSchema>) => Promise<{
|
|
4
|
-
content: {
|
|
5
|
-
type: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}[];
|
|
8
|
-
}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Structured content for content guidelines from design-system-docs foundations content.
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::172be2830ddae4adfd4b9c4a11d5b54a>>
|
|
7
|
-
* @codegenCommand yarn build structured-docs
|
|
8
|
-
*/
|
|
9
|
-
export interface GuidelineStructuredContent {
|
|
10
|
-
content: string;
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}
|
|
13
|
-
export declare const guidelinesStructuredContent: GuidelineStructuredContent[];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const getLintRulesInputSchema: z.ZodObject<{
|
|
3
|
-
terms: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, 'many'>>>;
|
|
4
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
|
-
exactName: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import type { z } from 'zod';
|
|
3
|
-
import type { getLintRulesInputSchema } from './get-lint-rules-input-schema';
|
|
4
|
-
export declare const getLintRulesTool: (params: z.infer<typeof getLintRulesInputSchema>) => Promise<CallToolResult>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Structured content for MCP (JSON) for ESLint rule docs from constellation.
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::ec87e0b1e121242b7bd900e58c42ea14>>
|
|
7
|
-
* @codegenCommand yarn build structured-docs
|
|
8
|
-
*/
|
|
9
|
-
export interface LintRuleStructuredContent {
|
|
10
|
-
content: any;
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}
|
|
13
|
-
export declare const lintRulesMcpStructuredContent: LintRuleStructuredContent[];
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const listGetLintRulesTool: {
|
|
2
|
-
name: string;
|
|
3
|
-
description: string;
|
|
4
|
-
annotations: {
|
|
5
|
-
title: string;
|
|
6
|
-
readOnlyHint: boolean;
|
|
7
|
-
destructiveHint: boolean;
|
|
8
|
-
idempotentHint: boolean;
|
|
9
|
-
openWorldHint: boolean;
|
|
10
|
-
};
|
|
11
|
-
inputSchema: {
|
|
12
|
-
[x: string]: unknown;
|
|
13
|
-
type: 'object';
|
|
14
|
-
properties?: {
|
|
15
|
-
[x: string]: unknown;
|
|
16
|
-
} | undefined;
|
|
17
|
-
required?: string[] | undefined;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const i18nConversionInputSchema: z.ZodObject<{
|
|
3
|
-
guide: z.ZodEnum<[
|
|
4
|
-
'hardcoded-string-to-formatmessage'
|
|
5
|
-
]>;
|
|
6
|
-
}, 'strip', z.ZodTypeAny, {
|
|
7
|
-
guide: 'hardcoded-string-to-formatmessage';
|
|
8
|
-
}, {
|
|
9
|
-
guide: 'hardcoded-string-to-formatmessage';
|
|
10
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod';
|
|
2
|
-
import type { i18nConversionInputSchema } from './i18n-conversion-input-schema';
|
|
3
|
-
export declare const i18nConversionTool: (_params: z.infer<typeof i18nConversionInputSchema>) => Promise<{
|
|
4
|
-
content: {
|
|
5
|
-
type: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}[];
|
|
8
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Types for the i18n conversion tool
|
|
3
|
-
*/
|
|
4
|
-
export interface ConversionPattern {
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
before: string;
|
|
8
|
-
after: string;
|
|
9
|
-
explanation: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ConversionGuide {
|
|
12
|
-
id: string;
|
|
13
|
-
title: string;
|
|
14
|
-
description: string;
|
|
15
|
-
purpose: string;
|
|
16
|
-
scope: string;
|
|
17
|
-
implementationChecklist: string[];
|
|
18
|
-
patterns: ConversionPattern[];
|
|
19
|
-
bestPractices: string[];
|
|
20
|
-
commonPitfalls: string[];
|
|
21
|
-
additionalResources: string | string[];
|
|
22
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration registry - central place to register all available migrations
|
|
3
|
-
*
|
|
4
|
-
* To add a new migration:
|
|
5
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
6
|
-
* 2. Import and add to the registry below
|
|
7
|
-
* 3. The tool will automatically include it in the available options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Get all available migration IDs for use in the tool schema
|
|
11
|
-
*/
|
|
12
|
-
export declare const getAvailableMigrationIds: () => string[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration registry - central place to register all available migrations
|
|
3
|
-
*
|
|
4
|
-
* To add a new migration:
|
|
5
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
6
|
-
* 2. Import and add to the registry below
|
|
7
|
-
* 3. The tool will automatically include it in the available options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Get a formatted list of available migrations with descriptions
|
|
11
|
-
* Useful for tool descriptions and help text
|
|
12
|
-
*/
|
|
13
|
-
export declare const getAvailableMigrationsDescription: () => string[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const migrationGuidesInputSchema: z.ZodObject<{
|
|
3
|
-
migration: z.ZodEnum<[
|
|
4
|
-
string
|
|
5
|
-
]>;
|
|
6
|
-
description: z.ZodEnum<[
|
|
7
|
-
string
|
|
8
|
-
]>;
|
|
9
|
-
}, 'strip', z.ZodTypeAny, {
|
|
10
|
-
migration: string;
|
|
11
|
-
description: string;
|
|
12
|
-
}, {
|
|
13
|
-
migration: string;
|
|
14
|
-
description: string;
|
|
15
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod';
|
|
2
|
-
import type { migrationGuidesInputSchema } from './migration-guides-input-schema';
|
|
3
|
-
export declare const migrationGuidesTool: (params: z.infer<typeof migrationGuidesInputSchema>) => Promise<{
|
|
4
|
-
content: {
|
|
5
|
-
type: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}[];
|
|
8
|
-
}>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Types for the migration guides tool
|
|
3
|
-
*/
|
|
4
|
-
export interface MigrationExample {
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
before: string;
|
|
8
|
-
after: string;
|
|
9
|
-
explanation: string;
|
|
10
|
-
}
|
|
11
|
-
export interface MigrationGuide {
|
|
12
|
-
id: string;
|
|
13
|
-
title: string;
|
|
14
|
-
description: string;
|
|
15
|
-
fromPackage: string;
|
|
16
|
-
toPackage: string;
|
|
17
|
-
examples: MigrationExample[];
|
|
18
|
-
bestPractices: string[];
|
|
19
|
-
additionalResources: string;
|
|
20
|
-
}
|
|
21
|
-
export interface MigrationRegistry {
|
|
22
|
-
[key: string]: MigrationGuide;
|
|
23
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const planInputSchema: z.ZodObject<{
|
|
3
|
-
tokens: z.ZodArray<z.ZodString, 'many'>;
|
|
4
|
-
icons: z.ZodArray<z.ZodString, 'many'>;
|
|
5
|
-
components: z.ZodArray<z.ZodString, 'many'>;
|
|
6
|
-
atlaskitComponents: z.ZodArray<z.ZodString, 'many'>;
|
|
7
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
-
}, 'strip', z.ZodTypeAny, {
|
|
9
|
-
tokens: string[];
|
|
10
|
-
icons: string[];
|
|
11
|
-
components: string[];
|
|
12
|
-
atlaskitComponents: string[];
|
|
13
|
-
limit?: number | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
tokens: string[];
|
|
16
|
-
icons: string[];
|
|
17
|
-
components: string[];
|
|
18
|
-
atlaskitComponents: string[];
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
}>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod';
|
|
2
|
-
import type { planInputSchema } from './plan-input-schema';
|
|
3
|
-
export declare const planTool: ({ tokens: tokens_search, icons: icons_search, components: components_search, atlaskitComponents: atlaskit_components_search, limit, }: z.infer<typeof planInputSchema>) => Promise<{
|
|
4
|
-
isError: boolean;
|
|
5
|
-
content: {
|
|
6
|
-
type: string;
|
|
7
|
-
text: string;
|
|
8
|
-
}[];
|
|
9
|
-
} | {
|
|
10
|
-
content: {
|
|
11
|
-
type: string;
|
|
12
|
-
text: string;
|
|
13
|
-
}[];
|
|
14
|
-
isError?: undefined;
|
|
15
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const searchAtlaskitComponentsInputSchema: z.ZodObject<{
|
|
3
|
-
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
4
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
|
-
}, 'strip', z.ZodTypeAny, {
|
|
6
|
-
terms: string[];
|
|
7
|
-
limit?: number | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
terms: string[];
|
|
10
|
-
limit?: number | undefined;
|
|
11
|
-
}>;
|
package/dist/types-ts4.5/tools/search-atlaskit-components/search-atlaskit-components-tool.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { type z } from 'zod';
|
|
3
|
-
import type { searchAtlaskitComponentsInputSchema } from './search-atlaskit-components-input-schema';
|
|
4
|
-
export declare const searchAtlaskitComponentsTool: ({ terms, limit, }: z.infer<typeof searchAtlaskitComponentsInputSchema>) => Promise<CallToolResult>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const searchComponentsInputSchema: z.ZodObject<{
|
|
3
|
-
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
4
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
|
-
}, 'strip', z.ZodTypeAny, {
|
|
6
|
-
terms: string[];
|
|
7
|
-
limit?: number | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
terms: string[];
|
|
10
|
-
limit?: number | undefined;
|
|
11
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { type z } from 'zod';
|
|
3
|
-
import { type searchComponentsInputSchema } from './search-components-input-schema';
|
|
4
|
-
export declare const searchComponentsTool: ({ terms, limit, }: z.infer<typeof searchComponentsInputSchema>) => Promise<CallToolResult>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const searchIconsInputSchema: z.ZodObject<{
|
|
3
|
-
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
4
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
|
-
}, 'strip', z.ZodTypeAny, {
|
|
6
|
-
terms: string[];
|
|
7
|
-
limit?: number | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
terms: string[];
|
|
10
|
-
limit?: number | undefined;
|
|
11
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { type z } from 'zod';
|
|
3
|
-
import { type searchIconsInputSchema } from './search-icons-input-schema';
|
|
4
|
-
export declare const searchIconsTool: ({ terms, limit, }: z.infer<typeof searchIconsInputSchema>) => Promise<CallToolResult>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const searchTokensInputSchema: z.ZodObject<{
|
|
3
|
-
terms: z.ZodArray<z.ZodString, 'many'>;
|
|
4
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
5
|
-
}, 'strip', z.ZodTypeAny, {
|
|
6
|
-
terms: string[];
|
|
7
|
-
limit?: number | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
terms: string[];
|
|
10
|
-
limit?: number | undefined;
|
|
11
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { type z } from 'zod';
|
|
3
|
-
import { type searchTokensInputSchema } from './search-tokens-input-schema';
|
|
4
|
-
export declare const searchTokensTool: ({ terms, limit, }: z.infer<typeof searchTokensInputSchema>) => Promise<CallToolResult>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface FixSuggestion {
|
|
2
|
-
title: string;
|
|
3
|
-
description: string;
|
|
4
|
-
before: string;
|
|
5
|
-
after: string;
|
|
6
|
-
explanation: string;
|
|
7
|
-
}
|
|
8
|
-
export interface AccessibilityFix {
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
fixes: FixSuggestion[];
|
|
12
|
-
bestPractices: string[];
|
|
13
|
-
}
|
|
14
|
-
export interface AccessibilityFixCategory {
|
|
15
|
-
[key: string]: AccessibilityFix;
|
|
16
|
-
}
|
|
17
|
-
export declare const accessibilityFixes: AccessibilityFixCategory;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Violation keywords mapping for fuzzy matching accessibility violations
|
|
3
|
-
*
|
|
4
|
-
* This file contains keyword synonyms and variations that users might use
|
|
5
|
-
* when describing accessibility violations. The keys should match the exact
|
|
6
|
-
* violation types defined in fixes.ts
|
|
7
|
-
*
|
|
8
|
-
* Each violation type has an array of keywords that help identify when a user
|
|
9
|
-
* is describing that particular type of accessibility issue, even if they
|
|
10
|
-
* don't use the exact technical terminology.
|
|
11
|
-
*/
|
|
12
|
-
export declare const violationKeywords: Record<string, string[]>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const suggestA11yFixesInputSchema: z.ZodObject<{
|
|
3
|
-
violation: z.ZodString;
|
|
4
|
-
code: z.ZodString;
|
|
5
|
-
component: z.ZodOptional<z.ZodString>;
|
|
6
|
-
context: z.ZodOptional<z.ZodString>;
|
|
7
|
-
}, 'strip', z.ZodTypeAny, {
|
|
8
|
-
code: string;
|
|
9
|
-
violation: string;
|
|
10
|
-
context?: string | undefined;
|
|
11
|
-
component?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
code: string;
|
|
14
|
-
violation: string;
|
|
15
|
-
context?: string | undefined;
|
|
16
|
-
component?: string | undefined;
|
|
17
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { z } from 'zod';
|
|
2
|
-
import type { suggestA11yFixesInputSchema } from './suggest-a11y-fixes-input-schema';
|
|
3
|
-
export declare const suggestA11yFixesTool: (params: z.infer<typeof suggestA11yFixesInputSchema>) => Promise<{
|
|
4
|
-
content: {
|
|
5
|
-
type: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}[];
|
|
8
|
-
}>;
|