Return the current MCP Streamable HTTP session id, if known. This is the value that must be persisted in checkpoints to allow resuming with the same sandbox session (filesystem/browser/shell state).
(self)
| 127 | self._loop = None |
| 128 | |
| 129 | def get_session_id(self) -> Optional[str]: |
| 130 | """ |
| 131 | Return the current MCP Streamable HTTP session id, if known. |
| 132 | |
| 133 | This is the value that must be persisted in checkpoints to allow resuming |
| 134 | with the same sandbox session (filesystem/browser/shell state). |
| 135 | """ |
| 136 | self._update_session_id_from_transport() |
| 137 | return self._session_id |
| 138 | |
| 139 | def enable_tracing(self, trace_path: str) -> None: |
| 140 | """ |
no test coverage detected