()
| 98 | * Use type guards isSubagentContext() or isTeammateAgentContext() to narrow the type. |
| 99 | */ |
| 100 | export function getAgentContext(): AgentContext | undefined { |
| 101 | return agentContextStorage.getStore() |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Run an async function with the given agent context. |
no outgoing calls
no test coverage detected