|
1 | 1 | use crate::schema::{ |
2 | | - AuthenticateRequest, AuthenticateResponse, InitializeRequest, InitializeResponse, |
3 | | - ListSessionsRequest, ListSessionsResponse, LoadSessionRequest, LoadSessionResponse, |
4 | | - NewSessionRequest, NewSessionResponse, PromptRequest, PromptResponse, |
5 | | - SetSessionConfigOptionRequest, SetSessionConfigOptionResponse, SetSessionModeRequest, |
6 | | - SetSessionModeResponse, |
| 2 | + AuthenticateRequest, AuthenticateResponse, CloseSessionRequest, CloseSessionResponse, |
| 3 | + InitializeRequest, InitializeResponse, ListSessionsRequest, ListSessionsResponse, |
| 4 | + LoadSessionRequest, LoadSessionResponse, NewSessionRequest, NewSessionResponse, PromptRequest, |
| 5 | + PromptResponse, ResumeSessionRequest, ResumeSessionResponse, SetSessionConfigOptionRequest, |
| 6 | + SetSessionConfigOptionResponse, SetSessionModeRequest, SetSessionModeResponse, |
7 | 7 | }; |
8 | | -#[cfg(feature = "unstable_session_close")] |
9 | | -use crate::schema::{CloseSessionRequest, CloseSessionResponse}; |
10 | 8 | #[cfg(feature = "unstable_session_fork")] |
11 | 9 | use crate::schema::{ForkSessionRequest, ForkSessionResponse}; |
12 | 10 | #[cfg(feature = "unstable_logout")] |
13 | 11 | use crate::schema::{LogoutRequest, LogoutResponse}; |
14 | | -#[cfg(feature = "unstable_session_resume")] |
15 | | -use crate::schema::{ResumeSessionRequest, ResumeSessionResponse}; |
16 | 12 | #[cfg(feature = "unstable_session_model")] |
17 | 13 | use crate::schema::{SetSessionModelRequest, SetSessionModelResponse}; |
18 | 14 |
|
@@ -43,11 +39,9 @@ impl_jsonrpc_request!( |
43 | 39 | ); |
44 | 40 | #[cfg(feature = "unstable_session_fork")] |
45 | 41 | impl_jsonrpc_request!(ForkSessionRequest, ForkSessionResponse, "session/fork"); |
46 | | -#[cfg(feature = "unstable_session_resume")] |
47 | 42 | impl_jsonrpc_request!( |
48 | 43 | ResumeSessionRequest, |
49 | 44 | ResumeSessionResponse, |
50 | 45 | "session/resume" |
51 | 46 | ); |
52 | | -#[cfg(feature = "unstable_session_close")] |
53 | 47 | impl_jsonrpc_request!(CloseSessionRequest, CloseSessionResponse, "session/close"); |
0 commit comments