@comate/zulu 0.2.1-beta.2 → 0.2.2
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/README.md +1 -0
- package/comate-engine/bin/comate.js +9 -0
- package/comate-engine/node_modules/@comate/plugin-engine/dist/index.js +8 -8
- package/comate-engine/node_modules/@comate/plugin-host/dist/index.js +1 -1
- package/comate-engine/node_modules/@comate/plugin-host/dist/main.js +1 -1
- package/comate-engine/node_modules/@comate/plugin-host/dist/user-DQgjkMe9.js +44 -0
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.d.ts +24 -6
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.js +8 -8
- package/comate-engine/node_modules/@comate/preview-proxy/dist/index.js +59 -72
- package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.css +1 -1
- package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.js +1 -1
- package/comate-engine/node_modules/better-sqlite3/node_modules/.bin/prebuild-install +2 -2
- package/comate-engine/plugins/demo-feature/dist/index.js +337 -30
- package/comate-engine/server.js +11 -11
- package/dist/bundle/index.js +8 -8
- package/package.json +1 -1
- package/comate-engine/node_modules/@comate/plugin-host/dist/user-Buhpnssj.js +0 -44
- package/comate-engine/plugins/aiscan/assets/icon.svg +0 -12
- package/comate-engine/plugins/aiscan/dist/index.js +0 -53861
- package/comate-engine/plugins/aiscan/package.json +0 -67
- package/comate-engine/plugins/appdev/assets/icon.png +0 -0
- package/comate-engine/plugins/appdev/dist/help.md +0 -12
- package/comate-engine/plugins/appdev/dist/index.d.ts +0 -2
- package/comate-engine/plugins/appdev/dist/index.js +0 -194
- package/comate-engine/plugins/appdev/dist/providers/err.d.ts +0 -8
- package/comate-engine/plugins/appdev/dist/providers/err.js +0 -37
- package/comate-engine/plugins/appdev/dist/providers/fallback.d.ts +0 -5
- package/comate-engine/plugins/appdev/dist/providers/fallback.js +0 -28
- package/comate-engine/plugins/appdev/dist/providers/help.d.ts +0 -8
- package/comate-engine/plugins/appdev/dist/providers/help.js +0 -19
- package/comate-engine/plugins/appdev/dist/providers/medusa.d.ts +0 -8
- package/comate-engine/plugins/appdev/dist/providers/medusa.js +0 -39
- package/comate-engine/plugins/appdev/dist/providers/qa.d.ts +0 -8
- package/comate-engine/plugins/appdev/dist/providers/qa.js +0 -33
- package/comate-engine/plugins/appdev/package.json +0 -67
- package/comate-engine/plugins/bfc/assets/bfc-icon.png +0 -0
- package/comate-engine/plugins/bfc/dist/config/config.d.ts +0 -4
- package/comate-engine/plugins/bfc/dist/config/config.js +0 -4
- package/comate-engine/plugins/bfc/dist/help.md +0 -11
- package/comate-engine/plugins/bfc/dist/index.d.ts +0 -2
- package/comate-engine/plugins/bfc/dist/index.js +0 -452
- package/comate-engine/plugins/bfc/dist/providers/bfcInstructMode.d.ts +0 -8
- package/comate-engine/plugins/bfc/dist/providers/bfcInstructMode.js +0 -77
- package/comate-engine/plugins/bfc/dist/providers/genAbnormalCode.d.ts +0 -8
- package/comate-engine/plugins/bfc/dist/providers/genAbnormalCode.js +0 -71
- package/comate-engine/plugins/bfc/dist/providers/genBfcCode.d.ts +0 -8
- package/comate-engine/plugins/bfc/dist/providers/genBfcCode.js +0 -74
- package/comate-engine/plugins/bfc/dist/providers/getBatchCases.d.ts +0 -10
- package/comate-engine/plugins/bfc/dist/providers/getBatchCases.js +0 -71
- package/comate-engine/plugins/bfc/dist/providers/help.d.ts +0 -8
- package/comate-engine/plugins/bfc/dist/providers/help.js +0 -19
- package/comate-engine/plugins/bfc/dist/service/generateService.d.ts +0 -14
- package/comate-engine/plugins/bfc/dist/service/generateService.js +0 -27
- package/comate-engine/plugins/bfc/package.json +0 -85
- package/comate-engine/plugins/bpm/assets/bpm.png +0 -0
- package/comate-engine/plugins/bpm/dist/index.js +0 -313
- package/comate-engine/plugins/bpm/package.json +0 -65
- package/comate-engine/plugins/casebuilder/assets/icon.svg +0 -1
- package/comate-engine/plugins/casebuilder/dist/help.md +0 -33
- package/comate-engine/plugins/casebuilder/dist/index.js +0 -837
- package/comate-engine/plugins/casebuilder/package.json +0 -80
- package/comate-engine/plugins/centrino/assets/icon.png +0 -0
- package/comate-engine/plugins/centrino/dist/help.md +0 -30
- package/comate-engine/plugins/centrino/dist/index.js +0 -1046
- package/comate-engine/plugins/centrino/package.json +0 -68
- package/comate-engine/plugins/cnap/assets/cnap.png +0 -0
- package/comate-engine/plugins/cnap/dist/help.md +0 -11
- package/comate-engine/plugins/cnap/dist/index.js +0 -171
- package/comate-engine/plugins/cnap/package.json +0 -65
- package/comate-engine/plugins/demo-timer/assets/icon.svg +0 -2
- package/comate-engine/plugins/demo-timer/dist/index.js +0 -463
- package/comate-engine/plugins/demo-timer/package.json +0 -73
- package/comate-engine/plugins/dev-tools/assets/icon.png +0 -0
- package/comate-engine/plugins/dev-tools/dist/help.md +0 -18
- package/comate-engine/plugins/dev-tools/dist/index.js +0 -166160
- package/comate-engine/plugins/dev-tools/package.json +0 -95
- package/comate-engine/plugins/devaux/assets/icon.svg +0 -1
- package/comate-engine/plugins/devaux/dist/help.md +0 -41
- package/comate-engine/plugins/devaux/dist/index.js +0 -74138
- package/comate-engine/plugins/devaux/dist/static/tree-sitter-cpp.wasm +0 -0
- package/comate-engine/plugins/devaux/dist/static/tree-sitter-go.wasm +0 -0
- package/comate-engine/plugins/devaux/dist/static/tree-sitter.wasm +0 -0
- package/comate-engine/plugins/devaux/dist/tree-sitter.wasm +0 -0
- package/comate-engine/plugins/devaux/package.json +0 -83
- package/comate-engine/plugins/f2c/assets/icon.svg +0 -11
- package/comate-engine/plugins/f2c/dist/help.md +0 -13
- package/comate-engine/plugins/f2c/dist/index.js +0 -81787
- package/comate-engine/plugins/f2c/package.json +0 -56
- package/comate-engine/plugins/fcnap/assets/icon.png +0 -0
- package/comate-engine/plugins/fcnap/dist/help.md +0 -9
- package/comate-engine/plugins/fcnap/dist/index.js +0 -105
- package/comate-engine/plugins/fcnap/package.json +0 -50
- package/comate-engine/plugins/front-end-skills/assets/icon.svg +0 -1
- package/comate-engine/plugins/front-end-skills/dist/help.md +0 -17
- package/comate-engine/plugins/front-end-skills/dist/index.js +0 -8172
- package/comate-engine/plugins/front-end-skills/package.json +0 -79
- package/comate-engine/plugins/gdp/assets/icon.png +0 -0
- package/comate-engine/plugins/gdp/dist/help.md +0 -11
- package/comate-engine/plugins/gdp/dist/index.js +0 -53065
- package/comate-engine/plugins/gdp/package.json +0 -79
- package/comate-engine/plugins/git/assets/git.svg +0 -1
- package/comate-engine/plugins/git/assets/icon.svg +0 -1
- package/comate-engine/plugins/git/dist/help.md +0 -7
- package/comate-engine/plugins/git/dist/index.js +0 -32675
- package/comate-engine/plugins/git/package.json +0 -91
- package/comate-engine/plugins/harmonyos/assets/harmonyos.png +0 -0
- package/comate-engine/plugins/harmonyos/dist/index.js +0 -78
- package/comate-engine/plugins/harmonyos/package.json +0 -37
- package/comate-engine/plugins/iapi/assets/icon.png +0 -0
- package/comate-engine/plugins/iapi/dist/help.md +0 -13
- package/comate-engine/plugins/iapi/dist/index.js +0 -458
- package/comate-engine/plugins/iapi/dist/static/lang/tree-sitter-go.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/static/lang/tree-sitter-java.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/static/tree-sitter-go.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/static/tree-sitter-java.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/tree-sitter.wasm +0 -0
- package/comate-engine/plugins/iapi/package.json +0 -102
- package/comate-engine/plugins/icafe/assets/icafe.svg +0 -1
- package/comate-engine/plugins/icafe/dist/help.md +0 -5
- package/comate-engine/plugins/icafe/dist/index.js +0 -885
- package/comate-engine/plugins/icafe/package.json +0 -74
- package/comate-engine/plugins/ievalue/assets/iEValue.svg +0 -10
- package/comate-engine/plugins/ievalue/dist/index.js +0 -2920
- package/comate-engine/plugins/ievalue/package.json +0 -88
- package/comate-engine/plugins/ipipe/assets/iPipePlugin.png +0 -0
- package/comate-engine/plugins/ipipe/dist/help.md +0 -15
- package/comate-engine/plugins/ipipe/dist/index.js +0 -7264
- package/comate-engine/plugins/ipipe/package.json +0 -62
- package/comate-engine/plugins/jarvis/assets/icon.svg +0 -1
- package/comate-engine/plugins/jarvis/dist/help.md +0 -17
- package/comate-engine/plugins/jarvis/dist/index.js +0 -140416
- package/comate-engine/plugins/jarvis/package.json +0 -93
- package/comate-engine/plugins/mapsearch/assets/mapsearchicon.png +0 -0
- package/comate-engine/plugins/mapsearch/dist/help.md +0 -4
- package/comate-engine/plugins/mapsearch/dist/index.js +0 -145
- package/comate-engine/plugins/mapsearch/package.json +0 -53
- package/comate-engine/plugins/paddle/assets/icon.png +0 -0
- package/comate-engine/plugins/paddle/assets/paconvert-3.0.1-py3-none-any.whl +0 -0
- package/comate-engine/plugins/paddle/dist/help.md +0 -31
- package/comate-engine/plugins/paddle/dist/index.js +0 -1011
- package/comate-engine/plugins/paddle/package.json +0 -129
- package/comate-engine/plugins/robot/assets/Robot.png +0 -0
- package/comate-engine/plugins/robot/dist/index.js +0 -288
- package/comate-engine/plugins/robot/package.json +0 -67
- package/comate-engine/plugins/security/assets/comate.png +0 -0
- package/comate-engine/plugins/security/dist/index.js +0 -18393
- package/comate-engine/plugins/security/package.json +0 -82
- package/comate-engine/plugins/smartapp/assets/icon.png +0 -0
- package/comate-engine/plugins/smartapp/dist/help.md +0 -4
- package/comate-engine/plugins/smartapp/dist/index.js +0 -113
- package/comate-engine/plugins/smartapp/package.json +0 -54
- package/comate-engine/plugins/testmate/assets/icon.svg +0 -1
- package/comate-engine/plugins/testmate/dist/help.md +0 -62
- package/comate-engine/plugins/testmate/dist/index.js +0 -21483
- package/comate-engine/plugins/testmate/package.json +0 -85
- package/comate-engine/plugins/tor/assets/TorPlugin.png +0 -0
- package/comate-engine/plugins/tor/dist/help.md +0 -22
- package/comate-engine/plugins/tor/dist/index.js +0 -807
- package/comate-engine/plugins/tor/package.json +0 -99
- package/comate-engine/plugins/weiyun/assets/icon.png +0 -0
- package/comate-engine/plugins/weiyun/dist/help.md +0 -11
- package/comate-engine/plugins/weiyun/dist/index.js +0 -100491
- package/comate-engine/plugins/weiyun/package.json +0 -55
- package/comate-engine/plugins/workcard/assets/favicon.png +0 -0
- package/comate-engine/plugins/workcard/dist/help.md +0 -30
- package/comate-engine/plugins/workcard/dist/index.js +0 -490
- package/comate-engine/plugins/workcard/package.json +0 -95
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"private": true,
|
|
3
|
-
"name": "@comate-plugin/casebuilder",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"clean": "rm -rf dist",
|
|
8
|
-
"dev": "cpd dev",
|
|
9
|
-
"build": "tsc && cpd build"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"eventsource-parser": "^2.0.0"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@comate/plugin-cli": "^0.9.2",
|
|
16
|
-
"@comate/plugin-host": "^0.9.2",
|
|
17
|
-
"typescript": "^5.3.2"
|
|
18
|
-
},
|
|
19
|
-
"comate": {
|
|
20
|
-
"name": "casebuilder",
|
|
21
|
-
"version": "1.0.0",
|
|
22
|
-
"icon": "./assets/icon.svg",
|
|
23
|
-
"entry": "./dist/index.js",
|
|
24
|
-
"displayName": "CaseBuilder",
|
|
25
|
-
"description": "基于iAPI接口定义和代码库已有函数生成符合当前代码库风格的自动化测试用例代码",
|
|
26
|
-
"keyword": [],
|
|
27
|
-
"capabilities": [
|
|
28
|
-
{
|
|
29
|
-
"type": "Skill",
|
|
30
|
-
"name": "help",
|
|
31
|
-
"displayName": "插件介绍",
|
|
32
|
-
"description": "插件介绍"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "Skill",
|
|
36
|
-
"name": "info",
|
|
37
|
-
"displayName": "查看当前代码库信息",
|
|
38
|
-
"description": "查看当前代码库在平台的信息和iAPI绑定关系"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "Skill",
|
|
42
|
-
"name": "setRepoProject",
|
|
43
|
-
"displayName": "设置默认iAPI项目",
|
|
44
|
-
"description": "代码库必须要和iAPI项目做绑定,同时只能使用一个iAPI项目做接口生成",
|
|
45
|
-
"placeholder": "请输入需要设置的默认iAPI项目ID"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"type": "Skill",
|
|
49
|
-
"name": "setCaseDemoContent",
|
|
50
|
-
"displayName": "设置样例代码【用例】",
|
|
51
|
-
"description": "用例样例代码可用于用例生成的示例代码",
|
|
52
|
-
"placeholder": "请【打开】或【选中】需要设置的用例样例文件,并保持文件打开状态"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "Skill",
|
|
56
|
-
"name": "ragRepoFunc",
|
|
57
|
-
"displayName": "代码库函数命中测试",
|
|
58
|
-
"description": "根据关键字检索已经上传AB知识库的函数知识",
|
|
59
|
-
"placeholder": "请以自然语言输入用例描述或用例实现步骤来验证函数匹配结果"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "Skill",
|
|
63
|
-
"name": "repoAnalyze",
|
|
64
|
-
"displayName": "分析代码库",
|
|
65
|
-
"description": "指定目录或文件进行分析代码",
|
|
66
|
-
"placeholder": "请输入需要分析的相对目录、文件或选中需要分析的代码段"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"type": "Skill",
|
|
70
|
-
"name": "genCaseV2",
|
|
71
|
-
"displayName": "用例生成",
|
|
72
|
-
"description": "基于代码库现有函数和接口信息进行用例生成",
|
|
73
|
-
"placeholder": "请以自然语言输入用例描述或用例实现步骤"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"configSchema": {
|
|
77
|
-
"sections": []
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
Binary file
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
您好,我是Python后端用例生成助手,可基于私域知识库生成后端测试用例代码,若当前代码库未绑定私域知识,用例生成效果无法保障
|
|
2
|
-
|
|
3
|
-
# 版本v1
|
|
4
|
-
* 基于 **/知识库** 和 **/用例生成** 指令,可生成后端测试用例代码
|
|
5
|
-
|
|
6
|
-
## 绑定私域知识库
|
|
7
|
-
指令:**/知识库**
|
|
8
|
-
* 不输入任何参数来获取当前打开代码库的知识配置情况
|
|
9
|
-
* 输入Comate知识中心的知识集ID,为当前代码库绑定(或更新)私域知识
|
|
10
|
-
* 输入用例功能点及步骤描述信息,进行知识检索,以验证效果并调整知识文本
|
|
11
|
-
|
|
12
|
-
## 用例生成
|
|
13
|
-
指令:**/用例生成**
|
|
14
|
-
* 调用指令前,先选中一段用例代码作为示例,可以有效统一代码生成风格
|
|
15
|
-
* 准确描述您的用例测试功能点和详细的用例步骤,一个步骤单独一行排版,并以数字进行编号
|
|
16
|
-
|
|
17
|
-
更多详情:[More >>](https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/cxfEzYAqTQ/7WvAzgLbOkd3Ir)
|
|
18
|
-
|
|
19
|
-
# 版本v2(开发中)
|
|
20
|
-
* 基于 **/添加知识** 和 **/用例生成v2** 指令,可生成后端测试用例代码
|
|
21
|
-
|
|
22
|
-
## 添加知识
|
|
23
|
-
指令:**/添加知识**
|
|
24
|
-
* 先联系管理员为您的代码仓库创建私域知识库及相关配置
|
|
25
|
-
* 选中一段函数代码或完整的用例代码,调用指令将其添加为知识
|
|
26
|
-
|
|
27
|
-
## 用例生成
|
|
28
|
-
指令:**/用例生成v2**,使用方法与v1版本相同
|
|
29
|
-
|
|
30
|
-
如果您有任何需求或意见,可以进入如流群 **8631750** 反馈给我们
|