Skip to content

Commit fb08ceb

Browse files
committed
Feature Updates: Patch Code Injection and More
🔧 Patch Code Injection: - Added code patch application, recovery, and scanning functions - Supports multiple patch modes: random fake data, complete block, empty data, stealth mode, and debug mode - Improved patch status detection and management mechanisms
1 parent 6bb4f34 commit fb08ceb

File tree

16 files changed

+1136
-1747
lines changed

16 files changed

+1136
-1747
lines changed

INTERNATIONALIZATION.md

Lines changed: 0 additions & 180 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ https://t.me/+rL2-my2wYy5hODA1
4444
- **Detailed Statistics**: Shows exact counts of deleted entries, files, and processes
4545
- **Full Backward Compatibility**: Existing GUI unchanged, backend significantly enhanced
4646

47+
**🎨 界面优化与多语言完善**
48+
- **完美多语言支持**:所有界面元素支持中英文实时切换,包括按钮、标签、下拉框选项
49+
- **布局优化**:窗口宽度增加至680px,按钮宽度全面提升,确保英文文本完整显示
50+
- **补丁功能集成**:新增代码补丁应用、恢复、扫描功能,支持多种补丁模式(随机假数据、完全阻止、空数据、隐身模式、调试模式)
51+
- **界面细节优化**:清空日志按钮定位优化,垂直高度增加,解决显示截断问题
52+
- **用户体验提升**:移除多余emoji,界面更简洁专业,所有按钮和文本在中英文模式下都能完美显示
53+
54+
**🎨 Interface Optimization & Multilingual Enhancement**
55+
- **Perfect Multilingual Support**: All interface elements support real-time Chinese-English switching, including buttons, labels, and dropdown options
56+
- **Layout Optimization**: Window width increased to 680px, button widths comprehensively enhanced to ensure complete English text display
57+
- **Patch Function Integration**: Added code patch application, restoration, and scanning features with multiple patch modes (random fake data, complete block, empty data, stealth mode, debug mode)
58+
- **Interface Detail Optimization**: Clear log button positioning optimized, vertical height increased, resolving display truncation issues
59+
- **User Experience Enhancement**: Removed redundant emojis for a cleaner, more professional interface; all buttons and text display perfectly in both Chinese and English modes
60+
4761
#### 2025年8月5日更新:
4862

4963
- 分享一个Augment魔改去风控版本,只要注册直接登录即可过风控直接使用,已经稳定二天半,具体核心原理就是去掉登录之后的上报接口。

augment_tools_core/common_utils.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,3 +514,26 @@ def get_ide_process_names(ide_type: IDEType) -> list[str]:
514514
]
515515
}
516516
return process_names.get(ide_type, [])
517+
518+
519+
# --- Patch Related Functions ---
520+
def get_ide_extension_name(ide_type: IDEType) -> str:
521+
"""Get the extension name pattern for the specified IDE"""
522+
extension_names = {
523+
IDEType.VSCODE: "augment.vscode-augment",
524+
IDEType.CURSOR: "augment.cursor-augment",
525+
IDEType.WINDSURF: "augment.windsurf-augment",
526+
IDEType.JETBRAINS: "augment.jetbrains-augment"
527+
}
528+
return extension_names.get(ide_type, "augment")
529+
530+
531+
def get_patch_target_description(ide_type: IDEType) -> str:
532+
"""Get description of what will be patched for the IDE"""
533+
descriptions = {
534+
IDEType.VSCODE: "VS Code AugmentCode 扩展文件",
535+
IDEType.CURSOR: "Cursor AugmentCode 扩展文件",
536+
IDEType.WINDSURF: "Windsurf AugmentCode 扩展文件",
537+
IDEType.JETBRAINS: "JetBrains AugmentCode 插件文件"
538+
}
539+
return descriptions.get(ide_type, f"{ide_type.value} 扩展文件")

0 commit comments

Comments
 (0)