Convert to the orchestrator context injected by the hook handler.
(&self)
| 172 | |
| 173 | /// Convert to the orchestrator context injected by the hook handler. |
| 174 | pub(super) fn to_managed_run_context(&self) -> ManagedRunContext { |
| 175 | ManagedRunContext { |
| 176 | stamp: ManagedRunStamp { |
| 177 | run_id: self.run_id.clone(), |
| 178 | owner_agent: self.owner_agent.clone(), |
| 179 | owner_session_id: self.owner_session_id.clone(), |
| 180 | work_item_id: self.work_item_id.clone(), |
| 181 | }, |
| 182 | view: self.view.clone(), |
| 183 | } |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | /// One session recorded under a managed run, harvested from session stamps. |