MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / closeTerminalControl

Method closeTerminalControl

packages/server-e2e/src/client.ts:539–549  ·  view source on GitHub ↗
(
    sid: string,
    terminalId: string,
    options: TerminalControlOptions = {},
  )

Source from the content-addressed store, hash-verified

537 }
538
539 closeTerminalControl(
540 sid: string,
541 terminalId: string,
542 options: TerminalControlOptions = {},
543 ): Promise<TerminalCloseResult> {
544 return this._sendWsControl<TerminalCloseResult>(
545 'terminal_close',
546 { session_id: sid, terminal_id: terminalId },
547 options.timeoutMs,
548 );
549 }
550
551 // ── Reverse RPC (approval + question) ───────────────────────────────────
552 /**

Callers 1

mainFunction · 0.95

Calls 1

_sendWsControlMethod · 0.95

Tested by

no test coverage detected