(self, session_id: str)
| 110 | info.process = process |
| 111 | |
| 112 | def mark_running(self, session_id: str) -> None: |
| 113 | info = self._sessions.get(session_id) |
| 114 | if info is None: |
| 115 | return |
| 116 | now = time.time() |
| 117 | info.status = SessionState.RUNNING |
| 118 | info.last_active_at = now |
| 119 | update_last_active(session_id, now, path=self.index_path) |
| 120 | |
| 121 | def mark_detached(self, session_id: str) -> None: |
| 122 | info = self._sessions.get(session_id) |