MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createStatusHandler

Function createStatusHandler

services/cloud-agent-next/wrapper/src/server.ts:394–398  ·  view source on GitHub ↗
(state: WrapperState)

Source from the content-addressed store, hash-verified

392 const result = state.bindSession(sessionContext);
393 if (feedPolicy === 'close-until-runtime-ready') {
394 await notifySessionBound(deps, feedPolicy);
395 }
396 if (result.changed) {
397 logToFile(
398 `session binding refreshed: generation=${binding.wrapperGeneration ?? 'none'} connectionId=${binding.wrapperConnectionId ?? 'none'}`
399 );
400 if (state.isConnected) {
401 await deps.closeConnection();

Callers 1

createFetchHandlerFunction · 0.85

Calls 2

jsonResponseFunction · 0.70
getStatusMethod · 0.45

Tested by

no test coverage detected