mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 08:03:37 +00:00
test(remote): include safe update client capability
This commit is contained in:
@@ -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
|
||||
]
|
||||
})
|
||||
)
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user