kimi-cli 0.35__py3-none-any.whl → 0.37__py3-none-any.whl

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.

Potentially problematic release.


This version of kimi-cli might be problematic. Click here for more details.

@@ -0,0 +1,150 @@
1
+ Metadata-Version: 2.3
2
+ Name: kimi-cli
3
+ Version: 0.37
4
+ Summary: Kimi CLI is your next CLI agent.
5
+ Requires-Dist: agent-client-protocol>=0.4.9
6
+ Requires-Dist: aiofiles>=25.1.0
7
+ Requires-Dist: aiohttp>=3.13.1
8
+ Requires-Dist: click>=8.3.0
9
+ Requires-Dist: kosong>=0.15.0
10
+ Requires-Dist: loguru>=0.7.3
11
+ Requires-Dist: patch-ng>=1.19.0
12
+ Requires-Dist: prompt-toolkit>=3.0.52
13
+ Requires-Dist: pyyaml>=6.0.3
14
+ Requires-Dist: rich>=14.2.0
15
+ Requires-Dist: ripgrepy>=2.2.0
16
+ Requires-Dist: streamingjson>=0.0.5
17
+ Requires-Dist: trafilatura>=2.0.0
18
+ Requires-Dist: tenacity>=9.1.2
19
+ Requires-Dist: fastmcp>=2.12.5
20
+ Requires-Dist: pydantic>=2.12.3
21
+ Requires-Python: >=3.13
22
+ Description-Content-Type: text/markdown
23
+
24
+ # Kimi CLI
25
+
26
+ [中文](https://www.kimi.com/coding/docs/kimi-cli.html)
27
+
28
+ Kimi CLI is a new CLI agent that can help you with your software development tasks and terminal operations.
29
+
30
+ > [!IMPORTANT]
31
+ > Kimi CLI is currently in technical preview.
32
+
33
+ ## Key features
34
+
35
+ - Shell-like UI and raw shell command execution
36
+ - Zsh integration
37
+ - [Agent Client Protocol] support
38
+ - MCP support
39
+ - And more to come...
40
+
41
+ [Agent Client Protocol]: https://github.com/agentclientprotocol/agent-client-protocol
42
+
43
+ ## Installation
44
+
45
+ Kimi CLI is published as a Python package on PyPI. We highly recommend installing it with [uv](https://docs.astral.sh/uv/). If you have not installed uv yet, please follow the instructions [here](https://docs.astral.sh/uv/getting-started/installation/) to install it first.
46
+
47
+ Once uv is installed, you can install Kimi CLI with:
48
+
49
+ ```sh
50
+ uv tool install --python 3.13 kimi-cli
51
+ ```
52
+
53
+ Run `kimi --help` to check if Kimi CLI is installed successfully.
54
+
55
+ > [!IMPORTANT]
56
+ > Due to the security checks on macOS, the first time you run `kimi` command may take 10 seconds or more depending on your system environment.
57
+
58
+ ## Upgrading
59
+
60
+ Upgrade Kimi CLI to the latest version with:
61
+
62
+ ```sh
63
+ uv tool upgrade kimi-cli --no-cache
64
+ ```
65
+
66
+ ## Usage
67
+
68
+ Run `kimi` command in the directory you want to work on, then send `/setup` to setup Kimi CLI:
69
+
70
+ ![](./docs/images/setup.png)
71
+
72
+ After setup is complete, Kimi CLI will be ready to use. You can send `/help` to get more information.
73
+
74
+ ## Features
75
+
76
+ ### Shell mode
77
+
78
+ Kimi CLI is not only a coding agent, but also a shell. You can switch the mode by pressing `Ctrl-K`. In shell mode, you can directly run shell commands without leaving Kimi CLI.
79
+
80
+ > [!NOTE]
81
+ > Built-in shell commands like `cd` are not supported yet.
82
+
83
+ ### Zsh integration
84
+
85
+ You can use Kimi CLI together with Zsh, to empower your shell experience with AI agent capabilities.
86
+
87
+ Install the [zsh-kimi-cli](https://github.com/MoonshotAI/zsh-kimi-cli) plugin via:
88
+
89
+ ```sh
90
+ git clone https://github.com/MoonshotAI/zsh-kimi-cli.git \
91
+ ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/kimi-cli
92
+ ```
93
+
94
+ > [!NOTE]
95
+ > If you are using a plugin manager other than Oh My Zsh, you may need to refer to the plugin's README for installation instructions.
96
+
97
+ Then add `kimi-cli` to your Zsh plugin list in `~/.zshrc`:
98
+
99
+ ```sh
100
+ plugins=(... kimi-cli)
101
+ ```
102
+
103
+ After restarting Zsh, you can switch to agent mode by pressing `Ctrl-K`.
104
+
105
+ ### ACP support
106
+
107
+ Kimi CLI supports [Agent Client Protocol] out of the box. You can use it together with any ACP-compatible editors or IDEs.
108
+
109
+ For example, to use Kimi CLI with [Zed](https://zed.dev/), add the following configuration to your `~/.config/zed/settings.json`:
110
+
111
+ ```json
112
+ {
113
+ "agent_servers": {
114
+ "Kimi CLI": {
115
+ "command": "kimi",
116
+ "args": ["--acp"],
117
+ "env": {}
118
+ }
119
+ }
120
+ }
121
+ ```
122
+
123
+ Then you can create Kimi CLI threads in Zed's agent panel.
124
+
125
+ ### Using MCP tools
126
+
127
+ Kimi CLI supports the well-established MCP config convention. For example:
128
+
129
+ ```json
130
+ {
131
+ "mcpServers": {
132
+ "context7": {
133
+ "url": "https://mcp.context7.com/mcp",
134
+ "headers": {
135
+ "CONTEXT7_API_KEY": "YOUR_API_KEY"
136
+ }
137
+ },
138
+ "chrome-devtools": {
139
+ "command": "npx",
140
+ "args": ["-y", "chrome-devtools-mcp@latest"]
141
+ }
142
+ }
143
+ }
144
+ ```
145
+
146
+ Run `kimi` with `--mcp-config-file` option to connect to the specified MCP servers:
147
+
148
+ ```sh
149
+ kimi --mcp-config-file /path/to/mcp.json
150
+ ```
@@ -1,5 +1,5 @@
1
- kimi_cli/CHANGELOG.md,sha256=734517112bfbcefbc47675f14932689afc73784d54f6c840226c055c631831b2,6606
2
- kimi_cli/__init__.py,sha256=51c994671106389725ced892921a79019dec0df8965e90720bf344d751c4fd7e,11102
1
+ kimi_cli/CHANGELOG.md,sha256=df0aebcb1b2d979c8384499b2a3cd742f83f0b74b0c803d6c4e168a834ffc2f0,6995
2
+ kimi_cli/__init__.py,sha256=80ff28778a1d9c1ee9d43be6f4e673fda3b44a0ec1aadc272cb859776f152f0a,11390
3
3
  kimi_cli/agent.py,sha256=46fc0293489cc1d5daaa9be6b29c8a17bbf8c5a552fd437941eb1f0ae1335a3a,8528
4
4
  kimi_cli/agents/koder/README.md,sha256=2d9a987110652915cd1a4356caec3eef9380479ce36906c377a1ed177d46690f,96
5
5
  kimi_cli/agents/koder/agent.yaml,sha256=f1c5c585e8e0a52419c820d56a4aa928eebdf7bb21f0907d6c02d4ea1c8909d7,709
@@ -8,37 +8,38 @@ kimi_cli/agents/koder/system.md,sha256=27ef94b525e846f6a8e55222042b6ca8eb8d2663f
8
8
  kimi_cli/config.py,sha256=37dd65f2aa03c051dc92d09d9c110361ee35bb8dc94eced2c1e8bf01e3918353,4157
9
9
  kimi_cli/llm.py,sha256=e4c4a184ce7b78fb60ce29f7b967676dd338131ab05f5ea7c3cb7b3e7c6a64d4,165
10
10
  kimi_cli/metadata.py,sha256=70c01da57529a9f585c0c5f3dd642f92ef16c4e49a107d8da838fa6d4746546a,3933
11
- kimi_cli/prompts/metacmds/__init__.py,sha256=56bee1833b9555c71f50d0def3de7fb6d78e018826d925686ce9295815edb666,142
12
- kimi_cli/prompts/metacmds/compact.md,sha256=6655bd7d8270b24d8f97b51ef7c471cf71d686c56f8ec9a5cc9e47caa3aae87c,1877
13
- kimi_cli/prompts/metacmds/init.md,sha256=d271a0df6dd7b330ffec4f645a74c0392dafc1b3bfc1e3f2a77624e96cf6abbe,1380
11
+ kimi_cli/prompts/__init__.py,sha256=56bee1833b9555c71f50d0def3de7fb6d78e018826d925686ce9295815edb666,142
12
+ kimi_cli/prompts/compact.md,sha256=6655bd7d8270b24d8f97b51ef7c471cf71d686c56f8ec9a5cc9e47caa3aae87c,1877
13
+ kimi_cli/prompts/init.md,sha256=d271a0df6dd7b330ffec4f645a74c0392dafc1b3bfc1e3f2a77624e96cf6abbe,1380
14
14
  kimi_cli/py.typed,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
15
15
  kimi_cli/share.py,sha256=4292df7f44177419c45c772a933b5f36e2b7533f8cef9842629a438bc7856dc0,204
16
- kimi_cli/soul/__init__.py,sha256=10036ca53a06b42dd66e77bb2190c762c51ed4c3af7d237c05a7e59824ba0d75,1580
17
- kimi_cli/soul/approval.py,sha256=4f268c0212cc0dc86126e71dc6b6577e26dc89784e5a24ed200d9519d5018baf,2563
16
+ kimi_cli/soul/__init__.py,sha256=058102a5dfaa73fab1f78e3e3f9d1a039a47410e197fef6a4482f2b2531b98b0,1561
17
+ kimi_cli/soul/approval.py,sha256=3015fddcead40c00a594147e040c45a0b7f86a3f25322b2839a9e3b72944c935,2634
18
+ kimi_cli/soul/compaction.py,sha256=03213007626dcb7453d3c5ad08381c83d7e7feb8f8b8a434ab33dc71243512bf,3506
18
19
  kimi_cli/soul/context.py,sha256=541759a65f8f87a3424a6da160ffb2043046e6f6b714124d94d82a77635df9bc,5855
19
20
  kimi_cli/soul/denwarenji.py,sha256=66b95f052a1fa844e2347972d34e1916a7be24d3e493701b451f5380b0375c9f,1384
20
- kimi_cli/soul/kimisoul.py,sha256=f6ef5e73e7f5081090fe7e7cb13b816f750bb5b99331467ad6523eda26a5de0d,9558
21
+ kimi_cli/soul/kimisoul.py,sha256=5ddbf88428ed2ca31e8554217276fe32dfb6f1fd7487e6f05ede97d4a7703efb,11595
21
22
  kimi_cli/soul/message.py,sha256=16bbdc203c791dc50c7ebbc52d91fae801313920db1029217f30b5516ba5dbf3,2459
22
23
  kimi_cli/soul/toolset.py,sha256=60166d89ef0efac690fa6866e88afe70fbe80ad862ba2524d70ddf657a730d14,744
23
- kimi_cli/soul/wire.py,sha256=0926a1c5d01c35d72cbf5c8f818d3dc439defbb8cadec818e3aba51e9cc0d881,2723
24
+ kimi_cli/soul/wire.py,sha256=c69a1e45c584b8a43eddf2230f38b414ce7ffb5b43ad18ff822e0cb36e1b42a6,3367
24
25
  kimi_cli/tools/__init__.py,sha256=4d612402814eede7182e0a55e7dd21c4532b5dd44700dc744763a8308c2f74f8,3280
25
- kimi_cli/tools/bash/__init__.py,sha256=2dbe6968accdef2a9f61262bb4929af00cebaeb2fb8fb64f21ea86a3004b6714,2972
26
+ kimi_cli/tools/bash/__init__.py,sha256=75a61d3e12481dea075229b9fe831029768b38a5575bc2eb7d6c39d71c0459da,2996
26
27
  kimi_cli/tools/bash/bash.md,sha256=5d9cc54b3718097951340b0a737c8e1fa308341fd2c4ebd121be94de31dd5f73,2348
27
28
  kimi_cli/tools/dmail/__init__.py,sha256=76b2175bc4acd307db0f761b995a9c2cd8ac12f25296fab14707adb9a1baa13b,1261
28
29
  kimi_cli/tools/dmail/dmail.md,sha256=0d18cae387dd52127ddc99e296253c09e68ccba5f343153c0adbe77d7586e759,1912
29
- kimi_cli/tools/file/__init__.py,sha256=9c237ad169523e0be965eb2a92a4675dd03a6aef14faa65982504dd6ff8d1a3c,444
30
+ kimi_cli/tools/file/__init__.py,sha256=1516fb4c71097f9c14b605e7b9a1872af8786bdcb48323d1fa83bb1419436abb,546
30
31
  kimi_cli/tools/file/glob.md,sha256=6aab77c357c203fb2d5cc2092375ce860941e3f7343b59e6ef264f42255163fa,1401
31
32
  kimi_cli/tools/file/glob.py,sha256=fabd6fbc1480a52d07c5ff3d570e3fb86d455438e97a9970dc44a0e7ff434101,5405
32
33
  kimi_cli/tools/file/grep.md,sha256=12353db42cf3b5d9d91ac7c0f0b9c2a732e8b050c23a78f4e668db823cca4d50,245
33
34
  kimi_cli/tools/file/grep.py,sha256=765a7f7c3387f05c2d47781b484c612639e1cfd3a1b77291e3613ce239e46947,9720
34
35
  kimi_cli/tools/file/patch.md,sha256=f9edbed6c6a03bf7448a51acc1f42622395fd7f1674a814e9a3b2302d3b7b92e,404
35
- kimi_cli/tools/file/patch.py,sha256=4290a8202d7a19a83a3fe6da63d298e6195c86d8faed46cdacd0323cbdb8c1c8,4765
36
+ kimi_cli/tools/file/patch.py,sha256=09e0a6905e27246d83595557dd8867f53a68b158854cdb3b0b8cd23c255a1926,5205
36
37
  kimi_cli/tools/file/read.md,sha256=4c2d83e557daadc0612fb1a613e252b2c8e4df7ae57e6db094e9e75e994cb23b,1066
37
38
  kimi_cli/tools/file/read.py,sha256=c1824f0e7a56a065808414580663ba4363fcef0d374ba5ea2e8848ac411b5a5d,5061
38
39
  kimi_cli/tools/file/replace.md,sha256=f429f263fa580f2f6107907a33ba8800dcdbd4fc1d9ff8dc4f858bd76ec6bbc6,267
39
- kimi_cli/tools/file/replace.py,sha256=066bfe14517061b8c4abf722d64c5eee3dfe0ed0037b61c8132792845fb35586,4742
40
+ kimi_cli/tools/file/replace.py,sha256=37582cd51534f6b35c08144ec6558906545140512172e204e6b5937e423adbbe,5181
40
41
  kimi_cli/tools/file/write.md,sha256=f37b0f4742da57797ec4dd29fbd4fdc9b6617c6be644724a3b16d651c6129cec,324
41
- kimi_cli/tools/file/write.py,sha256=687648fb8d3c32a1c38655675a0b0981e206a021ba9a0c299cc51abb4cb991e3,3915
42
+ kimi_cli/tools/file/write.py,sha256=6c3b04b31422f95ac06ba4afddf3899ed1c635119082dea57d6ef7315b2e0cd8,4355
42
43
  kimi_cli/tools/mcp.py,sha256=12f63c9ee5b82a5b0f23daca0b5ce4ceb3a6190ce5b553ee24e499699521e426,3620
43
44
  kimi_cli/tools/task/__init__.py,sha256=82b1d73280ba3b616c2a0b3432a854e08786289002abc8233f3186b8f3bcd94f,5915
44
45
  kimi_cli/tools/task/task.md,sha256=eaac7458676271423e53862bb27906ed8df3b86c767abd69e28a5d52f9eecdbf,2280
@@ -53,24 +54,27 @@ kimi_cli/tools/web/fetch.md,sha256=56d00bd93b4e379c4f7efe445fce963eb26b8d20f85d4
53
54
  kimi_cli/tools/web/fetch.py,sha256=f0e00464e8c5e6fadd7a31b27eded781921bffdaa6fcbd0ca79247e71fe2e61b,3132
54
55
  kimi_cli/tools/web/search.md,sha256=24049f9e90d37083e0fc78b8b2e3a5f6fadf09bea00f36712b235d1212a2f532,146
55
56
  kimi_cli/tools/web/search.py,sha256=cba367a80b224c2a80e61c0c33bca6ff61c57b202a2e9f8037e221a60f05c340,4295
56
- kimi_cli/ui/__init__.py,sha256=6846e79b55b823e722c7d9189f87961f489918f1071d502633f250023b2a0ed9,2342
57
+ kimi_cli/ui/__init__.py,sha256=127928de433021e42fdaab56188457896283cd5e188c7c0f21c2eb718e040495,2386
57
58
  kimi_cli/ui/acp/__init__.py,sha256=e5a93c3bbbb919fae41cedd829dbe1363ebcb56feb6413c47071692876007d52,17349
58
- kimi_cli/ui/print/__init__.py,sha256=6c3c341bf11edd022806103a49a6895802a50ab887623525a494d456ec6ffeb1,6687
59
- kimi_cli/ui/shell/__init__.py,sha256=18d9f4ef25bc6b39d0d1e58970f92f2586e17f859bd69241ff5aa20f08e8d80f,12495
60
- kimi_cli/ui/shell/console.py,sha256=4f8c420286acc83e85f8eefd34a543db77ff92f5616f15f8b70754c43dfc254f,69
61
- kimi_cli/ui/shell/liveview.py,sha256=c676f84fbaf4ceb3b9a8c816b24701c21f8d45dd93862222e7a37d1312de5c81,5841
62
- kimi_cli/ui/shell/metacmd.py,sha256=71e743a0642ec4d5bf4c68a760a43e046161946de22f062ffd1c8f4641eca9ff,9501
59
+ kimi_cli/ui/print/__init__.py,sha256=9ea2933a00959eb19a07ed1abb3d1aff0d3dc3ee7e393271125fe210a085ecc5,6734
60
+ kimi_cli/ui/shell/__init__.py,sha256=054ba3b0fa048ccaad8cba048c37087529b89f1e223d25cb028884dbc329fad6,10186
61
+ kimi_cli/ui/shell/console.py,sha256=bcbf7efd214cba3d2259f2a2c1842250cde96d49e4f9f1e0b60273cf1c366be3,842
62
+ kimi_cli/ui/shell/debug.py,sha256=cd4e7259c83f099b5c6519713be5306580f30d3fa4944e07916d4468e960c9c7,5562
63
+ kimi_cli/ui/shell/keyboard.py,sha256=8735c00363484263681adf885baec824e5f76cb4084bd024651e80190926edc5,3035
64
+ kimi_cli/ui/shell/liveview.py,sha256=0d91dc3f851563ae514310a054b084b13fda06d33819c75b7b818d407e8a99ac,13862
65
+ kimi_cli/ui/shell/metacmd.py,sha256=bb24538dbe451b14427697691275ec7d6ffd2e4a724cdc2f43b726ea7d71d744,7778
63
66
  kimi_cli/ui/shell/prompt.py,sha256=f85446d77b998e2594380c29000b06614e3fae8537db46ec96fc5ddc25490b45,19096
64
- kimi_cli/ui/shell/setup.py,sha256=a35651c3f0583cf5bdc5169530cc33df4942196c7cbc6cff6c47990dec4ff40a,5387
67
+ kimi_cli/ui/shell/setup.py,sha256=cd87fef38b213cb6c1adba11851b0bf36059f564fe6002017bb36486446443e6,5282
65
68
  kimi_cli/ui/shell/update.py,sha256=e37b521ed39bdb183e01b19729861fc7751cb21240f49320157766f8908b5691,7110
69
+ kimi_cli/ui/shell/visualize.py,sha256=a5ff51441e80587909e9337c293762e55be24534331c24e71539c7b166ed568b,4032
66
70
  kimi_cli/utils/changelog.py,sha256=9d9ae05f32e90a53d40626fca437b9a10e8bec5b3e63e9348135969dcab4380e,3380
67
71
  kimi_cli/utils/logging.py,sha256=129298ac214ecd8d913c3431cc05d754f9c4c8c4042c458618bf9e8ddebdb763,399
68
72
  kimi_cli/utils/message.py,sha256=ca8f8d3c7dc6d4fce938d1cfe8a7a7343e39ce1e2f0c7b2d76d838edc7d9f187,304
69
73
  kimi_cli/utils/path.py,sha256=fdd4fc08999ddc7c610f884b4ba8d27932248b9ed06b5eb4139519edd00b3f75,687
70
- kimi_cli/utils/provider.py,sha256=351207d17bf5a509b2758fd9757fdb0119cf36274c68e18c0da88953bbdad44c,2371
74
+ kimi_cli/utils/provider.py,sha256=195ae475e3f87fff81f98b2714aa3d38049dcf8194a5ba933290d0e475ba9a10,2553
71
75
  kimi_cli/utils/pyinstaller.py,sha256=e5d709d0490ef8645bbed2d2363920c59f25bd17c04f471bf4a8c0fa2ebe1801,581
72
76
  kimi_cli/utils/string.py,sha256=f8a842ee014b9023d4045392f33ca6f576f5238ad3d40cb6df071a3ce9f5ed9c,365
73
- kimi_cli-0.35.dist-info/WHEEL,sha256=70ab3c2925fe316809860cb034f99ba13c4b49819b339959274aab755cc084a8,78
74
- kimi_cli-0.35.dist-info/entry_points.txt,sha256=d5b0f8ebf823d7590e90bf9511c8ab13f73db97cba1e1fc88585d8d7b415bcc2,40
75
- kimi_cli-0.35.dist-info/METADATA,sha256=66928c2eebde963171b9a1fd2544215fe9a0ab684aff08dfe4b896adce9ac81a,685
76
- kimi_cli-0.35.dist-info/RECORD,,
77
+ kimi_cli-0.37.dist-info/WHEEL,sha256=70ab3c2925fe316809860cb034f99ba13c4b49819b339959274aab755cc084a8,78
78
+ kimi_cli-0.37.dist-info/entry_points.txt,sha256=d5b0f8ebf823d7590e90bf9511c8ab13f73db97cba1e1fc88585d8d7b415bcc2,40
79
+ kimi_cli-0.37.dist-info/METADATA,sha256=b67322af3221ff49fa554d6ed377a7b196638b01b3ab5e558934da6aa8f66806,4028
80
+ kimi_cli-0.37.dist-info/RECORD,,
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: kimi-cli
3
- Version: 0.35
4
- Summary: Kimi CLI is your next CLI agent.
5
- Requires-Dist: agent-client-protocol>=0.4.9
6
- Requires-Dist: aiofiles>=25.1.0
7
- Requires-Dist: aiohttp>=3.13.1
8
- Requires-Dist: click>=8.3.0
9
- Requires-Dist: kosong>=0.14.1
10
- Requires-Dist: loguru>=0.7.3
11
- Requires-Dist: patch-ng>=1.19.0
12
- Requires-Dist: prompt-toolkit>=3.0.52
13
- Requires-Dist: pyyaml>=6.0.3
14
- Requires-Dist: rich>=14.2.0
15
- Requires-Dist: ripgrepy>=2.2.0
16
- Requires-Dist: streamingjson>=0.0.5
17
- Requires-Dist: trafilatura>=2.0.0
18
- Requires-Dist: tenacity>=9.1.2
19
- Requires-Dist: fastmcp>=2.12.5
20
- Requires-Dist: pydantic>=2.12.3
21
- Requires-Python: >=3.13
22
- Description-Content-Type: text/markdown
23
-
24
- # Kimi CLI
File without changes
File without changes
File without changes