Previous response had warnings:
WARNINGS: - Extra text detected before JSON object
- Extra text detected after JSON object

New Terminal Output:

root@d7299c7f5982:/app# python3 -c "
> import struct
> with open('/app/frames.tza', 'rb') as f:
>     magic = f.read(4)
>     width, height = struct.unpack('<HH', f.read(4))
>     n_frames, max_bytes = struct.unpack('<II', f.read(8))
>     frame0 = f.read(width * height)
>     frame1 = f.read(width * height)
>     frame2 = f.read(width * height)
>
> print('Frame 0 (first 200 chars):')
> print(repr(frame0[:200]))
> print('\nFrame 1 (first 200 chars):')
> print(repr(frame1[:200]))
> print('\nDifferences between frame 0 and 1:')
> for i in range(min(200, len(frame0))):
>     if frame0[i] != frame1[i]:
>         print(f'  Pos {i}: {chr(frame0[i])!r} -> {chr(frame1[i])!r}')
> "
Frame 0 (first 200 chars):
b'TermZip-ANSI / Tiny-ANSI stream (dual pane)                                     t=0000 A=0010 B=0010 [--------------------------------] |
  A [0000] flush pty (lossless) id=b5acb9c'

Frame 1 (first 200 chars):
b'TermZip-ANSI / Tiny-ANSI stream (dual pane)                                     t=0001 A=0010 B=0010 [##------------------------------] \\
   A [0000] flush pty (lossless) id=b5acb9c'

Differences between frame 0 and 1:
  Pos 85: '0' -> '1'
  Pos 102: '-' -> '#'
  Pos 103: '-' -> '#'
  Pos 136: '|' -> '\\'
root@d7299c7f5982:/app#
