@yunkeai/yunke-cli 2.0.3 → 2.0.5
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/dist/bundle.js +32 -30
- package/package.json +48 -47
- package/scripts/postinstall.cjs +2 -0
package/package.json
CHANGED
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@yunkeai/yunke-cli",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "AI-native pluggable CLI framework",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
"yunke": "dist/bundle.js"
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"dist/bundle.js",
|
|
11
|
-
"scripts/postinstall.cjs"
|
|
12
|
-
],
|
|
13
|
-
"publishConfig": {
|
|
14
|
-
"registry": "https://registry.npmjs.org",
|
|
15
|
-
"access": "public"
|
|
16
|
-
},
|
|
17
|
-
"engines": {
|
|
18
|
-
"node": ">=18"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsc",
|
|
22
|
-
"build:npm": "bun scripts/build-npm.ts",
|
|
23
|
-
"build:bin": "bun scripts/build-bin.ts",
|
|
24
|
-
"build:bin:min": "bun build ./src/index.ts --compile --minify --outfile yunke",
|
|
25
|
-
"build:bin:darwin-arm64": "bun scripts/build-bin.ts --target=darwin-arm64",
|
|
26
|
-
"build:bin:darwin-x64": "bun scripts/build-bin.ts --target=darwin-x64",
|
|
27
|
-
"build:bin:linux": "bun scripts/build-bin.ts --target=linux-x64",
|
|
28
|
-
"build:bin:windows": "bun scripts/build-bin.ts --target=windows-x64",
|
|
29
|
-
"build:release": "mkdir -p dist && bun scripts/build-bin.ts",
|
|
30
|
-
"build:release:upx": "mkdir -p dist && UPX_COMPRESS=1 bun scripts/build-bin.ts",
|
|
31
|
-
"prepublishOnly": "bun scripts/build-npm.ts",
|
|
32
|
-
"postinstall": "node scripts/postinstall.cjs",
|
|
33
|
-
"dev": "bun run src/index.ts",
|
|
34
|
-
"test": "bun test --isolate"
|
|
35
|
-
},
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"extract-zip": "^2.0.1"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"zod
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@yunkeai/yunke-cli",
|
|
3
|
+
"version": "2.0.5",
|
|
4
|
+
"description": "AI-native pluggable CLI framework",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"yunke": "dist/bundle.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/bundle.js",
|
|
11
|
+
"scripts/postinstall.cjs"
|
|
12
|
+
],
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"registry": "https://registry.npmjs.org",
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"build:npm": "bun scripts/build-npm.ts",
|
|
23
|
+
"build:bin": "bun scripts/build-bin.ts",
|
|
24
|
+
"build:bin:min": "bun build ./src/index.ts --compile --minify --outfile yunke",
|
|
25
|
+
"build:bin:darwin-arm64": "bun scripts/build-bin.ts --target=darwin-arm64",
|
|
26
|
+
"build:bin:darwin-x64": "bun scripts/build-bin.ts --target=darwin-x64",
|
|
27
|
+
"build:bin:linux": "bun scripts/build-bin.ts --target=linux-x64",
|
|
28
|
+
"build:bin:windows": "bun scripts/build-bin.ts --target=windows-x64",
|
|
29
|
+
"build:release": "mkdir -p dist && bun scripts/build-bin.ts",
|
|
30
|
+
"build:release:upx": "mkdir -p dist && UPX_COMPRESS=1 bun scripts/build-bin.ts",
|
|
31
|
+
"prepublishOnly": "bun scripts/build-npm.ts",
|
|
32
|
+
"postinstall": "node scripts/postinstall.cjs",
|
|
33
|
+
"dev": "bun run src/index.ts",
|
|
34
|
+
"test": "bun test --isolate"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"extract-zip": "^2.0.1",
|
|
38
|
+
"fflate": "^0.8.3"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"citty": "^0.1.6",
|
|
42
|
+
"zod": "^3.23.8",
|
|
43
|
+
"zod-to-json-schema": "^3.23.3",
|
|
44
|
+
"typescript": "^5.5.3",
|
|
45
|
+
"@types/node": "^22.0.0",
|
|
46
|
+
"bun-types": "^1.1.0"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/scripts/postinstall.cjs
CHANGED
|
@@ -187,6 +187,7 @@ const SKILLS = [
|
|
|
187
187
|
'yunke-crm-guide',
|
|
188
188
|
'yunke-crm-periodic-report',
|
|
189
189
|
'yunke-crm-team-analysis',
|
|
190
|
+
'problem-report',
|
|
190
191
|
]
|
|
191
192
|
|
|
192
193
|
const MAX_ATTEMPTS = 2
|
|
@@ -247,6 +248,7 @@ if (allOk) {
|
|
|
247
248
|
process.stdout.write(' yunke-crm-guide(云客能力导览)\n')
|
|
248
249
|
process.stdout.write(' yunke-crm-periodic-report(云客周期报告)\n')
|
|
249
250
|
process.stdout.write(' yunke-crm-team-analysis(团队沟通分析报告)\n')
|
|
251
|
+
process.stdout.write(' problem-report(问题上报)\n')
|
|
250
252
|
}
|
|
251
253
|
process.stdout.write(`安装日志:${LOG_FILE}\n`)
|
|
252
254
|
|