MCPcopy Create free account
hub / github.com/openai/plugins / ownerAlive

Function ownerAlive

plugins/superpowers/skills/brainstorming/scripts/server.cjs:314–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312 }
313
314 function ownerAlive() {
315 if (!ownerPid) return true;
316 try { process.kill(ownerPid, 0); return true; } catch (e) { return e.code === 'EPERM'; }
317 }
318
319 // Check every 60s: exit if owner process died or idle for 30 minutes
320 const lifecycleCheck = setInterval(() => {

Callers 1

startServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected