kimi-code 0.85__tar.gz → 1.2__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:
|
|
3
|
+
Version: 1.2
|
|
4
4
|
Summary: Kimi Code is a CLI agent that lives in your terminal.
|
|
5
|
-
Requires-Dist: kimi-cli==
|
|
5
|
+
Requires-Dist: kimi-cli==1.2
|
|
6
6
|
Requires-Python: >=3.12
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
|
|
9
|
-
# Kimi CLI
|
|
9
|
+
# Kimi Code CLI
|
|
10
10
|
|
|
11
11
|
[](https://github.com/MoonshotAI/kimi-cli/graphs/commit-activity)
|
|
12
12
|
[](https://github.com/MoonshotAI/kimi-cli/actions)
|
|
@@ -16,20 +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
|
-
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.
|
|
19
|
+
Kimi Code 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
20
|
|
|
21
21
|
> [!IMPORTANT]
|
|
22
|
-
> Kimi CLI is currently in technical preview.
|
|
22
|
+
> Kimi Code CLI is currently in technical preview.
|
|
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 CLI.
|
|
26
|
+
See [Getting Started](https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html) for how to install and start using Kimi Code CLI.
|
|
27
27
|
|
|
28
28
|
## Key Features
|
|
29
29
|
|
|
30
30
|
### Shell command mode
|
|
31
31
|
|
|
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.
|
|
32
|
+
Kimi Code 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 Code CLI.
|
|
33
33
|
|
|
34
34
|

|
|
35
35
|
|
|
@@ -38,18 +38,18 @@ Kimi CLI is not only a coding agent, but also a shell. You can switch the shell
|
|
|
38
38
|
|
|
39
39
|
### IDE integration via ACP
|
|
40
40
|
|
|
41
|
-
Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
41
|
+
Kimi Code CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
42
42
|
|
|
43
43
|
[Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
|
|
44
44
|
|
|
45
|
-
To use Kimi CLI with ACP clients, make sure to run Kimi CLI in the terminal and send `/
|
|
45
|
+
To use Kimi Code CLI with ACP clients, make sure to run Kimi Code CLI in the terminal and send `/login` to complete the login first. Then, you can configure your ACP client to start Kimi Code CLI as an ACP agent server with command `kimi acp`.
|
|
46
46
|
|
|
47
|
-
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:
|
|
47
|
+
For example, to use Kimi Code 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:
|
|
48
48
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
51
|
"agent_servers": {
|
|
52
|
-
"Kimi CLI": {
|
|
52
|
+
"Kimi Code CLI": {
|
|
53
53
|
"command": "kimi",
|
|
54
54
|
"args": ["acp"],
|
|
55
55
|
"env": {}
|
|
@@ -58,13 +58,13 @@ For example, to use Kimi CLI with [Zed](https://zed.dev/) or [JetBrains](https:/
|
|
|
58
58
|
}
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
Then you can create Kimi CLI threads in IDE's agent panel.
|
|
61
|
+
Then you can create Kimi Code CLI threads in IDE's agent panel.
|
|
62
62
|
|
|
63
63
|

|
|
64
64
|
|
|
65
65
|
### Zsh integration
|
|
66
66
|
|
|
67
|
-
You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
67
|
+
You can use Kimi Code CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
68
68
|
|
|
69
69
|
Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
|
|
70
70
|
|
|
@@ -86,7 +86,7 @@ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-X`.
|
|
|
86
86
|
|
|
87
87
|
### MCP support
|
|
88
88
|
|
|
89
|
-
Kimi CLI supports MCP (Model Context Protocol) tools.
|
|
89
|
+
Kimi Code CLI supports MCP (Model Context Protocol) tools.
|
|
90
90
|
|
|
91
91
|
**`kimi mcp` sub-command group**
|
|
92
92
|
|
|
@@ -114,7 +114,7 @@ kimi mcp auth linear
|
|
|
114
114
|
|
|
115
115
|
**Ad-hoc MCP configuration**
|
|
116
116
|
|
|
117
|
-
Kimi CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
117
|
+
Kimi Code CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
118
118
|
|
|
119
119
|
Given an MCP config file in the well-known MCP config format like the following:
|
|
120
120
|
|
|
@@ -147,7 +147,7 @@ See more features in the [Documentation](https://moonshotai.github.io/kimi-cli/e
|
|
|
147
147
|
|
|
148
148
|
## Development
|
|
149
149
|
|
|
150
|
-
To develop Kimi CLI, run:
|
|
150
|
+
To develop Kimi Code CLI, run:
|
|
151
151
|
|
|
152
152
|
```sh
|
|
153
153
|
git clone https://github.com/MoonshotAI/kimi-cli.git
|
|
@@ -156,17 +156,17 @@ cd kimi-cli
|
|
|
156
156
|
make prepare # prepare the development environment
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
Then you can start working on Kimi CLI.
|
|
159
|
+
Then you can start working on Kimi Code CLI.
|
|
160
160
|
|
|
161
161
|
Refer to the following commands after you make changes:
|
|
162
162
|
|
|
163
163
|
```sh
|
|
164
|
-
uv run kimi # run Kimi CLI
|
|
164
|
+
uv run kimi # run Kimi Code CLI
|
|
165
165
|
|
|
166
166
|
make format # format code
|
|
167
167
|
make check # run linting and type checking
|
|
168
168
|
make test # run tests
|
|
169
|
-
make test-kimi-cli # run Kimi CLI tests only
|
|
169
|
+
make test-kimi-cli # run Kimi Code CLI tests only
|
|
170
170
|
make test-kosong # run kosong tests only
|
|
171
171
|
make test-pykaos # run pykaos tests only
|
|
172
172
|
make build # build python packages
|
|
@@ -176,4 +176,4 @@ make help # show all make targets
|
|
|
176
176
|
|
|
177
177
|
## Contributing
|
|
178
178
|
|
|
179
|
-
We welcome contributions to Kimi CLI! Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
|
|
179
|
+
We welcome contributions to Kimi Code CLI! Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Kimi CLI
|
|
1
|
+
# Kimi Code CLI
|
|
2
2
|
|
|
3
3
|
[](https://github.com/MoonshotAI/kimi-cli/graphs/commit-activity)
|
|
4
4
|
[](https://github.com/MoonshotAI/kimi-cli/actions)
|
|
@@ -8,20 +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
|
-
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.
|
|
11
|
+
Kimi Code 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
12
|
|
|
13
13
|
> [!IMPORTANT]
|
|
14
|
-
> Kimi CLI is currently in technical preview.
|
|
14
|
+
> Kimi Code CLI is currently in technical preview.
|
|
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 CLI.
|
|
18
|
+
See [Getting Started](https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html) for how to install and start using Kimi Code CLI.
|
|
19
19
|
|
|
20
20
|
## Key Features
|
|
21
21
|
|
|
22
22
|
### Shell command mode
|
|
23
23
|
|
|
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.
|
|
24
|
+
Kimi Code 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 Code CLI.
|
|
25
25
|
|
|
26
26
|

|
|
27
27
|
|
|
@@ -30,18 +30,18 @@ Kimi CLI is not only a coding agent, but also a shell. You can switch the shell
|
|
|
30
30
|
|
|
31
31
|
### IDE integration via ACP
|
|
32
32
|
|
|
33
|
-
Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
33
|
+
Kimi Code CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editor or IDE.
|
|
34
34
|
|
|
35
35
|
[Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
|
|
36
36
|
|
|
37
|
-
To use Kimi CLI with ACP clients, make sure to run Kimi CLI in the terminal and send `/
|
|
37
|
+
To use Kimi Code CLI with ACP clients, make sure to run Kimi Code CLI in the terminal and send `/login` to complete the login first. Then, you can configure your ACP client to start Kimi Code CLI as an ACP agent server with command `kimi acp`.
|
|
38
38
|
|
|
39
|
-
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:
|
|
39
|
+
For example, to use Kimi Code 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:
|
|
40
40
|
|
|
41
41
|
```json
|
|
42
42
|
{
|
|
43
43
|
"agent_servers": {
|
|
44
|
-
"Kimi CLI": {
|
|
44
|
+
"Kimi Code CLI": {
|
|
45
45
|
"command": "kimi",
|
|
46
46
|
"args": ["acp"],
|
|
47
47
|
"env": {}
|
|
@@ -50,13 +50,13 @@ For example, to use Kimi CLI with [Zed](https://zed.dev/) or [JetBrains](https:/
|
|
|
50
50
|
}
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Then you can create Kimi CLI threads in IDE's agent panel.
|
|
53
|
+
Then you can create Kimi Code CLI threads in IDE's agent panel.
|
|
54
54
|
|
|
55
55
|

|
|
56
56
|
|
|
57
57
|
### Zsh integration
|
|
58
58
|
|
|
59
|
-
You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
59
|
+
You can use Kimi Code CLI together with Zsh, to empower your shell experience with AI agent capabilities.
|
|
60
60
|
|
|
61
61
|
Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
|
|
62
62
|
|
|
@@ -78,7 +78,7 @@ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-X`.
|
|
|
78
78
|
|
|
79
79
|
### MCP support
|
|
80
80
|
|
|
81
|
-
Kimi CLI supports MCP (Model Context Protocol) tools.
|
|
81
|
+
Kimi Code CLI supports MCP (Model Context Protocol) tools.
|
|
82
82
|
|
|
83
83
|
**`kimi mcp` sub-command group**
|
|
84
84
|
|
|
@@ -106,7 +106,7 @@ kimi mcp auth linear
|
|
|
106
106
|
|
|
107
107
|
**Ad-hoc MCP configuration**
|
|
108
108
|
|
|
109
|
-
Kimi CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
109
|
+
Kimi Code CLI also supports ad-hoc MCP server configuration via CLI option.
|
|
110
110
|
|
|
111
111
|
Given an MCP config file in the well-known MCP config format like the following:
|
|
112
112
|
|
|
@@ -139,7 +139,7 @@ See more features in the [Documentation](https://moonshotai.github.io/kimi-cli/e
|
|
|
139
139
|
|
|
140
140
|
## Development
|
|
141
141
|
|
|
142
|
-
To develop Kimi CLI, run:
|
|
142
|
+
To develop Kimi Code CLI, run:
|
|
143
143
|
|
|
144
144
|
```sh
|
|
145
145
|
git clone https://github.com/MoonshotAI/kimi-cli.git
|
|
@@ -148,17 +148,17 @@ cd kimi-cli
|
|
|
148
148
|
make prepare # prepare the development environment
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
Then you can start working on Kimi CLI.
|
|
151
|
+
Then you can start working on Kimi Code CLI.
|
|
152
152
|
|
|
153
153
|
Refer to the following commands after you make changes:
|
|
154
154
|
|
|
155
155
|
```sh
|
|
156
|
-
uv run kimi # run Kimi CLI
|
|
156
|
+
uv run kimi # run Kimi Code CLI
|
|
157
157
|
|
|
158
158
|
make format # format code
|
|
159
159
|
make check # run linting and type checking
|
|
160
160
|
make test # run tests
|
|
161
|
-
make test-kimi-cli # run Kimi CLI tests only
|
|
161
|
+
make test-kimi-cli # run Kimi Code CLI tests only
|
|
162
162
|
make test-kosong # run kosong tests only
|
|
163
163
|
make test-pykaos # run pykaos tests only
|
|
164
164
|
make build # build python packages
|
|
@@ -168,4 +168,4 @@ make help # show all make targets
|
|
|
168
168
|
|
|
169
169
|
## Contributing
|
|
170
170
|
|
|
171
|
-
We welcome contributions to Kimi CLI! Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
|
|
171
|
+
We welcome contributions to Kimi Code CLI! Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "kimi-code"
|
|
3
|
-
version = "
|
|
3
|
+
version = "1.2"
|
|
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==
|
|
7
|
+
dependencies = ["kimi-cli==1.2"]
|
|
8
8
|
|
|
9
9
|
[project.scripts]
|
|
10
10
|
kimi = "kimi_cli.cli:cli"
|
|
File without changes
|