ai-worktool 1.0.43 → 1.0.44

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## 1.0.43 (2025-08-10)
1
+ ## 1.0.44 (2025-08-11)
2
2
 
3
3
 
4
4
  ### Bug Fixes
@@ -113,6 +113,7 @@
113
113
  * **project:** 增加加载 aicoder 配置文件功能 ([b4dc70b](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/b4dc70b3afa88cf45135cf56e63cbb2ffa2fed82))
114
114
  * Refactor CLI and program structure, update commands for testing and fixing code ([8dcbb19](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/8dcbb191fc8a95a40e07647de337452935926b10))
115
115
  * **test/demo:** 添加用户成绩 API 路由 ([6f838c7](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/6f838c7fda9924b1e5a7556d0a429427a652b985))
116
+ * **testAgent:** 使测试环境设置可配置 ([53e0760](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/53e07602c1d65882ffedb5340d971fe4c3f76cef))
116
117
  * **testAgent:** 添加onReady回调并移动覆盖率显示逻辑 ([746dfa3](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/746dfa39da2c010bf61e916a669b4fc77bc4661c))
117
118
  * **test:** 添加 demo ([403c8fe](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/403c8fe37d39a21936561e743087d6b25ab6ad56))
118
119
  * **toolbox:** 优化函数文档生成和行号处理 ([9a16317](https://codeup.aliyun.com/666cf9ed29ecbe23053513a3/JianGuoKe/ai-worktools/commits/9a163177914a2d175665697e1b5c9754488f7d62))
package/dist/testAgent.js CHANGED
@@ -21,7 +21,9 @@ async function startTestAgent(options) {
21
21
  log('项目初始化...');
22
22
  await (0, tools_1.initProject)(options.projectRoot, projectConfig.packageManager);
23
23
  }
24
- await (0, tools_1.setupTestEnvironment)(projectConfig.projectRoot, projectConfig.packageManager, projectConfig.languages[0], projectConfig.testFramework);
24
+ if (options.setupEnv !== false) {
25
+ await (0, tools_1.setupTestEnvironment)(projectConfig.projectRoot, projectConfig.packageManager, projectConfig.languages[0], projectConfig.testFramework);
26
+ }
25
27
  await options.onReady?.(projectConfig);
26
28
  let toolCalls = null;
27
29
  let lastTestResult = null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ai-worktool",
3
3
  "displayName": "吃豆豆:单测智能体",
4
- "version": "1.0.43",
4
+ "version": "1.0.44",
5
5
  "description": "单元测试智能体,帮你开发单元测试用例代码直到100%单测覆盖通过。",
6
6
  "author": "jianguoke.cn",
7
7
  "license": "MIT",
@@ -23,11 +23,11 @@
23
23
  "createup": "node ./uposs.js create-local-folder",
24
24
  "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
25
25
  "puball": "yarn ver && yarn exepack && yarn vspack && yarn pubvs && yarn pubovsx && yarn puboss && yarn pubnpm",
26
- "exepack": "yarn createup && cross-env PKG_CACHE_PATH=./binaries pkg -o packages/aicoder-1.0.43 . && yarn upicon",
26
+ "exepack": "yarn createup && cross-env PKG_CACHE_PATH=./binaries pkg -o packages/aicoder-1.0.44 . && yarn upicon",
27
27
  "pubvs": "yarn remove-deps && yarn changelog && vsce publish --yarn --baseContentUrl https://aicoder.jianguoke.cn/assets && yarn restore-deps",
28
28
  "pubovsx": "yarn remove-deps && ovsx publish -p 47621ff6-be56-4814-865e-d2a8e8a76f86 --yarn --baseContentUrl https://aicoder.jianguoke.cn/assets && yarn restore-deps",
29
29
  "patch": "yarn remove-deps && vsce publish patch --yarn && yarn restore-deps",
30
- "vspack": "yarn createup && yarn remove-deps && vsce package -o packages/aicoder-1.0.43.vsix --yarn --baseContentUrl https://aicoder.jianguoke.cn/assets && yarn restore-deps",
30
+ "vspack": "yarn createup && yarn remove-deps && vsce package -o packages/aicoder-1.0.44.vsix --yarn --baseContentUrl https://aicoder.jianguoke.cn/assets && yarn restore-deps",
31
31
  "puboss": "node ./uposs.js upload",
32
32
  "pubnpm": "npm publish --registry=https://registry.npmjs.org",
33
33
  "prepare": "husky"
index cf98d84..ebde69e 100755
Binary file
index 84529e8..cd5b13b 100755
Binary file
index ed4b862..28d20a2 100644
Binary file