cleanup: remove Windows native support, enforce WSL requirement
Remove Windows batch scripts and native setup instructions since Claude Code CLI requires WSL on Windows. Consolidate Docker as primary recommendation across all platforms. Changes: - Remove setup.bat, run_gemini.bat, setup-docker-env.bat - Remove examples/claude_config_windows.json - Update README to clarify WSL requirement for Windows users - Promote Docker as recommended setup for all platforms - Update troubleshooting section for WSL-only support - Apply code formatting fixes from ruff/black 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -525,8 +525,7 @@ If any of these would strengthen your analysis, specify what Claude should searc
|
||||
within_limit, estimated_tokens = check_token_limit(text)
|
||||
if not within_limit:
|
||||
raise ValueError(
|
||||
f"{context_type} too large (~{estimated_tokens:,} tokens). "
|
||||
f"Maximum is {MAX_CONTEXT_TOKENS:,} tokens."
|
||||
f"{context_type} too large (~{estimated_tokens:,} tokens). Maximum is {MAX_CONTEXT_TOKENS:,} tokens."
|
||||
)
|
||||
|
||||
def create_model(self, model_name: str, temperature: float, thinking_mode: str = "medium"):
|
||||
|
||||
@@ -256,7 +256,7 @@ Please provide a code review aligned with the user's context and expectations, f
|
||||
if request.focus_on:
|
||||
header += f" - Focus: {request.focus_on}"
|
||||
return f"""{header}
|
||||
{'=' * 50}
|
||||
{"=" * 50}
|
||||
|
||||
{response}
|
||||
|
||||
|
||||
@@ -294,7 +294,9 @@ class Precommit(BaseTool):
|
||||
|
||||
# Use standardized file reading with token budget
|
||||
file_content = read_files(
|
||||
translated_files, max_tokens=remaining_tokens, reserve_tokens=1000 # Small reserve for formatting
|
||||
translated_files,
|
||||
max_tokens=remaining_tokens,
|
||||
reserve_tokens=1000, # Small reserve for formatting
|
||||
)
|
||||
|
||||
if file_content:
|
||||
|
||||
Reference in New Issue
Block a user