Documentation
¶
Index ¶
- Variables
- type Agent
- type AgentChoiceEvent
- func (*AgentChoiceEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AgentChoiceEvent) GetAgentName() string
- func (x *AgentChoiceEvent) GetContent() string
- func (*AgentChoiceEvent) ProtoMessage()
- func (x *AgentChoiceEvent) ProtoReflect() protoreflect.Message
- func (x *AgentChoiceEvent) Reset()
- func (x *AgentChoiceEvent) String() string
- type AgentChoiceReasoningEvent
- func (*AgentChoiceReasoningEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AgentChoiceReasoningEvent) GetAgentName() string
- func (x *AgentChoiceReasoningEvent) GetContent() string
- func (*AgentChoiceReasoningEvent) ProtoMessage()
- func (x *AgentChoiceReasoningEvent) ProtoReflect() protoreflect.Message
- func (x *AgentChoiceReasoningEvent) Reset()
- func (x *AgentChoiceReasoningEvent) String() string
- type AgentDetails
- func (*AgentDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AgentDetails) GetDescription() string
- func (x *AgentDetails) GetModel() string
- func (x *AgentDetails) GetName() string
- func (x *AgentDetails) GetProvider() string
- func (*AgentDetails) ProtoMessage()
- func (x *AgentDetails) ProtoReflect() protoreflect.Message
- func (x *AgentDetails) Reset()
- func (x *AgentDetails) String() string
- type AgentInfoEvent
- func (*AgentInfoEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfoEvent) GetAgentName() string
- func (x *AgentInfoEvent) GetDescription() string
- func (x *AgentInfoEvent) GetModel() string
- func (x *AgentInfoEvent) GetWelcomeMessage() string
- func (*AgentInfoEvent) ProtoMessage()
- func (x *AgentInfoEvent) ProtoReflect() protoreflect.Message
- func (x *AgentInfoEvent) Reset()
- func (x *AgentInfoEvent) String() string
- type AgentSwitchingEvent
- func (*AgentSwitchingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AgentSwitchingEvent) GetAgentName() string
- func (x *AgentSwitchingEvent) GetFromAgent() string
- func (x *AgentSwitchingEvent) GetSwitching() bool
- func (x *AgentSwitchingEvent) GetToAgent() string
- func (*AgentSwitchingEvent) ProtoMessage()
- func (x *AgentSwitchingEvent) ProtoReflect() protoreflect.Message
- func (x *AgentSwitchingEvent) Reset()
- func (x *AgentSwitchingEvent) String() string
- type AuthorizationEvent
- func (*AuthorizationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationEvent) GetAgentName() string
- func (x *AuthorizationEvent) GetConfirmation() string
- func (*AuthorizationEvent) ProtoMessage()
- func (x *AuthorizationEvent) ProtoReflect() protoreflect.Message
- func (x *AuthorizationEvent) Reset()
- func (x *AuthorizationEvent) String() string
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetMaxIterations() int32
- func (x *CreateSessionRequest) GetToolsApproved() bool
- func (x *CreateSessionRequest) GetWorkingDir() string
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionResponse) GetSession() *Session
- func (*CreateSessionResponse) ProtoMessage()
- func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSessionResponse) Reset()
- func (x *CreateSessionResponse) String() string
- type DeleteSessionRequest
- func (*DeleteSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSessionRequest) GetId() string
- func (*DeleteSessionRequest) ProtoMessage()
- func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionRequest) Reset()
- func (x *DeleteSessionRequest) String() string
- type DeleteSessionResponse
- type ElicitationRequestEvent
- func (*ElicitationRequestEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ElicitationRequestEvent) GetAgentName() string
- func (x *ElicitationRequestEvent) GetMessage() string
- func (x *ElicitationRequestEvent) GetMetaJson() []byte
- func (x *ElicitationRequestEvent) GetSchemaJson() []byte
- func (*ElicitationRequestEvent) ProtoMessage()
- func (x *ElicitationRequestEvent) ProtoReflect() protoreflect.Message
- func (x *ElicitationRequestEvent) Reset()
- func (x *ElicitationRequestEvent) String() string
- type ErrorEvent
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAgentChoice() *AgentChoiceEvent
- func (x *Event) GetAgentChoiceReasoning() *AgentChoiceReasoningEvent
- func (x *Event) GetAgentInfo() *AgentInfoEvent
- func (x *Event) GetAgentSwitching() *AgentSwitchingEvent
- func (x *Event) GetAuthorization() *AuthorizationEvent
- func (x *Event) GetElicitationRequest() *ElicitationRequestEvent
- func (x *Event) GetError() *ErrorEvent
- func (x *Event) GetEvent() isEvent_Event
- func (x *Event) GetHookBlocked() *HookBlockedEvent
- func (x *Event) GetMaxIterationsReached() *MaxIterationsReachedEvent
- func (x *Event) GetMcpInitFinished() *MCPInitFinishedEvent
- func (x *Event) GetMcpInitStarted() *MCPInitStartedEvent
- func (x *Event) GetPartialToolCall() *PartialToolCallEvent
- func (x *Event) GetRagIndexingCompleted() *RAGIndexingCompletedEvent
- func (x *Event) GetRagIndexingProgress() *RAGIndexingProgressEvent
- func (x *Event) GetRagIndexingStarted() *RAGIndexingStartedEvent
- func (x *Event) GetSessionCompaction() *SessionCompactionEvent
- func (x *Event) GetSessionSummary() *SessionSummaryEvent
- func (x *Event) GetSessionTitle() *SessionTitleEvent
- func (x *Event) GetShellOutput() *ShellOutputEvent
- func (x *Event) GetStreamStarted() *StreamStartedEvent
- func (x *Event) GetStreamStopped() *StreamStoppedEvent
- func (x *Event) GetTeamInfo() *TeamInfoEvent
- func (x *Event) GetTokenUsage() *TokenUsageEvent
- func (x *Event) GetToolCall() *ToolCallEvent
- func (x *Event) GetToolCallConfirmation() *ToolCallConfirmationEvent
- func (x *Event) GetToolCallResponse() *ToolCallResponseEvent
- func (x *Event) GetToolsetInfo() *ToolsetInfoEvent
- func (x *Event) GetUserMessage() *UserMessageEvent
- func (x *Event) GetWarning() *WarningEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_AgentChoice
- type Event_AgentChoiceReasoning
- type Event_AgentInfo
- type Event_AgentSwitching
- type Event_Authorization
- type Event_ElicitationRequest
- type Event_Error
- type Event_HookBlocked
- type Event_MaxIterationsReached
- type Event_McpInitFinished
- type Event_McpInitStarted
- type Event_PartialToolCall
- type Event_RagIndexingCompleted
- type Event_RagIndexingProgress
- type Event_RagIndexingStarted
- type Event_SessionCompaction
- type Event_SessionSummary
- type Event_SessionTitle
- type Event_ShellOutput
- type Event_StreamStarted
- type Event_StreamStopped
- type Event_TeamInfo
- type Event_TokenUsage
- type Event_ToolCall
- type Event_ToolCallConfirmation
- type Event_ToolCallResponse
- type Event_ToolsetInfo
- type Event_UserMessage
- type Event_Warning
- type FunctionCall
- func (*FunctionCall) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCall) GetArguments() string
- func (x *FunctionCall) GetName() string
- func (*FunctionCall) ProtoMessage()
- func (x *FunctionCall) ProtoReflect() protoreflect.Message
- func (x *FunctionCall) Reset()
- func (x *FunctionCall) String() string
- type GetAgentRequest
- type GetAgentResponse
- type GetSessionRequest
- type GetSessionResponse
- func (*GetSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionResponse) GetSession() *Session
- func (*GetSessionResponse) ProtoMessage()
- func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionResponse) Reset()
- func (x *GetSessionResponse) String() string
- type HookBlockedEvent
- func (*HookBlockedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *HookBlockedEvent) GetAgentName() string
- func (x *HookBlockedEvent) GetMessage() string
- func (x *HookBlockedEvent) GetToolCall() *ToolCall
- func (x *HookBlockedEvent) GetToolDefinition() *Tool
- func (*HookBlockedEvent) ProtoMessage()
- func (x *HookBlockedEvent) ProtoReflect() protoreflect.Message
- func (x *HookBlockedEvent) Reset()
- func (x *HookBlockedEvent) String() string
- type InputMessage
- func (*InputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InputMessage) GetContent() string
- func (x *InputMessage) GetMultiContent() []*MessagePart
- func (x *InputMessage) GetRole() string
- func (*InputMessage) ProtoMessage()
- func (x *InputMessage) ProtoReflect() protoreflect.Message
- func (x *InputMessage) Reset()
- func (x *InputMessage) String() string
- type ListAgentsRequest
- type ListAgentsResponse
- func (*ListAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentsResponse) GetAgents() []*Agent
- func (*ListAgentsResponse) ProtoMessage()
- func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentsResponse) Reset()
- func (x *ListAgentsResponse) String() string
- type ListSessionsRequest
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetSessions() []*SessionSummary
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type MCPInitFinishedEvent
- func (*MCPInitFinishedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MCPInitFinishedEvent) GetAgentName() string
- func (*MCPInitFinishedEvent) ProtoMessage()
- func (x *MCPInitFinishedEvent) ProtoReflect() protoreflect.Message
- func (x *MCPInitFinishedEvent) Reset()
- func (x *MCPInitFinishedEvent) String() string
- type MCPInitStartedEvent
- func (*MCPInitStartedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MCPInitStartedEvent) GetAgentName() string
- func (*MCPInitStartedEvent) ProtoMessage()
- func (x *MCPInitStartedEvent) ProtoReflect() protoreflect.Message
- func (x *MCPInitStartedEvent) Reset()
- func (x *MCPInitStartedEvent) String() string
- type MaxIterationsReachedEvent
- func (*MaxIterationsReachedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MaxIterationsReachedEvent) GetAgentName() string
- func (x *MaxIterationsReachedEvent) GetMaxIterations() int32
- func (*MaxIterationsReachedEvent) ProtoMessage()
- func (x *MaxIterationsReachedEvent) ProtoReflect() protoreflect.Message
- func (x *MaxIterationsReachedEvent) Reset()
- func (x *MaxIterationsReachedEvent) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetAgentName() string
- func (x *Message) GetContent() string
- func (x *Message) GetCreatedAt() string
- func (x *Message) GetReasoningContent() string
- func (x *Message) GetRole() string
- func (x *Message) GetToolCallId() string
- func (x *Message) GetToolCalls() []*ToolCall
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessagePart
- func (*MessagePart) Descriptor() ([]byte, []int)deprecated
- func (x *MessagePart) GetImageUrl() string
- func (x *MessagePart) GetText() string
- func (x *MessagePart) GetType() string
- func (*MessagePart) ProtoMessage()
- func (x *MessagePart) ProtoReflect() protoreflect.Message
- func (x *MessagePart) Reset()
- func (x *MessagePart) String() string
- type PartialToolCallEvent
- func (*PartialToolCallEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PartialToolCallEvent) GetAgentName() string
- func (x *PartialToolCallEvent) GetToolCall() *ToolCall
- func (x *PartialToolCallEvent) GetToolDefinition() *Tool
- func (*PartialToolCallEvent) ProtoMessage()
- func (x *PartialToolCallEvent) ProtoReflect() protoreflect.Message
- func (x *PartialToolCallEvent) Reset()
- func (x *PartialToolCallEvent) String() string
- type PingRequest
- type PingResponse
- type RAGIndexingCompletedEvent
- func (*RAGIndexingCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RAGIndexingCompletedEvent) GetAgentName() string
- func (x *RAGIndexingCompletedEvent) GetRagName() string
- func (x *RAGIndexingCompletedEvent) GetStrategyName() string
- func (*RAGIndexingCompletedEvent) ProtoMessage()
- func (x *RAGIndexingCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *RAGIndexingCompletedEvent) Reset()
- func (x *RAGIndexingCompletedEvent) String() string
- type RAGIndexingProgressEvent
- func (*RAGIndexingProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RAGIndexingProgressEvent) GetAgentName() string
- func (x *RAGIndexingProgressEvent) GetCurrent() int32
- func (x *RAGIndexingProgressEvent) GetRagName() string
- func (x *RAGIndexingProgressEvent) GetStrategyName() string
- func (x *RAGIndexingProgressEvent) GetTotal() int32
- func (*RAGIndexingProgressEvent) ProtoMessage()
- func (x *RAGIndexingProgressEvent) ProtoReflect() protoreflect.Message
- func (x *RAGIndexingProgressEvent) Reset()
- func (x *RAGIndexingProgressEvent) String() string
- type RAGIndexingStartedEvent
- func (*RAGIndexingStartedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RAGIndexingStartedEvent) GetAgentName() string
- func (x *RAGIndexingStartedEvent) GetRagName() string
- func (x *RAGIndexingStartedEvent) GetStrategyName() string
- func (*RAGIndexingStartedEvent) ProtoMessage()
- func (x *RAGIndexingStartedEvent) ProtoReflect() protoreflect.Message
- func (x *RAGIndexingStartedEvent) Reset()
- func (x *RAGIndexingStartedEvent) String() string
- type ResumeElicitationRequest
- func (*ResumeElicitationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeElicitationRequest) GetAction() string
- func (x *ResumeElicitationRequest) GetContentJson() []byte
- func (x *ResumeElicitationRequest) GetSessionId() string
- func (*ResumeElicitationRequest) ProtoMessage()
- func (x *ResumeElicitationRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeElicitationRequest) Reset()
- func (x *ResumeElicitationRequest) String() string
- type ResumeElicitationResponse
- type ResumeSessionRequest
- func (*ResumeSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeSessionRequest) GetConfirmation() string
- func (x *ResumeSessionRequest) GetId() string
- func (*ResumeSessionRequest) ProtoMessage()
- func (x *ResumeSessionRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeSessionRequest) Reset()
- func (x *ResumeSessionRequest) String() string
- type ResumeSessionResponse
- type RunAgentRequest
- func (*RunAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunAgentRequest) GetAgent() string
- func (x *RunAgentRequest) GetAgentName() string
- func (x *RunAgentRequest) GetMessages() []*InputMessage
- func (x *RunAgentRequest) GetSessionId() string
- func (*RunAgentRequest) ProtoMessage()
- func (x *RunAgentRequest) ProtoReflect() protoreflect.Message
- func (x *RunAgentRequest) Reset()
- func (x *RunAgentRequest) String() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCreatedAt() string
- func (x *Session) GetId() string
- func (x *Session) GetInputTokens() int64
- func (x *Session) GetMessages() []*Message
- func (x *Session) GetOutputTokens() int64
- func (x *Session) GetTitle() string
- func (x *Session) GetToolsApproved() bool
- func (x *Session) GetWorkingDir() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionCompactionEvent
- func (*SessionCompactionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SessionCompactionEvent) GetAgentName() string
- func (x *SessionCompactionEvent) GetSessionId() string
- func (x *SessionCompactionEvent) GetStatus() string
- func (*SessionCompactionEvent) ProtoMessage()
- func (x *SessionCompactionEvent) ProtoReflect() protoreflect.Message
- func (x *SessionCompactionEvent) Reset()
- func (x *SessionCompactionEvent) String() string
- type SessionSummary
- func (*SessionSummary) Descriptor() ([]byte, []int)deprecated
- func (x *SessionSummary) GetCreatedAt() string
- func (x *SessionSummary) GetId() string
- func (x *SessionSummary) GetInputTokens() int64
- func (x *SessionSummary) GetNumMessages() int32
- func (x *SessionSummary) GetOutputTokens() int64
- func (x *SessionSummary) GetTitle() string
- func (x *SessionSummary) GetWorkingDir() string
- func (*SessionSummary) ProtoMessage()
- func (x *SessionSummary) ProtoReflect() protoreflect.Message
- func (x *SessionSummary) Reset()
- func (x *SessionSummary) String() string
- type SessionSummaryEvent
- func (*SessionSummaryEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SessionSummaryEvent) GetAgentName() string
- func (x *SessionSummaryEvent) GetSessionId() string
- func (x *SessionSummaryEvent) GetSummary() string
- func (*SessionSummaryEvent) ProtoMessage()
- func (x *SessionSummaryEvent) ProtoReflect() protoreflect.Message
- func (x *SessionSummaryEvent) Reset()
- func (x *SessionSummaryEvent) String() string
- type SessionTitleEvent
- func (*SessionTitleEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SessionTitleEvent) GetAgentName() string
- func (x *SessionTitleEvent) GetSessionId() string
- func (x *SessionTitleEvent) GetTitle() string
- func (*SessionTitleEvent) ProtoMessage()
- func (x *SessionTitleEvent) ProtoReflect() protoreflect.Message
- func (x *SessionTitleEvent) Reset()
- func (x *SessionTitleEvent) String() string
- type ShellOutputEvent
- type StreamStartedEvent
- func (*StreamStartedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStartedEvent) GetAgentName() string
- func (x *StreamStartedEvent) GetSessionId() string
- func (*StreamStartedEvent) ProtoMessage()
- func (x *StreamStartedEvent) ProtoReflect() protoreflect.Message
- func (x *StreamStartedEvent) Reset()
- func (x *StreamStartedEvent) String() string
- type StreamStoppedEvent
- func (*StreamStoppedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StreamStoppedEvent) GetAgentName() string
- func (x *StreamStoppedEvent) GetSessionId() string
- func (*StreamStoppedEvent) ProtoMessage()
- func (x *StreamStoppedEvent) ProtoReflect() protoreflect.Message
- func (x *StreamStoppedEvent) Reset()
- func (x *StreamStoppedEvent) String() string
- type TeamInfoEvent
- func (*TeamInfoEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TeamInfoEvent) GetAgentName() string
- func (x *TeamInfoEvent) GetAvailableAgents() []*AgentDetails
- func (x *TeamInfoEvent) GetCurrentAgent() string
- func (*TeamInfoEvent) ProtoMessage()
- func (x *TeamInfoEvent) ProtoReflect() protoreflect.Message
- func (x *TeamInfoEvent) Reset()
- func (x *TeamInfoEvent) String() string
- type ToggleToolApprovalRequest
- func (*ToggleToolApprovalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleToolApprovalRequest) GetSessionId() string
- func (*ToggleToolApprovalRequest) ProtoMessage()
- func (x *ToggleToolApprovalRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleToolApprovalRequest) Reset()
- func (x *ToggleToolApprovalRequest) String() string
- type ToggleToolApprovalResponse
- type TokenUsageEvent
- func (*TokenUsageEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TokenUsageEvent) GetAgentName() string
- func (x *TokenUsageEvent) GetSessionId() string
- func (x *TokenUsageEvent) GetUsage() *Usage
- func (*TokenUsageEvent) ProtoMessage()
- func (x *TokenUsageEvent) ProtoReflect() protoreflect.Message
- func (x *TokenUsageEvent) Reset()
- func (x *TokenUsageEvent) String() string
- type Tool
- func (*Tool) Descriptor() ([]byte, []int)deprecated
- func (x *Tool) GetAnnotations() *ToolAnnotations
- func (x *Tool) GetCategory() string
- func (x *Tool) GetDescription() string
- func (x *Tool) GetName() string
- func (x *Tool) GetOutputSchemaJson() []byte
- func (x *Tool) GetParametersJson() []byte
- func (*Tool) ProtoMessage()
- func (x *Tool) ProtoReflect() protoreflect.Message
- func (x *Tool) Reset()
- func (x *Tool) String() string
- type ToolAnnotations
- func (*ToolAnnotations) Descriptor() ([]byte, []int)deprecated
- func (x *ToolAnnotations) GetDestructiveHint() bool
- func (x *ToolAnnotations) GetIdempotentHint() bool
- func (x *ToolAnnotations) GetOpenWorldHint() bool
- func (x *ToolAnnotations) GetReadOnlyHint() bool
- func (*ToolAnnotations) ProtoMessage()
- func (x *ToolAnnotations) ProtoReflect() protoreflect.Message
- func (x *ToolAnnotations) Reset()
- func (x *ToolAnnotations) String() string
- type ToolCall
- func (*ToolCall) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCall) GetFunction() *FunctionCall
- func (x *ToolCall) GetId() string
- func (x *ToolCall) GetType() string
- func (*ToolCall) ProtoMessage()
- func (x *ToolCall) ProtoReflect() protoreflect.Message
- func (x *ToolCall) Reset()
- func (x *ToolCall) String() string
- type ToolCallConfirmationEvent
- func (*ToolCallConfirmationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCallConfirmationEvent) GetAgentName() string
- func (x *ToolCallConfirmationEvent) GetToolCall() *ToolCall
- func (x *ToolCallConfirmationEvent) GetToolDefinition() *Tool
- func (*ToolCallConfirmationEvent) ProtoMessage()
- func (x *ToolCallConfirmationEvent) ProtoReflect() protoreflect.Message
- func (x *ToolCallConfirmationEvent) Reset()
- func (x *ToolCallConfirmationEvent) String() string
- type ToolCallEvent
- func (*ToolCallEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCallEvent) GetAgentName() string
- func (x *ToolCallEvent) GetToolCall() *ToolCall
- func (x *ToolCallEvent) GetToolDefinition() *Tool
- func (*ToolCallEvent) ProtoMessage()
- func (x *ToolCallEvent) ProtoReflect() protoreflect.Message
- func (x *ToolCallEvent) Reset()
- func (x *ToolCallEvent) String() string
- type ToolCallResponseEvent
- func (*ToolCallResponseEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCallResponseEvent) GetAgentName() string
- func (x *ToolCallResponseEvent) GetResponse() string
- func (x *ToolCallResponseEvent) GetResult() *ToolCallResult
- func (x *ToolCallResponseEvent) GetToolCall() *ToolCall
- func (x *ToolCallResponseEvent) GetToolDefinition() *Tool
- func (*ToolCallResponseEvent) ProtoMessage()
- func (x *ToolCallResponseEvent) ProtoReflect() protoreflect.Message
- func (x *ToolCallResponseEvent) Reset()
- func (x *ToolCallResponseEvent) String() string
- type ToolCallResult
- func (*ToolCallResult) Descriptor() ([]byte, []int)deprecated
- func (x *ToolCallResult) GetIsError() bool
- func (x *ToolCallResult) GetMetaJson() []byte
- func (x *ToolCallResult) GetOutput() string
- func (*ToolCallResult) ProtoMessage()
- func (x *ToolCallResult) ProtoReflect() protoreflect.Message
- func (x *ToolCallResult) Reset()
- func (x *ToolCallResult) String() string
- type ToolsetInfoEvent
- func (*ToolsetInfoEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolsetInfoEvent) GetAgentName() string
- func (x *ToolsetInfoEvent) GetAvailableTools() int32
- func (x *ToolsetInfoEvent) GetLoading() bool
- func (*ToolsetInfoEvent) ProtoMessage()
- func (x *ToolsetInfoEvent) ProtoReflect() protoreflect.Message
- func (x *ToolsetInfoEvent) Reset()
- func (x *ToolsetInfoEvent) String() string
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)deprecated
- func (x *Usage) GetContextLength() int64
- func (x *Usage) GetContextLimit() int64
- func (x *Usage) GetCost() float64
- func (x *Usage) GetInputTokens() int64
- func (x *Usage) GetOutputTokens() int64
- func (*Usage) ProtoMessage()
- func (x *Usage) ProtoReflect() protoreflect.Message
- func (x *Usage) Reset()
- func (x *Usage) String() string
- type UserMessageEvent
- type WarningEvent
- func (*WarningEvent) Descriptor() ([]byte, []int)deprecated
- func (x *WarningEvent) GetAgentName() string
- func (x *WarningEvent) GetMessage() string
- func (*WarningEvent) ProtoMessage()
- func (x *WarningEvent) ProtoReflect() protoreflect.Message
- func (x *WarningEvent) Reset()
- func (x *WarningEvent) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cagent_v1_cagent_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Multi bool `protobuf:"varint,3,opt,name=multi,proto3" json:"multi,omitempty"`
// contains filtered or unexported fields
}
Agent represents an agent in the system.
func (*Agent) Descriptor
deprecated
func (*Agent) GetDescription ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type AgentChoiceEvent ¶
type AgentChoiceEvent struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
AgentChoiceEvent is sent when the agent produces content.
func (*AgentChoiceEvent) Descriptor
deprecated
func (*AgentChoiceEvent) Descriptor() ([]byte, []int)
Deprecated: Use AgentChoiceEvent.ProtoReflect.Descriptor instead.
func (*AgentChoiceEvent) GetAgentName ¶
func (x *AgentChoiceEvent) GetAgentName() string
func (*AgentChoiceEvent) GetContent ¶
func (x *AgentChoiceEvent) GetContent() string
func (*AgentChoiceEvent) ProtoMessage ¶
func (*AgentChoiceEvent) ProtoMessage()
func (*AgentChoiceEvent) ProtoReflect ¶
func (x *AgentChoiceEvent) ProtoReflect() protoreflect.Message
func (*AgentChoiceEvent) Reset ¶
func (x *AgentChoiceEvent) Reset()
func (*AgentChoiceEvent) String ¶
func (x *AgentChoiceEvent) String() string
type AgentChoiceReasoningEvent ¶
type AgentChoiceReasoningEvent struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
AgentChoiceReasoningEvent is sent when the agent produces reasoning content.
func (*AgentChoiceReasoningEvent) Descriptor
deprecated
func (*AgentChoiceReasoningEvent) Descriptor() ([]byte, []int)
Deprecated: Use AgentChoiceReasoningEvent.ProtoReflect.Descriptor instead.
func (*AgentChoiceReasoningEvent) GetAgentName ¶
func (x *AgentChoiceReasoningEvent) GetAgentName() string
func (*AgentChoiceReasoningEvent) GetContent ¶
func (x *AgentChoiceReasoningEvent) GetContent() string
func (*AgentChoiceReasoningEvent) ProtoMessage ¶
func (*AgentChoiceReasoningEvent) ProtoMessage()
func (*AgentChoiceReasoningEvent) ProtoReflect ¶
func (x *AgentChoiceReasoningEvent) ProtoReflect() protoreflect.Message
func (*AgentChoiceReasoningEvent) Reset ¶
func (x *AgentChoiceReasoningEvent) Reset()
func (*AgentChoiceReasoningEvent) String ¶
func (x *AgentChoiceReasoningEvent) String() string
type AgentDetails ¶
type AgentDetails struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
// contains filtered or unexported fields
}
AgentDetails contains information about an agent.
func (*AgentDetails) Descriptor
deprecated
func (*AgentDetails) Descriptor() ([]byte, []int)
Deprecated: Use AgentDetails.ProtoReflect.Descriptor instead.
func (*AgentDetails) GetDescription ¶
func (x *AgentDetails) GetDescription() string
func (*AgentDetails) GetModel ¶
func (x *AgentDetails) GetModel() string
func (*AgentDetails) GetName ¶
func (x *AgentDetails) GetName() string
func (*AgentDetails) GetProvider ¶
func (x *AgentDetails) GetProvider() string
func (*AgentDetails) ProtoMessage ¶
func (*AgentDetails) ProtoMessage()
func (*AgentDetails) ProtoReflect ¶
func (x *AgentDetails) ProtoReflect() protoreflect.Message
func (*AgentDetails) Reset ¶
func (x *AgentDetails) Reset()
func (*AgentDetails) String ¶
func (x *AgentDetails) String() string
type AgentInfoEvent ¶
type AgentInfoEvent struct {
AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
WelcomeMessage string `protobuf:"bytes,4,opt,name=welcome_message,json=welcomeMessage,proto3" json:"welcome_message,omitempty"`
// contains filtered or unexported fields
}
AgentInfoEvent is sent when agent information is available.
func (*AgentInfoEvent) Descriptor
deprecated
func (*AgentInfoEvent) Descriptor() ([]byte, []int)
Deprecated: Use AgentInfoEvent.ProtoReflect.Descriptor instead.
func (*AgentInfoEvent) GetAgentName ¶
func (x *AgentInfoEvent) GetAgentName() string
func (*AgentInfoEvent) GetDescription ¶
func (x *AgentInfoEvent) GetDescription() string
func (*AgentInfoEvent) GetModel ¶
func (x *AgentInfoEvent) GetModel() string
func (*AgentInfoEvent) GetWelcomeMessage ¶
func (x *AgentInfoEvent) GetWelcomeMessage() string
func (*AgentInfoEvent) ProtoMessage ¶
func (*AgentInfoEvent) ProtoMessage()
func (*AgentInfoEvent) ProtoReflect ¶
func (x *AgentInfoEvent) ProtoReflect() protoreflect.Message
func (*AgentInfoEvent) Reset ¶
func (x *AgentInfoEvent) Reset()
func (*AgentInfoEvent) String ¶
func (x *AgentInfoEvent) String() string
type AgentSwitchingEvent ¶
type AgentSwitchingEvent struct {
Switching bool `protobuf:"varint,1,opt,name=switching,proto3" json:"switching,omitempty"`
FromAgent string `protobuf:"bytes,2,opt,name=from_agent,json=fromAgent,proto3" json:"from_agent,omitempty"`
ToAgent string `protobuf:"bytes,3,opt,name=to_agent,json=toAgent,proto3" json:"to_agent,omitempty"`
AgentName string `protobuf:"bytes,4,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
AgentSwitchingEvent is sent when agent switching occurs.
func (*AgentSwitchingEvent) Descriptor
deprecated
func (*AgentSwitchingEvent) Descriptor() ([]byte, []int)
Deprecated: Use AgentSwitchingEvent.ProtoReflect.Descriptor instead.
func (*AgentSwitchingEvent) GetAgentName ¶
func (x *AgentSwitchingEvent) GetAgentName() string
func (*AgentSwitchingEvent) GetFromAgent ¶
func (x *AgentSwitchingEvent) GetFromAgent() string
func (*AgentSwitchingEvent) GetSwitching ¶
func (x *AgentSwitchingEvent) GetSwitching() bool
func (*AgentSwitchingEvent) GetToAgent ¶
func (x *AgentSwitchingEvent) GetToAgent() string
func (*AgentSwitchingEvent) ProtoMessage ¶
func (*AgentSwitchingEvent) ProtoMessage()
func (*AgentSwitchingEvent) ProtoReflect ¶
func (x *AgentSwitchingEvent) ProtoReflect() protoreflect.Message
func (*AgentSwitchingEvent) Reset ¶
func (x *AgentSwitchingEvent) Reset()
func (*AgentSwitchingEvent) String ¶
func (x *AgentSwitchingEvent) String() string
type AuthorizationEvent ¶
type AuthorizationEvent struct {
Confirmation string `protobuf:"bytes,1,opt,name=confirmation,proto3" json:"confirmation,omitempty"` // "accept", "decline", or "cancel"
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
AuthorizationEvent is sent for authorization events.
func (*AuthorizationEvent) Descriptor
deprecated
func (*AuthorizationEvent) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationEvent.ProtoReflect.Descriptor instead.
func (*AuthorizationEvent) GetAgentName ¶
func (x *AuthorizationEvent) GetAgentName() string
func (*AuthorizationEvent) GetConfirmation ¶
func (x *AuthorizationEvent) GetConfirmation() string
func (*AuthorizationEvent) ProtoMessage ¶
func (*AuthorizationEvent) ProtoMessage()
func (*AuthorizationEvent) ProtoReflect ¶
func (x *AuthorizationEvent) ProtoReflect() protoreflect.Message
func (*AuthorizationEvent) Reset ¶
func (x *AuthorizationEvent) Reset()
func (*AuthorizationEvent) String ¶
func (x *AuthorizationEvent) String() string
type CreateSessionRequest ¶
type CreateSessionRequest struct {
MaxIterations int32 `protobuf:"varint,1,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"`
ToolsApproved bool `protobuf:"varint,2,opt,name=tools_approved,json=toolsApproved,proto3" json:"tools_approved,omitempty"`
WorkingDir string `protobuf:"bytes,3,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// contains filtered or unexported fields
}
CreateSessionRequest is the request for CreateSession.
func (*CreateSessionRequest) Descriptor
deprecated
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) GetMaxIterations ¶
func (x *CreateSessionRequest) GetMaxIterations() int32
func (*CreateSessionRequest) GetToolsApproved ¶
func (x *CreateSessionRequest) GetToolsApproved() bool
func (*CreateSessionRequest) GetWorkingDir ¶
func (x *CreateSessionRequest) GetWorkingDir() string
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) ProtoReflect ¶
func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionRequest) Reset ¶
func (x *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶
func (x *CreateSessionRequest) String() string
type CreateSessionResponse ¶
type CreateSessionResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
CreateSessionResponse is the response for CreateSession.
func (*CreateSessionResponse) Descriptor
deprecated
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateSessionResponse) GetSession ¶
func (x *CreateSessionResponse) GetSession() *Session
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) ProtoReflect ¶
func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateSessionResponse) Reset ¶
func (x *CreateSessionResponse) Reset()
func (*CreateSessionResponse) String ¶
func (x *CreateSessionResponse) String() string
type DeleteSessionRequest ¶
type DeleteSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
DeleteSessionRequest is the request for DeleteSession.
func (*DeleteSessionRequest) Descriptor
deprecated
func (*DeleteSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.
func (*DeleteSessionRequest) GetId ¶
func (x *DeleteSessionRequest) GetId() string
func (*DeleteSessionRequest) ProtoMessage ¶
func (*DeleteSessionRequest) ProtoMessage()
func (*DeleteSessionRequest) ProtoReflect ¶
func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message
func (*DeleteSessionRequest) Reset ¶
func (x *DeleteSessionRequest) Reset()
func (*DeleteSessionRequest) String ¶
func (x *DeleteSessionRequest) String() string
type DeleteSessionResponse ¶
type DeleteSessionResponse struct {
// contains filtered or unexported fields
}
DeleteSessionResponse is the response for DeleteSession.
func (*DeleteSessionResponse) Descriptor
deprecated
func (*DeleteSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.
func (*DeleteSessionResponse) ProtoMessage ¶
func (*DeleteSessionResponse) ProtoMessage()
func (*DeleteSessionResponse) ProtoReflect ¶
func (x *DeleteSessionResponse) ProtoReflect() protoreflect.Message
func (*DeleteSessionResponse) Reset ¶
func (x *DeleteSessionResponse) Reset()
func (*DeleteSessionResponse) String ¶
func (x *DeleteSessionResponse) String() string
type ElicitationRequestEvent ¶
type ElicitationRequestEvent struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
SchemaJson []byte `protobuf:"bytes,2,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"` // JSON-encoded schema
MetaJson []byte `protobuf:"bytes,3,opt,name=meta_json,json=metaJson,proto3" json:"meta_json,omitempty"` // JSON-encoded metadata
AgentName string `protobuf:"bytes,4,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
ElicitationRequestEvent is sent when an elicitation request is received.
func (*ElicitationRequestEvent) Descriptor
deprecated
func (*ElicitationRequestEvent) Descriptor() ([]byte, []int)
Deprecated: Use ElicitationRequestEvent.ProtoReflect.Descriptor instead.
func (*ElicitationRequestEvent) GetAgentName ¶
func (x *ElicitationRequestEvent) GetAgentName() string
func (*ElicitationRequestEvent) GetMessage ¶
func (x *ElicitationRequestEvent) GetMessage() string
func (*ElicitationRequestEvent) GetMetaJson ¶
func (x *ElicitationRequestEvent) GetMetaJson() []byte
func (*ElicitationRequestEvent) GetSchemaJson ¶
func (x *ElicitationRequestEvent) GetSchemaJson() []byte
func (*ElicitationRequestEvent) ProtoMessage ¶
func (*ElicitationRequestEvent) ProtoMessage()
func (*ElicitationRequestEvent) ProtoReflect ¶
func (x *ElicitationRequestEvent) ProtoReflect() protoreflect.Message
func (*ElicitationRequestEvent) Reset ¶
func (x *ElicitationRequestEvent) Reset()
func (*ElicitationRequestEvent) String ¶
func (x *ElicitationRequestEvent) String() string
type ErrorEvent ¶
type ErrorEvent struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
ErrorEvent is sent when an error occurs.
func (*ErrorEvent) Descriptor
deprecated
func (*ErrorEvent) Descriptor() ([]byte, []int)
Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead.
func (*ErrorEvent) GetAgentName ¶
func (x *ErrorEvent) GetAgentName() string
func (*ErrorEvent) GetError ¶
func (x *ErrorEvent) GetError() string
func (*ErrorEvent) ProtoMessage ¶
func (*ErrorEvent) ProtoMessage()
func (*ErrorEvent) ProtoReflect ¶
func (x *ErrorEvent) ProtoReflect() protoreflect.Message
func (*ErrorEvent) Reset ¶
func (x *ErrorEvent) Reset()
func (*ErrorEvent) String ¶
func (x *ErrorEvent) String() string
type Event ¶
type Event struct {
// Types that are valid to be assigned to Event:
//
// *Event_UserMessage
// *Event_StreamStarted
// *Event_StreamStopped
// *Event_AgentChoice
// *Event_AgentChoiceReasoning
// *Event_PartialToolCall
// *Event_ToolCall
// *Event_ToolCallConfirmation
// *Event_ToolCallResponse
// *Event_Error
// *Event_Warning
// *Event_TokenUsage
// *Event_SessionTitle
// *Event_SessionSummary
// *Event_SessionCompaction
// *Event_ElicitationRequest
// *Event_Authorization
// *Event_MaxIterationsReached
// *Event_McpInitStarted
// *Event_McpInitFinished
// *Event_AgentInfo
// *Event_TeamInfo
// *Event_AgentSwitching
// *Event_ToolsetInfo
// *Event_RagIndexingStarted
// *Event_RagIndexingProgress
// *Event_RagIndexingCompleted
// *Event_HookBlocked
// *Event_ShellOutput
Event isEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}
Event is a streaming event from the agent. Only one of the event types will be set.
func (*Event) Descriptor
deprecated
func (*Event) GetAgentChoice ¶
func (x *Event) GetAgentChoice() *AgentChoiceEvent
func (*Event) GetAgentChoiceReasoning ¶
func (x *Event) GetAgentChoiceReasoning() *AgentChoiceReasoningEvent
func (*Event) GetAgentInfo ¶
func (x *Event) GetAgentInfo() *AgentInfoEvent
func (*Event) GetAgentSwitching ¶
func (x *Event) GetAgentSwitching() *AgentSwitchingEvent
func (*Event) GetAuthorization ¶
func (x *Event) GetAuthorization() *AuthorizationEvent
func (*Event) GetElicitationRequest ¶
func (x *Event) GetElicitationRequest() *ElicitationRequestEvent
func (*Event) GetError ¶
func (x *Event) GetError() *ErrorEvent
func (*Event) GetHookBlocked ¶
func (x *Event) GetHookBlocked() *HookBlockedEvent
func (*Event) GetMaxIterationsReached ¶
func (x *Event) GetMaxIterationsReached() *MaxIterationsReachedEvent
func (*Event) GetMcpInitFinished ¶
func (x *Event) GetMcpInitFinished() *MCPInitFinishedEvent
func (*Event) GetMcpInitStarted ¶
func (x *Event) GetMcpInitStarted() *MCPInitStartedEvent
func (*Event) GetPartialToolCall ¶
func (x *Event) GetPartialToolCall() *PartialToolCallEvent
func (*Event) GetRagIndexingCompleted ¶
func (x *Event) GetRagIndexingCompleted() *RAGIndexingCompletedEvent
func (*Event) GetRagIndexingProgress ¶
func (x *Event) GetRagIndexingProgress() *RAGIndexingProgressEvent
func (*Event) GetRagIndexingStarted ¶
func (x *Event) GetRagIndexingStarted() *RAGIndexingStartedEvent
func (*Event) GetSessionCompaction ¶
func (x *Event) GetSessionCompaction() *SessionCompactionEvent
func (*Event) GetSessionSummary ¶
func (x *Event) GetSessionSummary() *SessionSummaryEvent
func (*Event) GetSessionTitle ¶
func (x *Event) GetSessionTitle() *SessionTitleEvent
func (*Event) GetShellOutput ¶
func (x *Event) GetShellOutput() *ShellOutputEvent
func (*Event) GetStreamStarted ¶
func (x *Event) GetStreamStarted() *StreamStartedEvent
func (*Event) GetStreamStopped ¶
func (x *Event) GetStreamStopped() *StreamStoppedEvent
func (*Event) GetTeamInfo ¶
func (x *Event) GetTeamInfo() *TeamInfoEvent
func (*Event) GetTokenUsage ¶
func (x *Event) GetTokenUsage() *TokenUsageEvent
func (*Event) GetToolCall ¶
func (x *Event) GetToolCall() *ToolCallEvent
func (*Event) GetToolCallConfirmation ¶
func (x *Event) GetToolCallConfirmation() *ToolCallConfirmationEvent
func (*Event) GetToolCallResponse ¶
func (x *Event) GetToolCallResponse() *ToolCallResponseEvent
func (*Event) GetToolsetInfo ¶
func (x *Event) GetToolsetInfo() *ToolsetInfoEvent
func (*Event) GetUserMessage ¶
func (x *Event) GetUserMessage() *UserMessageEvent
func (*Event) GetWarning ¶
func (x *Event) GetWarning() *WarningEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_AgentChoice ¶
type Event_AgentChoice struct {
AgentChoice *AgentChoiceEvent `protobuf:"bytes,4,opt,name=agent_choice,json=agentChoice,proto3,oneof"`
}
type Event_AgentChoiceReasoning ¶
type Event_AgentChoiceReasoning struct {
AgentChoiceReasoning *AgentChoiceReasoningEvent `protobuf:"bytes,5,opt,name=agent_choice_reasoning,json=agentChoiceReasoning,proto3,oneof"`
}
type Event_AgentInfo ¶
type Event_AgentInfo struct {
AgentInfo *AgentInfoEvent `protobuf:"bytes,21,opt,name=agent_info,json=agentInfo,proto3,oneof"`
}
type Event_AgentSwitching ¶
type Event_AgentSwitching struct {
AgentSwitching *AgentSwitchingEvent `protobuf:"bytes,23,opt,name=agent_switching,json=agentSwitching,proto3,oneof"`
}
type Event_Authorization ¶
type Event_Authorization struct {
Authorization *AuthorizationEvent `protobuf:"bytes,17,opt,name=authorization,proto3,oneof"`
}
type Event_ElicitationRequest ¶
type Event_ElicitationRequest struct {
ElicitationRequest *ElicitationRequestEvent `protobuf:"bytes,16,opt,name=elicitation_request,json=elicitationRequest,proto3,oneof"`
}
type Event_Error ¶
type Event_Error struct {
Error *ErrorEvent `protobuf:"bytes,10,opt,name=error,proto3,oneof"`
}
type Event_HookBlocked ¶
type Event_HookBlocked struct {
HookBlocked *HookBlockedEvent `protobuf:"bytes,28,opt,name=hook_blocked,json=hookBlocked,proto3,oneof"`
}
type Event_MaxIterationsReached ¶
type Event_MaxIterationsReached struct {
MaxIterationsReached *MaxIterationsReachedEvent `protobuf:"bytes,18,opt,name=max_iterations_reached,json=maxIterationsReached,proto3,oneof"`
}
type Event_McpInitFinished ¶
type Event_McpInitFinished struct {
McpInitFinished *MCPInitFinishedEvent `protobuf:"bytes,20,opt,name=mcp_init_finished,json=mcpInitFinished,proto3,oneof"`
}
type Event_McpInitStarted ¶
type Event_McpInitStarted struct {
McpInitStarted *MCPInitStartedEvent `protobuf:"bytes,19,opt,name=mcp_init_started,json=mcpInitStarted,proto3,oneof"`
}
type Event_PartialToolCall ¶
type Event_PartialToolCall struct {
PartialToolCall *PartialToolCallEvent `protobuf:"bytes,6,opt,name=partial_tool_call,json=partialToolCall,proto3,oneof"`
}
type Event_RagIndexingCompleted ¶
type Event_RagIndexingCompleted struct {
RagIndexingCompleted *RAGIndexingCompletedEvent `protobuf:"bytes,27,opt,name=rag_indexing_completed,json=ragIndexingCompleted,proto3,oneof"`
}
type Event_RagIndexingProgress ¶
type Event_RagIndexingProgress struct {
RagIndexingProgress *RAGIndexingProgressEvent `protobuf:"bytes,26,opt,name=rag_indexing_progress,json=ragIndexingProgress,proto3,oneof"`
}
type Event_RagIndexingStarted ¶
type Event_RagIndexingStarted struct {
RagIndexingStarted *RAGIndexingStartedEvent `protobuf:"bytes,25,opt,name=rag_indexing_started,json=ragIndexingStarted,proto3,oneof"`
}
type Event_SessionCompaction ¶
type Event_SessionCompaction struct {
SessionCompaction *SessionCompactionEvent `protobuf:"bytes,15,opt,name=session_compaction,json=sessionCompaction,proto3,oneof"`
}
type Event_SessionSummary ¶
type Event_SessionSummary struct {
SessionSummary *SessionSummaryEvent `protobuf:"bytes,14,opt,name=session_summary,json=sessionSummary,proto3,oneof"`
}
type Event_SessionTitle ¶
type Event_SessionTitle struct {
SessionTitle *SessionTitleEvent `protobuf:"bytes,13,opt,name=session_title,json=sessionTitle,proto3,oneof"`
}
type Event_ShellOutput ¶
type Event_ShellOutput struct {
ShellOutput *ShellOutputEvent `protobuf:"bytes,29,opt,name=shell_output,json=shellOutput,proto3,oneof"`
}
type Event_StreamStarted ¶
type Event_StreamStarted struct {
StreamStarted *StreamStartedEvent `protobuf:"bytes,2,opt,name=stream_started,json=streamStarted,proto3,oneof"`
}
type Event_StreamStopped ¶
type Event_StreamStopped struct {
StreamStopped *StreamStoppedEvent `protobuf:"bytes,3,opt,name=stream_stopped,json=streamStopped,proto3,oneof"`
}
type Event_TeamInfo ¶
type Event_TeamInfo struct {
TeamInfo *TeamInfoEvent `protobuf:"bytes,22,opt,name=team_info,json=teamInfo,proto3,oneof"`
}
type Event_TokenUsage ¶
type Event_TokenUsage struct {
TokenUsage *TokenUsageEvent `protobuf:"bytes,12,opt,name=token_usage,json=tokenUsage,proto3,oneof"`
}
type Event_ToolCall ¶
type Event_ToolCall struct {
ToolCall *ToolCallEvent `protobuf:"bytes,7,opt,name=tool_call,json=toolCall,proto3,oneof"`
}
type Event_ToolCallConfirmation ¶
type Event_ToolCallConfirmation struct {
ToolCallConfirmation *ToolCallConfirmationEvent `protobuf:"bytes,8,opt,name=tool_call_confirmation,json=toolCallConfirmation,proto3,oneof"`
}
type Event_ToolCallResponse ¶
type Event_ToolCallResponse struct {
ToolCallResponse *ToolCallResponseEvent `protobuf:"bytes,9,opt,name=tool_call_response,json=toolCallResponse,proto3,oneof"`
}
type Event_ToolsetInfo ¶
type Event_ToolsetInfo struct {
ToolsetInfo *ToolsetInfoEvent `protobuf:"bytes,24,opt,name=toolset_info,json=toolsetInfo,proto3,oneof"`
}
type Event_UserMessage ¶
type Event_UserMessage struct {
UserMessage *UserMessageEvent `protobuf:"bytes,1,opt,name=user_message,json=userMessage,proto3,oneof"`
}
type Event_Warning ¶
type Event_Warning struct {
Warning *WarningEvent `protobuf:"bytes,11,opt,name=warning,proto3,oneof"`
}
type FunctionCall ¶
type FunctionCall struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Arguments string `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"`
// contains filtered or unexported fields
}
FunctionCall represents a function call within a tool call.
func (*FunctionCall) Descriptor
deprecated
func (*FunctionCall) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.
func (*FunctionCall) GetArguments ¶
func (x *FunctionCall) GetArguments() string
func (*FunctionCall) GetName ¶
func (x *FunctionCall) GetName() string
func (*FunctionCall) ProtoMessage ¶
func (*FunctionCall) ProtoMessage()
func (*FunctionCall) ProtoReflect ¶
func (x *FunctionCall) ProtoReflect() protoreflect.Message
func (*FunctionCall) Reset ¶
func (x *FunctionCall) Reset()
func (*FunctionCall) String ¶
func (x *FunctionCall) String() string
type GetAgentRequest ¶
type GetAgentRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
GetAgentRequest is the request for GetAgent.
func (*GetAgentRequest) Descriptor
deprecated
func (*GetAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.
func (*GetAgentRequest) GetId ¶
func (x *GetAgentRequest) GetId() string
func (*GetAgentRequest) ProtoMessage ¶
func (*GetAgentRequest) ProtoMessage()
func (*GetAgentRequest) ProtoReflect ¶
func (x *GetAgentRequest) ProtoReflect() protoreflect.Message
func (*GetAgentRequest) Reset ¶
func (x *GetAgentRequest) Reset()
func (*GetAgentRequest) String ¶
func (x *GetAgentRequest) String() string
type GetAgentResponse ¶
type GetAgentResponse struct {
// The agent configuration as JSON (to preserve flexibility).
ConfigJson []byte `protobuf:"bytes,1,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
// contains filtered or unexported fields
}
GetAgentResponse is the response for GetAgent.
func (*GetAgentResponse) Descriptor
deprecated
func (*GetAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentResponse.ProtoReflect.Descriptor instead.
func (*GetAgentResponse) GetConfigJson ¶
func (x *GetAgentResponse) GetConfigJson() []byte
func (*GetAgentResponse) ProtoMessage ¶
func (*GetAgentResponse) ProtoMessage()
func (*GetAgentResponse) ProtoReflect ¶
func (x *GetAgentResponse) ProtoReflect() protoreflect.Message
func (*GetAgentResponse) Reset ¶
func (x *GetAgentResponse) Reset()
func (*GetAgentResponse) String ¶
func (x *GetAgentResponse) String() string
type GetSessionRequest ¶
type GetSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
GetSessionRequest is the request for GetSession.
func (*GetSessionRequest) Descriptor
deprecated
func (*GetSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
func (*GetSessionRequest) GetId ¶
func (x *GetSessionRequest) GetId() string
func (*GetSessionRequest) ProtoMessage ¶
func (*GetSessionRequest) ProtoMessage()
func (*GetSessionRequest) ProtoReflect ¶
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message
func (*GetSessionRequest) Reset ¶
func (x *GetSessionRequest) Reset()
func (*GetSessionRequest) String ¶
func (x *GetSessionRequest) String() string
type GetSessionResponse ¶
type GetSessionResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
GetSessionResponse is the response for GetSession.
func (*GetSessionResponse) Descriptor
deprecated
func (*GetSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.
func (*GetSessionResponse) GetSession ¶
func (x *GetSessionResponse) GetSession() *Session
func (*GetSessionResponse) ProtoMessage ¶
func (*GetSessionResponse) ProtoMessage()
func (*GetSessionResponse) ProtoReflect ¶
func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
func (*GetSessionResponse) Reset ¶
func (x *GetSessionResponse) Reset()
func (*GetSessionResponse) String ¶
func (x *GetSessionResponse) String() string
type HookBlockedEvent ¶
type HookBlockedEvent struct {
ToolCall *ToolCall `protobuf:"bytes,1,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
ToolDefinition *Tool `protobuf:"bytes,2,opt,name=tool_definition,json=toolDefinition,proto3" json:"tool_definition,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
AgentName string `protobuf:"bytes,4,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
HookBlockedEvent is sent when a pre-tool hook blocks a tool call.
func (*HookBlockedEvent) Descriptor
deprecated
func (*HookBlockedEvent) Descriptor() ([]byte, []int)
Deprecated: Use HookBlockedEvent.ProtoReflect.Descriptor instead.
func (*HookBlockedEvent) GetAgentName ¶
func (x *HookBlockedEvent) GetAgentName() string
func (*HookBlockedEvent) GetMessage ¶
func (x *HookBlockedEvent) GetMessage() string
func (*HookBlockedEvent) GetToolCall ¶
func (x *HookBlockedEvent) GetToolCall() *ToolCall
func (*HookBlockedEvent) GetToolDefinition ¶
func (x *HookBlockedEvent) GetToolDefinition() *Tool
func (*HookBlockedEvent) ProtoMessage ¶
func (*HookBlockedEvent) ProtoMessage()
func (*HookBlockedEvent) ProtoReflect ¶
func (x *HookBlockedEvent) ProtoReflect() protoreflect.Message
func (*HookBlockedEvent) Reset ¶
func (x *HookBlockedEvent) Reset()
func (*HookBlockedEvent) String ¶
func (x *HookBlockedEvent) String() string
type InputMessage ¶
type InputMessage struct {
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
MultiContent []*MessagePart `protobuf:"bytes,3,rep,name=multi_content,json=multiContent,proto3" json:"multi_content,omitempty"`
// contains filtered or unexported fields
}
InputMessage is a message to send to the agent.
func (*InputMessage) Descriptor
deprecated
func (*InputMessage) Descriptor() ([]byte, []int)
Deprecated: Use InputMessage.ProtoReflect.Descriptor instead.
func (*InputMessage) GetContent ¶
func (x *InputMessage) GetContent() string
func (*InputMessage) GetMultiContent ¶
func (x *InputMessage) GetMultiContent() []*MessagePart
func (*InputMessage) GetRole ¶
func (x *InputMessage) GetRole() string
func (*InputMessage) ProtoMessage ¶
func (*InputMessage) ProtoMessage()
func (*InputMessage) ProtoReflect ¶
func (x *InputMessage) ProtoReflect() protoreflect.Message
func (*InputMessage) Reset ¶
func (x *InputMessage) Reset()
func (*InputMessage) String ¶
func (x *InputMessage) String() string
type ListAgentsRequest ¶
type ListAgentsRequest struct {
// contains filtered or unexported fields
}
ListAgentsRequest is the request for ListAgents.
func (*ListAgentsRequest) Descriptor
deprecated
func (*ListAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentsRequest) ProtoMessage ¶
func (*ListAgentsRequest) ProtoMessage()
func (*ListAgentsRequest) ProtoReflect ¶
func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message
func (*ListAgentsRequest) Reset ¶
func (x *ListAgentsRequest) Reset()
func (*ListAgentsRequest) String ¶
func (x *ListAgentsRequest) String() string
type ListAgentsResponse ¶
type ListAgentsResponse struct {
Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// contains filtered or unexported fields
}
ListAgentsResponse is the response for ListAgents.
func (*ListAgentsResponse) Descriptor
deprecated
func (*ListAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentsResponse) GetAgents ¶
func (x *ListAgentsResponse) GetAgents() []*Agent
func (*ListAgentsResponse) ProtoMessage ¶
func (*ListAgentsResponse) ProtoMessage()
func (*ListAgentsResponse) ProtoReflect ¶
func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message
func (*ListAgentsResponse) Reset ¶
func (x *ListAgentsResponse) Reset()
func (*ListAgentsResponse) String ¶
func (x *ListAgentsResponse) String() string
type ListSessionsRequest ¶
type ListSessionsRequest struct {
// contains filtered or unexported fields
}
ListSessionsRequest is the request for ListSessions.
func (*ListSessionsRequest) Descriptor
deprecated
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) ProtoMessage ¶
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct {
Sessions []*SessionSummary `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
// contains filtered or unexported fields
}
ListSessionsResponse is the response for ListSessions.
func (*ListSessionsResponse) Descriptor
deprecated
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetSessions ¶
func (x *ListSessionsResponse) GetSessions() []*SessionSummary
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (x *ListSessionsResponse) String() string
type MCPInitFinishedEvent ¶
type MCPInitFinishedEvent struct {
AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
MCPInitFinishedEvent is sent when MCP initialization finishes.
func (*MCPInitFinishedEvent) Descriptor
deprecated
func (*MCPInitFinishedEvent) Descriptor() ([]byte, []int)
Deprecated: Use MCPInitFinishedEvent.ProtoReflect.Descriptor instead.
func (*MCPInitFinishedEvent) GetAgentName ¶
func (x *MCPInitFinishedEvent) GetAgentName() string
func (*MCPInitFinishedEvent) ProtoMessage ¶
func (*MCPInitFinishedEvent) ProtoMessage()
func (*MCPInitFinishedEvent) ProtoReflect ¶
func (x *MCPInitFinishedEvent) ProtoReflect() protoreflect.Message
func (*MCPInitFinishedEvent) Reset ¶
func (x *MCPInitFinishedEvent) Reset()
func (*MCPInitFinishedEvent) String ¶
func (x *MCPInitFinishedEvent) String() string
type MCPInitStartedEvent ¶
type MCPInitStartedEvent struct {
AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
MCPInitStartedEvent is sent when MCP initialization starts.
func (*MCPInitStartedEvent) Descriptor
deprecated
func (*MCPInitStartedEvent) Descriptor() ([]byte, []int)
Deprecated: Use MCPInitStartedEvent.ProtoReflect.Descriptor instead.
func (*MCPInitStartedEvent) GetAgentName ¶
func (x *MCPInitStartedEvent) GetAgentName() string
func (*MCPInitStartedEvent) ProtoMessage ¶
func (*MCPInitStartedEvent) ProtoMessage()
func (*MCPInitStartedEvent) ProtoReflect ¶
func (x *MCPInitStartedEvent) ProtoReflect() protoreflect.Message
func (*MCPInitStartedEvent) Reset ¶
func (x *MCPInitStartedEvent) Reset()
func (*MCPInitStartedEvent) String ¶
func (x *MCPInitStartedEvent) String() string
type MaxIterationsReachedEvent ¶
type MaxIterationsReachedEvent struct {
MaxIterations int32 `protobuf:"varint,1,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
MaxIterationsReachedEvent is sent when max iterations is reached.
func (*MaxIterationsReachedEvent) Descriptor
deprecated
func (*MaxIterationsReachedEvent) Descriptor() ([]byte, []int)
Deprecated: Use MaxIterationsReachedEvent.ProtoReflect.Descriptor instead.
func (*MaxIterationsReachedEvent) GetAgentName ¶
func (x *MaxIterationsReachedEvent) GetAgentName() string
func (*MaxIterationsReachedEvent) GetMaxIterations ¶
func (x *MaxIterationsReachedEvent) GetMaxIterations() int32
func (*MaxIterationsReachedEvent) ProtoMessage ¶
func (*MaxIterationsReachedEvent) ProtoMessage()
func (*MaxIterationsReachedEvent) ProtoReflect ¶
func (x *MaxIterationsReachedEvent) ProtoReflect() protoreflect.Message
func (*MaxIterationsReachedEvent) Reset ¶
func (x *MaxIterationsReachedEvent) Reset()
func (*MaxIterationsReachedEvent) String ¶
func (x *MaxIterationsReachedEvent) String() string
type Message ¶
type Message struct {
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ToolCallId string `protobuf:"bytes,4,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
ToolCalls []*ToolCall `protobuf:"bytes,5,rep,name=tool_calls,json=toolCalls,proto3" json:"tool_calls,omitempty"`
ReasoningContent string `protobuf:"bytes,6,opt,name=reasoning_content,json=reasoningContent,proto3" json:"reasoning_content,omitempty"`
AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
Message represents a chat message.
func (*Message) Descriptor
deprecated
func (*Message) GetAgentName ¶
func (*Message) GetContent ¶
func (*Message) GetCreatedAt ¶
func (*Message) GetReasoningContent ¶
func (*Message) GetToolCallId ¶
func (*Message) GetToolCalls ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessagePart ¶
type MessagePart struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "text" or "image"
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
// contains filtered or unexported fields
}
MessagePart represents a part of a multi-content message.
func (*MessagePart) Descriptor
deprecated
func (*MessagePart) Descriptor() ([]byte, []int)
Deprecated: Use MessagePart.ProtoReflect.Descriptor instead.
func (*MessagePart) GetImageUrl ¶
func (x *MessagePart) GetImageUrl() string
func (*MessagePart) GetText ¶
func (x *MessagePart) GetText() string
func (*MessagePart) GetType ¶
func (x *MessagePart) GetType() string
func (*MessagePart) ProtoMessage ¶
func (*MessagePart) ProtoMessage()
func (*MessagePart) ProtoReflect ¶
func (x *MessagePart) ProtoReflect() protoreflect.Message
func (*MessagePart) Reset ¶
func (x *MessagePart) Reset()
func (*MessagePart) String ¶
func (x *MessagePart) String() string
type PartialToolCallEvent ¶
type PartialToolCallEvent struct {
ToolCall *ToolCall `protobuf:"bytes,1,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
ToolDefinition *Tool `protobuf:"bytes,2,opt,name=tool_definition,json=toolDefinition,proto3" json:"tool_definition,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
PartialToolCallEvent is sent when a tool call is first received (partial).
func (*PartialToolCallEvent) Descriptor
deprecated
func (*PartialToolCallEvent) Descriptor() ([]byte, []int)
Deprecated: Use PartialToolCallEvent.ProtoReflect.Descriptor instead.
func (*PartialToolCallEvent) GetAgentName ¶
func (x *PartialToolCallEvent) GetAgentName() string
func (*PartialToolCallEvent) GetToolCall ¶
func (x *PartialToolCallEvent) GetToolCall() *ToolCall
func (*PartialToolCallEvent) GetToolDefinition ¶
func (x *PartialToolCallEvent) GetToolDefinition() *Tool
func (*PartialToolCallEvent) ProtoMessage ¶
func (*PartialToolCallEvent) ProtoMessage()
func (*PartialToolCallEvent) ProtoReflect ¶
func (x *PartialToolCallEvent) ProtoReflect() protoreflect.Message
func (*PartialToolCallEvent) Reset ¶
func (x *PartialToolCallEvent) Reset()
func (*PartialToolCallEvent) String ¶
func (x *PartialToolCallEvent) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
PingRequest is the request for Ping.
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
PingResponse is the response for Ping.
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetStatus ¶
func (x *PingResponse) GetStatus() string
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type RAGIndexingCompletedEvent ¶
type RAGIndexingCompletedEvent struct {
RagName string `protobuf:"bytes,1,opt,name=rag_name,json=ragName,proto3" json:"rag_name,omitempty"`
StrategyName string `protobuf:"bytes,2,opt,name=strategy_name,json=strategyName,proto3" json:"strategy_name,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
RAGIndexingCompletedEvent is sent when RAG indexing completes.
func (*RAGIndexingCompletedEvent) Descriptor
deprecated
func (*RAGIndexingCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use RAGIndexingCompletedEvent.ProtoReflect.Descriptor instead.
func (*RAGIndexingCompletedEvent) GetAgentName ¶
func (x *RAGIndexingCompletedEvent) GetAgentName() string
func (*RAGIndexingCompletedEvent) GetRagName ¶
func (x *RAGIndexingCompletedEvent) GetRagName() string
func (*RAGIndexingCompletedEvent) GetStrategyName ¶
func (x *RAGIndexingCompletedEvent) GetStrategyName() string
func (*RAGIndexingCompletedEvent) ProtoMessage ¶
func (*RAGIndexingCompletedEvent) ProtoMessage()
func (*RAGIndexingCompletedEvent) ProtoReflect ¶
func (x *RAGIndexingCompletedEvent) ProtoReflect() protoreflect.Message
func (*RAGIndexingCompletedEvent) Reset ¶
func (x *RAGIndexingCompletedEvent) Reset()
func (*RAGIndexingCompletedEvent) String ¶
func (x *RAGIndexingCompletedEvent) String() string
type RAGIndexingProgressEvent ¶
type RAGIndexingProgressEvent struct {
RagName string `protobuf:"bytes,1,opt,name=rag_name,json=ragName,proto3" json:"rag_name,omitempty"`
StrategyName string `protobuf:"bytes,2,opt,name=strategy_name,json=strategyName,proto3" json:"strategy_name,omitempty"`
Current int32 `protobuf:"varint,3,opt,name=current,proto3" json:"current,omitempty"`
Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
AgentName string `protobuf:"bytes,5,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
RAGIndexingProgressEvent is sent during RAG indexing progress.
func (*RAGIndexingProgressEvent) Descriptor
deprecated
func (*RAGIndexingProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use RAGIndexingProgressEvent.ProtoReflect.Descriptor instead.
func (*RAGIndexingProgressEvent) GetAgentName ¶
func (x *RAGIndexingProgressEvent) GetAgentName() string
func (*RAGIndexingProgressEvent) GetCurrent ¶
func (x *RAGIndexingProgressEvent) GetCurrent() int32
func (*RAGIndexingProgressEvent) GetRagName ¶
func (x *RAGIndexingProgressEvent) GetRagName() string
func (*RAGIndexingProgressEvent) GetStrategyName ¶
func (x *RAGIndexingProgressEvent) GetStrategyName() string
func (*RAGIndexingProgressEvent) GetTotal ¶
func (x *RAGIndexingProgressEvent) GetTotal() int32
func (*RAGIndexingProgressEvent) ProtoMessage ¶
func (*RAGIndexingProgressEvent) ProtoMessage()
func (*RAGIndexingProgressEvent) ProtoReflect ¶
func (x *RAGIndexingProgressEvent) ProtoReflect() protoreflect.Message
func (*RAGIndexingProgressEvent) Reset ¶
func (x *RAGIndexingProgressEvent) Reset()
func (*RAGIndexingProgressEvent) String ¶
func (x *RAGIndexingProgressEvent) String() string
type RAGIndexingStartedEvent ¶
type RAGIndexingStartedEvent struct {
RagName string `protobuf:"bytes,1,opt,name=rag_name,json=ragName,proto3" json:"rag_name,omitempty"`
StrategyName string `protobuf:"bytes,2,opt,name=strategy_name,json=strategyName,proto3" json:"strategy_name,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
RAGIndexingStartedEvent is sent when RAG indexing starts.
func (*RAGIndexingStartedEvent) Descriptor
deprecated
func (*RAGIndexingStartedEvent) Descriptor() ([]byte, []int)
Deprecated: Use RAGIndexingStartedEvent.ProtoReflect.Descriptor instead.
func (*RAGIndexingStartedEvent) GetAgentName ¶
func (x *RAGIndexingStartedEvent) GetAgentName() string
func (*RAGIndexingStartedEvent) GetRagName ¶
func (x *RAGIndexingStartedEvent) GetRagName() string
func (*RAGIndexingStartedEvent) GetStrategyName ¶
func (x *RAGIndexingStartedEvent) GetStrategyName() string
func (*RAGIndexingStartedEvent) ProtoMessage ¶
func (*RAGIndexingStartedEvent) ProtoMessage()
func (*RAGIndexingStartedEvent) ProtoReflect ¶
func (x *RAGIndexingStartedEvent) ProtoReflect() protoreflect.Message
func (*RAGIndexingStartedEvent) Reset ¶
func (x *RAGIndexingStartedEvent) Reset()
func (*RAGIndexingStartedEvent) String ¶
func (x *RAGIndexingStartedEvent) String() string
type ResumeElicitationRequest ¶
type ResumeElicitationRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // "accept", "decline", or "cancel"
ContentJson []byte `protobuf:"bytes,3,opt,name=content_json,json=contentJson,proto3" json:"content_json,omitempty"` // JSON-encoded map[string]any
// contains filtered or unexported fields
}
ResumeElicitationRequest is the request for ResumeElicitation.
func (*ResumeElicitationRequest) Descriptor
deprecated
func (*ResumeElicitationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeElicitationRequest.ProtoReflect.Descriptor instead.
func (*ResumeElicitationRequest) GetAction ¶
func (x *ResumeElicitationRequest) GetAction() string
func (*ResumeElicitationRequest) GetContentJson ¶
func (x *ResumeElicitationRequest) GetContentJson() []byte
func (*ResumeElicitationRequest) GetSessionId ¶
func (x *ResumeElicitationRequest) GetSessionId() string
func (*ResumeElicitationRequest) ProtoMessage ¶
func (*ResumeElicitationRequest) ProtoMessage()
func (*ResumeElicitationRequest) ProtoReflect ¶
func (x *ResumeElicitationRequest) ProtoReflect() protoreflect.Message
func (*ResumeElicitationRequest) Reset ¶
func (x *ResumeElicitationRequest) Reset()
func (*ResumeElicitationRequest) String ¶
func (x *ResumeElicitationRequest) String() string
type ResumeElicitationResponse ¶
type ResumeElicitationResponse struct {
// contains filtered or unexported fields
}
ResumeElicitationResponse is the response for ResumeElicitation.
func (*ResumeElicitationResponse) Descriptor
deprecated
func (*ResumeElicitationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeElicitationResponse.ProtoReflect.Descriptor instead.
func (*ResumeElicitationResponse) ProtoMessage ¶
func (*ResumeElicitationResponse) ProtoMessage()
func (*ResumeElicitationResponse) ProtoReflect ¶
func (x *ResumeElicitationResponse) ProtoReflect() protoreflect.Message
func (*ResumeElicitationResponse) Reset ¶
func (x *ResumeElicitationResponse) Reset()
func (*ResumeElicitationResponse) String ¶
func (x *ResumeElicitationResponse) String() string
type ResumeSessionRequest ¶
type ResumeSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Confirmation string `protobuf:"bytes,2,opt,name=confirmation,proto3" json:"confirmation,omitempty"` // "approve", "approve-session", or "reject"
// contains filtered or unexported fields
}
ResumeSessionRequest is the request for ResumeSession.
func (*ResumeSessionRequest) Descriptor
deprecated
func (*ResumeSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeSessionRequest.ProtoReflect.Descriptor instead.
func (*ResumeSessionRequest) GetConfirmation ¶
func (x *ResumeSessionRequest) GetConfirmation() string
func (*ResumeSessionRequest) GetId ¶
func (x *ResumeSessionRequest) GetId() string
func (*ResumeSessionRequest) ProtoMessage ¶
func (*ResumeSessionRequest) ProtoMessage()
func (*ResumeSessionRequest) ProtoReflect ¶
func (x *ResumeSessionRequest) ProtoReflect() protoreflect.Message
func (*ResumeSessionRequest) Reset ¶
func (x *ResumeSessionRequest) Reset()
func (*ResumeSessionRequest) String ¶
func (x *ResumeSessionRequest) String() string
type ResumeSessionResponse ¶
type ResumeSessionResponse struct {
// contains filtered or unexported fields
}
ResumeSessionResponse is the response for ResumeSession.
func (*ResumeSessionResponse) Descriptor
deprecated
func (*ResumeSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeSessionResponse.ProtoReflect.Descriptor instead.
func (*ResumeSessionResponse) ProtoMessage ¶
func (*ResumeSessionResponse) ProtoMessage()
func (*ResumeSessionResponse) ProtoReflect ¶
func (x *ResumeSessionResponse) ProtoReflect() protoreflect.Message
func (*ResumeSessionResponse) Reset ¶
func (x *ResumeSessionResponse) Reset()
func (*ResumeSessionResponse) String ¶
func (x *ResumeSessionResponse) String() string
type RunAgentRequest ¶
type RunAgentRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` // Optional: specific agent name for multi-agent setups
Messages []*InputMessage `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"`
// contains filtered or unexported fields
}
RunAgentRequest is the request for RunAgent.
func (*RunAgentRequest) Descriptor
deprecated
func (*RunAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunAgentRequest.ProtoReflect.Descriptor instead.
func (*RunAgentRequest) GetAgent ¶
func (x *RunAgentRequest) GetAgent() string
func (*RunAgentRequest) GetAgentName ¶
func (x *RunAgentRequest) GetAgentName() string
func (*RunAgentRequest) GetMessages ¶
func (x *RunAgentRequest) GetMessages() []*InputMessage
func (*RunAgentRequest) GetSessionId ¶
func (x *RunAgentRequest) GetSessionId() string
func (*RunAgentRequest) ProtoMessage ¶
func (*RunAgentRequest) ProtoMessage()
func (*RunAgentRequest) ProtoReflect ¶
func (x *RunAgentRequest) ProtoReflect() protoreflect.Message
func (*RunAgentRequest) Reset ¶
func (x *RunAgentRequest) Reset()
func (*RunAgentRequest) String ¶
func (x *RunAgentRequest) String() string
type Session ¶
type Session struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Messages []*Message `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"`
ToolsApproved bool `protobuf:"varint,5,opt,name=tools_approved,json=toolsApproved,proto3" json:"tools_approved,omitempty"`
InputTokens int64 `protobuf:"varint,6,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
OutputTokens int64 `protobuf:"varint,7,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
WorkingDir string `protobuf:"bytes,8,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// contains filtered or unexported fields
}
Session represents a full session with messages.
func (*Session) Descriptor
deprecated
func (*Session) GetCreatedAt ¶
func (*Session) GetInputTokens ¶
func (*Session) GetMessages ¶
func (*Session) GetOutputTokens ¶
func (*Session) GetToolsApproved ¶
func (*Session) GetWorkingDir ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SessionCompactionEvent ¶
type SessionCompactionEvent struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // "started" or "completed"
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
SessionCompactionEvent is sent during session compaction.
func (*SessionCompactionEvent) Descriptor
deprecated
func (*SessionCompactionEvent) Descriptor() ([]byte, []int)
Deprecated: Use SessionCompactionEvent.ProtoReflect.Descriptor instead.
func (*SessionCompactionEvent) GetAgentName ¶
func (x *SessionCompactionEvent) GetAgentName() string
func (*SessionCompactionEvent) GetSessionId ¶
func (x *SessionCompactionEvent) GetSessionId() string
func (*SessionCompactionEvent) GetStatus ¶
func (x *SessionCompactionEvent) GetStatus() string
func (*SessionCompactionEvent) ProtoMessage ¶
func (*SessionCompactionEvent) ProtoMessage()
func (*SessionCompactionEvent) ProtoReflect ¶
func (x *SessionCompactionEvent) ProtoReflect() protoreflect.Message
func (*SessionCompactionEvent) Reset ¶
func (x *SessionCompactionEvent) Reset()
func (*SessionCompactionEvent) String ¶
func (x *SessionCompactionEvent) String() string
type SessionSummary ¶
type SessionSummary struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
NumMessages int32 `protobuf:"varint,4,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"`
InputTokens int64 `protobuf:"varint,5,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
OutputTokens int64 `protobuf:"varint,6,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
WorkingDir string `protobuf:"bytes,7,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
// contains filtered or unexported fields
}
SessionSummary is a summary of a session for listing.
func (*SessionSummary) Descriptor
deprecated
func (*SessionSummary) Descriptor() ([]byte, []int)
Deprecated: Use SessionSummary.ProtoReflect.Descriptor instead.
func (*SessionSummary) GetCreatedAt ¶
func (x *SessionSummary) GetCreatedAt() string
func (*SessionSummary) GetId ¶
func (x *SessionSummary) GetId() string
func (*SessionSummary) GetInputTokens ¶
func (x *SessionSummary) GetInputTokens() int64
func (*SessionSummary) GetNumMessages ¶
func (x *SessionSummary) GetNumMessages() int32
func (*SessionSummary) GetOutputTokens ¶
func (x *SessionSummary) GetOutputTokens() int64
func (*SessionSummary) GetTitle ¶
func (x *SessionSummary) GetTitle() string
func (*SessionSummary) GetWorkingDir ¶
func (x *SessionSummary) GetWorkingDir() string
func (*SessionSummary) ProtoMessage ¶
func (*SessionSummary) ProtoMessage()
func (*SessionSummary) ProtoReflect ¶
func (x *SessionSummary) ProtoReflect() protoreflect.Message
func (*SessionSummary) Reset ¶
func (x *SessionSummary) Reset()
func (*SessionSummary) String ¶
func (x *SessionSummary) String() string
type SessionSummaryEvent ¶
type SessionSummaryEvent struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
SessionSummaryEvent is sent when a session summary is generated.
func (*SessionSummaryEvent) Descriptor
deprecated
func (*SessionSummaryEvent) Descriptor() ([]byte, []int)
Deprecated: Use SessionSummaryEvent.ProtoReflect.Descriptor instead.
func (*SessionSummaryEvent) GetAgentName ¶
func (x *SessionSummaryEvent) GetAgentName() string
func (*SessionSummaryEvent) GetSessionId ¶
func (x *SessionSummaryEvent) GetSessionId() string
func (*SessionSummaryEvent) GetSummary ¶
func (x *SessionSummaryEvent) GetSummary() string
func (*SessionSummaryEvent) ProtoMessage ¶
func (*SessionSummaryEvent) ProtoMessage()
func (*SessionSummaryEvent) ProtoReflect ¶
func (x *SessionSummaryEvent) ProtoReflect() protoreflect.Message
func (*SessionSummaryEvent) Reset ¶
func (x *SessionSummaryEvent) Reset()
func (*SessionSummaryEvent) String ¶
func (x *SessionSummaryEvent) String() string
type SessionTitleEvent ¶
type SessionTitleEvent struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
SessionTitleEvent is sent when the session title is generated.
func (*SessionTitleEvent) Descriptor
deprecated
func (*SessionTitleEvent) Descriptor() ([]byte, []int)
Deprecated: Use SessionTitleEvent.ProtoReflect.Descriptor instead.
func (*SessionTitleEvent) GetAgentName ¶
func (x *SessionTitleEvent) GetAgentName() string
func (*SessionTitleEvent) GetSessionId ¶
func (x *SessionTitleEvent) GetSessionId() string
func (*SessionTitleEvent) GetTitle ¶
func (x *SessionTitleEvent) GetTitle() string
func (*SessionTitleEvent) ProtoMessage ¶
func (*SessionTitleEvent) ProtoMessage()
func (*SessionTitleEvent) ProtoReflect ¶
func (x *SessionTitleEvent) ProtoReflect() protoreflect.Message
func (*SessionTitleEvent) Reset ¶
func (x *SessionTitleEvent) Reset()
func (*SessionTitleEvent) String ¶
func (x *SessionTitleEvent) String() string
type ShellOutputEvent ¶
type ShellOutputEvent struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
// contains filtered or unexported fields
}
ShellOutputEvent is sent for shell output.
func (*ShellOutputEvent) Descriptor
deprecated
func (*ShellOutputEvent) Descriptor() ([]byte, []int)
Deprecated: Use ShellOutputEvent.ProtoReflect.Descriptor instead.
func (*ShellOutputEvent) GetOutput ¶
func (x *ShellOutputEvent) GetOutput() string
func (*ShellOutputEvent) ProtoMessage ¶
func (*ShellOutputEvent) ProtoMessage()
func (*ShellOutputEvent) ProtoReflect ¶
func (x *ShellOutputEvent) ProtoReflect() protoreflect.Message
func (*ShellOutputEvent) Reset ¶
func (x *ShellOutputEvent) Reset()
func (*ShellOutputEvent) String ¶
func (x *ShellOutputEvent) String() string
type StreamStartedEvent ¶
type StreamStartedEvent struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
StreamStartedEvent is sent when the stream starts.
func (*StreamStartedEvent) Descriptor
deprecated
func (*StreamStartedEvent) Descriptor() ([]byte, []int)
Deprecated: Use StreamStartedEvent.ProtoReflect.Descriptor instead.
func (*StreamStartedEvent) GetAgentName ¶
func (x *StreamStartedEvent) GetAgentName() string
func (*StreamStartedEvent) GetSessionId ¶
func (x *StreamStartedEvent) GetSessionId() string
func (*StreamStartedEvent) ProtoMessage ¶
func (*StreamStartedEvent) ProtoMessage()
func (*StreamStartedEvent) ProtoReflect ¶
func (x *StreamStartedEvent) ProtoReflect() protoreflect.Message
func (*StreamStartedEvent) Reset ¶
func (x *StreamStartedEvent) Reset()
func (*StreamStartedEvent) String ¶
func (x *StreamStartedEvent) String() string
type StreamStoppedEvent ¶
type StreamStoppedEvent struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
StreamStoppedEvent is sent when the stream stops.
func (*StreamStoppedEvent) Descriptor
deprecated
func (*StreamStoppedEvent) Descriptor() ([]byte, []int)
Deprecated: Use StreamStoppedEvent.ProtoReflect.Descriptor instead.
func (*StreamStoppedEvent) GetAgentName ¶
func (x *StreamStoppedEvent) GetAgentName() string
func (*StreamStoppedEvent) GetSessionId ¶
func (x *StreamStoppedEvent) GetSessionId() string
func (*StreamStoppedEvent) ProtoMessage ¶
func (*StreamStoppedEvent) ProtoMessage()
func (*StreamStoppedEvent) ProtoReflect ¶
func (x *StreamStoppedEvent) ProtoReflect() protoreflect.Message
func (*StreamStoppedEvent) Reset ¶
func (x *StreamStoppedEvent) Reset()
func (*StreamStoppedEvent) String ¶
func (x *StreamStoppedEvent) String() string
type TeamInfoEvent ¶
type TeamInfoEvent struct {
AvailableAgents []*AgentDetails `protobuf:"bytes,1,rep,name=available_agents,json=availableAgents,proto3" json:"available_agents,omitempty"`
CurrentAgent string `protobuf:"bytes,2,opt,name=current_agent,json=currentAgent,proto3" json:"current_agent,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
TeamInfoEvent is sent when team information is available.
func (*TeamInfoEvent) Descriptor
deprecated
func (*TeamInfoEvent) Descriptor() ([]byte, []int)
Deprecated: Use TeamInfoEvent.ProtoReflect.Descriptor instead.
func (*TeamInfoEvent) GetAgentName ¶
func (x *TeamInfoEvent) GetAgentName() string
func (*TeamInfoEvent) GetAvailableAgents ¶
func (x *TeamInfoEvent) GetAvailableAgents() []*AgentDetails
func (*TeamInfoEvent) GetCurrentAgent ¶
func (x *TeamInfoEvent) GetCurrentAgent() string
func (*TeamInfoEvent) ProtoMessage ¶
func (*TeamInfoEvent) ProtoMessage()
func (*TeamInfoEvent) ProtoReflect ¶
func (x *TeamInfoEvent) ProtoReflect() protoreflect.Message
func (*TeamInfoEvent) Reset ¶
func (x *TeamInfoEvent) Reset()
func (*TeamInfoEvent) String ¶
func (x *TeamInfoEvent) String() string
type ToggleToolApprovalRequest ¶
type ToggleToolApprovalRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
ToggleToolApprovalRequest is the request for ToggleToolApproval.
func (*ToggleToolApprovalRequest) Descriptor
deprecated
func (*ToggleToolApprovalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleToolApprovalRequest.ProtoReflect.Descriptor instead.
func (*ToggleToolApprovalRequest) GetSessionId ¶
func (x *ToggleToolApprovalRequest) GetSessionId() string
func (*ToggleToolApprovalRequest) ProtoMessage ¶
func (*ToggleToolApprovalRequest) ProtoMessage()
func (*ToggleToolApprovalRequest) ProtoReflect ¶
func (x *ToggleToolApprovalRequest) ProtoReflect() protoreflect.Message
func (*ToggleToolApprovalRequest) Reset ¶
func (x *ToggleToolApprovalRequest) Reset()
func (*ToggleToolApprovalRequest) String ¶
func (x *ToggleToolApprovalRequest) String() string
type ToggleToolApprovalResponse ¶
type ToggleToolApprovalResponse struct {
// contains filtered or unexported fields
}
ToggleToolApprovalResponse is the response for ToggleToolApproval.
func (*ToggleToolApprovalResponse) Descriptor
deprecated
func (*ToggleToolApprovalResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleToolApprovalResponse.ProtoReflect.Descriptor instead.
func (*ToggleToolApprovalResponse) ProtoMessage ¶
func (*ToggleToolApprovalResponse) ProtoMessage()
func (*ToggleToolApprovalResponse) ProtoReflect ¶
func (x *ToggleToolApprovalResponse) ProtoReflect() protoreflect.Message
func (*ToggleToolApprovalResponse) Reset ¶
func (x *ToggleToolApprovalResponse) Reset()
func (*ToggleToolApprovalResponse) String ¶
func (x *ToggleToolApprovalResponse) String() string
type TokenUsageEvent ¶
type TokenUsageEvent struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Usage *Usage `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
TokenUsageEvent is sent with token usage information.
func (*TokenUsageEvent) Descriptor
deprecated
func (*TokenUsageEvent) Descriptor() ([]byte, []int)
Deprecated: Use TokenUsageEvent.ProtoReflect.Descriptor instead.
func (*TokenUsageEvent) GetAgentName ¶
func (x *TokenUsageEvent) GetAgentName() string
func (*TokenUsageEvent) GetSessionId ¶
func (x *TokenUsageEvent) GetSessionId() string
func (*TokenUsageEvent) GetUsage ¶
func (x *TokenUsageEvent) GetUsage() *Usage
func (*TokenUsageEvent) ProtoMessage ¶
func (*TokenUsageEvent) ProtoMessage()
func (*TokenUsageEvent) ProtoReflect ¶
func (x *TokenUsageEvent) ProtoReflect() protoreflect.Message
func (*TokenUsageEvent) Reset ¶
func (x *TokenUsageEvent) Reset()
func (*TokenUsageEvent) String ¶
func (x *TokenUsageEvent) String() string
type Tool ¶
type Tool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
ParametersJson []byte `protobuf:"bytes,4,opt,name=parameters_json,json=parametersJson,proto3" json:"parameters_json,omitempty"` // JSON-encoded parameters schema
Annotations *ToolAnnotations `protobuf:"bytes,5,opt,name=annotations,proto3" json:"annotations,omitempty"`
OutputSchemaJson []byte `protobuf:"bytes,6,opt,name=output_schema_json,json=outputSchemaJson,proto3" json:"output_schema_json,omitempty"` // JSON-encoded output schema
// contains filtered or unexported fields
}
Tool represents a tool definition.
func (*Tool) Descriptor
deprecated
func (*Tool) GetAnnotations ¶
func (x *Tool) GetAnnotations() *ToolAnnotations
func (*Tool) GetCategory ¶
func (*Tool) GetDescription ¶
func (*Tool) GetOutputSchemaJson ¶
func (*Tool) GetParametersJson ¶
func (*Tool) ProtoMessage ¶
func (*Tool) ProtoMessage()
func (*Tool) ProtoReflect ¶
func (x *Tool) ProtoReflect() protoreflect.Message
type ToolAnnotations ¶
type ToolAnnotations struct {
ReadOnlyHint bool `protobuf:"varint,1,opt,name=read_only_hint,json=readOnlyHint,proto3" json:"read_only_hint,omitempty"`
DestructiveHint bool `protobuf:"varint,2,opt,name=destructive_hint,json=destructiveHint,proto3" json:"destructive_hint,omitempty"`
IdempotentHint bool `protobuf:"varint,3,opt,name=idempotent_hint,json=idempotentHint,proto3" json:"idempotent_hint,omitempty"`
OpenWorldHint bool `protobuf:"varint,4,opt,name=open_world_hint,json=openWorldHint,proto3" json:"open_world_hint,omitempty"`
// contains filtered or unexported fields
}
ToolAnnotations represents tool annotations.
func (*ToolAnnotations) Descriptor
deprecated
func (*ToolAnnotations) Descriptor() ([]byte, []int)
Deprecated: Use ToolAnnotations.ProtoReflect.Descriptor instead.
func (*ToolAnnotations) GetDestructiveHint ¶
func (x *ToolAnnotations) GetDestructiveHint() bool
func (*ToolAnnotations) GetIdempotentHint ¶
func (x *ToolAnnotations) GetIdempotentHint() bool
func (*ToolAnnotations) GetOpenWorldHint ¶
func (x *ToolAnnotations) GetOpenWorldHint() bool
func (*ToolAnnotations) GetReadOnlyHint ¶
func (x *ToolAnnotations) GetReadOnlyHint() bool
func (*ToolAnnotations) ProtoMessage ¶
func (*ToolAnnotations) ProtoMessage()
func (*ToolAnnotations) ProtoReflect ¶
func (x *ToolAnnotations) ProtoReflect() protoreflect.Message
func (*ToolAnnotations) Reset ¶
func (x *ToolAnnotations) Reset()
func (*ToolAnnotations) String ¶
func (x *ToolAnnotations) String() string
type ToolCall ¶
type ToolCall struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Function *FunctionCall `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"`
// contains filtered or unexported fields
}
ToolCall represents a tool call.
func (*ToolCall) Descriptor
deprecated
func (*ToolCall) GetFunction ¶
func (x *ToolCall) GetFunction() *FunctionCall
func (*ToolCall) ProtoMessage ¶
func (*ToolCall) ProtoMessage()
func (*ToolCall) ProtoReflect ¶
func (x *ToolCall) ProtoReflect() protoreflect.Message
type ToolCallConfirmationEvent ¶
type ToolCallConfirmationEvent struct {
ToolCall *ToolCall `protobuf:"bytes,1,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
ToolDefinition *Tool `protobuf:"bytes,2,opt,name=tool_definition,json=toolDefinition,proto3" json:"tool_definition,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
ToolCallConfirmationEvent is sent when a tool call needs confirmation.
func (*ToolCallConfirmationEvent) Descriptor
deprecated
func (*ToolCallConfirmationEvent) Descriptor() ([]byte, []int)
Deprecated: Use ToolCallConfirmationEvent.ProtoReflect.Descriptor instead.
func (*ToolCallConfirmationEvent) GetAgentName ¶
func (x *ToolCallConfirmationEvent) GetAgentName() string
func (*ToolCallConfirmationEvent) GetToolCall ¶
func (x *ToolCallConfirmationEvent) GetToolCall() *ToolCall
func (*ToolCallConfirmationEvent) GetToolDefinition ¶
func (x *ToolCallConfirmationEvent) GetToolDefinition() *Tool
func (*ToolCallConfirmationEvent) ProtoMessage ¶
func (*ToolCallConfirmationEvent) ProtoMessage()
func (*ToolCallConfirmationEvent) ProtoReflect ¶
func (x *ToolCallConfirmationEvent) ProtoReflect() protoreflect.Message
func (*ToolCallConfirmationEvent) Reset ¶
func (x *ToolCallConfirmationEvent) Reset()
func (*ToolCallConfirmationEvent) String ¶
func (x *ToolCallConfirmationEvent) String() string
type ToolCallEvent ¶
type ToolCallEvent struct {
ToolCall *ToolCall `protobuf:"bytes,1,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
ToolDefinition *Tool `protobuf:"bytes,2,opt,name=tool_definition,json=toolDefinition,proto3" json:"tool_definition,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
ToolCallEvent is sent when a complete tool call is received.
func (*ToolCallEvent) Descriptor
deprecated
func (*ToolCallEvent) Descriptor() ([]byte, []int)
Deprecated: Use ToolCallEvent.ProtoReflect.Descriptor instead.
func (*ToolCallEvent) GetAgentName ¶
func (x *ToolCallEvent) GetAgentName() string
func (*ToolCallEvent) GetToolCall ¶
func (x *ToolCallEvent) GetToolCall() *ToolCall
func (*ToolCallEvent) GetToolDefinition ¶
func (x *ToolCallEvent) GetToolDefinition() *Tool
func (*ToolCallEvent) ProtoMessage ¶
func (*ToolCallEvent) ProtoMessage()
func (*ToolCallEvent) ProtoReflect ¶
func (x *ToolCallEvent) ProtoReflect() protoreflect.Message
func (*ToolCallEvent) Reset ¶
func (x *ToolCallEvent) Reset()
func (*ToolCallEvent) String ¶
func (x *ToolCallEvent) String() string
type ToolCallResponseEvent ¶
type ToolCallResponseEvent struct {
ToolCall *ToolCall `protobuf:"bytes,1,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
ToolDefinition *Tool `protobuf:"bytes,2,opt,name=tool_definition,json=toolDefinition,proto3" json:"tool_definition,omitempty"`
Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
Result *ToolCallResult `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
AgentName string `protobuf:"bytes,5,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
ToolCallResponseEvent is sent when a tool call completes.
func (*ToolCallResponseEvent) Descriptor
deprecated
func (*ToolCallResponseEvent) Descriptor() ([]byte, []int)
Deprecated: Use ToolCallResponseEvent.ProtoReflect.Descriptor instead.
func (*ToolCallResponseEvent) GetAgentName ¶
func (x *ToolCallResponseEvent) GetAgentName() string
func (*ToolCallResponseEvent) GetResponse ¶
func (x *ToolCallResponseEvent) GetResponse() string
func (*ToolCallResponseEvent) GetResult ¶
func (x *ToolCallResponseEvent) GetResult() *ToolCallResult
func (*ToolCallResponseEvent) GetToolCall ¶
func (x *ToolCallResponseEvent) GetToolCall() *ToolCall
func (*ToolCallResponseEvent) GetToolDefinition ¶
func (x *ToolCallResponseEvent) GetToolDefinition() *Tool
func (*ToolCallResponseEvent) ProtoMessage ¶
func (*ToolCallResponseEvent) ProtoMessage()
func (*ToolCallResponseEvent) ProtoReflect ¶
func (x *ToolCallResponseEvent) ProtoReflect() protoreflect.Message
func (*ToolCallResponseEvent) Reset ¶
func (x *ToolCallResponseEvent) Reset()
func (*ToolCallResponseEvent) String ¶
func (x *ToolCallResponseEvent) String() string
type ToolCallResult ¶
type ToolCallResult struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
IsError bool `protobuf:"varint,2,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
MetaJson []byte `protobuf:"bytes,3,opt,name=meta_json,json=metaJson,proto3" json:"meta_json,omitempty"` // JSON-encoded metadata
// contains filtered or unexported fields
}
ToolCallResult represents the result of a tool call.
func (*ToolCallResult) Descriptor
deprecated
func (*ToolCallResult) Descriptor() ([]byte, []int)
Deprecated: Use ToolCallResult.ProtoReflect.Descriptor instead.
func (*ToolCallResult) GetIsError ¶
func (x *ToolCallResult) GetIsError() bool
func (*ToolCallResult) GetMetaJson ¶
func (x *ToolCallResult) GetMetaJson() []byte
func (*ToolCallResult) GetOutput ¶
func (x *ToolCallResult) GetOutput() string
func (*ToolCallResult) ProtoMessage ¶
func (*ToolCallResult) ProtoMessage()
func (*ToolCallResult) ProtoReflect ¶
func (x *ToolCallResult) ProtoReflect() protoreflect.Message
func (*ToolCallResult) Reset ¶
func (x *ToolCallResult) Reset()
func (*ToolCallResult) String ¶
func (x *ToolCallResult) String() string
type ToolsetInfoEvent ¶
type ToolsetInfoEvent struct {
AvailableTools int32 `protobuf:"varint,1,opt,name=available_tools,json=availableTools,proto3" json:"available_tools,omitempty"`
Loading bool `protobuf:"varint,2,opt,name=loading,proto3" json:"loading,omitempty"`
AgentName string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
ToolsetInfoEvent is sent when toolset information is available.
func (*ToolsetInfoEvent) Descriptor
deprecated
func (*ToolsetInfoEvent) Descriptor() ([]byte, []int)
Deprecated: Use ToolsetInfoEvent.ProtoReflect.Descriptor instead.
func (*ToolsetInfoEvent) GetAgentName ¶
func (x *ToolsetInfoEvent) GetAgentName() string
func (*ToolsetInfoEvent) GetAvailableTools ¶
func (x *ToolsetInfoEvent) GetAvailableTools() int32
func (*ToolsetInfoEvent) GetLoading ¶
func (x *ToolsetInfoEvent) GetLoading() bool
func (*ToolsetInfoEvent) ProtoMessage ¶
func (*ToolsetInfoEvent) ProtoMessage()
func (*ToolsetInfoEvent) ProtoReflect ¶
func (x *ToolsetInfoEvent) ProtoReflect() protoreflect.Message
func (*ToolsetInfoEvent) Reset ¶
func (x *ToolsetInfoEvent) Reset()
func (*ToolsetInfoEvent) String ¶
func (x *ToolsetInfoEvent) String() string
type Usage ¶
type Usage struct {
InputTokens int64 `protobuf:"varint,1,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
OutputTokens int64 `protobuf:"varint,2,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
ContextLength int64 `protobuf:"varint,3,opt,name=context_length,json=contextLength,proto3" json:"context_length,omitempty"`
ContextLimit int64 `protobuf:"varint,4,opt,name=context_limit,json=contextLimit,proto3" json:"context_limit,omitempty"`
Cost float64 `protobuf:"fixed64,5,opt,name=cost,proto3" json:"cost,omitempty"`
// contains filtered or unexported fields
}
Usage contains token usage details.
func (*Usage) Descriptor
deprecated
func (*Usage) GetContextLength ¶
func (*Usage) GetContextLimit ¶
func (*Usage) GetInputTokens ¶
func (*Usage) GetOutputTokens ¶
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message
type UserMessageEvent ¶
type UserMessageEvent struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
UserMessageEvent is sent when a user message is received.
func (*UserMessageEvent) Descriptor
deprecated
func (*UserMessageEvent) Descriptor() ([]byte, []int)
Deprecated: Use UserMessageEvent.ProtoReflect.Descriptor instead.
func (*UserMessageEvent) GetMessage ¶
func (x *UserMessageEvent) GetMessage() string
func (*UserMessageEvent) ProtoMessage ¶
func (*UserMessageEvent) ProtoMessage()
func (*UserMessageEvent) ProtoReflect ¶
func (x *UserMessageEvent) ProtoReflect() protoreflect.Message
func (*UserMessageEvent) Reset ¶
func (x *UserMessageEvent) Reset()
func (*UserMessageEvent) String ¶
func (x *UserMessageEvent) String() string
type WarningEvent ¶
type WarningEvent struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
// contains filtered or unexported fields
}
WarningEvent is sent for warnings.
func (*WarningEvent) Descriptor
deprecated
func (*WarningEvent) Descriptor() ([]byte, []int)
Deprecated: Use WarningEvent.ProtoReflect.Descriptor instead.
func (*WarningEvent) GetAgentName ¶
func (x *WarningEvent) GetAgentName() string
func (*WarningEvent) GetMessage ¶
func (x *WarningEvent) GetMessage() string
func (*WarningEvent) ProtoMessage ¶
func (*WarningEvent) ProtoMessage()
func (*WarningEvent) ProtoReflect ¶
func (x *WarningEvent) ProtoReflect() protoreflect.Message
func (*WarningEvent) Reset ¶
func (x *WarningEvent) Reset()
func (*WarningEvent) String ¶
func (x *WarningEvent) String() string