@causyne/agent 1.20.68 → 1.20.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/tui/text.ts CHANGED
@@ -37,14 +37,36 @@ export function stripAnsi(text: unknown): string {
37
37
  function isWideCodePoint(code: number): boolean {
38
38
  return (
39
39
  (code >= 0x1100 && code <= 0x115f) || // Hangul Jamo
40
+ code === 0x231a || code === 0x231b || // Watch, Hourglass
41
+ (code >= 0x23e9 && code <= 0x23fa) || // Media control & clock symbols
42
+ code === 0x25fd || code === 0x25fe || // Medium small squares
43
+ code === 0x2614 || code === 0x2615 || // Umbrella with rain, Hot beverage
44
+ (code >= 0x2648 && code <= 0x2653) || // Zodiac symbols
45
+ code === 0x267f || code === 0x2693 || code === 0x26a1 || // Wheelchair, Anchor, High voltage (⚡)
46
+ code === 0x26aa || code === 0x26ab || code === 0x26bd || code === 0x26be ||
47
+ code === 0x26c4 || code === 0x26c5 || code === 0x26ce || code === 0x26d4 ||
48
+ code === 0x26ea || code === 0x26f2 || code === 0x26f3 || code === 0x26f5 ||
49
+ code === 0x26fa || code === 0x26fd ||
50
+ code === 0x2705 || code === 0x270a || code === 0x270b || code === 0x2728 || // ✅ ✊ ✋ ✨
51
+ code === 0x274c || code === 0x274e || (code >= 0x2753 && code <= 0x2755) ||
52
+ code === 0x2757 || (code >= 0x2795 && code <= 0x2797) || code === 0x27b0 || code === 0x27bf ||
53
+ code === 0x2b1b || code === 0x2b1c || code === 0x2b50 || code === 0x2b55 ||
40
54
  (code >= 0x2e80 && code <= 0xa4cf) || // CJK radicals … Yi
41
55
  (code >= 0xac00 && code <= 0xd7a3) || // Hangul syllables
42
56
  (code >= 0xf900 && code <= 0xfaff) || // CJK compatibility ideographs
43
57
  (code >= 0xfe30 && code <= 0xfe6f) || // CJK compatibility forms
44
58
  (code >= 0xff00 && code <= 0xff60) || // Fullwidth forms
45
59
  (code >= 0xffe0 && code <= 0xffe6) ||
46
- (code >= 0x1f300 && code <= 0x1f64f) || // emoji
47
- (code >= 0x1f900 && code <= 0x1f9ff)
60
+ code === 0x1f004 || code === 0x1f0cf || code === 0x1f18e ||
61
+ (code >= 0x1f191 && code <= 0x1f19a) ||
62
+ (code >= 0x1f1e6 && code <= 0x1f251) ||
63
+ (code >= 0x1f300 && code <= 0x1f64f) || // Misc Symbols, Pictographs & Emoticons
64
+ (code >= 0x1f680 && code <= 0x1f6ff) || // Transport & Map Symbols
65
+ (code >= 0x1f700 && code <= 0x1f7ff) || // Alchemical & Geometric Shapes Extended
66
+ (code >= 0x1f800 && code <= 0x1f8ff) || // Supplemental Arrows-C
67
+ (code >= 0x1f900 && code <= 0x1f9ff) || // Supplemental Symbols & Pictographs
68
+ (code >= 0x1fa00 && code <= 0x1faff) || // Symbols & Pictographs Extended-A
69
+ (code >= 0x20000 && code <= 0x3ffff) // Supplementary Ideographic Planes
48
70
  );
49
71
  }
50
72