Convert to the orchestrator context injected by the hook handler.
(&self)
| 245 | |
| 246 | /// Convert to the orchestrator context injected by the hook handler. |
| 247 | pub(super) fn to_managed_run_context(&self) -> ManagedRunContext { |
| 248 | ManagedRunContext { |
| 249 | stamp: ManagedRunStamp { |
| 250 | run_id: self.run_id.clone(), |
| 251 | owner_agent: self.owner_agent.clone(), |
| 252 | owner_session_id: self.owner_session_id.clone(), |
| 253 | work_item_id: self.work_item_id.clone(), |
| 254 | }, |
| 255 | view: self.view.clone(), |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | /// One session recorded under a managed run, harvested from session stamps. |