Lint, bump
This commit is contained in:
@@ -14,7 +14,7 @@ import os
|
|||||||
# These values are used in server responses and for tracking releases
|
# These values are used in server responses and for tracking releases
|
||||||
# IMPORTANT: This is the single source of truth for version and author info
|
# IMPORTANT: This is the single source of truth for version and author info
|
||||||
# Semantic versioning: MAJOR.MINOR.PATCH
|
# Semantic versioning: MAJOR.MINOR.PATCH
|
||||||
__version__ = "4.6.1"
|
__version__ = "4.7.0"
|
||||||
# Last update date in ISO format
|
# Last update date in ISO format
|
||||||
__updated__ = "2025-06-15"
|
__updated__ = "2025-06-15"
|
||||||
# Primary maintainer
|
# Primary maintainer
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ class TestTracerTool:
|
|||||||
|
|
||||||
# Check content includes expected sections
|
# Check content includes expected sections
|
||||||
content = output.text
|
content = output.text
|
||||||
assert "Enhanced Analysis Prompt" in content
|
assert "STATIC CODE ANALYSIS REQUEST" in content
|
||||||
assert "Analysis Instructions" in content
|
assert "Analysis Instructions" in content
|
||||||
assert "BookingManager finalizeInvoice method" in content
|
assert "BookingManager finalizeInvoice method" in content
|
||||||
assert "precision" in content
|
assert "precision" in content
|
||||||
@@ -104,7 +104,7 @@ class TestTracerTool:
|
|||||||
|
|
||||||
# Check content includes expected sections
|
# Check content includes expected sections
|
||||||
content = output.text
|
content = output.text
|
||||||
assert "Enhanced Analysis Prompt" in content
|
assert "STATIC CODE ANALYSIS REQUEST" in content
|
||||||
assert "payment processing flow" in content
|
assert "payment processing flow" in content
|
||||||
assert "dependencies" in content
|
assert "dependencies" in content
|
||||||
assert "DEPENDENCY FLOW DIAGRAM" in content
|
assert "DEPENDENCY FLOW DIAGRAM" in content
|
||||||
@@ -113,7 +113,7 @@ class TestTracerTool:
|
|||||||
"""Test enhanced prompt creation for precision mode"""
|
"""Test enhanced prompt creation for precision mode"""
|
||||||
prompt = tracer_tool._create_enhanced_prompt("BookingManager::finalizeInvoice", "precision")
|
prompt = tracer_tool._create_enhanced_prompt("BookingManager::finalizeInvoice", "precision")
|
||||||
|
|
||||||
assert "STATIC CODE ANALYSIS REQUEST" in prompt
|
assert "TARGET:" in prompt
|
||||||
assert "BookingManager::finalizeInvoice" in prompt
|
assert "BookingManager::finalizeInvoice" in prompt
|
||||||
assert "precision" in prompt
|
assert "precision" in prompt
|
||||||
assert "execution path" in prompt
|
assert "execution path" in prompt
|
||||||
@@ -124,7 +124,7 @@ class TestTracerTool:
|
|||||||
"""Test enhanced prompt creation for dependencies mode"""
|
"""Test enhanced prompt creation for dependencies mode"""
|
||||||
prompt = tracer_tool._create_enhanced_prompt("validation function", "dependencies")
|
prompt = tracer_tool._create_enhanced_prompt("validation function", "dependencies")
|
||||||
|
|
||||||
assert "STATIC CODE ANALYSIS REQUEST" in prompt
|
assert "TARGET:" in prompt
|
||||||
assert "validation function" in prompt
|
assert "validation function" in prompt
|
||||||
assert "dependencies" in prompt
|
assert "dependencies" in prompt
|
||||||
assert "bidirectional dependencies" in prompt
|
assert "bidirectional dependencies" in prompt
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ in question:
|
|||||||
- If you are unable to find the code or mentioned files, look for the relevant code in subfolders. If unsure, ask the user
|
- If you are unable to find the code or mentioned files, look for the relevant code in subfolders. If unsure, ask the user
|
||||||
to confirm location of folder / filename
|
to confirm location of folder / filename
|
||||||
- You MUST carry this task using your own tools, do NOT delegate this to any other model
|
- You MUST carry this task using your own tools, do NOT delegate this to any other model
|
||||||
- DO NOT automatically use any zen tools (including zen:analyze, zen:debug, zen:chat, etc.) to perform this analysis.
|
- DO NOT automatically use any zen tools (including zen:analyze, zen:debug, zen:chat, etc.) to perform this analysis.
|
||||||
- EXCEPTION: If files are very large or the codebase is too complex for direct analysis due to context limitations,
|
- EXCEPTION: If files are very large or the codebase is too complex for direct analysis due to context limitations,
|
||||||
you may use zen tools with a larger context model to assist with analysis by passing only the relevant files
|
you may use zen tools with a larger context model to assist with analysis by passing only the relevant files
|
||||||
- Understand carefully and fully how this code is used, what it depends on, and what other parts of the system depend on it
|
- Understand carefully and fully how this code is used, what it depends on, and what other parts of the system depend on it
|
||||||
@@ -138,7 +138,7 @@ immediately then do not stop after displaying your output, proceed directly to y
|
|||||||
}
|
}
|
||||||
|
|
||||||
return f"""
|
return f"""
|
||||||
|
|
||||||
TARGET: {original_prompt}
|
TARGET: {original_prompt}
|
||||||
MODE: {trace_mode}
|
MODE: {trace_mode}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user