From fea129713d2d02020790ea85e4a6f031f082a361 Mon Sep 17 00:00:00 2001 From: OrcaWin Date: Fri, 16 Oct 2026 09:23:33 -0700 Subject: [PATCH] test: narrow remote input model handler registration (#29747) Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> --- tests/e2e/remote-terminal-input-model-link.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/remote-terminal-input-model-link.ts b/tests/e2e/remote-terminal-input-model-link.ts index 9acadee04d7..b6d4c80d334 100644 --- a/tests/e2e/remote-terminal-input-model-link.ts +++ b/tests/e2e/remote-terminal-input-model-link.ts @@ -1,5 +1,5 @@ import { RpcDispatcher } from '../../src/main/runtime/rpc/dispatcher' -import { TERMINAL_METHODS } from '../../src/main/runtime/rpc/methods/terminal' +import { TERMINAL_MULTIPLEX_METHODS } from '../../src/main/runtime/rpc/methods/terminal/terminal-multiplex-method' import type { OrcaRuntimeService } from '../../src/main/runtime/orca-runtime' import { TerminalStreamOpcode, @@ -154,7 +154,7 @@ export function createModelLink(writeInput: (text: string) => Promise) void new RpcDispatcher({ // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the stub implements every runtime method the terminal multiplex calls and records any it lacks. runtime: host.runtime as OrcaRuntimeService, - methods: TERMINAL_METHODS + methods: TERMINAL_MULTIPLEX_METHODS }) .dispatchStreaming( {