@master/css-mcp 2.0.0-rc.88 → 2.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 (47) hide show
  1. package/README.md +47 -22
  2. package/dist/bin/index.js +4 -5
  3. package/dist/classes.js +153 -168
  4. package/dist/compare.js +99 -83
  5. package/dist/context.d.ts +5 -10
  6. package/dist/context.js +28 -10
  7. package/dist/design-system-schema.js +97 -0
  8. package/dist/directives.js +59 -109
  9. package/dist/document.js +2 -10
  10. package/dist/format.js +67 -56
  11. package/dist/index.d.ts +2 -3
  12. package/dist/index.js +1 -3
  13. package/dist/internal/src/workspace.js +70 -0
  14. package/dist/language.js +27 -23
  15. package/dist/lint.js +86 -96
  16. package/dist/manifest-query.js +40 -100
  17. package/dist/manifest-summary.js +15 -35
  18. package/dist/output-schema.js +207 -0
  19. package/dist/preview-write-lock.js +90 -0
  20. package/dist/project-comparison-schema.js +59 -0
  21. package/dist/project.js +77 -18
  22. package/dist/result.js +67 -8
  23. package/dist/scan.js +93 -73
  24. package/dist/semantic-schema.js +286 -0
  25. package/dist/server.d.ts +10 -9
  26. package/dist/server.js +123 -111
  27. package/dist/setup.js +28 -29
  28. package/dist/source-schema.js +141 -0
  29. package/dist/suggest.js +22 -0
  30. package/dist/tooling-session.js +27 -0
  31. package/package.json +63 -73
  32. package/LICENSE +0 -21
  33. package/dist/classes.d.ts +0 -236
  34. package/dist/compare.d.ts +0 -70
  35. package/dist/contributor.d.ts +0 -149
  36. package/dist/contributor.js +0 -499
  37. package/dist/directives.d.ts +0 -132
  38. package/dist/document.d.ts +0 -24
  39. package/dist/format.d.ts +0 -56
  40. package/dist/language.d.ts +0 -24
  41. package/dist/lint.d.ts +0 -55
  42. package/dist/manifest-query.d.ts +0 -148
  43. package/dist/manifest-summary.d.ts +0 -47
  44. package/dist/project.d.ts +0 -31
  45. package/dist/result.d.ts +0 -8
  46. package/dist/scan.d.ts +0 -156
  47. package/dist/setup.d.ts +0 -67
package/dist/setup.d.ts DELETED
@@ -1,67 +0,0 @@
1
- import MasterCSSMCPContext from "./context.js";
2
- //#region src/setup.d.ts
3
- type SetupDiagnosticSeverity = 'error' | 'warning' | 'info';
4
- interface SetupDiagnostic {
5
- code: string;
6
- severity: SetupDiagnosticSeverity;
7
- message: string;
8
- data?: unknown;
9
- }
10
- declare function auditSetup(context: MasterCSSMCPContext): Promise<{
11
- version: number;
12
- root: string;
13
- status: string;
14
- packageManager: {
15
- declared: string | undefined;
16
- lockfiles: {
17
- name: string;
18
- filePath: string;
19
- }[];
20
- inferred: string;
21
- };
22
- packageJSON: {
23
- filePath: string;
24
- loaded: boolean;
25
- error?: string | undefined;
26
- };
27
- packages: {
28
- declared: {
29
- name: string;
30
- version: string;
31
- }[];
32
- setup: {
33
- name: string;
34
- version: string;
35
- }[];
36
- resolved: import("@master/css-project/workspace").MasterCSSWorkspacePackageResolution;
37
- };
38
- integrations: ({
39
- type: 'package';
40
- name: string;
41
- version: string;
42
- } | {
43
- type: 'script';
44
- name: string;
45
- command: string;
46
- })[];
47
- manifest: {
48
- status: "error" | "loaded";
49
- entries: string[];
50
- dependencies: string[];
51
- warnings: string[];
52
- error?: string | undefined;
53
- };
54
- diagnostics: SetupDiagnostic[];
55
- summary: {
56
- status: string;
57
- entries: number;
58
- declaredPackages: number;
59
- setupPackages: number;
60
- integrations: number;
61
- errors: number;
62
- warnings: number;
63
- info: number;
64
- };
65
- }>;
66
- //#endregion
67
- export { auditSetup };