mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-16 19:29:33 +01:00
chore: bump version to 0.1585
This commit is contained in:
1 parent
85ee601b5b
commit
0fe6251424
8 files changed
+48
-57
No files matched your search
@@ -67,5 +67,12 @@ export function stripAnsi(text: string): string {
|
||||
* Regex to validate safe file paths (no shell metacharacters).
|
||||
* Shared by schemas.ts and tmux-manager.ts for consistent path validation.
|
||||
*/
|
||||
/**
|
||||
* Braille spinner characters used by Claude Code's Ink UI.
|
||||
* Matches any of: ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧
|
||||
* Used on the hot path (every PTY chunk) — pre-compiled for performance.
|
||||
*/
|
||||
export const SPINNER_PATTERN = /[⠋⠙⠹⠸⠼⠴⠦⠧]/;
|
||||
|
||||
export const SAFE_PATH_PATTERN = /^[a-zA-Z0-9_\/\-. ~]+$/;
|
||||
|
||||
Reference in new issue
Block a user