Repository navigation
feat: v2.1.0 - PowerShell 5.1 compatibility, real-time font broadcast, CLI flags, Zed/Aider support & CI matrix - #3
Open
mortezamirkar wants to merge 4 commits into
Conversation
added 4 commits
November 15, 2026 10:24
…nd WM_FONTCHANGE broadcast - Fix silent ConvertFrom-Json -AsHashtable failure in standard Windows PowerShell 5.1 that wiped out existing user settings - Introduce backward-compatible PSObject property parser ensuring 100% preservation of existing settings.json - Normalize JSON output without escaped single quotes (\u0027) - Add P/Invoke call to AddFontResourceW and SendMessageTimeout (WM_FONTCHANGE) for real-time font activation without reboot - Add CLI switches: -GlobalOnly, -ProjectOnly, -NoFonts, -Silent on Windows and equivalent flags on Bash - Deploy global agent-rtl-fix skill alongside rule to ~/.gemini/config/skills/ - Support -Full / --full flag in uninstaller scripts
…iDi edge cases - Add dedicated rules/zed.md configuration for Zed editor typography and assistant rules - Add dedicated rules/aider.md system prompt configuration for Aider CLI - Refine universal AGENTS.md and antigravity.md rules for inline code parentheses orientation, artifact frontmatter isolation, and LaTeX math handling
- Add GitHub Actions CI workflow running on windows-latest, ubuntu-latest, and macos-latest - Validate install.ps1 compatibility and settings.json preservation under both Windows PowerShell 5.1 and pwsh 7 - Validate bash script syntax and project-only execution - Verify synchronization between root installers and scripts/ directory
…nd CLI flags - Update supported agent matrix with Zed Editor and Aider - Document new CLI switches (-GlobalOnly, -ProjectOnly, -NoFonts, -Silent) - Highlight real-time font activation without requiring system reboots - Update repository layout tree with new rules, CI workflow, and skill paths
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This PR upgrades Agent RTL Fix to v2.1.0, addressing critical installer bugs on Windows, expanding AI agent support to Zed Editor and Aider, introducing real-time font activation, adding modular CLI flags, and establishing a full cross-platform CI matrix.
🐛 1. Critical Bugfixes (PowerShell 5.1 Compatibility)
install.ps1whereConvertFrom-Json -AsHashtable(unsupported in default Windows PowerShell 5.1) caused existing IDE settings insettings.jsonto be wiped out. Replaced with a backward-compatible PSObject property parser that guarantees 100% preservation of user configurations.\u0027character escaping in VS Code and Cursor settings files.⚡ 2. Instant Font Activation (No Reboot Required)
AddFontResourceWandSendMessageTimeout(HWND_BROADCAST, WM_FONTCHANGE)ininstall.ps1. Newly installed Vazirmatn fonts are recognized immediately across open editors and browsers without requiring a Windows logoff or system restart.🚩 3. Modular CLI Switches
Added support for optional CLI flags in both
install.ps1andinstall.sh:-GlobalOnly/--global-only: Apply only machine-wide rules, skills, fonts, and IDE settings.-ProjectOnly/--project-only: GenerateAGENTS.mdand workspace rules without modifying system configs.-NoFonts/--no-fonts: Skip font installation (ideal for headless servers, Docker containers, and CI pipelines).-Silent/--silent: Quiet mode suppressing banners and non-essential output.🤖 4. Agent Matrix Expansion
rules/zed.md): Added typography configuration and assistant rules.rules/aider.md): Added system prompt configuration for terminal coding sessions.rules/AGENTS.md&rules/antigravity.md): Clarified guidelines for inline code punctuation boundaries, LaTeX math handling, and preserving YAML frontmatter at line 1.agent-rtl-fixskill under~/.gemini/config/skills/agent-rtl-fix/SKILL.mdalongside the rule.🧪 5. CI/CD & Automated Verification
.github/workflows/ci.yml:install.ps1under both Windows PowerShell 5.1 and PowerShell 7 (pwsh) onwindows-latest.ubuntu-latestandmacos-latest.scripts/directory.📚 6. Documentation
README.mdandREADME.fa.mdwith the new agent matrix, CLI flags table, and v2.1.0 badges.Verification
install.ps1on Windows PowerShell 5.1 across all flag combinations (-Silent,-ProjectOnly,-GlobalOnly,-NoFonts).settings.json.scripts/installers are 100% synchronized.