@ia-ccun/code-agent-cli 0.0.2 → 0.0.4
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/bin/cli.js +7 -7
- package/config/agent/models.json +1 -1
- package/package.json +3 -3
- package/scripts/banner.txt +5 -0
package/bin/cli.js
CHANGED
|
@@ -57,17 +57,17 @@ if (showBanner) {
|
|
|
57
57
|
// Banner from src/banner.txt
|
|
58
58
|
let lines = [];
|
|
59
59
|
try {
|
|
60
|
-
const bannerPath = join(__dirname, '..', '
|
|
60
|
+
const bannerPath = join(__dirname, '..', 'scripts', 'banner.txt');
|
|
61
61
|
const bannerContent = readFileSync(bannerPath, 'utf-8');
|
|
62
62
|
lines = bannerContent.trim().split('\n');
|
|
63
63
|
} catch (e) {
|
|
64
|
-
// fallback to
|
|
64
|
+
// fallback to scripts/banner.txt
|
|
65
65
|
lines = [
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
66
|
+
" _ ___ ____ ___ ____ ___ _ _ ____ ____ _ ___",
|
|
67
|
+
" / \\ |_ _| / ___| / _ \\ | _ \\ |_ _| | \\ | | / ___| / ___| | | |_ _|",
|
|
68
|
+
" / _ \\ | | | | | | | | | | | | | | | \\| | | | _ | | | | | |",
|
|
69
|
+
" / ___ \\ | | | |___ | |_| | | |_| | | | | |\\ | | |_| | | |___ | |___ | |",
|
|
70
|
+
" /_/ \\_\\ |___| \\____| \\___/ |____/ |___| |_| \\_| \\____| \\____| |_____| |___|",
|
|
71
71
|
];
|
|
72
72
|
}
|
|
73
73
|
|
package/config/agent/models.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ia-ccun/code-agent-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "AI Coding Agent CLI - 基于OpenClaw🦞底层Agent原理实现的的编码智能体(供学习使用)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
20
|
-
"bin",
|
|
20
|
+
"bin",
|
|
21
21
|
"scripts",
|
|
22
22
|
"config",
|
|
23
23
|
"config.json"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"prepublishOnly": "npm run clean && npm run build",
|
|
30
30
|
"postinstall": "node scripts/postinstall.js",
|
|
31
31
|
"test": "echo \"Tests skipped\" && exit 0",
|
|
32
|
-
"release": "npm version patch
|
|
32
|
+
"release": "npm version patch",
|
|
33
33
|
"webui:build": "cd webui/server && npm run build",
|
|
34
34
|
"webui:dev": "cd webui/server && npm run dev",
|
|
35
35
|
"webui": "npm run webui:build && node webui/server/dist/index.js"
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
_ ___ ____ ___ ____ ___ _ _ ____ ____ _ ___
|
|
2
|
+
/ \ |_ _| / ___| / _ \ | _ \ |_ _| | \ | | / ___| / ___| | | |_ _|
|
|
3
|
+
/ _ \ | | | | | | | | | | | | | | | \| | | | _ | | | | | |
|
|
4
|
+
/ ___ \ | | | |___ | |_| | | |_| | | | | |\ | | |_| | | |___ | |___ | |
|
|
5
|
+
/_/ \_\ |___| \____| \___/ |____/ |___| |_| \_| \____| \____| |_____| |___|
|