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

Function onServerControlRequest

src/bridge/replBridge.ts:1206–1214  ·  view source on GitHub ↗
(request: SDKControlRequest)

Source from the content-addressed store, hash-verified

1204 // captures transport/currentSessionId so the transport.setOnData
1205 // callback below doesn't need to thread them through.
1206 const onServerControlRequest = (request: SDKControlRequest): void =>
1207 handleServerControlRequest(request, {
1208 transport,
1209 sessionId: currentSessionId,
1210 onInterrupt,
1211 onSetModel,
1212 onSetMaxThinkingTokens,
1213 onSetPermissionMode,
1214 })
1215
1216 let initialFlushDone = false
1217

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected