Implement one update step of a pre-allocated sliding-window KV cache: sliding_kv_cache_update(cache_k, cache_v, current_len, new_k, new_v, window_size).
cache_k, cache_v: shape (batch, num_heads, window_size, head_dim), valid at positions 0 .. current_len-1. new_k, new_v: shape (batch, num_heads, new_len, head_dim).0 .. updated_len-1 in chronological order, with updated_len = min(current_len + new_len, window_size): on overflow the oldest tokens are dropped and the survivors shift left. Unused trailing positions keep their old values.(new_len, updated_len): new query i sits at cache position max(updated_len - new_len + i, 0) and may attend to every position up to and including it (1 = allowed, 0 = masked).Return {'cache_k': nested list of floats, 'cache_v': nested list of floats, 'current_len': updated_len (int), 'mask': nested list of ints}.