MCPcopy Create free account
hub / github.com/freecodexyz/free-code / sendControlResponse

Function sendControlResponse

src/bridge/replBridge.ts:1792–1802  ·  view source on GitHub ↗
(response: SDKControlResponse)

Source from the content-addressed store, hash-verified

1790 )
1791 },
1792 sendControlResponse(response: SDKControlResponse) {
1793 if (!transport) {
1794 logForDebugging(
1795 '[bridge:repl] Transport not configured, skipping control_response',
1796 )
1797 return
1798 }
1799 const event = { ...response, session_id: currentSessionId }
1800 void transport.write(event)
1801 logForDebugging('[bridge:repl] Sent control_response')
1802 },
1803 sendControlCancelRequest(requestId: string) {
1804 if (!transport) {
1805 logForDebugging(

Callers

nothing calls this directly

Calls 2

logForDebuggingFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected