kimi-code 1.46.0__tar.gz → 1.48.0__tar.gz
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.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: kimi-code
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.48.0
|
|
4
4
|
Summary: Kimi Code is a CLI agent that lives in your terminal.
|
|
5
|
-
Requires-Dist: kimi-cli==1.
|
|
5
|
+
Requires-Dist: kimi-cli==1.48.0
|
|
6
6
|
Requires-Python: >=3.12
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
|
|
9
|
-
# Kimi
|
|
9
|
+
# Kimi CLI
|
|
10
10
|
|
|
11
11
|
[](https://github.com/MoonshotAI/kimi-cli/graphs/commit-activity)
|
|
12
12
|
[](https://github.com/MoonshotAI/kimi-cli/actions)
|
|
@@ -17,19 +17,19 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
[Kimi Code](https://www.kimi.com/code/) | [Documentation](https://moonshotai.github.io/kimi-cli/en/) | [文档](https://moonshotai.github.io/kimi-cli/zh/)
|
|
18
18
|
|
|
19
19
|
> [!IMPORTANT]
|
|
20
|
-
> **Kimi
|
|
20
|
+
> **Kimi CLI is evolving into [Kimi Code CLI](https://github.com/MoonshotAI/kimi-code)** — the next-generation terminal AI agent from the same team. Installing Kimi Code CLI automatically migrates your configuration and sessions. This project will be gradually wound down; the docs and existing installations remain available.
|
|
21
21
|
|
|
22
|
-
Kimi
|
|
22
|
+
Kimi CLI is an AI agent that runs in the terminal, helping you complete software development tasks and terminal operations. It can read and edit code, execute shell commands, search and fetch web pages, and autonomously plan and adjust actions during execution.
|
|
23
23
|
|
|
24
24
|
## Getting Started
|
|
25
25
|
|
|
26
|
-
See [Getting Started](https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html) for how to install and start using Kimi
|
|
26
|
+
See [Getting Started](https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html) for how to install and start using Kimi CLI.
|
|
27
27
|
|
|
28
28
|
## Key Features
|
|
29
29
|
|
|
30
30
|
### Shell command mode
|
|
31
31
|
|
|
32
|
-
Kimi
|
|
32
|
+
Kimi CLI is not only a coding agent, but also a shell. You can switch the shell command mode by pressing `Ctrl-X`. In this mode, you can directly run shell commands without leaving Kimi CLI.
|
|
33
33
|
|
|
34
34
|

|
|
35
35
|
|
|
@@ -38,24 +38,24 @@ Kimi Code CLI is not only a coding agent, but also a shell. You can switch the s
|
|
|
38
38
|
|
|
39
39
|
### VS Code extension
|
|
40
40
|
|
|
41
|
-
Kimi
|
|
41
|
+
Kimi CLI can be integrated with [Visual Studio Code](https://code.visualstudio.com/) via the [Kimi Code VS Code Extension](https://marketplace.visualstudio.com/items?itemName=moonshot-ai.kimi-code).
|
|
42
42
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
### IDE integration via ACP
|
|
46
46
|
|
|
47
|
-
Kimi
|
|
47
|
+
Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
48
48
|
|
|
49
49
|
[Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
|
|
50
50
|
|
|
51
|
-
To use Kimi
|
|
51
|
+
To use Kimi CLI with ACP clients, make sure to run Kimi CLI in the terminal and send `/login` to complete the login first. Then, you can configure your ACP client to start Kimi CLI as an ACP agent server with command `kimi acp`.
|
|
52
52
|
|
|
53
|
-
For example, to use Kimi
|
|
53
|
+
For example, to use Kimi CLI with [Zed](https://zed.dev/) or [JetBrains](https://blog.jetbrains.com/ai/2025/12/bring-your-own-ai-agent-to-jetbrains-ides/), add the following configuration to your `~/.config/zed/settings.json` or `~/.jetbrains/acp.json` file:
|
|
54
54
|
|
|
55
55
|
```json
|
|
56
56
|
{
|
|
57
57
|
"agent_servers": {
|
|
58
|
-
"Kimi
|
|
58
|
+
"Kimi CLI": {
|
|
59
59
|
"type": "custom",
|
|
60
60
|
"command": "kimi",
|
|
61
61
|
"args": ["acp"],
|
|
@@ -65,13 +65,13 @@ For example, to use Kimi Code CLI with [Zed](https://zed.dev/) or [JetBrains](ht
|
|
|
65
65
|
}
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
Then you can create Kimi
|
|
68
|
+
Then you can create Kimi CLI threads in IDE's agent panel.
|
|
69
69
|
|
|
70
70
|

|
|
71
71
|
|
|
72
72
|
### Zsh integration
|
|
73
73
|
|
|
74
|
-
You can use Kimi
|
|
74
|
+
You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
75
75
|
|
|
76
76
|
Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
|
|
77
77
|
|
|
@@ -93,7 +93,7 @@ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-X`.
|
|
|
93
93
|
|
|
94
94
|
### MCP support
|
|
95
95
|
|
|
96
|
-
Kimi
|
|
96
|
+
Kimi CLI supports MCP (Model Context Protocol) tools.
|
|
97
97
|
|
|
98
98
|
**`kimi mcp` sub-command group**
|
|
99
99
|
|
|
@@ -121,7 +121,7 @@ kimi mcp auth linear
|
|
|
121
121
|
|
|
122
122
|
**Ad-hoc MCP configuration**
|
|
123
123
|
|
|
124
|
-
Kimi
|
|
124
|
+
Kimi CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
125
125
|
|
|
126
126
|
Given an MCP config file in the well-known MCP config format like the following:
|
|
127
127
|
|
|
@@ -154,7 +154,7 @@ See more features in the [Documentation](https://moonshotai.github.io/kimi-cli/e
|
|
|
154
154
|
|
|
155
155
|
## Development
|
|
156
156
|
|
|
157
|
-
To develop Kimi
|
|
157
|
+
To develop Kimi CLI, run:
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
git clone https://github.com/MoonshotAI/kimi-cli.git
|
|
@@ -163,17 +163,17 @@ cd kimi-cli
|
|
|
163
163
|
make prepare # prepare the development environment
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
Then you can start working on Kimi
|
|
166
|
+
Then you can start working on Kimi CLI.
|
|
167
167
|
|
|
168
168
|
Refer to the following commands after you make changes:
|
|
169
169
|
|
|
170
170
|
```sh
|
|
171
|
-
uv run kimi # run Kimi
|
|
171
|
+
uv run kimi # run Kimi CLI
|
|
172
172
|
|
|
173
173
|
make format # format code
|
|
174
174
|
make check # run linting and type checking
|
|
175
175
|
make test # run tests
|
|
176
|
-
make test-kimi-cli # run Kimi
|
|
176
|
+
make test-kimi-cli # run Kimi CLI tests only
|
|
177
177
|
make test-kosong # run kosong tests only
|
|
178
178
|
make test-pykaos # run pykaos tests only
|
|
179
179
|
make build-web # build the web UI and sync it into the package (requires Node.js/npm)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Kimi
|
|
1
|
+
# Kimi CLI
|
|
2
2
|
|
|
3
3
|
[](https://github.com/MoonshotAI/kimi-cli/graphs/commit-activity)
|
|
4
4
|
[](https://github.com/MoonshotAI/kimi-cli/actions)
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
[Kimi Code](https://www.kimi.com/code/) | [Documentation](https://moonshotai.github.io/kimi-cli/en/) | [文档](https://moonshotai.github.io/kimi-cli/zh/)
|
|
10
10
|
|
|
11
11
|
> [!IMPORTANT]
|
|
12
|
-
> **Kimi
|
|
12
|
+
> **Kimi CLI is evolving into [Kimi Code CLI](https://github.com/MoonshotAI/kimi-code)** — the next-generation terminal AI agent from the same team. Installing Kimi Code CLI automatically migrates your configuration and sessions. This project will be gradually wound down; the docs and existing installations remain available.
|
|
13
13
|
|
|
14
|
-
Kimi
|
|
14
|
+
Kimi CLI is an AI agent that runs in the terminal, helping you complete software development tasks and terminal operations. It can read and edit code, execute shell commands, search and fetch web pages, and autonomously plan and adjust actions during execution.
|
|
15
15
|
|
|
16
16
|
## Getting Started
|
|
17
17
|
|
|
18
|
-
See [Getting Started](https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html) for how to install and start using Kimi
|
|
18
|
+
See [Getting Started](https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html) for how to install and start using Kimi CLI.
|
|
19
19
|
|
|
20
20
|
## Key Features
|
|
21
21
|
|
|
22
22
|
### Shell command mode
|
|
23
23
|
|
|
24
|
-
Kimi
|
|
24
|
+
Kimi CLI is not only a coding agent, but also a shell. You can switch the shell command mode by pressing `Ctrl-X`. In this mode, you can directly run shell commands without leaving Kimi CLI.
|
|
25
25
|
|
|
26
26
|

|
|
27
27
|
|
|
@@ -30,24 +30,24 @@ Kimi Code CLI is not only a coding agent, but also a shell. You can switch the s
|
|
|
30
30
|
|
|
31
31
|
### VS Code extension
|
|
32
32
|
|
|
33
|
-
Kimi
|
|
33
|
+
Kimi CLI can be integrated with [Visual Studio Code](https://code.visualstudio.com/) via the [Kimi Code VS Code Extension](https://marketplace.visualstudio.com/items?itemName=moonshot-ai.kimi-code).
|
|
34
34
|
|
|
35
35
|

|
|
36
36
|
|
|
37
37
|
### IDE integration via ACP
|
|
38
38
|
|
|
39
|
-
Kimi
|
|
39
|
+
Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
40
40
|
|
|
41
41
|
[Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
|
|
42
42
|
|
|
43
|
-
To use Kimi
|
|
43
|
+
To use Kimi CLI with ACP clients, make sure to run Kimi CLI in the terminal and send `/login` to complete the login first. Then, you can configure your ACP client to start Kimi CLI as an ACP agent server with command `kimi acp`.
|
|
44
44
|
|
|
45
|
-
For example, to use Kimi
|
|
45
|
+
For example, to use Kimi CLI with [Zed](https://zed.dev/) or [JetBrains](https://blog.jetbrains.com/ai/2025/12/bring-your-own-ai-agent-to-jetbrains-ides/), add the following configuration to your `~/.config/zed/settings.json` or `~/.jetbrains/acp.json` file:
|
|
46
46
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"agent_servers": {
|
|
50
|
-
"Kimi
|
|
50
|
+
"Kimi CLI": {
|
|
51
51
|
"type": "custom",
|
|
52
52
|
"command": "kimi",
|
|
53
53
|
"args": ["acp"],
|
|
@@ -57,13 +57,13 @@ For example, to use Kimi Code CLI with [Zed](https://zed.dev/) or [JetBrains](ht
|
|
|
57
57
|
}
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Then you can create Kimi
|
|
60
|
+
Then you can create Kimi CLI threads in IDE's agent panel.
|
|
61
61
|
|
|
62
62
|

|
|
63
63
|
|
|
64
64
|
### Zsh integration
|
|
65
65
|
|
|
66
|
-
You can use Kimi
|
|
66
|
+
You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
67
67
|
|
|
68
68
|
Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
|
|
69
69
|
|
|
@@ -85,7 +85,7 @@ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-X`.
|
|
|
85
85
|
|
|
86
86
|
### MCP support
|
|
87
87
|
|
|
88
|
-
Kimi
|
|
88
|
+
Kimi CLI supports MCP (Model Context Protocol) tools.
|
|
89
89
|
|
|
90
90
|
**`kimi mcp` sub-command group**
|
|
91
91
|
|
|
@@ -113,7 +113,7 @@ kimi mcp auth linear
|
|
|
113
113
|
|
|
114
114
|
**Ad-hoc MCP configuration**
|
|
115
115
|
|
|
116
|
-
Kimi
|
|
116
|
+
Kimi CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
117
117
|
|
|
118
118
|
Given an MCP config file in the well-known MCP config format like the following:
|
|
119
119
|
|
|
@@ -146,7 +146,7 @@ See more features in the [Documentation](https://moonshotai.github.io/kimi-cli/e
|
|
|
146
146
|
|
|
147
147
|
## Development
|
|
148
148
|
|
|
149
|
-
To develop Kimi
|
|
149
|
+
To develop Kimi CLI, run:
|
|
150
150
|
|
|
151
151
|
```sh
|
|
152
152
|
git clone https://github.com/MoonshotAI/kimi-cli.git
|
|
@@ -155,17 +155,17 @@ cd kimi-cli
|
|
|
155
155
|
make prepare # prepare the development environment
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
Then you can start working on Kimi
|
|
158
|
+
Then you can start working on Kimi CLI.
|
|
159
159
|
|
|
160
160
|
Refer to the following commands after you make changes:
|
|
161
161
|
|
|
162
162
|
```sh
|
|
163
|
-
uv run kimi # run Kimi
|
|
163
|
+
uv run kimi # run Kimi CLI
|
|
164
164
|
|
|
165
165
|
make format # format code
|
|
166
166
|
make check # run linting and type checking
|
|
167
167
|
make test # run tests
|
|
168
|
-
make test-kimi-cli # run Kimi
|
|
168
|
+
make test-kimi-cli # run Kimi CLI tests only
|
|
169
169
|
make test-kosong # run kosong tests only
|
|
170
170
|
make test-pykaos # run pykaos tests only
|
|
171
171
|
make build-web # build the web UI and sync it into the package (requires Node.js/npm)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "kimi-code"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.48.0"
|
|
4
4
|
description = "Kimi Code is a CLI agent that lives in your terminal."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
|
-
dependencies = ["kimi-cli==1.
|
|
7
|
+
dependencies = ["kimi-cli==1.48.0"]
|
|
8
8
|
|
|
9
9
|
[project.scripts]
|
|
10
10
|
kimi-code = "kimi_cli.__main__:main"
|
|
File without changes
|