Convert to the orchestrator context injected by the hook handler.
(&self)
| 256 | |
| 257 | /// Convert to the orchestrator context injected by the hook handler. |
| 258 | pub(super) fn to_managed_run_context(&self) -> ManagedRunContext { |
| 259 | ManagedRunContext { |
| 260 | stamp: ManagedRunStamp { |
| 261 | run_id: self.run_id.clone(), |
| 262 | owner_agent: self.owner_agent.clone(), |
| 263 | owner_session_id: self.owner_session_id.clone(), |
| 264 | work_item_id: self.work_item_id.clone(), |
| 265 | }, |
| 266 | view: self.view.clone(), |
| 267 | } |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | /// One session recorded under a managed run, harvested from session stamps. |