chore: bump version to 0.1550

This commit is contained in:
arkon
2026-02-19 08:49:36 +01:00
parent 1833a9ac2d
commit 926e77b1c2
27 changed files with 290 additions and 1067 deletions
+4 -6
View File
@@ -64,10 +64,8 @@ export function stripAnsi(text: string): string {
}
/**
* Strips simple ANSI CSI codes from text (faster, less comprehensive).
* @param text - Text containing ANSI escape codes
* @returns Text with ANSI CSI codes removed
* Regex to validate safe file paths (no shell metacharacters).
* Shared by schemas.ts and tmux-manager.ts for consistent path validation.
*/
export function stripAnsiSimple(text: string): string {
return text.replace(ANSI_ESCAPE_PATTERN_SIMPLE, '');
}
export const SAFE_PATH_PATTERN = /^[a-zA-Z0-9_\/\-. ~]+$/;