@@ -852,27 +852,27 @@ type SessionLifecycleHandler func(event SessionLifecycleEvent)
852852
853853// createSessionRequest is the request for session.create
854854type createSessionRequest struct {
855- Model string `json:"model,omitempty"`
856- SessionID string `json:"sessionId,omitempty"`
857- ClientName string `json:"clientName,omitempty"`
858- ReasoningEffort string `json:"reasoningEffort,omitempty"`
859- Tools []Tool `json:"tools,omitempty"`
860- SystemMessage * SystemMessageConfig `json:"systemMessage,omitempty"`
861- AvailableTools []string `json:"availableTools"`
862- ExcludedTools []string `json:"excludedTools,omitempty"`
863- Provider * ProviderConfig `json:"provider,omitempty"`
864- RequestPermission * bool `json:"requestPermission,omitempty"`
865- RequestUserInput * bool `json:"requestUserInput,omitempty"`
866- Hooks * bool `json:"hooks,omitempty"`
867- WorkingDirectory string `json:"workingDirectory,omitempty"`
868- Streaming * bool `json:"streaming,omitempty"`
869- MCPServers map [string ]MCPServerConfig `json:"mcpServers,omitempty"`
870- EnvValueMode string `json:"envValueMode,omitempty"`
871- CustomAgents []CustomAgentConfig `json:"customAgents,omitempty"`
872- Agent string `json:"agent,omitempty"`
873- ConfigDir string `json:"configDir,omitempty"`
874- SkillDirectories []string `json:"skillDirectories,omitempty"`
875- DisabledSkills []string `json:"disabledSkills,omitempty"`
855+ Model string `json:"model,omitempty"`
856+ SessionID string `json:"sessionId,omitempty"`
857+ ClientName string `json:"clientName,omitempty"`
858+ ReasoningEffort string `json:"reasoningEffort,omitempty"`
859+ Tools []Tool `json:"tools,omitempty"`
860+ SystemMessage * SystemMessageConfig `json:"systemMessage,omitempty"`
861+ AvailableTools []string `json:"availableTools"`
862+ ExcludedTools []string `json:"excludedTools,omitempty"`
863+ Provider * ProviderConfig `json:"provider,omitempty"`
864+ RequestPermission * bool `json:"requestPermission,omitempty"`
865+ RequestUserInput * bool `json:"requestUserInput,omitempty"`
866+ Hooks * bool `json:"hooks,omitempty"`
867+ WorkingDirectory string `json:"workingDirectory,omitempty"`
868+ Streaming * bool `json:"streaming,omitempty"`
869+ MCPServers map [string ]MCPServerConfig `json:"mcpServers,omitempty"`
870+ EnvValueMode string `json:"envValueMode,omitempty"`
871+ CustomAgents []CustomAgentConfig `json:"customAgents,omitempty"`
872+ Agent string `json:"agent,omitempty"`
873+ ConfigDir string `json:"configDir,omitempty"`
874+ SkillDirectories []string `json:"skillDirectories,omitempty"`
875+ DisabledSkills []string `json:"disabledSkills,omitempty"`
876876 InfiniteSessions * InfiniteSessionConfig `json:"infiniteSessions,omitempty"`
877877 Commands []wireCommand `json:"commands,omitempty"`
878878 RequestElicitation * bool `json:"requestElicitation,omitempty"`
@@ -895,26 +895,26 @@ type createSessionResponse struct {
895895
896896// resumeSessionRequest is the request for session.resume
897897type resumeSessionRequest struct {
898- SessionID string `json:"sessionId"`
899- ClientName string `json:"clientName,omitempty"`
900- Model string `json:"model,omitempty"`
901- ReasoningEffort string `json:"reasoningEffort,omitempty"`
902- Tools []Tool `json:"tools,omitempty"`
903- SystemMessage * SystemMessageConfig `json:"systemMessage,omitempty"`
904- AvailableTools []string `json:"availableTools"`
905- ExcludedTools []string `json:"excludedTools,omitempty"`
906- Provider * ProviderConfig `json:"provider,omitempty"`
907- RequestPermission * bool `json:"requestPermission,omitempty"`
908- RequestUserInput * bool `json:"requestUserInput,omitempty"`
909- Hooks * bool `json:"hooks,omitempty"`
910- WorkingDirectory string `json:"workingDirectory,omitempty"`
911- ConfigDir string `json:"configDir,omitempty"`
912- DisableResume * bool `json:"disableResume,omitempty"`
913- Streaming * bool `json:"streaming,omitempty"`
914- MCPServers map [string ]MCPServerConfig `json:"mcpServers,omitempty"`
915- EnvValueMode string `json:"envValueMode,omitempty"`
916- CustomAgents []CustomAgentConfig `json:"customAgents,omitempty"`
917- Agent string `json:"agent,omitempty"`
898+ SessionID string `json:"sessionId"`
899+ ClientName string `json:"clientName,omitempty"`
900+ Model string `json:"model,omitempty"`
901+ ReasoningEffort string `json:"reasoningEffort,omitempty"`
902+ Tools []Tool `json:"tools,omitempty"`
903+ SystemMessage * SystemMessageConfig `json:"systemMessage,omitempty"`
904+ AvailableTools []string `json:"availableTools"`
905+ ExcludedTools []string `json:"excludedTools,omitempty"`
906+ Provider * ProviderConfig `json:"provider,omitempty"`
907+ RequestPermission * bool `json:"requestPermission,omitempty"`
908+ RequestUserInput * bool `json:"requestUserInput,omitempty"`
909+ Hooks * bool `json:"hooks,omitempty"`
910+ WorkingDirectory string `json:"workingDirectory,omitempty"`
911+ ConfigDir string `json:"configDir,omitempty"`
912+ DisableResume * bool `json:"disableResume,omitempty"`
913+ Streaming * bool `json:"streaming,omitempty"`
914+ MCPServers map [string ]MCPServerConfig `json:"mcpServers,omitempty"`
915+ EnvValueMode string `json:"envValueMode,omitempty"`
916+ CustomAgents []CustomAgentConfig `json:"customAgents,omitempty"`
917+ Agent string `json:"agent,omitempty"`
918918 SkillDirectories []string `json:"skillDirectories,omitempty"`
919919 DisabledSkills []string `json:"disabledSkills,omitempty"`
920920 InfiniteSessions * InfiniteSessionConfig `json:"infiniteSessions,omitempty"`
0 commit comments