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

Method terminalInput

apps/kimi-web/src/api/daemon/ws.ts:207–214  ·  view source on GitHub ↗
(sessionId: string, terminalId: string, data: string)

Source from the content-addressed store, hash-verified

205 }
206
207 terminalInput(sessionId: string, terminalId: string, data: string): void {
208 if (!this.connected || !this.ws) return;
209 this.send({
210 type: 'terminal_input',
211 id: this.nextId(),
212 payload: { session_id: sessionId, terminal_id: terminalId, data },
213 });
214 }
215
216 terminalResize(sessionId: string, terminalId: string, cols: number, rows: number): void {
217 if (!this.connected || !this.ws) return;

Callers

nothing calls this directly

Calls 2

sendMethod · 0.95
nextIdMethod · 0.95

Tested by

no test coverage detected