MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / sendTurnState

Function sendTurnState

lib/logger.js:179–181  ·  view source on GitHub ↗
(ws, context = '')

Source from the content-addressed store, hash-verified

177}
178
179function sendTurnState(ws, context = '') {
180 return sendWs(ws, getTurnStatePayload(), context);
181}
182
183function setTurnState(phase, { sessionId = state.currentSessionId, reason = '', force = false } = {}) {
184 const normalizedPhase = phase === 'running' ? 'running' : 'idle';

Callers 2

sendReplayFunction · 0.85
setupWebSocketServerFunction · 0.85

Calls 2

sendWsFunction · 0.85
getTurnStatePayloadFunction · 0.85

Tested by

no test coverage detected