MCPcopy Create free account
hub / github.com/chokcoco/iCSS / sendCommand

Function sendCommand

MCP/debug-interactive.js:110–114  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

108
109// 发送命令到服务器
110function sendCommand(command) {
111 console.log('\n📤 Sending command:', JSON.stringify(command, null, 2));
112 serverProcess.stdin.write(JSON.stringify(command) + '\n');
113 setTimeout(showPrompt, 1000);
114}
115
116// 处理退出
117process.on('SIGINT', () => {

Callers 1

showPromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected