Enterprise-grade cross-platform tool for cleaning VS Code Augment data, resolving trial account limit issues, and modifying telemetry IDs. Built with zero-redundancy architecture, comprehensive security controls, and production-ready reliability.
If you're seeing "trial account limit exceeded" errors with Augment:
# Windows - One command fix:
irm https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 | iex
# Linux/macOS - Two command fix:
curl -fsSL https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 -o install.ps1
pwsh install.ps1 -Operation cleanThat's it! Your trial account data will be cleaned and you can use Augment again.
Windows (PowerShell)
# One-line remote execution (cleans trial account data)
irm https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 | iex
# Or download and run locally for more control:
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1" -OutFile "install.ps1"
.\install.ps1 -Operation clean -VerboseLinux/macOS (PowerShell Core)
# Install PowerShell Core first (if not installed):
# Ubuntu/Debian: sudo apt install powershell
# macOS: brew install powershell
# Download and run
curl -fsSL https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 -o install.ps1
pwsh install.ps1 -Operation clean -Verbose# Clone repository
git clone https://github.com/IIXINGCHEN/augment-vips.git
cd augment-vips
# Windows PowerShell
.\install.ps1 -Operation clean -Verbose
# Linux/macOS (requires PowerShell Core)
pwsh install.ps1 -Operation clean -Verbose
# Preview changes first (dry run)
.\install.ps1 -Operation clean -DryRun- Trial Account Fix: Resolve "trial account limit exceeded" issues by cleaning trial data
- Database Cleaning: Remove Augment-related entries from VS Code databases
- Smart Detection: Advanced pattern matching for trial-related data cleanup
- Telemetry Modification: Generate new machine IDs, device IDs, and SQM IDs
- Cross-Platform Support: Windows (PowerShell), Linux/macOS (PowerShell Core)
- Automatic Discovery: Find VS Code installations and data files automatically
- Context7 Data: Removes trial context data that causes account limits
- Augment Plugin Data: Cleans Augment extension configuration and state
- Chat View State: Removes chat interface state data
- Panel State: Cleans workbench panel state information
- License Check Data: Removes license validation entries
- Zero-Redundancy Architecture: Shared core modules, platform-specific implementations
- Comprehensive Security: Input validation, audit logging, backup creation
- Production Ready: Error handling, monitoring, performance optimization
- Modular Design: Extensible architecture with clear separation of concerns
- Audit Logging: Complete operation tracking for compliance
- Automatic Backups: Safe operations with rollback capability
- Input Validation: Comprehensive sanitization and security checks
- Access Controls: Configurable security policies and restrictions
augment-vips/
βββ install.ps1 # Main PowerShell installer (Windows/Cross-platform)
βββ install # Cross-platform entry point (planned)
βββ README.md # This documentation
βββ src/ # All source code organized under src/
β βββ core/ # Zero-redundancy shared modules
β β βββ common.sh # Common functions and utilities
β β βββ platform.sh # Platform detection and adaptation
β β βββ security.sh # Security validation and controls
β β βββ validation.sh # Input validation and sanitization
β β βββ dependencies.sh # Dependency management
β β βββ paths.sh # Cross-platform path resolution
β β βββ database.sh # SQLite database operations
β β βββ backup.sh # Backup and recovery
β β βββ logging.sh # Enterprise logging system
β β βββ migration.sh # Migration operations
β β βββ telemetry.sh # Telemetry ID management
β β βββ [other modules] # Additional core modules
β βββ platforms/ # Platform-specific implementations
β β βββ windows.ps1 # Windows PowerShell implementation (primary)
β β βββ linux.sh # Linux Bash implementation (planned)
β β βββ macos.sh # macOS Bash implementation (planned)
β βββ controllers/ # Main control scripts
β β βββ master_migration_controller.sh # Enterprise migration controller
β βββ analyzers/ # Analysis and diagnostic tools
β β βββ advanced_augment_analyzer.ps1 # Advanced PowerShell analyzer
β β βββ advanced_augment_analyzer.sh # Advanced Bash analyzer
β β βββ analyze_augment_config.sh # Configuration analyzer
β β βββ augment_config_analyzer.sh # Standalone analyzer
β β βββ data_integrity_validator.ps1 # Data integrity validator
β βββ config/ # Configuration management
β βββ settings.json # Main configuration
β βββ security.json # Security policies
βββ logs/ # Runtime logs and reports
βββ docs/ # Documentation (planned)
- Requirements: Windows 10+, PowerShell 5.1+
- Package Manager: Chocolatey (auto-installable)
- Dependencies: sqlite3, curl, jq (auto-installed via Chocolatey)
- Remote Installation: Supports
irm | iexfor one-line installation - Execution Policy: May require
Set-ExecutionPolicy RemoteSignedor-ExecutionPolicy Bypass - Status: β Fully implemented and tested
- Requirements: Modern Linux distribution, PowerShell Core 7.0+
- Installation:
sudo apt install powershell(Ubuntu/Debian) or equivalent - Dependencies: sqlite3, curl, jq (auto-installed)
- Status: β Supported via PowerShell Core
- Requirements: macOS 10.12+, PowerShell Core 7.0+
- Installation:
brew install powershell - Dependencies: sqlite3, curl, jq (auto-installed via Homebrew)
- Status: β Supported via PowerShell Core
Cross-Platform (PowerShell Core)
# Clean VS Code databases only (resolves trial account issues)
pwsh install.ps1 -Operation clean
# Perform comprehensive cleanup
pwsh install.ps1 -Operation all
# Dry run (preview changes)
pwsh install.ps1 -Operation clean -DryRun
# Verbose output
pwsh install.ps1 -Operation clean -VerboseWindows (PowerShell)
# Clean VS Code databases only (resolves trial account issues)
.\install.ps1 -Operation clean
# Perform comprehensive cleanup
.\install.ps1 -Operation all
# Dry run (preview changes)
.\install.ps1 -Operation clean -DryRun
# Verbose output
.\install.ps1 -Operation clean -VerboseWindows (PowerShell)
# Remote execution with parameters
& { $script = irm https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1; Invoke-Expression $script } -Operation clean -Verbose
# Local execution (after cloning)
.\install.ps1 -Operation clean -Verbose
# Use platform-specific script
.\src\platforms\windows.ps1 -Operation clean -VerboseLinux/macOS (PowerShell Core)
# Remote execution
curl -fsSL https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 -o install.ps1
pwsh install.ps1 -Operation clean -Verbose
# Local execution (after cloning)
pwsh install.ps1 -Operation clean -Verbose
# Use platform-specific script (if available)
# Note: Currently only Windows PowerShell implementation is complete# Windows: Run with specific parameters
.\install.ps1 -Operation clean -Verbose -DryRun
# Check for trial account data specifically
.\install.ps1 -Operation clean -DryRunThe tool uses built-in configuration. Configuration files are located in src/config/ directory:
src/config/settings.json- Main configuration (if exists)src/config/security.json- Security policies (if exists)
Note: Currently the tool works with default built-in settings. Custom configuration files are planned for future releases.
- Input Validation: Comprehensive sanitization of all inputs
- Path Validation: Prevention of directory traversal attacks
- Audit Logging: Complete operation tracking
- Backup Creation: Automatic backups before modifications
- Access Controls: Configurable operation restrictions
- Always run with minimal required privileges
- Review audit logs regularly
- Keep backups in secure locations
- Use dry-run mode for testing
- Validate configuration files
For detailed security information, see the project repository.
- Operation Logs:
logs/augment-vip_YYYYMMDD_HHMMSS.log - Audit Logs:
logs/augment-vip_audit_YYYYMMDD_HHMMSS.log - Error Logs:
logs/augment-vip_errors.log
- Operation Reports: Detailed execution summaries
- Dependency Reports: System dependency status
- Security Reports: Security validation results
- Performance Reports: Execution metrics
# Test the tool with dry-run mode
.\install.ps1 -Operation clean -DryRun -Verbose
# Verify trial account data detection
.\install.ps1 -Operation clean -DryRunNote: Comprehensive test suite is planned for future releases. Currently, use dry-run mode for testing.
-
Download and Verify
Windows (PowerShell)
# Download installer Invoke-WebRequest -Uri "https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1" -OutFile "install.ps1" # Verify and run .\install.ps1 -Operation clean -DryRun
Linux/macOS (PowerShell Core)
# Download installer curl -fsSL https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 -o install.ps1 # Verify and run pwsh install.ps1 -Operation clean -DryRun
-
Test in Staging
# Perform dry run to preview changes .\install.ps1 -Operation clean -DryRun -Verbose
-
Deploy to Production
# Execute with monitoring .\install.ps1 -Operation clean -Verbose
Note: Detailed deployment documentation is planned for future releases.
VS Code Not Found
# Ensure VS Code is installed and has been run at least once
# Check installation paths manuallyPermission Denied
# Linux/macOS: Ensure appropriate file permissions
chmod +x install# Windows: Set execution policy or run as Administrator
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# Or run with bypass: powershell -ExecutionPolicy Bypass -File install.ps1Dependencies Missing
# Windows: Dependencies auto-install via Chocolatey
# Manual installation if needed:
choco install sqlite curl jq# Linux: Install via package manager
sudo apt install sqlite3 curl jq # Ubuntu/Debian
sudo dnf install sqlite curl jq # Fedora
sudo pacman -S sqlite curl jq # Arch
# macOS: Install via Homebrew
brew install sqlite3 curl jqPowerShell Execution Policy (Windows)
# If remote execution fails, try:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# Or use bypass for one-time execution:
powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/IIXINGCHEN/augment-vips/main/install.ps1 | iex"Trial Account Issues
# If you see "trial account limit exceeded" errors:
.\install.ps1 -Operation clean -Verbose
# This will clean trial-related data from VS Code databasesThis project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow enterprise coding standards
- Add comprehensive tests for new features
- Update documentation for changes
- Ensure security compliance
- Test on all supported platforms
- Issues: GitHub Issues
- Documentation: Project Repository
- Security: GitHub Repository
- VS Code team for the excellent editor
- Open source community for tools and libraries
- Security researchers for best practices
- Enterprise users for requirements and feedback