mta-mcp 2.13.0 → 2.14.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/agents/flutter.agent.md +117 -1147
- package/agents/vue3.agent.md +177 -464
- package/dist/index.d.ts +63 -0
- package/dist/index.js +551 -132
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/troubleshooting/README.md +366 -0
- package/troubleshooting/USAGE_GUIDE.md +289 -0
- package/troubleshooting/flutter/clip-/351/230/264/345/275/261/350/243/201/345/211/252.md +244 -0
- package/troubleshooting/flutter/input-/345/255/227/346/256/265/347/274/272/345/244/261.md +240 -0
- package/troubleshooting/flutter/input-/350/276/271/346/241/206/351/227/256/351/242/230.md +236 -0
- package/troubleshooting/flutter/layout-/345/260/272/345/257/270/344/270/215/345/214/271/351/205/215.md +214 -0
- package/troubleshooting/flutter/shadow-/351/200/217/345/207/272/351/227/256/351/242/230.md +172 -0
- package/troubleshooting/flutter/sketch-/345/233/276/346/240/207/345/260/272/345/257/270.md +135 -0
- package/troubleshooting/flutter/sketch-/345/256/214/346/225/264/346/217/220/345/217/226.md +201 -0
- package/troubleshooting/flutter/sketch-/345/261/236/346/200/247/346/234/252/344/275/277/347/224/250.md +139 -0
- package/troubleshooting/flutter/svg-/346/234/252/345/261/205/344/270/255.md +120 -0
- package/troubleshooting/flutter/svg-/351/242/234/350/211/262/345/274/202/345/270/270.md +117 -0
- package/troubleshooting/flutter/tabbar-/345/212/250/347/224/273/345/220/214/346/255/245.md +107 -0
- package/troubleshooting/flutter/withopacity-/345/274/203/347/224/250.md +81 -0
- package/troubleshooting/vue3/cascader-/350/257/257/346/233/277/346/215/242.md +130 -0
- package/troubleshooting/vue3/drawer-input-/346/240/267/345/274/217.md +181 -0
- package/troubleshooting/vue3/table-/347/274/226/350/276/221/345/217/226/346/266/210.md +148 -0
- package/troubleshooting/vue3/table-/350/276/271/346/241/206/351/227/256/351/242/230.md +178 -0
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,64 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 故障排除案例元数据
|
|
4
|
+
*/
|
|
5
|
+
interface TroubleshootingCase {
|
|
6
|
+
id: string;
|
|
7
|
+
framework: string;
|
|
8
|
+
title: string;
|
|
9
|
+
problemType: string;
|
|
10
|
+
tags: string[];
|
|
11
|
+
severity: string;
|
|
12
|
+
timeSaved: string;
|
|
13
|
+
filePath: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 查询结果
|
|
17
|
+
*/
|
|
18
|
+
interface TroubleshootingQueryResult {
|
|
19
|
+
cases: Array<{
|
|
20
|
+
id: string;
|
|
21
|
+
title: string;
|
|
22
|
+
framework: string;
|
|
23
|
+
problemType: string;
|
|
24
|
+
tags: string[];
|
|
25
|
+
matchScore: number;
|
|
26
|
+
timeSaved: string;
|
|
27
|
+
preview: string;
|
|
28
|
+
}>;
|
|
29
|
+
totalFound: number;
|
|
30
|
+
queryInfo: {
|
|
31
|
+
framework?: string;
|
|
32
|
+
keywords: string[];
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 查询故障排除案例
|
|
38
|
+
*/
|
|
39
|
+
declare function queryTroubleshootingCases(params: {
|
|
40
|
+
framework?: string;
|
|
41
|
+
keywords?: string[];
|
|
42
|
+
errorMessage?: string;
|
|
43
|
+
codePattern?: string;
|
|
44
|
+
limit?: number;
|
|
45
|
+
}): Promise<TroubleshootingQueryResult>;
|
|
46
|
+
/**
|
|
47
|
+
* 获取案例完整内容
|
|
48
|
+
*/
|
|
49
|
+
declare function getTroubleshootingCaseContent(params: {
|
|
50
|
+
framework: string;
|
|
51
|
+
caseId: string;
|
|
52
|
+
}): Promise<{
|
|
53
|
+
content: string;
|
|
54
|
+
metadata: any;
|
|
55
|
+
}>;
|
|
56
|
+
/**
|
|
57
|
+
* 列出所有可用案例
|
|
58
|
+
*/
|
|
59
|
+
declare function listTroubleshootingCases(framework?: string): Promise<{
|
|
60
|
+
cases: TroubleshootingCase[];
|
|
61
|
+
frameworks: string[];
|
|
62
|
+
}>;
|
|
63
|
+
|
|
64
|
+
export { getTroubleshootingCaseContent, listTroubleshootingCases, queryTroubleshootingCases };
|