@atlaskit/ads-mcp 0.21.1 → 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 +26 -0
- package/a11y-fixes/package.json +1 -8
- package/a11y-guidelines/package.json +1 -8
- 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,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,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,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::f011ef2e44bcfe53ddd263aceed05794>>
|
|
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,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,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
|
-
}>;
|