License Management
Это содержимое пока не доступно на вашем языке.
License Management
Section titled “License Management”GalataJ offers Free and Pro tiers. Manage your license through the CLI.
License Tiers
Section titled “License Tiers”Free Tier
Section titled “Free Tier”Features:
- Inline performance metrics
- Live profiling tab
- Context detection (HTTP, DB, Scheduler)
- Add to Chat (AI integration)
- Runtime attach
- IntelliJ & VS Code support
Limitations:
- Limited session saves
- No session comparison
- No export capabilities
- No Local Docker support
- No live context file generation
Pro Tier
Section titled “Pro Tier”Features:
- Everything in Free
- Unlimited session saves
- Compare sessions
- Export JSON/CSV/HTML
- Local Docker Support
- Live Context File (.galataj/live-performance.md)
- Baseline-Live Compare File (.galataj/baseline-live-compare.md)
- Baseline tracking & regression detection
- Historical analysis
- Priority support
Purchasing a License
Section titled “Purchasing a License”Step 1: Open Purchase Page
Section titled “Step 1: Open Purchase Page”galataj license purchaseThis opens the Lemon Squeezy checkout page in your browser.
Step 2: Complete Purchase
Section titled “Step 2: Complete Purchase”- Select Pro license
- Complete payment
- Receive license key via email
Step 3: Activate License
Section titled “Step 3: Activate License”galataj license login <your-license-key>Example:
galataj license login abc123-def456-ghi789Checking License Status
Section titled “Checking License Status”Human-Readable Format
Section titled “Human-Readable Format”galataj license statusOutput:
License: ProStatus: ActiveExpires: 2025-12-31Features: All Pro features enabledJSON Format
Section titled “JSON Format”galataj license status --jsonOutput:
{ "tier": "pro", "status": "active", "expiresAt": "2025-12-31T23:59:59Z", "features": ["all"]}Validating License
Section titled “Validating License”Manual Validation
Section titled “Manual Validation”galataj license validateNote: License validation is cached for 24 hours to reduce API calls.
Automatic Validation
Section titled “Automatic Validation”- Validates on login
- Re-validates after cache expires (24 hours)
- Uses cached data when offline
License Information
Section titled “License Information”Detailed Info
Section titled “Detailed Info”galataj license infoShows:
- License tier
- Status
- Expiration date
- Features enabled
- Machine ID
Logging Out
Section titled “Logging Out”Return to Free Tier
Section titled “Return to Free Tier”galataj license logoutNote: This removes the license key from local storage. You can log in again with the same key.
License Storage
Section titled “License Storage”Location
Section titled “Location”File: ~/.galataj/license.json
Format:
{ "licenseKey": "abc123-def456", "tier": "pro", "expiresAt": "2025-12-31T23:59:59Z", "machineId": "xyz789", "validatedAt": "2025-01-01T00:00:00Z"}Security:
- Stored locally
- Not transmitted unnecessarily
- 24-hour validation cache
Configuration
Section titled “Configuration”API URL
Section titled “API URL”Environment Variable:
export GALATAJ_LICENSE_API_URL=https://license.galataj.com/v1Default: Cloudflare Worker endpoint
Machine ID
Section titled “Machine ID”Auto-Generated:
- Created automatically on first use
- Stored in license file
- Used for license validation
Manual Override:
export GALATAJ_MACHINE_ID=abc123Troubleshooting
Section titled “Troubleshooting”License Validation Failed
Section titled “License Validation Failed”Error: License validation failed or Network error
Solutions:
-
Check internet connection:
Terminal window ping license.galataj.com -
Verify license key:
Terminal window galataj license status -
Retry validation:
Terminal window galataj license validate -
Check API URL:
Terminal window echo $GALATAJ_LICENSE_API_URL
Rate Limit Exceeded
Section titled “Rate Limit Exceeded”Error: Rate limit exceeded
Solutions:
-
Wait before retrying:
- License validation is cached for 24 hours
- Wait a few minutes before retrying
-
Use cached license:
- Offline mode uses cached data
- Check
~/.galataj/license.json
License Expired
Section titled “License Expired”Error: License expired
Solutions:
-
Check expiration date:
Terminal window galataj license info -
Renew license:
- Purchase new license
- Or contact support
Invalid License Key
Section titled “Invalid License Key”Error: Invalid license key
Solutions:
-
Verify key format:
- Check for typos
- Ensure complete key
-
Re-enter key:
Terminal window galataj license login <correct-key>
Best Practices
Section titled “Best Practices”-
Keep license key secure:
- Don’t share license keys
- Store securely
-
Monitor expiration:
- Check status regularly
- Renew before expiration
-
Use validation cache:
- Avoid frequent validation calls
- Let 24-hour cache work
-
Backup license file:
- Copy
~/.galataj/license.json - Restore if needed
- Copy
Next Steps
Section titled “Next Steps”- Learn about CLI commands
- Read Configuration Guide
- See Troubleshooting Guide