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

Function sendControlResponse

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

Source from the content-addressed store, hash-verified

1807 )
1808 },
1809 sendControlResponse(response: SDKControlResponse) {
1810 if (!transport) {
1811 logForDebugging(
1812 '[bridge:repl] Transport not configured, skipping control_response',
1813 )
1814 return
1815 }
1816 const event = { ...response, session_id: currentSessionId }
1817 void transport.write(event)
1818 logForDebugging('[bridge:repl] Sent control_response')
1819 },
1820 sendControlCancelRequest(requestId: string) {
1821 if (!transport) {
1822 logForDebugging(

Callers

nothing calls this directly

Calls 2

logForDebuggingFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected