SwiftinitAgentSessionKitAgentSessionKit.AgentSessionEvent
init
AgentSessionKit.AgentSessionEvent.init(eventId: String, sessionId: String, sessionResumptionData: Foundation.Data?, textContent: String?, role: AgentSessionKit.AgentSessionEvent.Role?, artifacts: [AgentSessionKit.AgentSessionArtifact], createdAt: Foundation.Date, agentProvenance: AgentSessionKit.AgentProvenance?, conversationFragmentPayload: AgentSessionKit.ConversationFragmentPayload?, turnInfo: AgentSessionKit.AgentSessionEvent.TurnInfo?) -> AgentSessionKit.AgentSessionEvent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0eventId:structSwift.String
- 1sessionId:structSwift.String
- 2sessionResumptionData:enumSwift.Optional
- 3textContent:enumSwift.Optional
- 4role:
- 5artifacts:structSwift.Array
- 6createdAt:structFoundation.Date
- 7agentProvenance:enumSwift.Optional
- 8conversationFragmentPayload:
- 9turnInfo: