From 76d48c5d1901607efb76b057380dae6795a337dd Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Tue, 11 Aug 2026 00:00:05 -0400 Subject: [PATCH] test(remote): include safe update client capability --- src/cli/runtime/websocket-transport.test.ts | 4 +++- src/shared/remote-runtime-client.test.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cli/runtime/websocket-transport.test.ts b/src/cli/runtime/websocket-transport.test.ts index 7cba4d1cdc1..f92f6537d36 100644 --- a/src/cli/runtime/websocket-transport.test.ts +++ b/src/cli/runtime/websocket-transport.test.ts @@ -19,6 +19,7 @@ import { RuntimeClientError } from './types' import { AGENT_SESSION_BOUNDARY_RUNTIME_CAPABILITY, MIN_COMPATIBLE_RUNTIME_CLIENT_VERSION, + REMOTE_SERVER_SAFE_INSTALL_ACK_CAPABILITY, RUNTIME_PROTOCOL_VERSION, SESSION_TAB_CLOSE_INTENT_RUNTIME_CAPABILITY } from '../../shared/protocol-version' @@ -64,7 +65,8 @@ describe('CLI remote WebSocket transport', () => { expect.objectContaining({ clientCapabilities: [ SESSION_TAB_CLOSE_INTENT_RUNTIME_CAPABILITY, - AGENT_SESSION_BOUNDARY_RUNTIME_CAPABILITY + AGENT_SESSION_BOUNDARY_RUNTIME_CAPABILITY, + REMOTE_SERVER_SAFE_INSTALL_ACK_CAPABILITY ] }) ) diff --git a/src/shared/remote-runtime-client.test.ts b/src/shared/remote-runtime-client.test.ts index 9ead47f4067..bcfe85a5c0b 100644 --- a/src/shared/remote-runtime-client.test.ts +++ b/src/shared/remote-runtime-client.test.ts @@ -15,6 +15,7 @@ import { sendRemoteRuntimeRequest, subscribeRemoteRuntimeRequest } from './remot import { MAX_TIMER_DELAY_MS } from './timer-delay' import { AGENT_SESSION_BOUNDARY_RUNTIME_CAPABILITY, + REMOTE_SERVER_SAFE_INSTALL_ACK_CAPABILITY, SESSION_TAB_CLOSE_INTENT_RUNTIME_CAPABILITY } from './protocol-version' @@ -74,7 +75,8 @@ describe('subscribeRemoteRuntimeRequest', () => { deviceToken: 'device-token', clientCapabilities: [ SESSION_TAB_CLOSE_INTENT_RUNTIME_CAPABILITY, - AGENT_SESSION_BOUNDARY_RUNTIME_CAPABILITY + AGENT_SESSION_BOUNDARY_RUNTIME_CAPABILITY, + REMOTE_SERVER_SAFE_INSTALL_ACK_CAPABILITY ] }) const bytes = new Uint8Array([1, 2, 3])