| 1 | using System.Text.Json.Serialization; |
| 2 | |
| 3 | namespace AgentClientProtocol; |
| 4 | |
| 5 | [JsonSourceGenerationOptions(DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault)] |
| 6 | [JsonSerializable(typeof(RequestId))] |
| 7 | [JsonSerializable(typeof(JsonRpcMessage))] |
| 8 | [JsonSerializable(typeof(JsonRpcRequest))] |
| 9 | [JsonSerializable(typeof(JsonRpcResponse))] |
| 10 | [JsonSerializable(typeof(JsonRpcNotification))] |
| 11 | [JsonSerializable(typeof(JsonRpcError))] |
| 12 | [JsonSerializable(typeof(Role))] |
| 13 | [JsonSerializable(typeof(PermissionOptionKind))] |
| 14 | [JsonSerializable(typeof(PlanEntryPriority))] |
| 15 | [JsonSerializable(typeof(PlanEntryStatus))] |
| 16 | [JsonSerializable(typeof(StopReason))] |
| 17 | [JsonSerializable(typeof(ToolCallStatus))] |
| 18 | [JsonSerializable(typeof(ToolKind))] |
| 19 | [JsonSerializable(typeof(Implementation))] |
| 20 | [JsonSerializable(typeof(AuthMethod))] |
| 21 | [JsonSerializable(typeof(AgentCapabilities))] |
| 22 | [JsonSerializable(typeof(McpCapabilities))] |
| 23 | [JsonSerializable(typeof(PromptCapabilities))] |
| 24 | [JsonSerializable(typeof(ClientCapabilities))] |
| 25 | [JsonSerializable(typeof(FileSystemCapability))] |
| 26 | [JsonSerializable(typeof(Annotations))] |
| 27 | [JsonSerializable(typeof(ContentBlock))] |
| 28 | [JsonSerializable(typeof(TextContentBlock))] |
| 29 | [JsonSerializable(typeof(ImageContentBlock))] |
| 30 | [JsonSerializable(typeof(AudioContentBlock))] |
| 31 | [JsonSerializable(typeof(ResourceLinkContentBlock))] |
| 32 | [JsonSerializable(typeof(ResourceContentBlock))] |
| 33 | [JsonSerializable(typeof(EmbeddedResourceResource))] |
| 34 | [JsonSerializable(typeof(TextResourceContents))] |
| 35 | [JsonSerializable(typeof(BlobResourceContents))] |
| 36 | [JsonSerializable(typeof(EnvVariable))] |
| 37 | [JsonSerializable(typeof(HttpHeader))] |
| 38 | [JsonSerializable(typeof(McpServer))] |
| 39 | [JsonSerializable(typeof(HttpMcpServer))] |
| 40 | [JsonSerializable(typeof(SseMcpServer))] |
| 41 | [JsonSerializable(typeof(StdioMcpServer))] |
| 42 | [JsonSerializable(typeof(SessionMode))] |
| 43 | [JsonSerializable(typeof(SessionModeState))] |
| 44 | [JsonSerializable(typeof(ModelInfo))] |
| 45 | [JsonSerializable(typeof(SessionModelState))] |
| 46 | [JsonSerializable(typeof(PlanEntry))] |
| 47 | [JsonSerializable(typeof(AvailableCommand))] |
| 48 | [JsonSerializable(typeof(AvailableCommandInput))] |
| 49 | [JsonSerializable(typeof(ToolCallLocation))] |
| 50 | [JsonSerializable(typeof(ToolCallContent))] |
| 51 | [JsonSerializable(typeof(ContentToolCallContent))] |
| 52 | [JsonSerializable(typeof(DiffToolCallContent))] |
| 53 | [JsonSerializable(typeof(TerminalToolCallContent))] |
| 54 | [JsonSerializable(typeof(PermissionOption))] |
| 55 | [JsonSerializable(typeof(RequestPermissionOutcome))] |
| 56 | [JsonSerializable(typeof(CancelledRequestPermissionOutcome))] |
| 57 | [JsonSerializable(typeof(SelectedRequestPermissionOutcome))] |
| 58 | [JsonSerializable(typeof(TerminalExitStatus))] |
| 59 | [JsonSerializable(typeof(InitializeRequest))] |
| 60 | [JsonSerializable(typeof(InitializeResponse))] |
| 61 | [JsonSerializable(typeof(AuthenticateRequest))] |
| 62 | [JsonSerializable(typeof(AuthenticateResponse))] |
| 63 | [JsonSerializable(typeof(NewSessionRequest))] |
| 64 | [JsonSerializable(typeof(NewSessionResponse))] |
| 65 | [JsonSerializable(typeof(LoadSessionRequest))] |
| 66 | [JsonSerializable(typeof(LoadSessionResponse))] |
| 67 | [JsonSerializable(typeof(SetSessionModeRequest))] |
| 68 | [JsonSerializable(typeof(SetSessionModeResponse))] |
| 69 | [JsonSerializable(typeof(PromptRequest))] |
| 70 | [JsonSerializable(typeof(PromptResponse))] |
| 71 | [JsonSerializable(typeof(SetSessionModelRequest))] |
| 72 | [JsonSerializable(typeof(SetSessionModelResponse))] |
| 73 | [JsonSerializable(typeof(WriteTextFileRequest))] |
| 74 | [JsonSerializable(typeof(WriteTextFileResponse))] |
| 75 | [JsonSerializable(typeof(ReadTextFileRequest))] |
| 76 | [JsonSerializable(typeof(ReadTextFileResponse))] |
| 77 | [JsonSerializable(typeof(RequestPermissionRequest))] |
| 78 | [JsonSerializable(typeof(RequestPermissionResponse))] |
| 79 | [JsonSerializable(typeof(CreateTerminalRequest))] |
| 80 | [JsonSerializable(typeof(CreateTerminalResponse))] |
| 81 | [JsonSerializable(typeof(TerminalOutputRequest))] |
| 82 | [JsonSerializable(typeof(TerminalOutputResponse))] |
| 83 | [JsonSerializable(typeof(ReleaseTerminalRequest))] |
| 84 | [JsonSerializable(typeof(ReleaseTerminalResponse))] |
| 85 | [JsonSerializable(typeof(WaitForTerminalExitRequest))] |
| 86 | [JsonSerializable(typeof(WaitForTerminalExitResponse))] |
| 87 | [JsonSerializable(typeof(KillTerminalCommandRequest))] |
| 88 | [JsonSerializable(typeof(KillTerminalCommandResponse))] |
| 89 | [JsonSerializable(typeof(SessionNotification))] |
| 90 | [JsonSerializable(typeof(CancelNotification))] |
| 91 | [JsonSerializable(typeof(SessionUpdate))] |
| 92 | [JsonSerializable(typeof(UserMessageChunkSessionUpdate))] |
| 93 | [JsonSerializable(typeof(AgentMessageChunkSessionUpdate))] |
| 94 | [JsonSerializable(typeof(AgentThoughtChunkSessionUpdate))] |
| 95 | [JsonSerializable(typeof(ToolCallSessionUpdate))] |
| 96 | [JsonSerializable(typeof(ToolCallUpdateSessionUpdate))] |
| 97 | [JsonSerializable(typeof(PlanSessionUpdate))] |
| 98 | [JsonSerializable(typeof(AvailableCommandsUpdateSessionUpdate))] |
| 99 | [JsonSerializable(typeof(CurrentModeUpdateSessionUpdate))] |
| 100 | public partial class AcpJsonSerializerContext : JsonSerializerContext; |