( requestType: string, agentId: string, )
| 60 | * Formats a request ID in the format `{requestType}-{timestamp}@{agentId}`. |
| 61 | */ |
| 62 | export function generateRequestId( |
| 63 | requestType: string, |
| 64 | agentId: string, |
| 65 | ): string { |
| 66 | const timestamp = Date.now() |
| 67 | return `${requestType}-${timestamp}@${agentId}` |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Parses a request ID into its components. |
no outgoing calls
no test coverage detected