(parentSessionID string, subSession any, agentName string)
| 882 | } |
| 883 | |
| 884 | func SubSessionCompleted(parentSessionID string, subSession any, agentName string) Event { |
| 885 | return &SubSessionCompletedEvent{ |
| 886 | Type: "sub_session_completed", |
| 887 | ParentSessionID: parentSessionID, |
| 888 | SubSession: subSession, |
| 889 | AgentContext: newAgentContext(agentName), |
| 890 | } |
| 891 | } |
| 892 | |
| 893 | // ConnectionLostEvent is emitted when the connection to the remote server is lost |
| 894 | type ConnectionLostEvent struct { |
no test coverage detected