nimcode 0.5.3__tar.gz → 0.5.4__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.
- {nimcode-0.5.3 → nimcode-0.5.4}/PKG-INFO +5 -2
- {nimcode-0.5.3 → nimcode-0.5.4}/README.md +4 -1
- nimcode-0.5.4/src/nimcode/__version__.py +1 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/tools.py +6 -1
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode.egg-info/PKG-INFO +5 -2
- nimcode-0.5.3/src/nimcode/__version__.py +0 -1
- {nimcode-0.5.3 → nimcode-0.5.4}/setup.cfg +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/setup.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/__init__.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/agent.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/cli.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/config.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/lenient_parser.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/mcp_client.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/memory.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/model_registry.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/nim_client.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/permissions.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/plugin_manager.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/rag.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/repl.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/repo_map.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/updater.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode/watcher.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode.egg-info/SOURCES.txt +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode.egg-info/dependency_links.txt +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode.egg-info/entry_points.txt +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode.egg-info/requires.txt +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/src/nimcode.egg-info/top_level.txt +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_agent.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_cli.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_config.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_lenient_parser.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_mcp_client.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_memory.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_model_registry.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_nim_client.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_permissions.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_plan_injection.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_plugin_manager.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_repl.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_repl_extra.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_repl_fixes.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_repl_trust.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_repo_map.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_tools.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_updater.py +0 -0
- {nimcode-0.5.3 → nimcode-0.5.4}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nimcode
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: A standalone, robust coding agent for NVIDIA NIM models.
|
|
5
5
|
Home-page: https://github.com/Batunash/nimcode
|
|
6
6
|
Author: Autonomous Agent
|
|
@@ -193,7 +193,10 @@ NimCode's behavior can be fully customized through `~/.nimcode/settings.json` (g
|
|
|
193
193
|
|
|
194
194
|
## 📋 Changelog
|
|
195
195
|
|
|
196
|
-
### v0.5.
|
|
196
|
+
### v0.5.4 (Latest)
|
|
197
|
+
- 🐛 **Bug Fix**: Fixed a bug where the `Read` tool would crash with a `TypeError` if an LLM provided the `offset` and `limit` arguments as strings (e.g. `'1'`) instead of integers.
|
|
198
|
+
|
|
199
|
+
### v0.5.3
|
|
197
200
|
- 🧭 **Phase/Task Plan Architecture**: `/plan` mode now forces the AI to output plans with meticulous Phase -> Task -> Checklist hierarchy (inspired by Claude Code), fixing superficial plan generation.
|
|
198
201
|
|
|
199
202
|
### v0.5.2
|
|
@@ -172,7 +172,10 @@ NimCode's behavior can be fully customized through `~/.nimcode/settings.json` (g
|
|
|
172
172
|
|
|
173
173
|
## 📋 Changelog
|
|
174
174
|
|
|
175
|
-
### v0.5.
|
|
175
|
+
### v0.5.4 (Latest)
|
|
176
|
+
- 🐛 **Bug Fix**: Fixed a bug where the `Read` tool would crash with a `TypeError` if an LLM provided the `offset` and `limit` arguments as strings (e.g. `'1'`) instead of integers.
|
|
177
|
+
|
|
178
|
+
### v0.5.3
|
|
176
179
|
- 🧭 **Phase/Task Plan Architecture**: `/plan` mode now forces the AI to output plans with meticulous Phase -> Task -> Checklist hierarchy (inspired by Claude Code), fixing superficial plan generation.
|
|
177
180
|
|
|
178
181
|
### v0.5.2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.5.4"
|
|
@@ -399,6 +399,12 @@ class ToolRegistry:
|
|
|
399
399
|
|
|
400
400
|
@staticmethod
|
|
401
401
|
def _execute_read(file_path: str, cwd: str, offset: int = 1, limit: int = 0) -> str:
|
|
402
|
+
try:
|
|
403
|
+
offset = max(1, int(offset))
|
|
404
|
+
limit = max(0, int(limit))
|
|
405
|
+
except ValueError:
|
|
406
|
+
return "Error executing Read: 'offset' and 'limit' must be integers."
|
|
407
|
+
|
|
402
408
|
full_path = os.path.join(cwd, file_path)
|
|
403
409
|
if not os.path.exists(full_path):
|
|
404
410
|
raise ToolError(f"File not found: {file_path}")
|
|
@@ -417,7 +423,6 @@ class ToolRegistry:
|
|
|
417
423
|
all_lines = f.readlines()
|
|
418
424
|
|
|
419
425
|
total = len(all_lines)
|
|
420
|
-
offset = max(1, int(offset))
|
|
421
426
|
|
|
422
427
|
# No limit → whole file (and cache it).
|
|
423
428
|
if limit == 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nimcode
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: A standalone, robust coding agent for NVIDIA NIM models.
|
|
5
5
|
Home-page: https://github.com/Batunash/nimcode
|
|
6
6
|
Author: Autonomous Agent
|
|
@@ -193,7 +193,10 @@ NimCode's behavior can be fully customized through `~/.nimcode/settings.json` (g
|
|
|
193
193
|
|
|
194
194
|
## 📋 Changelog
|
|
195
195
|
|
|
196
|
-
### v0.5.
|
|
196
|
+
### v0.5.4 (Latest)
|
|
197
|
+
- 🐛 **Bug Fix**: Fixed a bug where the `Read` tool would crash with a `TypeError` if an LLM provided the `offset` and `limit` arguments as strings (e.g. `'1'`) instead of integers.
|
|
198
|
+
|
|
199
|
+
### v0.5.3
|
|
197
200
|
- 🧭 **Phase/Task Plan Architecture**: `/plan` mode now forces the AI to output plans with meticulous Phase -> Task -> Checklist hierarchy (inspired by Claude Code), fixing superficial plan generation.
|
|
198
201
|
|
|
199
202
|
### v0.5.2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.5.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|