MCPcopy
hub / github.com/slopus/happy / sendSessionDeath

Method sendSessionDeath

packages/happy-cli/src/api/apiSession.ts:870–872  ·  view source on GitHub ↗

* Send session death message

()

Source from the content-addressed store, hash-verified

868 * Send session death message
869 */
870 sendSessionDeath() {
871 this.socket.emit('session-end', { sid: this.sessionId, time: Date.now() });
872 }
873
874 /**
875 * Send usage data to the server

Callers 8

handleKillSessionFunction · 0.80
runGeminiFunction · 0.80
runOpenClawFunction · 0.80
handleKillSessionFunction · 0.80
runCodexFunction · 0.80
runAcpFunction · 0.80
cleanupFunction · 0.80
runClaudeFunction · 0.80

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected