Skip to main content

Crate hanzo_app_server_protocol

Crate hanzo_app_server_protocol 

Source
Expand description

Compatibility shim for the legacy hanzo_app_server_protocol crate. This crate re-exports the MCP protocol surface that downstream crates still depend on while the fork finishes migrating to the new structure.

Modules§

mcp_protocol

Structs§

AddConversationListenerParams
AddConversationSubscriptionResponse
ApplyPatchApprovalParams
ApplyPatchApprovalResponse
ArchiveConversationParams
The ConversationId must match the rollout_path.
ArchiveConversationResponse
CancelLoginChatGptParams
CancelLoginChatGptResponse
ClientInfo
ConversationId
ExecCommandApprovalParams
ExecCommandApprovalResponse
GetAuthStatusParams
GetAuthStatusResponse
GetUserAgentResponse
GetUserSavedConfigResponse
GitDiffToRemoteParams
GitDiffToRemoteResponse
GitSha
InitializeParams
InterruptConversationParams
InterruptConversationResponse
JSONRPCError
A response to a request that indicates an error occurred.
JSONRPCErrorError
JSONRPCNotification
A notification which does not expect a response.
JSONRPCRequest
A request that expects a response.
JSONRPCResponse
A successful (non-error) response to a request.
ListConversationsParams
ListConversationsResponse
LoginApiKeyParams
LoginChatGptCompleteNotification
LoginChatGptResponse
LogoutChatGptParams
LogoutChatGptResponse
NewConversationParams
NewConversationResponse
Profile
MCP representation of a [hanzo_core::config_profile::ConfigProfile].
RemoveConversationListenerParams
RemoveConversationSubscriptionResponse
ResumeConversationParams
ResumeConversationResponse
SandboxSettings
MCP representation of a [hanzo_core::config_types::SandboxWorkspaceWrite].
SendUserMessageParams
SendUserMessageResponse
SendUserTurnParams
SendUserTurnResponse
SessionConfiguredNotification
SetDefaultModelParams
SetDefaultModelResponse
Tools
MCP representation of a [hanzo_core::config::ToolsToml].
UserInfoResponse
UserSavedConfig
UserSavedConfig contains a subset of the config. It is meant to expose mcp client-configurable settings that can be specified in the NewConversation and SendUserTurn requests.

Enums§

AuthMode
ClientNotification
Notification sent from the client to the server.
ClientRequest
Request from the client to the server.
InputItem
JSONRPCMessage
Refers to any valid JSON-RPC object that can be decoded off the wire, or encoded to be sent.
RequestId
ServerNotification
Notification sent from the server to the client.
ServerRequest
Request initiated from the server and sent to the client.

Constants§

APPLY_PATCH_APPROVAL_METHOD
EXEC_COMMAND_APPROVAL_METHOD