MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / active_session_ids

Method active_session_ids

src/server/session_manager.py:168–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 return self._sessions.get(session_id)
167
168 def active_session_ids(self) -> list[str]:
169 return [
170 sid
171 for sid, info in self._sessions.items()
172 if info.status in (SessionState.STARTING, SessionState.RUNNING, SessionState.DETACHED)
173 ]
174
175 def _active_count(self) -> int:
176 return len(self.active_session_ids())

Callers 3

_active_countMethod · 0.95
stopMethod · 0.80

Calls 1

itemsMethod · 0.80

Tested by 1