|
1 | 1 | use crate::schema::{ |
2 | 2 | AuthenticateRequest, AuthenticateResponse, CloseSessionRequest, CloseSessionResponse, |
3 | 3 | InitializeRequest, InitializeResponse, ListSessionsRequest, ListSessionsResponse, |
4 | | - LoadSessionRequest, LoadSessionResponse, NewSessionRequest, NewSessionResponse, PromptRequest, |
5 | | - PromptResponse, ResumeSessionRequest, ResumeSessionResponse, SetSessionConfigOptionRequest, |
6 | | - SetSessionConfigOptionResponse, SetSessionModeRequest, SetSessionModeResponse, |
| 4 | + LoadSessionRequest, LoadSessionResponse, LogoutRequest, LogoutResponse, NewSessionRequest, |
| 5 | + NewSessionResponse, PromptRequest, PromptResponse, ResumeSessionRequest, ResumeSessionResponse, |
| 6 | + SetSessionConfigOptionRequest, SetSessionConfigOptionResponse, SetSessionModeRequest, |
| 7 | + SetSessionModeResponse, |
7 | 8 | }; |
8 | 9 | #[cfg(feature = "unstable_session_delete")] |
9 | 10 | use crate::schema::{DeleteSessionRequest, DeleteSessionResponse}; |
10 | 11 | #[cfg(feature = "unstable_session_fork")] |
11 | 12 | use crate::schema::{ForkSessionRequest, ForkSessionResponse}; |
12 | | -#[cfg(feature = "unstable_logout")] |
13 | | -use crate::schema::{LogoutRequest, LogoutResponse}; |
14 | 13 | #[cfg(feature = "unstable_session_model")] |
15 | 14 | use crate::schema::{SetSessionModelRequest, SetSessionModelResponse}; |
16 | 15 |
|
17 | 16 | impl_jsonrpc_request!(InitializeRequest, InitializeResponse, "initialize"); |
18 | 17 | impl_jsonrpc_request!(AuthenticateRequest, AuthenticateResponse, "authenticate"); |
19 | | -#[cfg(feature = "unstable_logout")] |
20 | 18 | impl_jsonrpc_request!(LogoutRequest, LogoutResponse, "logout"); |
21 | 19 | impl_jsonrpc_request!(LoadSessionRequest, LoadSessionResponse, "session/load"); |
22 | 20 | impl_jsonrpc_request!(ListSessionsRequest, ListSessionsResponse, "session/list"); |
|
0 commit comments