kimi-cli 0.38__py3-none-any.whl → 0.39__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.

kimi_cli/CHANGELOG.md CHANGED
@@ -9,6 +9,13 @@ Internal builds may append content to the Unreleased section.
9
9
  Only write entries that are worth mentioning to users.
10
10
  -->
11
11
 
12
+ ## [0.39] - 2025-10-24
13
+
14
+ ### Fixed
15
+
16
+ - Fix context compaction threshold check
17
+ - Fix panic when SOCKS proxy is set in the shell session
18
+
12
19
  ## [0.38] - 2025-10-24
13
20
 
14
21
  - Minor UX improvements
kimi_cli/soul/kimisoul.py CHANGED
@@ -111,6 +111,7 @@ class KimiSoul:
111
111
 
112
112
  async def _agent_loop(self, wire: Wire):
113
113
  """The main agent loop for one run."""
114
+ assert self._agent_globals.llm is not None
114
115
 
115
116
  async def _pipe_approval_to_wire():
116
117
  while True:
@@ -127,7 +128,10 @@ class KimiSoul:
127
128
  # out a better solution.
128
129
  try:
129
130
  # compact the context if needed
130
- if self._context.token_count >= self._reserved_tokens:
131
+ if (
132
+ self._context.token_count + self._reserved_tokens
133
+ >= self._agent_globals.llm.max_context_size
134
+ ):
131
135
  logger.info("Context too long, compacting...")
132
136
  wire.send(CompactionBegin())
133
137
  await self.compact_context()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kimi-cli
3
- Version: 0.38
3
+ Version: 0.39
4
4
  Summary: Kimi CLI is your next CLI agent.
5
5
  Requires-Dist: agent-client-protocol>=0.4.9
6
6
  Requires-Dist: aiofiles>=25.1.0
@@ -18,6 +18,7 @@ Requires-Dist: trafilatura>=2.0.0
18
18
  Requires-Dist: tenacity>=9.1.2
19
19
  Requires-Dist: fastmcp>=2.12.5
20
20
  Requires-Dist: pydantic>=2.12.3
21
+ Requires-Dist: httpx[socks]>=0.28.0
21
22
  Requires-Python: >=3.13
22
23
  Description-Content-Type: text/markdown
23
24
 
@@ -42,6 +43,9 @@ Kimi CLI is a new CLI agent that can help you with your software development tas
42
43
 
43
44
  ## Installation
44
45
 
46
+ > [!IMPORTANT]
47
+ > Kimi CLI currently only supports macOS and Linux. Windows support is coming soon.
48
+
45
49
  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
50
 
47
51
  Once uv is installed, you can install Kimi CLI with:
@@ -1,4 +1,4 @@
1
- kimi_cli/CHANGELOG.md,sha256=df863917e3975f63b553a9fc2a3a35a9407439b1331a02fc6ca687e7d10d1b00,7044
1
+ kimi_cli/CHANGELOG.md,sha256=0ded00048bd564f13c14a98e6a8eaf8e0730c02d2ab16b997b68e383626baa0c,7178
2
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
@@ -18,7 +18,7 @@ kimi_cli/soul/approval.py,sha256=3015fddcead40c00a594147e040c45a0b7f86a3f25322b2
18
18
  kimi_cli/soul/compaction.py,sha256=03213007626dcb7453d3c5ad08381c83d7e7feb8f8b8a434ab33dc71243512bf,3506
19
19
  kimi_cli/soul/context.py,sha256=541759a65f8f87a3424a6da160ffb2043046e6f6b714124d94d82a77635df9bc,5855
20
20
  kimi_cli/soul/denwarenji.py,sha256=66b95f052a1fa844e2347972d34e1916a7be24d3e493701b451f5380b0375c9f,1384
21
- kimi_cli/soul/kimisoul.py,sha256=5ddbf88428ed2ca31e8554217276fe32dfb6f1fd7487e6f05ede97d4a7703efb,11595
21
+ kimi_cli/soul/kimisoul.py,sha256=9b4b7419b03feec2aa1a7ef784bf7e67cb95409316a7031d85ad50b99ebc34f2,11749
22
22
  kimi_cli/soul/message.py,sha256=16bbdc203c791dc50c7ebbc52d91fae801313920db1029217f30b5516ba5dbf3,2459
23
23
  kimi_cli/soul/toolset.py,sha256=60166d89ef0efac690fa6866e88afe70fbe80ad862ba2524d70ddf657a730d14,744
24
24
  kimi_cli/soul/wire.py,sha256=c69a1e45c584b8a43eddf2230f38b414ce7ffb5b43ad18ff822e0cb36e1b42a6,3367
@@ -74,7 +74,7 @@ kimi_cli/utils/path.py,sha256=fdd4fc08999ddc7c610f884b4ba8d27932248b9ed06b5eb413
74
74
  kimi_cli/utils/provider.py,sha256=195ae475e3f87fff81f98b2714aa3d38049dcf8194a5ba933290d0e475ba9a10,2553
75
75
  kimi_cli/utils/pyinstaller.py,sha256=e5d709d0490ef8645bbed2d2363920c59f25bd17c04f471bf4a8c0fa2ebe1801,581
76
76
  kimi_cli/utils/string.py,sha256=f8a842ee014b9023d4045392f33ca6f576f5238ad3d40cb6df071a3ce9f5ed9c,365
77
- kimi_cli-0.38.dist-info/WHEEL,sha256=70ab3c2925fe316809860cb034f99ba13c4b49819b339959274aab755cc084a8,78
78
- kimi_cli-0.38.dist-info/entry_points.txt,sha256=d5b0f8ebf823d7590e90bf9511c8ab13f73db97cba1e1fc88585d8d7b415bcc2,40
79
- kimi_cli-0.38.dist-info/METADATA,sha256=68140d5d6632ecc607e4b1d367779c130c39c44248cbeedb1415b35929f8ffae,4016
80
- kimi_cli-0.38.dist-info/RECORD,,
77
+ kimi_cli-0.39.dist-info/WHEEL,sha256=70ab3c2925fe316809860cb034f99ba13c4b49819b339959274aab755cc084a8,78
78
+ kimi_cli-0.39.dist-info/entry_points.txt,sha256=d5b0f8ebf823d7590e90bf9511c8ab13f73db97cba1e1fc88585d8d7b415bcc2,40
79
+ kimi_cli-0.39.dist-info/METADATA,sha256=ebf4fcfa32c5003f018d1cca3ba9e369ddafb65a3cc033df664e5e3c6e5200ff,4152
80
+ kimi_cli-0.39.dist-info/RECORD,,