@kkelly-offical/kkcode 0.1.2 → 0.1.3
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 +10 -6
- package/package.json +2 -2
- package/src/index.mjs +1 -1
- package/src/mcp/client-sse.mjs +1 -1
- package/src/mcp/client-stdio.mjs +1 -1
- package/src/repl.mjs +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# kkcode
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@kkelly-offical/kkcode)
|
|
3
4
|

|
|
4
5
|

|
|
5
6
|

|
|
@@ -55,17 +56,20 @@
|
|
|
55
56
|
|
|
56
57
|
### 安装与运行
|
|
57
58
|
|
|
59
|
+
**从 npm 安装(推荐):**
|
|
60
|
+
|
|
58
61
|
```bash
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
npm run start
|
|
62
|
+
npm install -g @kkelly-offical/kkcode
|
|
63
|
+
kkcode
|
|
62
64
|
```
|
|
63
65
|
|
|
64
|
-
|
|
66
|
+
**从源码运行(开发用):**
|
|
65
67
|
|
|
66
68
|
```bash
|
|
67
|
-
|
|
68
|
-
kkcode
|
|
69
|
+
git clone https://github.com/kkelly-offical/kkcode.git
|
|
70
|
+
cd kkcode
|
|
71
|
+
npm install
|
|
72
|
+
npm run start
|
|
69
73
|
```
|
|
70
74
|
|
|
71
75
|
### 初始化项目配置
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kkelly-offical/kkcode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Team-first terminal AI coding agent CLI with LongAgent orchestration, GitHub integration and themed UX.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.5.2",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "GPL-3.0",
|
|
8
8
|
"author": "kkelly-offical",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
package/src/index.mjs
CHANGED
|
@@ -54,7 +54,7 @@ async function main() {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
const program = new Command()
|
|
57
|
-
program.name("kkcode").description("kkcode CLI").version("0.1.
|
|
57
|
+
program.name("kkcode").description("kkcode CLI").version("0.1.3")
|
|
58
58
|
program.addCommand(createChatCommand())
|
|
59
59
|
program.addCommand(createThemeCommand())
|
|
60
60
|
program.addCommand(createUsageCommand())
|
package/src/mcp/client-sse.mjs
CHANGED
|
@@ -192,7 +192,7 @@ export function createSseMcpClient(serverName, config) {
|
|
|
192
192
|
const result = await sendRequest("initialize", {
|
|
193
193
|
protocolVersion: "2024-11-05",
|
|
194
194
|
capabilities: {},
|
|
195
|
-
clientInfo: { name: "kkcode", version: "0.1.
|
|
195
|
+
clientInfo: { name: "kkcode", version: "0.1.3" }
|
|
196
196
|
})
|
|
197
197
|
// Send initialized notification
|
|
198
198
|
try {
|
package/src/mcp/client-stdio.mjs
CHANGED
|
@@ -325,7 +325,7 @@ export function createStdioMcpClient(serverName, config = {}) {
|
|
|
325
325
|
const initParams = {
|
|
326
326
|
protocolVersion: "2024-11-05",
|
|
327
327
|
capabilities: {},
|
|
328
|
-
clientInfo: { name: "kkcode", version: "0.1.
|
|
328
|
+
clientInfo: { name: "kkcode", version: "0.1.3" }
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
if (configuredFraming === "auto") {
|
package/src/repl.mjs
CHANGED
|
@@ -2720,7 +2720,7 @@ function startSplash() {
|
|
|
2720
2720
|
" ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝ "
|
|
2721
2721
|
]
|
|
2722
2722
|
const tagline = "AI Coding Agent"
|
|
2723
|
-
const version = "v0.1.
|
|
2723
|
+
const version = "v0.1.3"
|
|
2724
2724
|
|
|
2725
2725
|
// Gradient colors for the wave animation (cyan → blue → purple → pink → back)
|
|
2726
2726
|
const wave = [
|