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

Method detachTerminal

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

Source from the content-addressed store, hash-verified

498 }
499
500 detachTerminal(
501 sid: string,
502 terminalId: string,
503 options: TerminalControlOptions = {},
504 ): Promise<TerminalDetachResult> {
505 return this._sendWsControl<TerminalDetachResult>(
506 'terminal_detach',
507 { session_id: sid, terminal_id: terminalId },
508 options.timeoutMs,
509 );
510 }
511
512 writeTerminalInput(
513 sid: string,

Callers

nothing calls this directly

Calls 1

_sendWsControlMethod · 0.95

Tested by

no test coverage detected