You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v1.4.0 — Security Hardening, Locale/Bash Fixes & Web Studio Parity
Bash Double-Quote Escaping & Color Validation: _escape_bash_dq() now strips CR/LF and escapes \, ", $, and ` (with matching unescape in _unquote()), preventing command injection in synth-shell-prompt.config while preserving literal $ prefixes. save_custom_theme() strictly validates color tokens and sanitizes comment headers.
Web Studio CSRF & Path Confinement: POST endpoints now enforce Content-Type: application/json, same-origin Origin, and Sec-Fetch-Site headers, and /api/export-starship restricts output to .toml files inside the config directory or ~/.config.
Bug Fixes & Performance
Non-English Locale $EPOCHREALTIME Fix (pt_BR.UTF-8 / European): Replaced ${EPOCHREALTIME/./} with ${EPOCHREALTIME/[.,]/} in PS0, _ssp_format_duration_var, and benchmark_prompt so command durations and --notify-sec notifications work accurately under comma-decimal locales.
Zero-Fork Git Config Check & NAME_MAX-Safe Async Cache: Reads .git/config in pure Bash before invoking git config, eliminating an extra subprocess fork on every prompt, and hashes deep paths (>180 chars) in SSP_GIT_ASYNC_CACHE.
Emoji-Aware RPROMPT Width & Bash 3.2 Regex: Added _ssp_vis_width_var for 2-column emojis in RPROMPT alignment, Bash 3.2-safe _re matching in getKube(), and EUID != 0 guard in getSudo().
Complete Exports, Root Sync & SSH Deploy: Added missing v1.2+ fields to export_preset(), synced all 24 segments in sync_root_config(), fixed stray spacing and conditional separators in export_starship_toml(), and applied full ASCII_SAFE_GIT_SYMBOLS + pure-Bash .bashrc hook in ssh-install.
Web Studio & Theme Polish
Propagated config_dir across all load_themes() calls and fixed # Theme: Name header detection for custom user themes.
Unified Apply Studio Selection to persist all layout/DevOps settings, added perceptual auto-contrast in the Custom Theme Creator, guarded all buttons in static GitHub Pages demo mode (docs/index.html), and improved Host text contrast on theme #02.