nimcode 0.4.8__tar.gz → 0.4.10__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.4.8 → nimcode-0.4.10}/PKG-INFO +1 -1
- nimcode-0.4.10/src/nimcode/__version__.py +1 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/repl.py +5 -5
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode.egg-info/PKG-INFO +1 -1
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_repl_fixes.py +2 -3
- nimcode-0.4.8/src/nimcode/__version__.py +0 -1
- {nimcode-0.4.8 → nimcode-0.4.10}/README.md +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/setup.cfg +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/setup.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/__init__.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/agent.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/cli.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/config.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/lenient_parser.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/mcp_client.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/memory.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/model_registry.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/nim_client.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/permissions.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/plugin_manager.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/rag.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/repo_map.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/tools.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/updater.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode/watcher.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode.egg-info/SOURCES.txt +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode.egg-info/dependency_links.txt +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode.egg-info/entry_points.txt +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode.egg-info/requires.txt +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/src/nimcode.egg-info/top_level.txt +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_agent.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_cli.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_config.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_lenient_parser.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_mcp_client.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_memory.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_model_registry.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_nim_client.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_permissions.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_plan_injection.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_plugin_manager.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_repl.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_repl_extra.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_repl_trust.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_repo_map.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_tools.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_updater.py +0 -0
- {nimcode-0.4.8 → nimcode-0.4.10}/tests/test_version.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.10"
|
|
@@ -444,11 +444,11 @@ class NimcodeREPL:
|
|
|
444
444
|
" - Write the plan directly to '.nimcode/plans/<name_timestamp>.md'.\n"
|
|
445
445
|
" - Use this strict technical structure: # Title, ## Context, ## Root Cause Analysis, ## Execution Plan (file-by-file with line numbers/snippets), ## Verification.\n"
|
|
446
446
|
"3. IF it is a 'From-Scratch / Major Architecture' task:\n"
|
|
447
|
-
" -
|
|
448
|
-
" - Step A:
|
|
449
|
-
" - Step B
|
|
450
|
-
" - Step C:
|
|
451
|
-
" -
|
|
447
|
+
" - Work AUTONOMOUSLY in a loop using your file-writing tools to generate a SINGLE, EXTREMELY DETAILED master plan file (e.g. '.nimcode/plans/<name>.md').\n"
|
|
448
|
+
" - Step A (Drafting): Write the initial outline to the file (High-level Phase names). Do NOT write code, pseudocode, or DB schemas.\n"
|
|
449
|
+
" - Step B (Iterative Expansion): Read the file, expand ONLY Phase 1 with extremely detailed 'Tasks', 'Acceptance Criteria', and 'Implementation Guidelines'. Overwrite the file with the updated content.\n"
|
|
450
|
+
" - Step C: Repeat Step B for Phase 2, Phase 3, etc., updating the same single file until all phases are fully detailed in Project Manager style.\n"
|
|
451
|
+
" - Step D: After all phases are detailed, overwrite '.nimcode/active_plan.txt' with the master plan's path.\n"
|
|
452
452
|
"4. General Rules:\n"
|
|
453
453
|
" - Quote real names, modules, and requirements. Do not invent generic projects.\n"
|
|
454
454
|
" - NEVER output a generic software-lifecycle template (Phase1: MVP / Design / Development) unless instructed. Focus on code, DB schemas, and technical choices.\n"
|
|
@@ -82,9 +82,8 @@ async def test_plan_message_does_not_hardcode_feature_x(agent):
|
|
|
82
82
|
content = plan_msgs[-1]["content"]
|
|
83
83
|
# The prompt now dynamically differentiates between Bug Fix and From-Scratch tasks
|
|
84
84
|
assert "Identify the task type" in content or "Bug Fix / Minor Feature" in content
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
assert "ITERATIVE process" in content
|
|
85
|
+
# It must enforce autonomous single-file generation with tasks/criteria
|
|
86
|
+
assert "SINGLE, EXTREMELY DETAILED" in content or "Acceptance Criteria" in content
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
@pytest.mark.asyncio
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.8"
|
|
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
|