nimcode 0.1.16__tar.gz → 0.1.18__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.
Files changed (47) hide show
  1. {nimcode-0.1.16 → nimcode-0.1.18}/PKG-INFO +1 -1
  2. {nimcode-0.1.16 → nimcode-0.1.18}/setup.py +1 -1
  3. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/cli.py +7 -2
  4. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode.egg-info/PKG-INFO +1 -1
  5. {nimcode-0.1.16 → nimcode-0.1.18}/README.md +0 -0
  6. {nimcode-0.1.16 → nimcode-0.1.18}/setup.cfg +0 -0
  7. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/__init__.py +0 -0
  8. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/agent.py +0 -0
  9. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/analytics.py +0 -0
  10. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/config.py +0 -0
  11. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/lenient_parser.py +0 -0
  12. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/mcp_client.py +0 -0
  13. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/memory.py +0 -0
  14. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/nim_client.py +0 -0
  15. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/permissions.py +0 -0
  16. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/plugin_manager.py +0 -0
  17. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/repl.py +0 -0
  18. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/repo_map.py +0 -0
  19. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/secret_scanner.py +0 -0
  20. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/stdio_server.py +0 -0
  21. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/swarm.py +0 -0
  22. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/tools.py +0 -0
  23. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/updater.py +0 -0
  24. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode/watcher.py +0 -0
  25. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode.egg-info/SOURCES.txt +0 -0
  26. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode.egg-info/dependency_links.txt +0 -0
  27. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode.egg-info/entry_points.txt +0 -0
  28. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode.egg-info/requires.txt +0 -0
  29. {nimcode-0.1.16 → nimcode-0.1.18}/src/nimcode.egg-info/top_level.txt +0 -0
  30. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_agent.py +0 -0
  31. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_analytics.py +0 -0
  32. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_cli.py +0 -0
  33. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_config.py +0 -0
  34. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_lenient_parser.py +0 -0
  35. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_mcp_client.py +0 -0
  36. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_memory.py +0 -0
  37. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_nim_client.py +0 -0
  38. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_nimcoderules.py +0 -0
  39. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_permissions.py +0 -0
  40. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_plugin_manager.py +0 -0
  41. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_repl.py +0 -0
  42. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_repl_extra.py +0 -0
  43. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_repl_trust.py +0 -0
  44. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_repo_map.py +0 -0
  45. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_secret_scanner.py +0 -0
  46. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_tools.py +0 -0
  47. {nimcode-0.1.16 → nimcode-0.1.18}/tests/test_updater.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nimcode
3
- Version: 0.1.16
3
+ Version: 0.1.18
4
4
  Summary: A standalone, robust coding agent for NVIDIA NIM models.
5
5
  Author: Autonomous Agent
6
6
  Requires-Dist: httpx>=0.27.0
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="nimcode",
5
- version="0.1.16",
5
+ version="0.1.18",
6
6
  packages=find_packages(where="src"),
7
7
  package_dir={"": "src"},
8
8
  install_requires=[
@@ -132,8 +132,13 @@ def main():
132
132
 
133
133
  piped_input = None
134
134
  if not sys.stdin.isatty():
135
- piped_input = sys.stdin.read().strip()
136
-
135
+ import select
136
+ try:
137
+ # On Unix, we can check if stdin has data ready to read
138
+ if sys.platform != "win32" and select.select([sys.stdin], [], [], 0.0)[0]:
139
+ piped_input = sys.stdin.read().strip()
140
+ except Exception:
141
+ pass
137
142
  if piped_input:
138
143
  console.print(f"[bold green]Starting NimCode[/bold green] with model [cyan]{args.model}[/cyan]")
139
144
  prompt = f"{piped_input}\n\n{args.prompt or ''}".strip()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nimcode
3
- Version: 0.1.16
3
+ Version: 0.1.18
4
4
  Summary: A standalone, robust coding agent for NVIDIA NIM models.
5
5
  Author: Autonomous Agent
6
6
  Requires-Dist: httpx>=0.27.0
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