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

Method detach

packages/server/src/ws/connection.ts:90–90  ·  view source on GitHub ↗
(sessionId: string, terminalId: string, sinkId: string)

Source from the content-addressed store, hash-verified

88 options?: TerminalAttachOptions,
89 ): Promise<{ replayed: number }>;
90 detach(sessionId: string, terminalId: string, sinkId: string): void;
91 cleanupConnection(sinkId: string): void;
92 write(sessionId: string, terminalId: string, data: string): Promise<void>;
93 resize(sessionId: string, terminalId: string, cols: number, rows: number): Promise<void>;

Callers 2

startServerFunction · 0.65
onTerminalDetachMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected