ai-worktool 1.0.63 → 1.0.65

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.63 (2025-08-15)
1
+ ## 1.0.65 (2025-08-15)
2
2
 
3
3
 
4
4
  ### Bug Fixes
package/README.md CHANGED
@@ -14,17 +14,6 @@
14
14
 
15
15
  ---
16
16
 
17
- ## 目录
18
- - [🎮 吃豆豆:单测智能体](#-吃豆豆单测智能体)
19
- - [目录](#目录)
20
- - [🌟 特性亮点](#-特性亮点)
21
- - [🚀 核心功能](#-核心功能)
22
- - [💎 核心价值](#-核心价值)
23
- - [📝 使用指南](#-使用指南)
24
- - [🔧 适用范围](#-适用范围)
25
- - [🚀 开始使用](#-开始使用)
26
- - [💬 联系我们](#-联系我们)
27
-
28
17
  ## 🌟 特性亮点
29
18
  - 🔍 **智能代码分析**:深入理解代码结构和逻辑关系
30
19
  - 📝 **精准测试生成**:针对不同代码场景生成最佳测试策略
@@ -54,11 +43,22 @@
54
43
  - 💻 支持多种编程语言:TypeScript、JavaScript等
55
44
  - 🧪 支持主流测试框架:Jest、Vitest等
56
45
 
46
+
57
47
  ---
58
48
 
59
49
  ## 🚀 开始使用
60
50
  准备好提升你的开发效率了吗?立即安装吃豆豆单测智能体,让测试工作变得轻松简单!
61
51
 
52
+ https://aicoder.jianguoke.cn
53
+
54
+ ```js
55
+ // 安装吃豆豆单测智能体CLI
56
+ npm install -g ai-worktool
57
+
58
+ // 启动吃豆豆单测智能体
59
+ testAgent start /path/to/your/project
60
+ ```
61
+
62
62
  ## 💬 联系我们
63
63
  如有任何问题或建议,可以给我发邮件 9160294@qq.com。
64
64
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ai-worktool",
3
3
  "displayName": "吃豆豆:单测智能体",
4
- "version": "1.0.63",
4
+ "version": "1.0.65",
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.63 . && yarn upicon",
26
+ "exepack": "yarn createup && cross-env PKG_CACHE_PATH=./binaries pkg -o packages/aicoder-1.0.65 . && 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.63.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.65.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"
Binary file
Binary file
Binary file
package/upicon.mjs DELETED
@@ -1,42 +0,0 @@
1
- import fs from "fs";
2
- // eslint-disable-next-line @typescript-eslint/naming-convention
3
- import * as ResEdit from 'resedit';
4
-
5
- function windowsPostBuild(output) {
6
- const exe = ResEdit.NtExecutable.from(fs.readFileSync(output));
7
- const res = ResEdit.NtExecutableResource.from(exe);
8
- // const iconFile = ResEdit.Data.IconFile.from(fs.readFileSync('resources/logo.ico'));
9
-
10
- // ResEdit.Resource.IconGroupEntry.replaceIconsForResource(
11
- // res.entries,
12
- // 1,
13
- // 1033,
14
- // iconFile.icons.map(item => item.data)
15
- // );
16
-
17
- const vi = ResEdit.Resource.VersionInfo.fromEntries(res.entries)[0];
18
-
19
- vi.setStringValues(
20
- { lang: 1033, codepage: 1200 },
21
- {
22
- // eslint-disable-next-line @typescript-eslint/naming-convention
23
- ProductName: 'AICoder',
24
- // eslint-disable-next-line @typescript-eslint/naming-convention
25
- FileDescription: '吃豆豆:单测智能体',
26
- // eslint-disable-next-line @typescript-eslint/naming-convention
27
- CompanyName: '坚果壳',
28
- // eslint-disable-next-line @typescript-eslint/naming-convention
29
- LegalCopyright: `© 2025 坚果壳. 保留所有权利.`
30
- }
31
- );
32
- vi.removeStringValue({ lang: 1033, codepage: 1200 }, 'OriginalFilename');
33
- vi.removeStringValue({ lang: 1033, codepage: 1200 }, 'InternalName');
34
- vi.setFileVersion(1, 0, 0, 1033);
35
- vi.setProductVersion(1, 0, 0, 1033);
36
- vi.outputToResourceEntries(res.entries);
37
- res.outputResource(exe);
38
- fs.writeFileSync(output, Buffer.from(exe.generate()));
39
- }
40
-
41
- const json = JSON.parse(fs.readFileSync('package.json', 'utf-8'));
42
- windowsPostBuild('packages/aicoder-' + json.version + '-win.exe');