Update the CLI session ID (e.g. from CLI output).
(
self,
metaclaw_session_id: str,
cli_session_id: str,
)
| 147 | return None |
| 148 | |
| 149 | def update_cli_session_id( |
| 150 | self, |
| 151 | metaclaw_session_id: str, |
| 152 | cli_session_id: str, |
| 153 | ) -> None: |
| 154 | """Update the CLI session ID (e.g. from CLI output).""" |
| 155 | existing = self._bindings.get(metaclaw_session_id) |
| 156 | if existing: |
| 157 | existing.cli_session_id = cli_session_id |
| 158 | self.save() |
| 159 | |
| 160 | def clear_session(self, metaclaw_session_id: str) -> None: |
| 161 | """Remove the CLI session binding for a MetaClaw session.""" |
no test coverage detected