chore: Remove unused imports and dead code causing compiler warnings
This commit is contained in:
1 parent
cddd97dc9f
commit
e72af4f877
6 files changed
+102
-10
No files matched your search
@@ -0,0 +1,37 @@
|
||||
import json
|
||||
import os
|
||||
|
||||
eager_tools = [
|
||||
"log_code_change",
|
||||
"log_error_fix",
|
||||
"log_tech_debt",
|
||||
"omni_search",
|
||||
"create_entities",
|
||||
"learn_preference",
|
||||
"list_active_tasks",
|
||||
"add_task",
|
||||
"set_acceptance_criteria",
|
||||
"verify_acceptance_criteria",
|
||||
"update_task_status",
|
||||
"list_pinned_files",
|
||||
"pin_file",
|
||||
"unpin_file",
|
||||
"get_project_health",
|
||||
"list_tech_debt",
|
||||
"resolve_tech_debt"
|
||||
]
|
||||
|
||||
# Update Windows config
|
||||
win_config_path = r'C:\Users\reazul.ashraf\.gemini\config\mcp_config.json'
|
||||
with open(win_config_path, 'r', encoding='utf-8') as f:
|
||||
win_data = json.load(f)
|
||||
|
||||
win_data['mcpServers']['mcp-memory']['eagerTools'] = eager_tools
|
||||
if 'args' in win_data['mcpServers']['mcp-memory']:
|
||||
# Ensure args are empty as we removed --target earlier
|
||||
win_data['mcpServers']['mcp-memory']['args'] = []
|
||||
|
||||
with open(win_config_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(win_data, f, indent=2)
|
||||
|
||||
print("Updated Windows config")
|
||||
Reference in new issue
Block a user