kimi-code 1.45.0__tar.gz → 1.47.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.47.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.47.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)
|
|
@@ -16,17 +16,20 @@ Description-Content-Type: text/markdown
|
|
|
16
16
|
|
|
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 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
|
+
|
|
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.
|
|
20
23
|
|
|
21
24
|
## Getting Started
|
|
22
25
|
|
|
23
|
-
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.
|
|
24
27
|
|
|
25
28
|
## Key Features
|
|
26
29
|
|
|
27
30
|
### Shell command mode
|
|
28
31
|
|
|
29
|
-
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.
|
|
30
33
|
|
|
31
34
|

|
|
32
35
|
|
|
@@ -35,24 +38,24 @@ Kimi Code CLI is not only a coding agent, but also a shell. You can switch the s
|
|
|
35
38
|
|
|
36
39
|
### VS Code extension
|
|
37
40
|
|
|
38
|
-
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).
|
|
39
42
|
|
|
40
43
|

|
|
41
44
|
|
|
42
45
|
### IDE integration via ACP
|
|
43
46
|
|
|
44
|
-
Kimi
|
|
47
|
+
Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
45
48
|
|
|
46
49
|
[Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
|
|
47
50
|
|
|
48
|
-
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`.
|
|
49
52
|
|
|
50
|
-
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:
|
|
51
54
|
|
|
52
55
|
```json
|
|
53
56
|
{
|
|
54
57
|
"agent_servers": {
|
|
55
|
-
"Kimi
|
|
58
|
+
"Kimi CLI": {
|
|
56
59
|
"type": "custom",
|
|
57
60
|
"command": "kimi",
|
|
58
61
|
"args": ["acp"],
|
|
@@ -62,13 +65,13 @@ For example, to use Kimi Code CLI with [Zed](https://zed.dev/) or [JetBrains](ht
|
|
|
62
65
|
}
|
|
63
66
|
```
|
|
64
67
|
|
|
65
|
-
Then you can create Kimi
|
|
68
|
+
Then you can create Kimi CLI threads in IDE's agent panel.
|
|
66
69
|
|
|
67
70
|

|
|
68
71
|
|
|
69
72
|
### Zsh integration
|
|
70
73
|
|
|
71
|
-
You can use Kimi
|
|
74
|
+
You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
72
75
|
|
|
73
76
|
Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
|
|
74
77
|
|
|
@@ -90,7 +93,7 @@ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-X`.
|
|
|
90
93
|
|
|
91
94
|
### MCP support
|
|
92
95
|
|
|
93
|
-
Kimi
|
|
96
|
+
Kimi CLI supports MCP (Model Context Protocol) tools.
|
|
94
97
|
|
|
95
98
|
**`kimi mcp` sub-command group**
|
|
96
99
|
|
|
@@ -118,7 +121,7 @@ kimi mcp auth linear
|
|
|
118
121
|
|
|
119
122
|
**Ad-hoc MCP configuration**
|
|
120
123
|
|
|
121
|
-
Kimi
|
|
124
|
+
Kimi CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
122
125
|
|
|
123
126
|
Given an MCP config file in the well-known MCP config format like the following:
|
|
124
127
|
|
|
@@ -151,7 +154,7 @@ See more features in the [Documentation](https://moonshotai.github.io/kimi-cli/e
|
|
|
151
154
|
|
|
152
155
|
## Development
|
|
153
156
|
|
|
154
|
-
To develop Kimi
|
|
157
|
+
To develop Kimi CLI, run:
|
|
155
158
|
|
|
156
159
|
```sh
|
|
157
160
|
git clone https://github.com/MoonshotAI/kimi-cli.git
|
|
@@ -160,17 +163,17 @@ cd kimi-cli
|
|
|
160
163
|
make prepare # prepare the development environment
|
|
161
164
|
```
|
|
162
165
|
|
|
163
|
-
Then you can start working on Kimi
|
|
166
|
+
Then you can start working on Kimi CLI.
|
|
164
167
|
|
|
165
168
|
Refer to the following commands after you make changes:
|
|
166
169
|
|
|
167
170
|
```sh
|
|
168
|
-
uv run kimi # run Kimi
|
|
171
|
+
uv run kimi # run Kimi CLI
|
|
169
172
|
|
|
170
173
|
make format # format code
|
|
171
174
|
make check # run linting and type checking
|
|
172
175
|
make test # run tests
|
|
173
|
-
make test-kimi-cli # run Kimi
|
|
176
|
+
make test-kimi-cli # run Kimi CLI tests only
|
|
174
177
|
make test-kosong # run kosong tests only
|
|
175
178
|
make test-pykaos # run pykaos tests only
|
|
176
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)
|
|
@@ -8,17 +8,20 @@
|
|
|
8
8
|
|
|
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 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
|
+
|
|
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.
|
|
12
15
|
|
|
13
16
|
## Getting Started
|
|
14
17
|
|
|
15
|
-
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.
|
|
16
19
|
|
|
17
20
|
## Key Features
|
|
18
21
|
|
|
19
22
|
### Shell command mode
|
|
20
23
|
|
|
21
|
-
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.
|
|
22
25
|
|
|
23
26
|

|
|
24
27
|
|
|
@@ -27,24 +30,24 @@ Kimi Code CLI is not only a coding agent, but also a shell. You can switch the s
|
|
|
27
30
|
|
|
28
31
|
### VS Code extension
|
|
29
32
|
|
|
30
|
-
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).
|
|
31
34
|
|
|
32
35
|

|
|
33
36
|
|
|
34
37
|
### IDE integration via ACP
|
|
35
38
|
|
|
36
|
-
Kimi
|
|
39
|
+
Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
37
40
|
|
|
38
41
|
[Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
|
|
39
42
|
|
|
40
|
-
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`.
|
|
41
44
|
|
|
42
|
-
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:
|
|
43
46
|
|
|
44
47
|
```json
|
|
45
48
|
{
|
|
46
49
|
"agent_servers": {
|
|
47
|
-
"Kimi
|
|
50
|
+
"Kimi CLI": {
|
|
48
51
|
"type": "custom",
|
|
49
52
|
"command": "kimi",
|
|
50
53
|
"args": ["acp"],
|
|
@@ -54,13 +57,13 @@ For example, to use Kimi Code CLI with [Zed](https://zed.dev/) or [JetBrains](ht
|
|
|
54
57
|
}
|
|
55
58
|
```
|
|
56
59
|
|
|
57
|
-
Then you can create Kimi
|
|
60
|
+
Then you can create Kimi CLI threads in IDE's agent panel.
|
|
58
61
|
|
|
59
62
|

|
|
60
63
|
|
|
61
64
|
### Zsh integration
|
|
62
65
|
|
|
63
|
-
You can use Kimi
|
|
66
|
+
You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
64
67
|
|
|
65
68
|
Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
|
|
66
69
|
|
|
@@ -82,7 +85,7 @@ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-X`.
|
|
|
82
85
|
|
|
83
86
|
### MCP support
|
|
84
87
|
|
|
85
|
-
Kimi
|
|
88
|
+
Kimi CLI supports MCP (Model Context Protocol) tools.
|
|
86
89
|
|
|
87
90
|
**`kimi mcp` sub-command group**
|
|
88
91
|
|
|
@@ -110,7 +113,7 @@ kimi mcp auth linear
|
|
|
110
113
|
|
|
111
114
|
**Ad-hoc MCP configuration**
|
|
112
115
|
|
|
113
|
-
Kimi
|
|
116
|
+
Kimi CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
114
117
|
|
|
115
118
|
Given an MCP config file in the well-known MCP config format like the following:
|
|
116
119
|
|
|
@@ -143,7 +146,7 @@ See more features in the [Documentation](https://moonshotai.github.io/kimi-cli/e
|
|
|
143
146
|
|
|
144
147
|
## Development
|
|
145
148
|
|
|
146
|
-
To develop Kimi
|
|
149
|
+
To develop Kimi CLI, run:
|
|
147
150
|
|
|
148
151
|
```sh
|
|
149
152
|
git clone https://github.com/MoonshotAI/kimi-cli.git
|
|
@@ -152,17 +155,17 @@ cd kimi-cli
|
|
|
152
155
|
make prepare # prepare the development environment
|
|
153
156
|
```
|
|
154
157
|
|
|
155
|
-
Then you can start working on Kimi
|
|
158
|
+
Then you can start working on Kimi CLI.
|
|
156
159
|
|
|
157
160
|
Refer to the following commands after you make changes:
|
|
158
161
|
|
|
159
162
|
```sh
|
|
160
|
-
uv run kimi # run Kimi
|
|
163
|
+
uv run kimi # run Kimi CLI
|
|
161
164
|
|
|
162
165
|
make format # format code
|
|
163
166
|
make check # run linting and type checking
|
|
164
167
|
make test # run tests
|
|
165
|
-
make test-kimi-cli # run Kimi
|
|
168
|
+
make test-kimi-cli # run Kimi CLI tests only
|
|
166
169
|
make test-kosong # run kosong tests only
|
|
167
170
|
make test-pykaos # run pykaos tests only
|
|
168
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.47.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.47.0"]
|
|
8
8
|
|
|
9
9
|
[project.scripts]
|
|
10
10
|
kimi-code = "kimi_cli.__main__:main"
|
|
File without changes
|