@@ -4,127 +4,127 @@ import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
44import * as AcpSchema from "./_generated/schema.gen.ts" ;
55import { AGENT_METHODS , CLIENT_METHODS } from "./_generated/meta.gen.ts" ;
66
7- export const InitializeRpc = Rpc . make ( AGENT_METHODS . initialize , {
7+ const InitializeRpc = Rpc . make ( AGENT_METHODS . initialize , {
88 payload : AcpSchema . InitializeRequest ,
99 success : AcpSchema . InitializeResponse ,
1010 error : AcpSchema . Error ,
1111} ) ;
1212
13- export const AuthenticateRpc = Rpc . make ( AGENT_METHODS . authenticate , {
13+ const AuthenticateRpc = Rpc . make ( AGENT_METHODS . authenticate , {
1414 payload : AcpSchema . AuthenticateRequest ,
1515 success : AcpSchema . AuthenticateResponse ,
1616 error : AcpSchema . Error ,
1717} ) ;
1818
19- export const LogoutRpc = Rpc . make ( AGENT_METHODS . logout , {
19+ const LogoutRpc = Rpc . make ( AGENT_METHODS . logout , {
2020 payload : AcpSchema . LogoutRequest ,
2121 success : AcpSchema . LogoutResponse ,
2222 error : AcpSchema . Error ,
2323} ) ;
2424
25- export const NewSessionRpc = Rpc . make ( AGENT_METHODS . session_new , {
25+ const NewSessionRpc = Rpc . make ( AGENT_METHODS . session_new , {
2626 payload : AcpSchema . NewSessionRequest ,
2727 success : AcpSchema . NewSessionResponse ,
2828 error : AcpSchema . Error ,
2929} ) ;
3030
31- export const LoadSessionRpc = Rpc . make ( AGENT_METHODS . session_load , {
31+ const LoadSessionRpc = Rpc . make ( AGENT_METHODS . session_load , {
3232 payload : AcpSchema . LoadSessionRequest ,
3333 success : AcpSchema . LoadSessionResponse ,
3434 error : AcpSchema . Error ,
3535} ) ;
3636
37- export const ListSessionsRpc = Rpc . make ( AGENT_METHODS . session_list , {
37+ const ListSessionsRpc = Rpc . make ( AGENT_METHODS . session_list , {
3838 payload : AcpSchema . ListSessionsRequest ,
3939 success : AcpSchema . ListSessionsResponse ,
4040 error : AcpSchema . Error ,
4141} ) ;
4242
43- export const ForkSessionRpc = Rpc . make ( AGENT_METHODS . session_fork , {
43+ const ForkSessionRpc = Rpc . make ( AGENT_METHODS . session_fork , {
4444 payload : AcpSchema . ForkSessionRequest ,
4545 success : AcpSchema . ForkSessionResponse ,
4646 error : AcpSchema . Error ,
4747} ) ;
4848
49- export const ResumeSessionRpc = Rpc . make ( AGENT_METHODS . session_resume , {
49+ const ResumeSessionRpc = Rpc . make ( AGENT_METHODS . session_resume , {
5050 payload : AcpSchema . ResumeSessionRequest ,
5151 success : AcpSchema . ResumeSessionResponse ,
5252 error : AcpSchema . Error ,
5353} ) ;
5454
55- export const CloseSessionRpc = Rpc . make ( AGENT_METHODS . session_close , {
55+ const CloseSessionRpc = Rpc . make ( AGENT_METHODS . session_close , {
5656 payload : AcpSchema . CloseSessionRequest ,
5757 success : AcpSchema . CloseSessionResponse ,
5858 error : AcpSchema . Error ,
5959} ) ;
6060
61- export const PromptRpc = Rpc . make ( AGENT_METHODS . session_prompt , {
61+ const PromptRpc = Rpc . make ( AGENT_METHODS . session_prompt , {
6262 payload : AcpSchema . PromptRequest ,
6363 success : AcpSchema . PromptResponse ,
6464 error : AcpSchema . Error ,
6565} ) ;
6666
67- export const SetSessionModelRpc = Rpc . make ( AGENT_METHODS . session_set_model , {
67+ const SetSessionModelRpc = Rpc . make ( AGENT_METHODS . session_set_model , {
6868 payload : AcpSchema . SetSessionModelRequest ,
6969 success : AcpSchema . SetSessionModelResponse ,
7070 error : AcpSchema . Error ,
7171} ) ;
7272
73- export const SetSessionConfigOptionRpc = Rpc . make ( AGENT_METHODS . session_set_config_option , {
73+ const SetSessionConfigOptionRpc = Rpc . make ( AGENT_METHODS . session_set_config_option , {
7474 payload : AcpSchema . SetSessionConfigOptionRequest ,
7575 success : AcpSchema . SetSessionConfigOptionResponse ,
7676 error : AcpSchema . Error ,
7777} ) ;
7878
79- export const ReadTextFileRpc = Rpc . make ( CLIENT_METHODS . fs_read_text_file , {
79+ const ReadTextFileRpc = Rpc . make ( CLIENT_METHODS . fs_read_text_file , {
8080 payload : AcpSchema . ReadTextFileRequest ,
8181 success : AcpSchema . ReadTextFileResponse ,
8282 error : AcpSchema . Error ,
8383} ) ;
8484
85- export const WriteTextFileRpc = Rpc . make ( CLIENT_METHODS . fs_write_text_file , {
85+ const WriteTextFileRpc = Rpc . make ( CLIENT_METHODS . fs_write_text_file , {
8686 payload : AcpSchema . WriteTextFileRequest ,
8787 success : AcpSchema . WriteTextFileResponse ,
8888 error : AcpSchema . Error ,
8989} ) ;
9090
91- export const RequestPermissionRpc = Rpc . make ( CLIENT_METHODS . session_request_permission , {
91+ const RequestPermissionRpc = Rpc . make ( CLIENT_METHODS . session_request_permission , {
9292 payload : AcpSchema . RequestPermissionRequest ,
9393 success : AcpSchema . RequestPermissionResponse ,
9494 error : AcpSchema . Error ,
9595} ) ;
9696
97- export const ElicitationRpc = Rpc . make ( CLIENT_METHODS . session_elicitation , {
97+ const ElicitationRpc = Rpc . make ( CLIENT_METHODS . session_elicitation , {
9898 payload : AcpSchema . ElicitationRequest ,
9999 success : AcpSchema . ElicitationResponse ,
100100 error : AcpSchema . Error ,
101101} ) ;
102102
103- export const CreateTerminalRpc = Rpc . make ( CLIENT_METHODS . terminal_create , {
103+ const CreateTerminalRpc = Rpc . make ( CLIENT_METHODS . terminal_create , {
104104 payload : AcpSchema . CreateTerminalRequest ,
105105 success : AcpSchema . CreateTerminalResponse ,
106106 error : AcpSchema . Error ,
107107} ) ;
108108
109- export const TerminalOutputRpc = Rpc . make ( CLIENT_METHODS . terminal_output , {
109+ const TerminalOutputRpc = Rpc . make ( CLIENT_METHODS . terminal_output , {
110110 payload : AcpSchema . TerminalOutputRequest ,
111111 success : AcpSchema . TerminalOutputResponse ,
112112 error : AcpSchema . Error ,
113113} ) ;
114114
115- export const ReleaseTerminalRpc = Rpc . make ( CLIENT_METHODS . terminal_release , {
115+ const ReleaseTerminalRpc = Rpc . make ( CLIENT_METHODS . terminal_release , {
116116 payload : AcpSchema . ReleaseTerminalRequest ,
117117 success : AcpSchema . ReleaseTerminalResponse ,
118118 error : AcpSchema . Error ,
119119} ) ;
120120
121- export const WaitForTerminalExitRpc = Rpc . make ( CLIENT_METHODS . terminal_wait_for_exit , {
121+ const WaitForTerminalExitRpc = Rpc . make ( CLIENT_METHODS . terminal_wait_for_exit , {
122122 payload : AcpSchema . WaitForTerminalExitRequest ,
123123 success : AcpSchema . WaitForTerminalExitResponse ,
124124 error : AcpSchema . Error ,
125125} ) ;
126126
127- export const KillTerminalRpc = Rpc . make ( CLIENT_METHODS . terminal_kill , {
127+ const KillTerminalRpc = Rpc . make ( CLIENT_METHODS . terminal_kill , {
128128 payload : AcpSchema . KillTerminalRequest ,
129129 success : AcpSchema . KillTerminalResponse ,
130130 error : AcpSchema . Error ,
0 commit comments