(text: string)
| 45 | } |
| 46 | |
| 47 | function agentMessage(text: string): Record<string, unknown> { |
| 48 | return { |
| 49 | timestamp: new Date().toISOString(), |
| 50 | type: 'event_msg', |
| 51 | payload: { type: 'agent_message', message: text }, |
| 52 | }; |
| 53 | } |
| 54 | |
| 55 | function userMessage(text: string): Record<string, unknown> { |
| 56 | return { |
no outgoing calls
no test coverage detected