nanocode-cli 0.6.4__tar.gz → 0.7.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.
- {nanocode_cli-0.6.4/nanocode_cli.egg-info → nanocode_cli-0.7.0}/PKG-INFO +6 -4
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/README.md +2 -1
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/nanocode.py +831 -300
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0/nanocode_cli.egg-info}/PKG-INFO +6 -4
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/nanocode_cli.egg-info/requires.txt +3 -2
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/pyproject.toml +4 -3
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/LICENSE +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/MANIFEST.in +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/README.zh-CN.md +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/nanocode_cli.egg-info/SOURCES.txt +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/nanocode_cli.egg-info/dependency_links.txt +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/nanocode_cli.egg-info/entry_points.txt +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/nanocode_cli.egg-info/top_level.txt +0 -0
- {nanocode_cli-0.6.4 → nanocode_cli-0.7.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nanocode-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: A small terminal coding agent written in Python
|
|
5
5
|
Author-email: hit9 <hit9@icloud.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -22,13 +22,14 @@ Requires-Python: >=3.11
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
Requires-Dist: anthropic>=0.64.0
|
|
25
|
-
Requires-Dist: code-symbol-index>=0.3.
|
|
25
|
+
Requires-Dist: code-symbol-index>=0.3.1
|
|
26
26
|
Requires-Dist: json-repair
|
|
27
|
-
Requires-Dist: fastmcp<4,>=3
|
|
27
|
+
Requires-Dist: fastmcp-slim[client]<4,>=3
|
|
28
28
|
Requires-Dist: openai>=2.37.0
|
|
29
29
|
Requires-Dist: prompt-toolkit>=3.0
|
|
30
30
|
Requires-Dist: rich>=13.0
|
|
31
31
|
Requires-Dist: socksio>=1.0.0
|
|
32
|
+
Requires-Dist: websockets>=15.0.1
|
|
32
33
|
Provides-Extra: dev
|
|
33
34
|
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
34
35
|
Requires-Dist: ruff>=0.4.0; extra == "dev"
|
|
@@ -240,7 +241,7 @@ model request
|
|
|
240
241
|
| conversation, compacted summaries, tools |
|
|
241
242
|
+--------------------------------------------------+
|
|
242
243
|
| user |
|
|
243
|
-
| Memory: goal, plan, known, date
|
|
244
|
+
| Memory: goal, plan, known, code index, date |
|
|
244
245
|
+--------------------------------------------------+
|
|
245
246
|
| user |
|
|
246
247
|
| FILE STATE: latest Read/Edit file view |
|
|
@@ -249,6 +250,7 @@ model request
|
|
|
249
250
|
|
|
250
251
|
Core rules:
|
|
251
252
|
|
|
253
|
+
- Environment holds only stable host facts (cwd, os, arch, detected commands) so it stays byte-identical across turns and keeps the conversation prefix cacheable; volatile state like the code index status lives in the late Memory section instead.
|
|
252
254
|
- Mid-turn assistant text and appended user input are kept as conversation.
|
|
253
255
|
- Earlier conversation is compacted into an explicit summary when the context grows too large.
|
|
254
256
|
- FILE STATE is updated by successful `Read` and `Edit` tools and shows current listed file ranges, with recent files first.
|
|
@@ -204,7 +204,7 @@ model request
|
|
|
204
204
|
| conversation, compacted summaries, tools |
|
|
205
205
|
+--------------------------------------------------+
|
|
206
206
|
| user |
|
|
207
|
-
| Memory: goal, plan, known, date
|
|
207
|
+
| Memory: goal, plan, known, code index, date |
|
|
208
208
|
+--------------------------------------------------+
|
|
209
209
|
| user |
|
|
210
210
|
| FILE STATE: latest Read/Edit file view |
|
|
@@ -213,6 +213,7 @@ model request
|
|
|
213
213
|
|
|
214
214
|
Core rules:
|
|
215
215
|
|
|
216
|
+
- Environment holds only stable host facts (cwd, os, arch, detected commands) so it stays byte-identical across turns and keeps the conversation prefix cacheable; volatile state like the code index status lives in the late Memory section instead.
|
|
216
217
|
- Mid-turn assistant text and appended user input are kept as conversation.
|
|
217
218
|
- Earlier conversation is compacted into an explicit summary when the context grows too large.
|
|
218
219
|
- FILE STATE is updated by successful `Read` and `Edit` tools and shows current listed file ranges, with recent files first.
|