Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAgentCommunicationServer(s grpc.ServiceRegistrar, srv AgentCommunicationServer)
- type AgentCommunicationClient
- type AgentCommunicationServer
- type AgentCommunication_RequestToolExecutionClient
- type AgentCommunication_RequestToolExecutionServer
- type AgentCommunication_StreamInlineCompletionsClient
- type AgentCommunication_StreamInlineCompletionsServer
- type AgentCommunication_StreamTaskClient
- type AgentCommunication_StreamTaskServer
- type AgentCommunication_SubscribeTaskEventsClient
- type AgentCommunication_SubscribeTaskEventsServer
- type AgentInfo
- func (*AgentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfo) GetCapabilities() []string
- func (x *AgentInfo) GetEndpoint() string
- func (x *AgentInfo) GetId() string
- func (x *AgentInfo) GetMetadata() map[string]string
- func (x *AgentInfo) GetRegisteredAt() *timestamppb.Timestamp
- func (x *AgentInfo) GetType() string
- func (*AgentInfo) ProtoMessage()
- func (x *AgentInfo) ProtoReflect() protoreflect.Message
- func (x *AgentInfo) Reset()
- func (x *AgentInfo) String() string
- type ApplyEditsRequest
- func (*ApplyEditsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditsRequest) GetAgentId() string
- func (x *ApplyEditsRequest) GetDryRun() bool
- func (x *ApplyEditsRequest) GetEdits() []*TextEdit
- func (x *ApplyEditsRequest) GetSessionId() string
- func (x *ApplyEditsRequest) GetTitle() string
- func (*ApplyEditsRequest) ProtoMessage()
- func (x *ApplyEditsRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyEditsRequest) Reset()
- func (x *ApplyEditsRequest) String() string
- type ApplyEditsResponse
- func (*ApplyEditsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditsResponse) GetApplied() bool
- func (x *ApplyEditsResponse) GetFiles() []string
- func (x *ApplyEditsResponse) GetMessage() string
- func (*ApplyEditsResponse) ProtoMessage()
- func (x *ApplyEditsResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyEditsResponse) Reset()
- func (x *ApplyEditsResponse) String() string
- type CapabilityGrant
- func (*CapabilityGrant) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityGrant) GetAgentId() string
- func (x *CapabilityGrant) GetCapabilities() []string
- func (x *CapabilityGrant) GetContext() *GrantContext
- func (x *CapabilityGrant) GetExpiresAt() *timestamppb.Timestamp
- func (x *CapabilityGrant) GetGrantId() string
- func (x *CapabilityGrant) GetIssuedAt() *timestamppb.Timestamp
- func (*CapabilityGrant) ProtoMessage()
- func (x *CapabilityGrant) ProtoReflect() protoreflect.Message
- func (x *CapabilityGrant) Reset()
- func (x *CapabilityGrant) String() string
- type CapabilityRequest
- func (*CapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityRequest) GetCapabilities() []string
- func (x *CapabilityRequest) GetContext() *GrantContext
- func (x *CapabilityRequest) GetDurationSeconds() int64
- func (*CapabilityRequest) ProtoMessage()
- func (x *CapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *CapabilityRequest) Reset()
- func (x *CapabilityRequest) String() string
- type CapabilityRevocation
- func (*CapabilityRevocation) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityRevocation) GetGrantId() string
- func (*CapabilityRevocation) ProtoMessage()
- func (x *CapabilityRevocation) ProtoReflect() protoreflect.Message
- func (x *CapabilityRevocation) Reset()
- func (x *CapabilityRevocation) String() string
- type ContextData
- type ContextDelta
- func (*ContextDelta) Descriptor() ([]byte, []int)deprecated
- func (x *ContextDelta) GetAddedFiles() []string
- func (x *ContextDelta) GetMetadata() map[string]string
- func (x *ContextDelta) GetRemovedFiles() []string
- func (x *ContextDelta) GetSessionId() string
- func (*ContextDelta) ProtoMessage()
- func (x *ContextDelta) ProtoReflect() protoreflect.Message
- func (x *ContextDelta) Reset()
- func (x *ContextDelta) String() string
- type ContextHandle
- func (*ContextHandle) Descriptor() ([]byte, []int)deprecated
- func (x *ContextHandle) GetCreatedAt() *timestamppb.Timestamp
- func (x *ContextHandle) GetHandleId() string
- func (x *ContextHandle) GetSizeBytes() int64
- func (x *ContextHandle) GetType() string
- func (*ContextHandle) ProtoMessage()
- func (x *ContextHandle) ProtoReflect() protoreflect.Message
- func (x *ContextHandle) Reset()
- func (x *ContextHandle) String() string
- type ContextHandleRequest
- func (*ContextHandleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContextHandleRequest) GetData() []byte
- func (x *ContextHandleRequest) GetType() string
- func (*ContextHandleRequest) ProtoMessage()
- func (x *ContextHandleRequest) ProtoReflect() protoreflect.Message
- func (x *ContextHandleRequest) Reset()
- func (x *ContextHandleRequest) String() string
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetAgentId() string
- func (x *CreateSessionRequest) GetMetadata() map[string]string
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- type DiscoverAgentsRequest
- func (*DiscoverAgentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverAgentsRequest) GetCapabilities() []string
- func (x *DiscoverAgentsRequest) GetTags() map[string]string
- func (x *DiscoverAgentsRequest) GetType() string
- func (*DiscoverAgentsRequest) ProtoMessage()
- func (x *DiscoverAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *DiscoverAgentsRequest) Reset()
- func (x *DiscoverAgentsRequest) String() string
- type DiscoverAgentsResponse
- func (*DiscoverAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverAgentsResponse) GetAgents() []*AgentInfo
- func (*DiscoverAgentsResponse) ProtoMessage()
- func (x *DiscoverAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *DiscoverAgentsResponse) Reset()
- func (x *DiscoverAgentsResponse) String() string
- type DocumentSnapshot
- func (*DocumentSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentSnapshot) GetContent() string
- func (x *DocumentSnapshot) GetLanguageId() string
- func (x *DocumentSnapshot) GetMetadata() map[string]string
- func (x *DocumentSnapshot) GetSelection() *Range
- func (x *DocumentSnapshot) GetUri() string
- func (x *DocumentSnapshot) GetVersion() int64
- func (x *DocumentSnapshot) GetVisibleRanges() []*Range
- func (x *DocumentSnapshot) GetWorkspaceRoot() string
- func (*DocumentSnapshot) ProtoMessage()
- func (x *DocumentSnapshot) ProtoReflect() protoreflect.Message
- func (x *DocumentSnapshot) Reset()
- func (x *DocumentSnapshot) String() string
- type EditorContext
- func (*EditorContext) Descriptor() ([]byte, []int)deprecated
- func (x *EditorContext) GetDocument() *DocumentSnapshot
- func (x *EditorContext) GetMetadata() map[string]string
- func (x *EditorContext) GetRelatedDocuments() []*DocumentSnapshot
- func (x *EditorContext) GetSymbols() []string
- func (*EditorContext) ProtoMessage()
- func (x *EditorContext) ProtoReflect() protoreflect.Message
- func (x *EditorContext) Reset()
- func (x *EditorContext) String() string
- type GetAgentInfoRequest
- func (*GetAgentInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentInfoRequest) GetAgentId() string
- func (*GetAgentInfoRequest) ProtoMessage()
- func (x *GetAgentInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentInfoRequest) Reset()
- func (x *GetAgentInfoRequest) String() string
- type GrantContext
- func (*GrantContext) Descriptor() ([]byte, []int)deprecated
- func (x *GrantContext) GetAllowedPaths() []string
- func (x *GrantContext) GetAllowedTools() []string
- func (x *GrantContext) GetApprovalMode() string
- func (x *GrantContext) GetMaxAgents() int32
- func (*GrantContext) ProtoMessage()
- func (x *GrantContext) ProtoReflect() protoreflect.Message
- func (x *GrantContext) Reset()
- func (x *GrantContext) String() string
- type InlineCompletionEvent
- func (*InlineCompletionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *InlineCompletionEvent) GetCompletionId() string
- func (x *InlineCompletionEvent) GetFinishReason() string
- func (x *InlineCompletionEvent) GetIsFinal() bool
- func (x *InlineCompletionEvent) GetScore() float64
- func (x *InlineCompletionEvent) GetText() string
- func (*InlineCompletionEvent) ProtoMessage()
- func (x *InlineCompletionEvent) ProtoReflect() protoreflect.Message
- func (x *InlineCompletionEvent) Reset()
- func (x *InlineCompletionEvent) String() string
- type InlineCompletionRequest
- func (*InlineCompletionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InlineCompletionRequest) GetAgentId() string
- func (x *InlineCompletionRequest) GetContext() *EditorContext
- func (x *InlineCompletionRequest) GetMaxSuggestions() int32
- func (x *InlineCompletionRequest) GetPrompt() string
- func (x *InlineCompletionRequest) GetSessionId() string
- func (*InlineCompletionRequest) ProtoMessage()
- func (x *InlineCompletionRequest) ProtoReflect() protoreflect.Message
- func (x *InlineCompletionRequest) Reset()
- func (x *InlineCompletionRequest) String() string
- type Message
- type P2PConnectionInfo
- func (*P2PConnectionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *P2PConnectionInfo) GetCapabilities() []string
- func (x *P2PConnectionInfo) GetConnectionId() string
- func (*P2PConnectionInfo) ProtoMessage()
- func (x *P2PConnectionInfo) ProtoReflect() protoreflect.Message
- func (x *P2PConnectionInfo) Reset()
- func (x *P2PConnectionInfo) String() string
- type P2PEndpoint
- func (*P2PEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *P2PEndpoint) GetAddress() string
- func (x *P2PEndpoint) GetExpiresAt() *timestamppb.Timestamp
- func (x *P2PEndpoint) GetToken() string
- func (*P2PEndpoint) ProtoMessage()
- func (x *P2PEndpoint) ProtoReflect() protoreflect.Message
- func (x *P2PEndpoint) Reset()
- func (x *P2PEndpoint) String() string
- type P2PEndpointRequest
- func (*P2PEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *P2PEndpointRequest) GetRequesterId() string
- func (x *P2PEndpointRequest) GetTargetAgentId() string
- func (*P2PEndpointRequest) ProtoMessage()
- func (x *P2PEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *P2PEndpointRequest) Reset()
- func (x *P2PEndpointRequest) String() string
- type P2PHandshake
- type Position
- type ProposeEditsRequest
- func (*ProposeEditsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProposeEditsRequest) GetAgentId() string
- func (x *ProposeEditsRequest) GetApply() bool
- func (x *ProposeEditsRequest) GetContext() *EditorContext
- func (x *ProposeEditsRequest) GetInstruction() string
- func (x *ProposeEditsRequest) GetMaxSuggestions() int32
- func (x *ProposeEditsRequest) GetSessionId() string
- func (*ProposeEditsRequest) ProtoMessage()
- func (x *ProposeEditsRequest) ProtoReflect() protoreflect.Message
- func (x *ProposeEditsRequest) Reset()
- func (x *ProposeEditsRequest) String() string
- type ProposeEditsResponse
- func (*ProposeEditsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProposeEditsResponse) GetEdits() []*ProposedEdit
- func (x *ProposeEditsResponse) GetPlanId() string
- func (x *ProposeEditsResponse) GetSummary() string
- func (x *ProposeEditsResponse) GetTaskId() string
- func (*ProposeEditsResponse) ProtoMessage()
- func (x *ProposeEditsResponse) ProtoReflect() protoreflect.Message
- func (x *ProposeEditsResponse) Reset()
- func (x *ProposeEditsResponse) String() string
- type ProposedEdit
- func (*ProposedEdit) Descriptor() ([]byte, []int)deprecated
- func (x *ProposedEdit) GetEdits() []*TextEdit
- func (x *ProposedEdit) GetRank() int32
- func (x *ProposedEdit) GetScore() float64
- func (x *ProposedEdit) GetSummary() string
- func (x *ProposedEdit) GetTitle() string
- func (x *ProposedEdit) GetUri() string
- func (*ProposedEdit) ProtoMessage()
- func (x *ProposedEdit) ProtoReflect() protoreflect.Message
- func (x *ProposedEdit) Reset()
- func (x *ProposedEdit) String() string
- type Range
- type RegisterAgentRequest
- func (*RegisterAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterAgentRequest) GetAgentId() string
- func (x *RegisterAgentRequest) GetCapabilities() []string
- func (x *RegisterAgentRequest) GetEndpoint() string
- func (x *RegisterAgentRequest) GetMetadata() map[string]string
- func (x *RegisterAgentRequest) GetType() string
- func (*RegisterAgentRequest) ProtoMessage()
- func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterAgentRequest) Reset()
- func (x *RegisterAgentRequest) String() string
- type RegisterAgentResponse
- func (*RegisterAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterAgentResponse) GetAgent() *AgentInfo
- func (x *RegisterAgentResponse) GetSessionToken() string
- func (*RegisterAgentResponse) ProtoMessage()
- func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterAgentResponse) Reset()
- func (x *RegisterAgentResponse) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetAgentId() string
- func (x *SendMessageRequest) GetContext() *EditorContext
- func (x *SendMessageRequest) GetMessage() *Message
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetResponse() *Message
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- type ServerCapabilities
- func (*ServerCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCapabilities) GetFeatures() []string
- func (x *ServerCapabilities) GetMaxAgents() int32
- func (x *ServerCapabilities) GetProtocolVersion() string
- func (x *ServerCapabilities) GetSupportedAuth() []string
- func (*ServerCapabilities) ProtoMessage()
- func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
- func (x *ServerCapabilities) Reset()
- func (x *ServerCapabilities) String() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAgentId() string
- func (x *Session) GetCreatedAt() *timestamppb.Timestamp
- func (x *Session) GetMetadata() map[string]string
- func (x *Session) GetSessionId() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type TaskEvent
- func (*TaskEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TaskEvent) GetMessage() string
- func (x *TaskEvent) GetPlanId() string
- func (x *TaskEvent) GetProgress() int32
- func (x *TaskEvent) GetStatus() string
- func (x *TaskEvent) GetTaskId() string
- func (x *TaskEvent) GetTimestamp() *timestamppb.Timestamp
- func (*TaskEvent) ProtoMessage()
- func (x *TaskEvent) ProtoReflect() protoreflect.Message
- func (x *TaskEvent) Reset()
- func (x *TaskEvent) String() string
- type TaskStreamRequest
- func (*TaskStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TaskStreamRequest) GetAgentId() string
- func (x *TaskStreamRequest) GetContext() *EditorContext
- func (x *TaskStreamRequest) GetQuery() string
- func (x *TaskStreamRequest) GetTaskId() string
- func (*TaskStreamRequest) ProtoMessage()
- func (x *TaskStreamRequest) ProtoReflect() protoreflect.Message
- func (x *TaskStreamRequest) Reset()
- func (x *TaskStreamRequest) String() string
- type TaskSubscription
- func (*TaskSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *TaskSubscription) GetPlanId() string
- func (x *TaskSubscription) GetTaskIds() []string
- func (*TaskSubscription) ProtoMessage()
- func (x *TaskSubscription) ProtoReflect() protoreflect.Message
- func (x *TaskSubscription) Reset()
- func (x *TaskSubscription) String() string
- type TextEdit
- func (*TextEdit) Descriptor() ([]byte, []int)deprecated
- func (x *TextEdit) GetNewText() string
- func (x *TextEdit) GetRange() *Range
- func (x *TextEdit) GetUri() string
- func (*TextEdit) ProtoMessage()
- func (x *TextEdit) ProtoReflect() protoreflect.Message
- func (x *TextEdit) Reset()
- func (x *TextEdit) String() string
- type ToolApproval
- func (*ToolApproval) Descriptor() ([]byte, []int)deprecated
- func (x *ToolApproval) GetExecutionId() string
- func (x *ToolApproval) GetRemember() bool
- func (*ToolApproval) ProtoMessage()
- func (x *ToolApproval) ProtoReflect() protoreflect.Message
- func (x *ToolApproval) Reset()
- func (x *ToolApproval) String() string
- type ToolExecutionEvent
- func (*ToolExecutionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToolExecutionEvent) GetExecutionId() string
- func (x *ToolExecutionEvent) GetOutput() string
- func (x *ToolExecutionEvent) GetStatus() string
- func (x *ToolExecutionEvent) GetTimestamp() *timestamppb.Timestamp
- func (*ToolExecutionEvent) ProtoMessage()
- func (x *ToolExecutionEvent) ProtoReflect() protoreflect.Message
- func (x *ToolExecutionEvent) Reset()
- func (x *ToolExecutionEvent) String() string
- type ToolExecutionRequest
- func (*ToolExecutionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToolExecutionRequest) GetAgentId() string
- func (x *ToolExecutionRequest) GetParameters() map[string]string
- func (x *ToolExecutionRequest) GetTool() string
- func (*ToolExecutionRequest) ProtoMessage()
- func (x *ToolExecutionRequest) ProtoReflect() protoreflect.Message
- func (x *ToolExecutionRequest) Reset()
- func (x *ToolExecutionRequest) String() string
- type ToolRejection
- func (*ToolRejection) Descriptor() ([]byte, []int)deprecated
- func (x *ToolRejection) GetExecutionId() string
- func (x *ToolRejection) GetReason() string
- func (*ToolRejection) ProtoMessage()
- func (x *ToolRejection) ProtoReflect() protoreflect.Message
- func (x *ToolRejection) Reset()
- func (x *ToolRejection) String() string
- type UnimplementedAgentCommunicationServer
- func (UnimplementedAgentCommunicationServer) ApplyEdits(context.Context, *ApplyEditsRequest) (*ApplyEditsResponse, error)
- func (UnimplementedAgentCommunicationServer) ApproveToolExecution(context.Context, *ToolApproval) (*emptypb.Empty, error)
- func (UnimplementedAgentCommunicationServer) CreateContextHandle(context.Context, *ContextHandleRequest) (*ContextHandle, error)
- func (UnimplementedAgentCommunicationServer) CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
- func (UnimplementedAgentCommunicationServer) DiscoverAgents(context.Context, *DiscoverAgentsRequest) (*DiscoverAgentsResponse, error)
- func (UnimplementedAgentCommunicationServer) EstablishP2PConnection(context.Context, *P2PHandshake) (*P2PConnectionInfo, error)
- func (UnimplementedAgentCommunicationServer) GetAgentInfo(context.Context, *GetAgentInfoRequest) (*AgentInfo, error)
- func (UnimplementedAgentCommunicationServer) GetP2PEndpoint(context.Context, *P2PEndpointRequest) (*P2PEndpoint, error)
- func (UnimplementedAgentCommunicationServer) GetServerCapabilities(context.Context, *emptypb.Empty) (*ServerCapabilities, error)
- func (UnimplementedAgentCommunicationServer) ProposeEdits(context.Context, *ProposeEditsRequest) (*ProposeEditsResponse, error)
- func (UnimplementedAgentCommunicationServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)
- func (UnimplementedAgentCommunicationServer) RejectToolExecution(context.Context, *ToolRejection) (*emptypb.Empty, error)
- func (UnimplementedAgentCommunicationServer) RequestCapabilities(context.Context, *CapabilityRequest) (*CapabilityGrant, error)
- func (UnimplementedAgentCommunicationServer) RequestToolExecution(*ToolExecutionRequest, grpc.ServerStreamingServer[ToolExecutionEvent]) error
- func (UnimplementedAgentCommunicationServer) ResolveContextHandle(context.Context, *ContextHandle) (*ContextData, error)
- func (UnimplementedAgentCommunicationServer) RevokeCapabilities(context.Context, *CapabilityRevocation) (*emptypb.Empty, error)
- func (UnimplementedAgentCommunicationServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedAgentCommunicationServer) StreamInlineCompletions(*InlineCompletionRequest, grpc.ServerStreamingServer[InlineCompletionEvent]) error
- func (UnimplementedAgentCommunicationServer) StreamTask(*TaskStreamRequest, grpc.ServerStreamingServer[TaskEvent]) error
- func (UnimplementedAgentCommunicationServer) SubscribeTaskEvents(*TaskSubscription, grpc.ServerStreamingServer[TaskEvent]) error
- func (UnimplementedAgentCommunicationServer) UnregisterAgent(context.Context, *UnregisterAgentRequest) (*emptypb.Empty, error)
- func (UnimplementedAgentCommunicationServer) UpdateEditorState(context.Context, *UpdateEditorStateRequest) (*UpdateEditorStateResponse, error)
- func (UnimplementedAgentCommunicationServer) UpdateSessionContext(context.Context, *ContextDelta) (*emptypb.Empty, error)
- type UnregisterAgentRequest
- func (*UnregisterAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnregisterAgentRequest) GetAgentId() string
- func (x *UnregisterAgentRequest) GetReason() string
- func (*UnregisterAgentRequest) ProtoMessage()
- func (x *UnregisterAgentRequest) ProtoReflect() protoreflect.Message
- func (x *UnregisterAgentRequest) Reset()
- func (x *UnregisterAgentRequest) String() string
- type UnsafeAgentCommunicationServer
- type UpdateEditorStateRequest
- func (*UpdateEditorStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEditorStateRequest) GetAgentId() string
- func (x *UpdateEditorStateRequest) GetContext() *EditorContext
- func (x *UpdateEditorStateRequest) GetDiagnostics() []string
- func (x *UpdateEditorStateRequest) GetRequestTodoSync() bool
- func (x *UpdateEditorStateRequest) GetSessionId() string
- func (*UpdateEditorStateRequest) ProtoMessage()
- func (x *UpdateEditorStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEditorStateRequest) Reset()
- func (x *UpdateEditorStateRequest) String() string
- type UpdateEditorStateResponse
- func (*UpdateEditorStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEditorStateResponse) GetApprovals() []string
- func (x *UpdateEditorStateResponse) GetPlanState() string
- func (x *UpdateEditorStateResponse) GetTodoState() string
- func (x *UpdateEditorStateResponse) GetToolsInProgress() []string
- func (*UpdateEditorStateResponse) ProtoMessage()
- func (x *UpdateEditorStateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEditorStateResponse) Reset()
- func (x *UpdateEditorStateResponse) String() string
Constants ¶
const ( AgentCommunication_RegisterAgent_FullMethodName = "/buckley.acp.v1.AgentCommunication/RegisterAgent" AgentCommunication_UnregisterAgent_FullMethodName = "/buckley.acp.v1.AgentCommunication/UnregisterAgent" AgentCommunication_DiscoverAgents_FullMethodName = "/buckley.acp.v1.AgentCommunication/DiscoverAgents" AgentCommunication_GetAgentInfo_FullMethodName = "/buckley.acp.v1.AgentCommunication/GetAgentInfo" AgentCommunication_GetServerCapabilities_FullMethodName = "/buckley.acp.v1.AgentCommunication/GetServerCapabilities" AgentCommunication_RequestCapabilities_FullMethodName = "/buckley.acp.v1.AgentCommunication/RequestCapabilities" AgentCommunication_RevokeCapabilities_FullMethodName = "/buckley.acp.v1.AgentCommunication/RevokeCapabilities" AgentCommunication_CreateSession_FullMethodName = "/buckley.acp.v1.AgentCommunication/CreateSession" AgentCommunication_UpdateSessionContext_FullMethodName = "/buckley.acp.v1.AgentCommunication/UpdateSessionContext" AgentCommunication_CreateContextHandle_FullMethodName = "/buckley.acp.v1.AgentCommunication/CreateContextHandle" AgentCommunication_ResolveContextHandle_FullMethodName = "/buckley.acp.v1.AgentCommunication/ResolveContextHandle" AgentCommunication_StreamTask_FullMethodName = "/buckley.acp.v1.AgentCommunication/StreamTask" AgentCommunication_SubscribeTaskEvents_FullMethodName = "/buckley.acp.v1.AgentCommunication/SubscribeTaskEvents" AgentCommunication_GetP2PEndpoint_FullMethodName = "/buckley.acp.v1.AgentCommunication/GetP2PEndpoint" AgentCommunication_EstablishP2PConnection_FullMethodName = "/buckley.acp.v1.AgentCommunication/EstablishP2PConnection" AgentCommunication_RequestToolExecution_FullMethodName = "/buckley.acp.v1.AgentCommunication/RequestToolExecution" AgentCommunication_ApproveToolExecution_FullMethodName = "/buckley.acp.v1.AgentCommunication/ApproveToolExecution" AgentCommunication_RejectToolExecution_FullMethodName = "/buckley.acp.v1.AgentCommunication/RejectToolExecution" AgentCommunication_SendMessage_FullMethodName = "/buckley.acp.v1.AgentCommunication/SendMessage" AgentCommunication_StreamInlineCompletions_FullMethodName = "/buckley.acp.v1.AgentCommunication/StreamInlineCompletions" AgentCommunication_ProposeEdits_FullMethodName = "/buckley.acp.v1.AgentCommunication/ProposeEdits" AgentCommunication_ApplyEdits_FullMethodName = "/buckley.acp.v1.AgentCommunication/ApplyEdits" AgentCommunication_UpdateEditorState_FullMethodName = "/buckley.acp.v1.AgentCommunication/UpdateEditorState" )
Variables ¶
var AgentCommunication_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buckley.acp.v1.AgentCommunication", HandlerType: (*AgentCommunicationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterAgent", Handler: _AgentCommunication_RegisterAgent_Handler, }, { MethodName: "UnregisterAgent", Handler: _AgentCommunication_UnregisterAgent_Handler, }, { MethodName: "DiscoverAgents", Handler: _AgentCommunication_DiscoverAgents_Handler, }, { MethodName: "GetAgentInfo", Handler: _AgentCommunication_GetAgentInfo_Handler, }, { MethodName: "GetServerCapabilities", Handler: _AgentCommunication_GetServerCapabilities_Handler, }, { MethodName: "RequestCapabilities", Handler: _AgentCommunication_RequestCapabilities_Handler, }, { MethodName: "RevokeCapabilities", Handler: _AgentCommunication_RevokeCapabilities_Handler, }, { MethodName: "CreateSession", Handler: _AgentCommunication_CreateSession_Handler, }, { MethodName: "UpdateSessionContext", Handler: _AgentCommunication_UpdateSessionContext_Handler, }, { MethodName: "CreateContextHandle", Handler: _AgentCommunication_CreateContextHandle_Handler, }, { MethodName: "ResolveContextHandle", Handler: _AgentCommunication_ResolveContextHandle_Handler, }, { MethodName: "GetP2PEndpoint", Handler: _AgentCommunication_GetP2PEndpoint_Handler, }, { MethodName: "EstablishP2PConnection", Handler: _AgentCommunication_EstablishP2PConnection_Handler, }, { MethodName: "ApproveToolExecution", Handler: _AgentCommunication_ApproveToolExecution_Handler, }, { MethodName: "RejectToolExecution", Handler: _AgentCommunication_RejectToolExecution_Handler, }, { MethodName: "SendMessage", Handler: _AgentCommunication_SendMessage_Handler, }, { MethodName: "ProposeEdits", Handler: _AgentCommunication_ProposeEdits_Handler, }, { MethodName: "ApplyEdits", Handler: _AgentCommunication_ApplyEdits_Handler, }, { MethodName: "UpdateEditorState", Handler: _AgentCommunication_UpdateEditorState_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamTask", Handler: _AgentCommunication_StreamTask_Handler, ServerStreams: true, }, { StreamName: "SubscribeTaskEvents", Handler: _AgentCommunication_SubscribeTaskEvents_Handler, ServerStreams: true, }, { StreamName: "RequestToolExecution", Handler: _AgentCommunication_RequestToolExecution_Handler, ServerStreams: true, }, { StreamName: "StreamInlineCompletions", Handler: _AgentCommunication_StreamInlineCompletions_Handler, ServerStreams: true, }, }, Metadata: "acp.proto", }
AgentCommunication_ServiceDesc is the grpc.ServiceDesc for AgentCommunication service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_acp_proto protoreflect.FileDescriptor
var File_types_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentCommunicationServer ¶
func RegisterAgentCommunicationServer(s grpc.ServiceRegistrar, srv AgentCommunicationServer)
Types ¶
type AgentCommunicationClient ¶
type AgentCommunicationClient interface {
// Agent lifecycle
RegisterAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error)
UnregisterAgent(ctx context.Context, in *UnregisterAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DiscoverAgents(ctx context.Context, in *DiscoverAgentsRequest, opts ...grpc.CallOption) (*DiscoverAgentsResponse, error)
GetAgentInfo(ctx context.Context, in *GetAgentInfoRequest, opts ...grpc.CallOption) (*AgentInfo, error)
// Capability negotiation
GetServerCapabilities(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServerCapabilities, error)
RequestCapabilities(ctx context.Context, in *CapabilityRequest, opts ...grpc.CallOption) (*CapabilityGrant, error)
RevokeCapabilities(ctx context.Context, in *CapabilityRevocation, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Context management
CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error)
UpdateSessionContext(ctx context.Context, in *ContextDelta, opts ...grpc.CallOption) (*emptypb.Empty, error)
CreateContextHandle(ctx context.Context, in *ContextHandleRequest, opts ...grpc.CallOption) (*ContextHandle, error)
ResolveContextHandle(ctx context.Context, in *ContextHandle, opts ...grpc.CallOption) (*ContextData, error)
// Task streaming
StreamTask(ctx context.Context, in *TaskStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TaskEvent], error)
SubscribeTaskEvents(ctx context.Context, in *TaskSubscription, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TaskEvent], error)
// P2P introduction
GetP2PEndpoint(ctx context.Context, in *P2PEndpointRequest, opts ...grpc.CallOption) (*P2PEndpoint, error)
EstablishP2PConnection(ctx context.Context, in *P2PHandshake, opts ...grpc.CallOption) (*P2PConnectionInfo, error)
// Tool execution
RequestToolExecution(ctx context.Context, in *ToolExecutionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ToolExecutionEvent], error)
ApproveToolExecution(ctx context.Context, in *ToolApproval, opts ...grpc.CallOption) (*emptypb.Empty, error)
RejectToolExecution(ctx context.Context, in *ToolRejection, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Message exchange (for LSP integration)
SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
// Editor-native flows
StreamInlineCompletions(ctx context.Context, in *InlineCompletionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InlineCompletionEvent], error)
ProposeEdits(ctx context.Context, in *ProposeEditsRequest, opts ...grpc.CallOption) (*ProposeEditsResponse, error)
ApplyEdits(ctx context.Context, in *ApplyEditsRequest, opts ...grpc.CallOption) (*ApplyEditsResponse, error)
UpdateEditorState(ctx context.Context, in *UpdateEditorStateRequest, opts ...grpc.CallOption) (*UpdateEditorStateResponse, error)
}
AgentCommunicationClient is the client API for AgentCommunication service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentCommunicationClient ¶
func NewAgentCommunicationClient(cc grpc.ClientConnInterface) AgentCommunicationClient
type AgentCommunicationServer ¶
type AgentCommunicationServer interface {
// Agent lifecycle
RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)
UnregisterAgent(context.Context, *UnregisterAgentRequest) (*emptypb.Empty, error)
DiscoverAgents(context.Context, *DiscoverAgentsRequest) (*DiscoverAgentsResponse, error)
GetAgentInfo(context.Context, *GetAgentInfoRequest) (*AgentInfo, error)
// Capability negotiation
GetServerCapabilities(context.Context, *emptypb.Empty) (*ServerCapabilities, error)
RequestCapabilities(context.Context, *CapabilityRequest) (*CapabilityGrant, error)
RevokeCapabilities(context.Context, *CapabilityRevocation) (*emptypb.Empty, error)
// Context management
CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
UpdateSessionContext(context.Context, *ContextDelta) (*emptypb.Empty, error)
CreateContextHandle(context.Context, *ContextHandleRequest) (*ContextHandle, error)
ResolveContextHandle(context.Context, *ContextHandle) (*ContextData, error)
// Task streaming
StreamTask(*TaskStreamRequest, grpc.ServerStreamingServer[TaskEvent]) error
SubscribeTaskEvents(*TaskSubscription, grpc.ServerStreamingServer[TaskEvent]) error
// P2P introduction
GetP2PEndpoint(context.Context, *P2PEndpointRequest) (*P2PEndpoint, error)
EstablishP2PConnection(context.Context, *P2PHandshake) (*P2PConnectionInfo, error)
// Tool execution
RequestToolExecution(*ToolExecutionRequest, grpc.ServerStreamingServer[ToolExecutionEvent]) error
ApproveToolExecution(context.Context, *ToolApproval) (*emptypb.Empty, error)
RejectToolExecution(context.Context, *ToolRejection) (*emptypb.Empty, error)
// Message exchange (for LSP integration)
SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
// Editor-native flows
StreamInlineCompletions(*InlineCompletionRequest, grpc.ServerStreamingServer[InlineCompletionEvent]) error
ProposeEdits(context.Context, *ProposeEditsRequest) (*ProposeEditsResponse, error)
ApplyEdits(context.Context, *ApplyEditsRequest) (*ApplyEditsResponse, error)
UpdateEditorState(context.Context, *UpdateEditorStateRequest) (*UpdateEditorStateResponse, error)
// contains filtered or unexported methods
}
AgentCommunicationServer is the server API for AgentCommunication service. All implementations must embed UnimplementedAgentCommunicationServer for forward compatibility.
type AgentCommunication_RequestToolExecutionClient ¶
type AgentCommunication_RequestToolExecutionClient = grpc.ServerStreamingClient[ToolExecutionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_RequestToolExecutionServer ¶
type AgentCommunication_RequestToolExecutionServer = grpc.ServerStreamingServer[ToolExecutionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_StreamInlineCompletionsClient ¶
type AgentCommunication_StreamInlineCompletionsClient = grpc.ServerStreamingClient[InlineCompletionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_StreamInlineCompletionsServer ¶
type AgentCommunication_StreamInlineCompletionsServer = grpc.ServerStreamingServer[InlineCompletionEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_StreamTaskClient ¶
type AgentCommunication_StreamTaskClient = grpc.ServerStreamingClient[TaskEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_StreamTaskServer ¶
type AgentCommunication_StreamTaskServer = grpc.ServerStreamingServer[TaskEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_SubscribeTaskEventsClient ¶
type AgentCommunication_SubscribeTaskEventsClient = grpc.ServerStreamingClient[TaskEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentCommunication_SubscribeTaskEventsServer ¶
type AgentCommunication_SubscribeTaskEventsServer = grpc.ServerStreamingServer[TaskEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentInfo ¶
type AgentInfo 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"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Capabilities []string `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
RegisteredAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"`
// contains filtered or unexported fields
}
Core types
func (*AgentInfo) Descriptor
deprecated
func (*AgentInfo) GetCapabilities ¶
func (*AgentInfo) GetEndpoint ¶
func (*AgentInfo) GetMetadata ¶
func (*AgentInfo) GetRegisteredAt ¶
func (x *AgentInfo) GetRegisteredAt() *timestamppb.Timestamp
func (*AgentInfo) ProtoMessage ¶
func (*AgentInfo) ProtoMessage()
func (*AgentInfo) ProtoReflect ¶
func (x *AgentInfo) ProtoReflect() protoreflect.Message
type ApplyEditsRequest ¶
type ApplyEditsRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Edits []*TextEdit `protobuf:"bytes,3,rep,name=edits,proto3" json:"edits,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyEditsRequest) Descriptor
deprecated
func (*ApplyEditsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditsRequest.ProtoReflect.Descriptor instead.
func (*ApplyEditsRequest) GetAgentId ¶
func (x *ApplyEditsRequest) GetAgentId() string
func (*ApplyEditsRequest) GetDryRun ¶
func (x *ApplyEditsRequest) GetDryRun() bool
func (*ApplyEditsRequest) GetEdits ¶
func (x *ApplyEditsRequest) GetEdits() []*TextEdit
func (*ApplyEditsRequest) GetSessionId ¶
func (x *ApplyEditsRequest) GetSessionId() string
func (*ApplyEditsRequest) GetTitle ¶
func (x *ApplyEditsRequest) GetTitle() string
func (*ApplyEditsRequest) ProtoMessage ¶
func (*ApplyEditsRequest) ProtoMessage()
func (*ApplyEditsRequest) ProtoReflect ¶
func (x *ApplyEditsRequest) ProtoReflect() protoreflect.Message
func (*ApplyEditsRequest) Reset ¶
func (x *ApplyEditsRequest) Reset()
func (*ApplyEditsRequest) String ¶
func (x *ApplyEditsRequest) String() string
type ApplyEditsResponse ¶
type ApplyEditsResponse struct {
Applied bool `protobuf:"varint,1,opt,name=applied,proto3" json:"applied,omitempty"`
Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyEditsResponse) Descriptor
deprecated
func (*ApplyEditsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditsResponse.ProtoReflect.Descriptor instead.
func (*ApplyEditsResponse) GetApplied ¶
func (x *ApplyEditsResponse) GetApplied() bool
func (*ApplyEditsResponse) GetFiles ¶
func (x *ApplyEditsResponse) GetFiles() []string
func (*ApplyEditsResponse) GetMessage ¶
func (x *ApplyEditsResponse) GetMessage() string
func (*ApplyEditsResponse) ProtoMessage ¶
func (*ApplyEditsResponse) ProtoMessage()
func (*ApplyEditsResponse) ProtoReflect ¶
func (x *ApplyEditsResponse) ProtoReflect() protoreflect.Message
func (*ApplyEditsResponse) Reset ¶
func (x *ApplyEditsResponse) Reset()
func (*ApplyEditsResponse) String ¶
func (x *ApplyEditsResponse) String() string
type CapabilityGrant ¶
type CapabilityGrant struct {
GrantId string `protobuf:"bytes,1,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
Context *GrantContext `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*CapabilityGrant) Descriptor
deprecated
func (*CapabilityGrant) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityGrant.ProtoReflect.Descriptor instead.
func (*CapabilityGrant) GetAgentId ¶
func (x *CapabilityGrant) GetAgentId() string
func (*CapabilityGrant) GetCapabilities ¶
func (x *CapabilityGrant) GetCapabilities() []string
func (*CapabilityGrant) GetContext ¶
func (x *CapabilityGrant) GetContext() *GrantContext
func (*CapabilityGrant) GetExpiresAt ¶
func (x *CapabilityGrant) GetExpiresAt() *timestamppb.Timestamp
func (*CapabilityGrant) GetGrantId ¶
func (x *CapabilityGrant) GetGrantId() string
func (*CapabilityGrant) GetIssuedAt ¶
func (x *CapabilityGrant) GetIssuedAt() *timestamppb.Timestamp
func (*CapabilityGrant) ProtoMessage ¶
func (*CapabilityGrant) ProtoMessage()
func (*CapabilityGrant) ProtoReflect ¶
func (x *CapabilityGrant) ProtoReflect() protoreflect.Message
func (*CapabilityGrant) Reset ¶
func (x *CapabilityGrant) Reset()
func (*CapabilityGrant) String ¶
func (x *CapabilityGrant) String() string
type CapabilityRequest ¶
type CapabilityRequest struct {
Capabilities []string `protobuf:"bytes,1,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
DurationSeconds int64 `protobuf:"varint,2,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"`
Context *GrantContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*CapabilityRequest) Descriptor
deprecated
func (*CapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityRequest.ProtoReflect.Descriptor instead.
func (*CapabilityRequest) GetCapabilities ¶
func (x *CapabilityRequest) GetCapabilities() []string
func (*CapabilityRequest) GetContext ¶
func (x *CapabilityRequest) GetContext() *GrantContext
func (*CapabilityRequest) GetDurationSeconds ¶
func (x *CapabilityRequest) GetDurationSeconds() int64
func (*CapabilityRequest) ProtoMessage ¶
func (*CapabilityRequest) ProtoMessage()
func (*CapabilityRequest) ProtoReflect ¶
func (x *CapabilityRequest) ProtoReflect() protoreflect.Message
func (*CapabilityRequest) Reset ¶
func (x *CapabilityRequest) Reset()
func (*CapabilityRequest) String ¶
func (x *CapabilityRequest) String() string
type CapabilityRevocation ¶
type CapabilityRevocation struct {
GrantId string `protobuf:"bytes,1,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
// contains filtered or unexported fields
}
func (*CapabilityRevocation) Descriptor
deprecated
func (*CapabilityRevocation) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityRevocation.ProtoReflect.Descriptor instead.
func (*CapabilityRevocation) GetGrantId ¶
func (x *CapabilityRevocation) GetGrantId() string
func (*CapabilityRevocation) ProtoMessage ¶
func (*CapabilityRevocation) ProtoMessage()
func (*CapabilityRevocation) ProtoReflect ¶
func (x *CapabilityRevocation) ProtoReflect() protoreflect.Message
func (*CapabilityRevocation) Reset ¶
func (x *CapabilityRevocation) Reset()
func (*CapabilityRevocation) String ¶
func (x *CapabilityRevocation) String() string
type ContextData ¶
type ContextData struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ContextData) Descriptor
deprecated
func (*ContextData) Descriptor() ([]byte, []int)
Deprecated: Use ContextData.ProtoReflect.Descriptor instead.
func (*ContextData) GetData ¶
func (x *ContextData) GetData() []byte
func (*ContextData) GetType ¶
func (x *ContextData) GetType() string
func (*ContextData) ProtoMessage ¶
func (*ContextData) ProtoMessage()
func (*ContextData) ProtoReflect ¶
func (x *ContextData) ProtoReflect() protoreflect.Message
func (*ContextData) Reset ¶
func (x *ContextData) Reset()
func (*ContextData) String ¶
func (x *ContextData) String() string
type ContextDelta ¶
type ContextDelta struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
AddedFiles []string `protobuf:"bytes,2,rep,name=added_files,json=addedFiles,proto3" json:"added_files,omitempty"`
RemovedFiles []string `protobuf:"bytes,3,rep,name=removed_files,json=removedFiles,proto3" json:"removed_files,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ContextDelta) Descriptor
deprecated
func (*ContextDelta) Descriptor() ([]byte, []int)
Deprecated: Use ContextDelta.ProtoReflect.Descriptor instead.
func (*ContextDelta) GetAddedFiles ¶
func (x *ContextDelta) GetAddedFiles() []string
func (*ContextDelta) GetMetadata ¶
func (x *ContextDelta) GetMetadata() map[string]string
func (*ContextDelta) GetRemovedFiles ¶
func (x *ContextDelta) GetRemovedFiles() []string
func (*ContextDelta) GetSessionId ¶
func (x *ContextDelta) GetSessionId() string
func (*ContextDelta) ProtoMessage ¶
func (*ContextDelta) ProtoMessage()
func (*ContextDelta) ProtoReflect ¶
func (x *ContextDelta) ProtoReflect() protoreflect.Message
func (*ContextDelta) Reset ¶
func (x *ContextDelta) Reset()
func (*ContextDelta) String ¶
func (x *ContextDelta) String() string
type ContextHandle ¶
type ContextHandle struct {
HandleId string `protobuf:"bytes,1,opt,name=handle_id,json=handleId,proto3" json:"handle_id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*ContextHandle) Descriptor
deprecated
func (*ContextHandle) Descriptor() ([]byte, []int)
Deprecated: Use ContextHandle.ProtoReflect.Descriptor instead.
func (*ContextHandle) GetCreatedAt ¶
func (x *ContextHandle) GetCreatedAt() *timestamppb.Timestamp
func (*ContextHandle) GetHandleId ¶
func (x *ContextHandle) GetHandleId() string
func (*ContextHandle) GetSizeBytes ¶
func (x *ContextHandle) GetSizeBytes() int64
func (*ContextHandle) GetType ¶
func (x *ContextHandle) GetType() string
func (*ContextHandle) ProtoMessage ¶
func (*ContextHandle) ProtoMessage()
func (*ContextHandle) ProtoReflect ¶
func (x *ContextHandle) ProtoReflect() protoreflect.Message
func (*ContextHandle) Reset ¶
func (x *ContextHandle) Reset()
func (*ContextHandle) String ¶
func (x *ContextHandle) String() string
type ContextHandleRequest ¶
type ContextHandleRequest struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ContextHandleRequest) Descriptor
deprecated
func (*ContextHandleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextHandleRequest.ProtoReflect.Descriptor instead.
func (*ContextHandleRequest) GetData ¶
func (x *ContextHandleRequest) GetData() []byte
func (*ContextHandleRequest) GetType ¶
func (x *ContextHandleRequest) GetType() string
func (*ContextHandleRequest) ProtoMessage ¶
func (*ContextHandleRequest) ProtoMessage()
func (*ContextHandleRequest) ProtoReflect ¶
func (x *ContextHandleRequest) ProtoReflect() protoreflect.Message
func (*ContextHandleRequest) Reset ¶
func (x *ContextHandleRequest) Reset()
func (*ContextHandleRequest) String ¶
func (x *ContextHandleRequest) String() string
type CreateSessionRequest ¶
type CreateSessionRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateSessionRequest) Descriptor
deprecated
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) GetAgentId ¶
func (x *CreateSessionRequest) GetAgentId() string
func (*CreateSessionRequest) GetMetadata ¶
func (x *CreateSessionRequest) GetMetadata() map[string]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 DiscoverAgentsRequest ¶
type DiscoverAgentsRequest struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Capabilities []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
Tags map[string]string `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*DiscoverAgentsRequest) Descriptor
deprecated
func (*DiscoverAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverAgentsRequest.ProtoReflect.Descriptor instead.
func (*DiscoverAgentsRequest) GetCapabilities ¶
func (x *DiscoverAgentsRequest) GetCapabilities() []string
func (*DiscoverAgentsRequest) GetTags ¶
func (x *DiscoverAgentsRequest) GetTags() map[string]string
func (*DiscoverAgentsRequest) GetType ¶
func (x *DiscoverAgentsRequest) GetType() string
func (*DiscoverAgentsRequest) ProtoMessage ¶
func (*DiscoverAgentsRequest) ProtoMessage()
func (*DiscoverAgentsRequest) ProtoReflect ¶
func (x *DiscoverAgentsRequest) ProtoReflect() protoreflect.Message
func (*DiscoverAgentsRequest) Reset ¶
func (x *DiscoverAgentsRequest) Reset()
func (*DiscoverAgentsRequest) String ¶
func (x *DiscoverAgentsRequest) String() string
type DiscoverAgentsResponse ¶
type DiscoverAgentsResponse struct {
Agents []*AgentInfo `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// contains filtered or unexported fields
}
func (*DiscoverAgentsResponse) Descriptor
deprecated
func (*DiscoverAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverAgentsResponse.ProtoReflect.Descriptor instead.
func (*DiscoverAgentsResponse) GetAgents ¶
func (x *DiscoverAgentsResponse) GetAgents() []*AgentInfo
func (*DiscoverAgentsResponse) ProtoMessage ¶
func (*DiscoverAgentsResponse) ProtoMessage()
func (*DiscoverAgentsResponse) ProtoReflect ¶
func (x *DiscoverAgentsResponse) ProtoReflect() protoreflect.Message
func (*DiscoverAgentsResponse) Reset ¶
func (x *DiscoverAgentsResponse) Reset()
func (*DiscoverAgentsResponse) String ¶
func (x *DiscoverAgentsResponse) String() string
type DocumentSnapshot ¶
type DocumentSnapshot struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
LanguageId string `protobuf:"bytes,2,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
Selection *Range `protobuf:"bytes,4,opt,name=selection,proto3" json:"selection,omitempty"`
VisibleRanges []*Range `protobuf:"bytes,5,rep,name=visible_ranges,json=visibleRanges,proto3" json:"visible_ranges,omitempty"`
Version int64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
WorkspaceRoot string `protobuf:"bytes,7,opt,name=workspace_root,json=workspaceRoot,proto3" json:"workspace_root,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
Editor context and inline features
func (*DocumentSnapshot) Descriptor
deprecated
func (*DocumentSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use DocumentSnapshot.ProtoReflect.Descriptor instead.
func (*DocumentSnapshot) GetContent ¶
func (x *DocumentSnapshot) GetContent() string
func (*DocumentSnapshot) GetLanguageId ¶
func (x *DocumentSnapshot) GetLanguageId() string
func (*DocumentSnapshot) GetMetadata ¶
func (x *DocumentSnapshot) GetMetadata() map[string]string
func (*DocumentSnapshot) GetSelection ¶
func (x *DocumentSnapshot) GetSelection() *Range
func (*DocumentSnapshot) GetUri ¶
func (x *DocumentSnapshot) GetUri() string
func (*DocumentSnapshot) GetVersion ¶
func (x *DocumentSnapshot) GetVersion() int64
func (*DocumentSnapshot) GetVisibleRanges ¶
func (x *DocumentSnapshot) GetVisibleRanges() []*Range
func (*DocumentSnapshot) GetWorkspaceRoot ¶
func (x *DocumentSnapshot) GetWorkspaceRoot() string
func (*DocumentSnapshot) ProtoMessage ¶
func (*DocumentSnapshot) ProtoMessage()
func (*DocumentSnapshot) ProtoReflect ¶
func (x *DocumentSnapshot) ProtoReflect() protoreflect.Message
func (*DocumentSnapshot) Reset ¶
func (x *DocumentSnapshot) Reset()
func (*DocumentSnapshot) String ¶
func (x *DocumentSnapshot) String() string
type EditorContext ¶
type EditorContext struct {
Document *DocumentSnapshot `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
RelatedDocuments []*DocumentSnapshot `protobuf:"bytes,2,rep,name=related_documents,json=relatedDocuments,proto3" json:"related_documents,omitempty"`
Symbols []string `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*EditorContext) Descriptor
deprecated
func (*EditorContext) Descriptor() ([]byte, []int)
Deprecated: Use EditorContext.ProtoReflect.Descriptor instead.
func (*EditorContext) GetDocument ¶
func (x *EditorContext) GetDocument() *DocumentSnapshot
func (*EditorContext) GetMetadata ¶
func (x *EditorContext) GetMetadata() map[string]string
func (*EditorContext) GetRelatedDocuments ¶
func (x *EditorContext) GetRelatedDocuments() []*DocumentSnapshot
func (*EditorContext) GetSymbols ¶
func (x *EditorContext) GetSymbols() []string
func (*EditorContext) ProtoMessage ¶
func (*EditorContext) ProtoMessage()
func (*EditorContext) ProtoReflect ¶
func (x *EditorContext) ProtoReflect() protoreflect.Message
func (*EditorContext) Reset ¶
func (x *EditorContext) Reset()
func (*EditorContext) String ¶
func (x *EditorContext) String() string
type GetAgentInfoRequest ¶
type GetAgentInfoRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetAgentInfoRequest) Descriptor
deprecated
func (*GetAgentInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentInfoRequest.ProtoReflect.Descriptor instead.
func (*GetAgentInfoRequest) GetAgentId ¶
func (x *GetAgentInfoRequest) GetAgentId() string
func (*GetAgentInfoRequest) ProtoMessage ¶
func (*GetAgentInfoRequest) ProtoMessage()
func (*GetAgentInfoRequest) ProtoReflect ¶
func (x *GetAgentInfoRequest) ProtoReflect() protoreflect.Message
func (*GetAgentInfoRequest) Reset ¶
func (x *GetAgentInfoRequest) Reset()
func (*GetAgentInfoRequest) String ¶
func (x *GetAgentInfoRequest) String() string
type GrantContext ¶
type GrantContext struct {
AllowedPaths []string `protobuf:"bytes,1,rep,name=allowed_paths,json=allowedPaths,proto3" json:"allowed_paths,omitempty"`
AllowedTools []string `protobuf:"bytes,2,rep,name=allowed_tools,json=allowedTools,proto3" json:"allowed_tools,omitempty"`
MaxAgents int32 `protobuf:"varint,3,opt,name=max_agents,json=maxAgents,proto3" json:"max_agents,omitempty"`
ApprovalMode string `protobuf:"bytes,4,opt,name=approval_mode,json=approvalMode,proto3" json:"approval_mode,omitempty"`
// contains filtered or unexported fields
}
func (*GrantContext) Descriptor
deprecated
func (*GrantContext) Descriptor() ([]byte, []int)
Deprecated: Use GrantContext.ProtoReflect.Descriptor instead.
func (*GrantContext) GetAllowedPaths ¶
func (x *GrantContext) GetAllowedPaths() []string
func (*GrantContext) GetAllowedTools ¶
func (x *GrantContext) GetAllowedTools() []string
func (*GrantContext) GetApprovalMode ¶
func (x *GrantContext) GetApprovalMode() string
func (*GrantContext) GetMaxAgents ¶
func (x *GrantContext) GetMaxAgents() int32
func (*GrantContext) ProtoMessage ¶
func (*GrantContext) ProtoMessage()
func (*GrantContext) ProtoReflect ¶
func (x *GrantContext) ProtoReflect() protoreflect.Message
func (*GrantContext) Reset ¶
func (x *GrantContext) Reset()
func (*GrantContext) String ¶
func (x *GrantContext) String() string
type InlineCompletionEvent ¶
type InlineCompletionEvent struct {
CompletionId string `protobuf:"bytes,1,opt,name=completion_id,json=completionId,proto3" json:"completion_id,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
FinishReason string `protobuf:"bytes,4,opt,name=finish_reason,json=finishReason,proto3" json:"finish_reason,omitempty"`
Score float64 `protobuf:"fixed64,5,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
func (*InlineCompletionEvent) Descriptor
deprecated
func (*InlineCompletionEvent) Descriptor() ([]byte, []int)
Deprecated: Use InlineCompletionEvent.ProtoReflect.Descriptor instead.
func (*InlineCompletionEvent) GetCompletionId ¶
func (x *InlineCompletionEvent) GetCompletionId() string
func (*InlineCompletionEvent) GetFinishReason ¶
func (x *InlineCompletionEvent) GetFinishReason() string
func (*InlineCompletionEvent) GetIsFinal ¶
func (x *InlineCompletionEvent) GetIsFinal() bool
func (*InlineCompletionEvent) GetScore ¶
func (x *InlineCompletionEvent) GetScore() float64
func (*InlineCompletionEvent) GetText ¶
func (x *InlineCompletionEvent) GetText() string
func (*InlineCompletionEvent) ProtoMessage ¶
func (*InlineCompletionEvent) ProtoMessage()
func (*InlineCompletionEvent) ProtoReflect ¶
func (x *InlineCompletionEvent) ProtoReflect() protoreflect.Message
func (*InlineCompletionEvent) Reset ¶
func (x *InlineCompletionEvent) Reset()
func (*InlineCompletionEvent) String ¶
func (x *InlineCompletionEvent) String() string
type InlineCompletionRequest ¶
type InlineCompletionRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Context *EditorContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
Prompt string `protobuf:"bytes,4,opt,name=prompt,proto3" json:"prompt,omitempty"`
MaxSuggestions int32 `protobuf:"varint,5,opt,name=max_suggestions,json=maxSuggestions,proto3" json:"max_suggestions,omitempty"`
// contains filtered or unexported fields
}
func (*InlineCompletionRequest) Descriptor
deprecated
func (*InlineCompletionRequest) Descriptor() ([]byte, []int)
Deprecated: Use InlineCompletionRequest.ProtoReflect.Descriptor instead.
func (*InlineCompletionRequest) GetAgentId ¶
func (x *InlineCompletionRequest) GetAgentId() string
func (*InlineCompletionRequest) GetContext ¶
func (x *InlineCompletionRequest) GetContext() *EditorContext
func (*InlineCompletionRequest) GetMaxSuggestions ¶
func (x *InlineCompletionRequest) GetMaxSuggestions() int32
func (*InlineCompletionRequest) GetPrompt ¶
func (x *InlineCompletionRequest) GetPrompt() string
func (*InlineCompletionRequest) GetSessionId ¶
func (x *InlineCompletionRequest) GetSessionId() string
func (*InlineCompletionRequest) ProtoMessage ¶
func (*InlineCompletionRequest) ProtoMessage()
func (*InlineCompletionRequest) ProtoReflect ¶
func (x *InlineCompletionRequest) ProtoReflect() protoreflect.Message
func (*InlineCompletionRequest) Reset ¶
func (x *InlineCompletionRequest) Reset()
func (*InlineCompletionRequest) String ¶
func (x *InlineCompletionRequest) 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"`
// contains filtered or unexported fields
}
func (*Message) Descriptor
deprecated
func (*Message) GetContent ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type P2PConnectionInfo ¶
type P2PConnectionInfo struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
Capabilities []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
// contains filtered or unexported fields
}
func (*P2PConnectionInfo) Descriptor
deprecated
func (*P2PConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use P2PConnectionInfo.ProtoReflect.Descriptor instead.
func (*P2PConnectionInfo) GetCapabilities ¶
func (x *P2PConnectionInfo) GetCapabilities() []string
func (*P2PConnectionInfo) GetConnectionId ¶
func (x *P2PConnectionInfo) GetConnectionId() string
func (*P2PConnectionInfo) ProtoMessage ¶
func (*P2PConnectionInfo) ProtoMessage()
func (*P2PConnectionInfo) ProtoReflect ¶
func (x *P2PConnectionInfo) ProtoReflect() protoreflect.Message
func (*P2PConnectionInfo) Reset ¶
func (x *P2PConnectionInfo) Reset()
func (*P2PConnectionInfo) String ¶
func (x *P2PConnectionInfo) String() string
type P2PEndpoint ¶
type P2PEndpoint struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*P2PEndpoint) Descriptor
deprecated
func (*P2PEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use P2PEndpoint.ProtoReflect.Descriptor instead.
func (*P2PEndpoint) GetAddress ¶
func (x *P2PEndpoint) GetAddress() string
func (*P2PEndpoint) GetExpiresAt ¶
func (x *P2PEndpoint) GetExpiresAt() *timestamppb.Timestamp
func (*P2PEndpoint) GetToken ¶
func (x *P2PEndpoint) GetToken() string
func (*P2PEndpoint) ProtoMessage ¶
func (*P2PEndpoint) ProtoMessage()
func (*P2PEndpoint) ProtoReflect ¶
func (x *P2PEndpoint) ProtoReflect() protoreflect.Message
func (*P2PEndpoint) Reset ¶
func (x *P2PEndpoint) Reset()
func (*P2PEndpoint) String ¶
func (x *P2PEndpoint) String() string
type P2PEndpointRequest ¶
type P2PEndpointRequest struct {
RequesterId string `protobuf:"bytes,1,opt,name=requester_id,json=requesterId,proto3" json:"requester_id,omitempty"`
TargetAgentId string `protobuf:"bytes,2,opt,name=target_agent_id,json=targetAgentId,proto3" json:"target_agent_id,omitempty"`
// contains filtered or unexported fields
}
func (*P2PEndpointRequest) Descriptor
deprecated
func (*P2PEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use P2PEndpointRequest.ProtoReflect.Descriptor instead.
func (*P2PEndpointRequest) GetRequesterId ¶
func (x *P2PEndpointRequest) GetRequesterId() string
func (*P2PEndpointRequest) GetTargetAgentId ¶
func (x *P2PEndpointRequest) GetTargetAgentId() string
func (*P2PEndpointRequest) ProtoMessage ¶
func (*P2PEndpointRequest) ProtoMessage()
func (*P2PEndpointRequest) ProtoReflect ¶
func (x *P2PEndpointRequest) ProtoReflect() protoreflect.Message
func (*P2PEndpointRequest) Reset ¶
func (x *P2PEndpointRequest) Reset()
func (*P2PEndpointRequest) String ¶
func (x *P2PEndpointRequest) String() string
type P2PHandshake ¶
type P2PHandshake struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*P2PHandshake) Descriptor
deprecated
func (*P2PHandshake) Descriptor() ([]byte, []int)
Deprecated: Use P2PHandshake.ProtoReflect.Descriptor instead.
func (*P2PHandshake) GetToken ¶
func (x *P2PHandshake) GetToken() string
func (*P2PHandshake) ProtoMessage ¶
func (*P2PHandshake) ProtoMessage()
func (*P2PHandshake) ProtoReflect ¶
func (x *P2PHandshake) ProtoReflect() protoreflect.Message
func (*P2PHandshake) Reset ¶
func (x *P2PHandshake) Reset()
func (*P2PHandshake) String ¶
func (x *P2PHandshake) String() string
type Position ¶
type Position struct {
Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
Character int32 `protobuf:"varint,2,opt,name=character,proto3" json:"character,omitempty"`
// contains filtered or unexported fields
}
Editor coordinate types (aligned with LSP semantics)
func (*Position) Descriptor
deprecated
func (*Position) GetCharacter ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type ProposeEditsRequest ¶
type ProposeEditsRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Instruction string `protobuf:"bytes,3,opt,name=instruction,proto3" json:"instruction,omitempty"`
Context *EditorContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
Apply bool `protobuf:"varint,5,opt,name=apply,proto3" json:"apply,omitempty"`
MaxSuggestions int32 `protobuf:"varint,6,opt,name=max_suggestions,json=maxSuggestions,proto3" json:"max_suggestions,omitempty"`
// contains filtered or unexported fields
}
func (*ProposeEditsRequest) Descriptor
deprecated
func (*ProposeEditsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProposeEditsRequest.ProtoReflect.Descriptor instead.
func (*ProposeEditsRequest) GetAgentId ¶
func (x *ProposeEditsRequest) GetAgentId() string
func (*ProposeEditsRequest) GetApply ¶
func (x *ProposeEditsRequest) GetApply() bool
func (*ProposeEditsRequest) GetContext ¶
func (x *ProposeEditsRequest) GetContext() *EditorContext
func (*ProposeEditsRequest) GetInstruction ¶
func (x *ProposeEditsRequest) GetInstruction() string
func (*ProposeEditsRequest) GetMaxSuggestions ¶
func (x *ProposeEditsRequest) GetMaxSuggestions() int32
func (*ProposeEditsRequest) GetSessionId ¶
func (x *ProposeEditsRequest) GetSessionId() string
func (*ProposeEditsRequest) ProtoMessage ¶
func (*ProposeEditsRequest) ProtoMessage()
func (*ProposeEditsRequest) ProtoReflect ¶
func (x *ProposeEditsRequest) ProtoReflect() protoreflect.Message
func (*ProposeEditsRequest) Reset ¶
func (x *ProposeEditsRequest) Reset()
func (*ProposeEditsRequest) String ¶
func (x *ProposeEditsRequest) String() string
type ProposeEditsResponse ¶
type ProposeEditsResponse struct {
PlanId string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Edits []*ProposedEdit `protobuf:"bytes,3,rep,name=edits,proto3" json:"edits,omitempty"`
Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
// contains filtered or unexported fields
}
func (*ProposeEditsResponse) Descriptor
deprecated
func (*ProposeEditsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProposeEditsResponse.ProtoReflect.Descriptor instead.
func (*ProposeEditsResponse) GetEdits ¶
func (x *ProposeEditsResponse) GetEdits() []*ProposedEdit
func (*ProposeEditsResponse) GetPlanId ¶
func (x *ProposeEditsResponse) GetPlanId() string
func (*ProposeEditsResponse) GetSummary ¶
func (x *ProposeEditsResponse) GetSummary() string
func (*ProposeEditsResponse) GetTaskId ¶
func (x *ProposeEditsResponse) GetTaskId() string
func (*ProposeEditsResponse) ProtoMessage ¶
func (*ProposeEditsResponse) ProtoMessage()
func (*ProposeEditsResponse) ProtoReflect ¶
func (x *ProposeEditsResponse) ProtoReflect() protoreflect.Message
func (*ProposeEditsResponse) Reset ¶
func (x *ProposeEditsResponse) Reset()
func (*ProposeEditsResponse) String ¶
func (x *ProposeEditsResponse) String() string
type ProposedEdit ¶
type ProposedEdit struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Edits []*TextEdit `protobuf:"bytes,2,rep,name=edits,proto3" json:"edits,omitempty"`
Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Score float64 `protobuf:"fixed64,5,opt,name=score,proto3" json:"score,omitempty"`
Rank int32 `protobuf:"varint,6,opt,name=rank,proto3" json:"rank,omitempty"`
// contains filtered or unexported fields
}
func (*ProposedEdit) Descriptor
deprecated
func (*ProposedEdit) Descriptor() ([]byte, []int)
Deprecated: Use ProposedEdit.ProtoReflect.Descriptor instead.
func (*ProposedEdit) GetEdits ¶
func (x *ProposedEdit) GetEdits() []*TextEdit
func (*ProposedEdit) GetRank ¶
func (x *ProposedEdit) GetRank() int32
func (*ProposedEdit) GetScore ¶
func (x *ProposedEdit) GetScore() float64
func (*ProposedEdit) GetSummary ¶
func (x *ProposedEdit) GetSummary() string
func (*ProposedEdit) GetTitle ¶
func (x *ProposedEdit) GetTitle() string
func (*ProposedEdit) GetUri ¶
func (x *ProposedEdit) GetUri() string
func (*ProposedEdit) ProtoMessage ¶
func (*ProposedEdit) ProtoMessage()
func (*ProposedEdit) ProtoReflect ¶
func (x *ProposedEdit) ProtoReflect() protoreflect.Message
func (*ProposedEdit) Reset ¶
func (x *ProposedEdit) Reset()
func (*ProposedEdit) String ¶
func (x *ProposedEdit) String() string
type Range ¶
type Range struct {
Start *Position `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
End *Position `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
func (*Range) Descriptor
deprecated
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type RegisterAgentRequest ¶
type RegisterAgentRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Capabilities []string `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
Request/Response messages
func (*RegisterAgentRequest) Descriptor
deprecated
func (*RegisterAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAgentRequest.ProtoReflect.Descriptor instead.
func (*RegisterAgentRequest) GetAgentId ¶
func (x *RegisterAgentRequest) GetAgentId() string
func (*RegisterAgentRequest) GetCapabilities ¶
func (x *RegisterAgentRequest) GetCapabilities() []string
func (*RegisterAgentRequest) GetEndpoint ¶
func (x *RegisterAgentRequest) GetEndpoint() string
func (*RegisterAgentRequest) GetMetadata ¶
func (x *RegisterAgentRequest) GetMetadata() map[string]string
func (*RegisterAgentRequest) GetType ¶
func (x *RegisterAgentRequest) GetType() string
func (*RegisterAgentRequest) ProtoMessage ¶
func (*RegisterAgentRequest) ProtoMessage()
func (*RegisterAgentRequest) ProtoReflect ¶
func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message
func (*RegisterAgentRequest) Reset ¶
func (x *RegisterAgentRequest) Reset()
func (*RegisterAgentRequest) String ¶
func (x *RegisterAgentRequest) String() string
type RegisterAgentResponse ¶
type RegisterAgentResponse struct {
Agent *AgentInfo `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterAgentResponse) Descriptor
deprecated
func (*RegisterAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAgentResponse.ProtoReflect.Descriptor instead.
func (*RegisterAgentResponse) GetAgent ¶
func (x *RegisterAgentResponse) GetAgent() *AgentInfo
func (*RegisterAgentResponse) GetSessionToken ¶
func (x *RegisterAgentResponse) GetSessionToken() string
func (*RegisterAgentResponse) ProtoMessage ¶
func (*RegisterAgentResponse) ProtoMessage()
func (*RegisterAgentResponse) ProtoReflect ¶
func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message
func (*RegisterAgentResponse) Reset ¶
func (x *RegisterAgentResponse) Reset()
func (*RegisterAgentResponse) String ¶
func (x *RegisterAgentResponse) String() string
type SendMessageRequest ¶
type SendMessageRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Context *EditorContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetAgentId ¶
func (x *SendMessageRequest) GetAgentId() string
func (*SendMessageRequest) GetContext ¶
func (x *SendMessageRequest) GetContext() *EditorContext
func (*SendMessageRequest) GetMessage ¶
func (x *SendMessageRequest) GetMessage() *Message
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
type SendMessageResponse ¶
type SendMessageResponse struct {
Response *Message `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetResponse ¶
func (x *SendMessageResponse) GetResponse() *Message
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
type ServerCapabilities ¶
type ServerCapabilities struct {
ProtocolVersion string `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
Features []string `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
MaxAgents int32 `protobuf:"varint,3,opt,name=max_agents,json=maxAgents,proto3" json:"max_agents,omitempty"`
SupportedAuth []string `protobuf:"bytes,4,rep,name=supported_auth,json=supportedAuth,proto3" json:"supported_auth,omitempty"`
// contains filtered or unexported fields
}
func (*ServerCapabilities) Descriptor
deprecated
func (*ServerCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ServerCapabilities.ProtoReflect.Descriptor instead.
func (*ServerCapabilities) GetFeatures ¶
func (x *ServerCapabilities) GetFeatures() []string
func (*ServerCapabilities) GetMaxAgents ¶
func (x *ServerCapabilities) GetMaxAgents() int32
func (*ServerCapabilities) GetProtocolVersion ¶
func (x *ServerCapabilities) GetProtocolVersion() string
func (*ServerCapabilities) GetSupportedAuth ¶
func (x *ServerCapabilities) GetSupportedAuth() []string
func (*ServerCapabilities) ProtoMessage ¶
func (*ServerCapabilities) ProtoMessage()
func (*ServerCapabilities) ProtoReflect ¶
func (x *ServerCapabilities) ProtoReflect() protoreflect.Message
func (*ServerCapabilities) Reset ¶
func (x *ServerCapabilities) Reset()
func (*ServerCapabilities) String ¶
func (x *ServerCapabilities) String() string
type Session ¶
type Session struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Session) Descriptor
deprecated
func (*Session) GetAgentId ¶
func (*Session) GetCreatedAt ¶
func (x *Session) GetCreatedAt() *timestamppb.Timestamp
func (*Session) GetMetadata ¶
func (*Session) GetSessionId ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type TaskEvent ¶
type TaskEvent struct {
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
PlanId string `protobuf:"bytes,2,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Progress int32 `protobuf:"varint,4,opt,name=progress,proto3" json:"progress,omitempty"`
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*TaskEvent) Descriptor
deprecated
func (*TaskEvent) GetMessage ¶
func (*TaskEvent) GetProgress ¶
func (*TaskEvent) GetTimestamp ¶
func (x *TaskEvent) GetTimestamp() *timestamppb.Timestamp
func (*TaskEvent) ProtoMessage ¶
func (*TaskEvent) ProtoMessage()
func (*TaskEvent) ProtoReflect ¶
func (x *TaskEvent) ProtoReflect() protoreflect.Message
type TaskStreamRequest ¶
type TaskStreamRequest struct {
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
Context *EditorContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*TaskStreamRequest) Descriptor
deprecated
func (*TaskStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use TaskStreamRequest.ProtoReflect.Descriptor instead.
func (*TaskStreamRequest) GetAgentId ¶
func (x *TaskStreamRequest) GetAgentId() string
func (*TaskStreamRequest) GetContext ¶
func (x *TaskStreamRequest) GetContext() *EditorContext
func (*TaskStreamRequest) GetQuery ¶
func (x *TaskStreamRequest) GetQuery() string
func (*TaskStreamRequest) GetTaskId ¶
func (x *TaskStreamRequest) GetTaskId() string
func (*TaskStreamRequest) ProtoMessage ¶
func (*TaskStreamRequest) ProtoMessage()
func (*TaskStreamRequest) ProtoReflect ¶
func (x *TaskStreamRequest) ProtoReflect() protoreflect.Message
func (*TaskStreamRequest) Reset ¶
func (x *TaskStreamRequest) Reset()
func (*TaskStreamRequest) String ¶
func (x *TaskStreamRequest) String() string
type TaskSubscription ¶
type TaskSubscription struct {
PlanId string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
TaskIds []string `protobuf:"bytes,2,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"`
// contains filtered or unexported fields
}
func (*TaskSubscription) Descriptor
deprecated
func (*TaskSubscription) Descriptor() ([]byte, []int)
Deprecated: Use TaskSubscription.ProtoReflect.Descriptor instead.
func (*TaskSubscription) GetPlanId ¶
func (x *TaskSubscription) GetPlanId() string
func (*TaskSubscription) GetTaskIds ¶
func (x *TaskSubscription) GetTaskIds() []string
func (*TaskSubscription) ProtoMessage ¶
func (*TaskSubscription) ProtoMessage()
func (*TaskSubscription) ProtoReflect ¶
func (x *TaskSubscription) ProtoReflect() protoreflect.Message
func (*TaskSubscription) Reset ¶
func (x *TaskSubscription) Reset()
func (*TaskSubscription) String ¶
func (x *TaskSubscription) String() string
type TextEdit ¶
type TextEdit struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Range *Range `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"`
NewText string `protobuf:"bytes,3,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"`
// contains filtered or unexported fields
}
func (*TextEdit) Descriptor
deprecated
func (*TextEdit) GetNewText ¶
func (*TextEdit) ProtoMessage ¶
func (*TextEdit) ProtoMessage()
func (*TextEdit) ProtoReflect ¶
func (x *TextEdit) ProtoReflect() protoreflect.Message
type ToolApproval ¶
type ToolApproval struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Remember bool `protobuf:"varint,2,opt,name=remember,proto3" json:"remember,omitempty"`
// contains filtered or unexported fields
}
func (*ToolApproval) Descriptor
deprecated
func (*ToolApproval) Descriptor() ([]byte, []int)
Deprecated: Use ToolApproval.ProtoReflect.Descriptor instead.
func (*ToolApproval) GetExecutionId ¶
func (x *ToolApproval) GetExecutionId() string
func (*ToolApproval) GetRemember ¶
func (x *ToolApproval) GetRemember() bool
func (*ToolApproval) ProtoMessage ¶
func (*ToolApproval) ProtoMessage()
func (*ToolApproval) ProtoReflect ¶
func (x *ToolApproval) ProtoReflect() protoreflect.Message
func (*ToolApproval) Reset ¶
func (x *ToolApproval) Reset()
func (*ToolApproval) String ¶
func (x *ToolApproval) String() string
type ToolExecutionEvent ¶
type ToolExecutionEvent struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*ToolExecutionEvent) Descriptor
deprecated
func (*ToolExecutionEvent) Descriptor() ([]byte, []int)
Deprecated: Use ToolExecutionEvent.ProtoReflect.Descriptor instead.
func (*ToolExecutionEvent) GetExecutionId ¶
func (x *ToolExecutionEvent) GetExecutionId() string
func (*ToolExecutionEvent) GetOutput ¶
func (x *ToolExecutionEvent) GetOutput() string
func (*ToolExecutionEvent) GetStatus ¶
func (x *ToolExecutionEvent) GetStatus() string
func (*ToolExecutionEvent) GetTimestamp ¶
func (x *ToolExecutionEvent) GetTimestamp() *timestamppb.Timestamp
func (*ToolExecutionEvent) ProtoMessage ¶
func (*ToolExecutionEvent) ProtoMessage()
func (*ToolExecutionEvent) ProtoReflect ¶
func (x *ToolExecutionEvent) ProtoReflect() protoreflect.Message
func (*ToolExecutionEvent) Reset ¶
func (x *ToolExecutionEvent) Reset()
func (*ToolExecutionEvent) String ¶
func (x *ToolExecutionEvent) String() string
type ToolExecutionRequest ¶
type ToolExecutionRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Tool string `protobuf:"bytes,2,opt,name=tool,proto3" json:"tool,omitempty"`
Parameters map[string]string `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ToolExecutionRequest) Descriptor
deprecated
func (*ToolExecutionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToolExecutionRequest.ProtoReflect.Descriptor instead.
func (*ToolExecutionRequest) GetAgentId ¶
func (x *ToolExecutionRequest) GetAgentId() string
func (*ToolExecutionRequest) GetParameters ¶
func (x *ToolExecutionRequest) GetParameters() map[string]string
func (*ToolExecutionRequest) GetTool ¶
func (x *ToolExecutionRequest) GetTool() string
func (*ToolExecutionRequest) ProtoMessage ¶
func (*ToolExecutionRequest) ProtoMessage()
func (*ToolExecutionRequest) ProtoReflect ¶
func (x *ToolExecutionRequest) ProtoReflect() protoreflect.Message
func (*ToolExecutionRequest) Reset ¶
func (x *ToolExecutionRequest) Reset()
func (*ToolExecutionRequest) String ¶
func (x *ToolExecutionRequest) String() string
type ToolRejection ¶
type ToolRejection struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*ToolRejection) Descriptor
deprecated
func (*ToolRejection) Descriptor() ([]byte, []int)
Deprecated: Use ToolRejection.ProtoReflect.Descriptor instead.
func (*ToolRejection) GetExecutionId ¶
func (x *ToolRejection) GetExecutionId() string
func (*ToolRejection) GetReason ¶
func (x *ToolRejection) GetReason() string
func (*ToolRejection) ProtoMessage ¶
func (*ToolRejection) ProtoMessage()
func (*ToolRejection) ProtoReflect ¶
func (x *ToolRejection) ProtoReflect() protoreflect.Message
func (*ToolRejection) Reset ¶
func (x *ToolRejection) Reset()
func (*ToolRejection) String ¶
func (x *ToolRejection) String() string
type UnimplementedAgentCommunicationServer ¶
type UnimplementedAgentCommunicationServer struct{}
UnimplementedAgentCommunicationServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAgentCommunicationServer) ApplyEdits ¶
func (UnimplementedAgentCommunicationServer) ApplyEdits(context.Context, *ApplyEditsRequest) (*ApplyEditsResponse, error)
func (UnimplementedAgentCommunicationServer) ApproveToolExecution ¶
func (UnimplementedAgentCommunicationServer) ApproveToolExecution(context.Context, *ToolApproval) (*emptypb.Empty, error)
func (UnimplementedAgentCommunicationServer) CreateContextHandle ¶
func (UnimplementedAgentCommunicationServer) CreateContextHandle(context.Context, *ContextHandleRequest) (*ContextHandle, error)
func (UnimplementedAgentCommunicationServer) CreateSession ¶
func (UnimplementedAgentCommunicationServer) CreateSession(context.Context, *CreateSessionRequest) (*Session, error)
func (UnimplementedAgentCommunicationServer) DiscoverAgents ¶
func (UnimplementedAgentCommunicationServer) DiscoverAgents(context.Context, *DiscoverAgentsRequest) (*DiscoverAgentsResponse, error)
func (UnimplementedAgentCommunicationServer) EstablishP2PConnection ¶
func (UnimplementedAgentCommunicationServer) EstablishP2PConnection(context.Context, *P2PHandshake) (*P2PConnectionInfo, error)
func (UnimplementedAgentCommunicationServer) GetAgentInfo ¶
func (UnimplementedAgentCommunicationServer) GetAgentInfo(context.Context, *GetAgentInfoRequest) (*AgentInfo, error)
func (UnimplementedAgentCommunicationServer) GetP2PEndpoint ¶
func (UnimplementedAgentCommunicationServer) GetP2PEndpoint(context.Context, *P2PEndpointRequest) (*P2PEndpoint, error)
func (UnimplementedAgentCommunicationServer) GetServerCapabilities ¶
func (UnimplementedAgentCommunicationServer) GetServerCapabilities(context.Context, *emptypb.Empty) (*ServerCapabilities, error)
func (UnimplementedAgentCommunicationServer) ProposeEdits ¶
func (UnimplementedAgentCommunicationServer) ProposeEdits(context.Context, *ProposeEditsRequest) (*ProposeEditsResponse, error)
func (UnimplementedAgentCommunicationServer) RegisterAgent ¶
func (UnimplementedAgentCommunicationServer) RegisterAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error)
func (UnimplementedAgentCommunicationServer) RejectToolExecution ¶
func (UnimplementedAgentCommunicationServer) RejectToolExecution(context.Context, *ToolRejection) (*emptypb.Empty, error)
func (UnimplementedAgentCommunicationServer) RequestCapabilities ¶
func (UnimplementedAgentCommunicationServer) RequestCapabilities(context.Context, *CapabilityRequest) (*CapabilityGrant, error)
func (UnimplementedAgentCommunicationServer) RequestToolExecution ¶
func (UnimplementedAgentCommunicationServer) RequestToolExecution(*ToolExecutionRequest, grpc.ServerStreamingServer[ToolExecutionEvent]) error
func (UnimplementedAgentCommunicationServer) ResolveContextHandle ¶
func (UnimplementedAgentCommunicationServer) ResolveContextHandle(context.Context, *ContextHandle) (*ContextData, error)
func (UnimplementedAgentCommunicationServer) RevokeCapabilities ¶
func (UnimplementedAgentCommunicationServer) RevokeCapabilities(context.Context, *CapabilityRevocation) (*emptypb.Empty, error)
func (UnimplementedAgentCommunicationServer) SendMessage ¶
func (UnimplementedAgentCommunicationServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (UnimplementedAgentCommunicationServer) StreamInlineCompletions ¶
func (UnimplementedAgentCommunicationServer) StreamInlineCompletions(*InlineCompletionRequest, grpc.ServerStreamingServer[InlineCompletionEvent]) error
func (UnimplementedAgentCommunicationServer) StreamTask ¶
func (UnimplementedAgentCommunicationServer) StreamTask(*TaskStreamRequest, grpc.ServerStreamingServer[TaskEvent]) error
func (UnimplementedAgentCommunicationServer) SubscribeTaskEvents ¶
func (UnimplementedAgentCommunicationServer) SubscribeTaskEvents(*TaskSubscription, grpc.ServerStreamingServer[TaskEvent]) error
func (UnimplementedAgentCommunicationServer) UnregisterAgent ¶
func (UnimplementedAgentCommunicationServer) UnregisterAgent(context.Context, *UnregisterAgentRequest) (*emptypb.Empty, error)
func (UnimplementedAgentCommunicationServer) UpdateEditorState ¶
func (UnimplementedAgentCommunicationServer) UpdateEditorState(context.Context, *UpdateEditorStateRequest) (*UpdateEditorStateResponse, error)
func (UnimplementedAgentCommunicationServer) UpdateSessionContext ¶
func (UnimplementedAgentCommunicationServer) UpdateSessionContext(context.Context, *ContextDelta) (*emptypb.Empty, error)
type UnregisterAgentRequest ¶
type UnregisterAgentRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*UnregisterAgentRequest) Descriptor
deprecated
func (*UnregisterAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterAgentRequest.ProtoReflect.Descriptor instead.
func (*UnregisterAgentRequest) GetAgentId ¶
func (x *UnregisterAgentRequest) GetAgentId() string
func (*UnregisterAgentRequest) GetReason ¶
func (x *UnregisterAgentRequest) GetReason() string
func (*UnregisterAgentRequest) ProtoMessage ¶
func (*UnregisterAgentRequest) ProtoMessage()
func (*UnregisterAgentRequest) ProtoReflect ¶
func (x *UnregisterAgentRequest) ProtoReflect() protoreflect.Message
func (*UnregisterAgentRequest) Reset ¶
func (x *UnregisterAgentRequest) Reset()
func (*UnregisterAgentRequest) String ¶
func (x *UnregisterAgentRequest) String() string
type UnsafeAgentCommunicationServer ¶
type UnsafeAgentCommunicationServer interface {
// contains filtered or unexported methods
}
UnsafeAgentCommunicationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentCommunicationServer will result in compilation errors.
type UpdateEditorStateRequest ¶
type UpdateEditorStateRequest struct {
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Context *EditorContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
Diagnostics []string `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
RequestTodoSync bool `protobuf:"varint,5,opt,name=request_todo_sync,json=requestTodoSync,proto3" json:"request_todo_sync,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateEditorStateRequest) Descriptor
deprecated
func (*UpdateEditorStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEditorStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateEditorStateRequest) GetAgentId ¶
func (x *UpdateEditorStateRequest) GetAgentId() string
func (*UpdateEditorStateRequest) GetContext ¶
func (x *UpdateEditorStateRequest) GetContext() *EditorContext
func (*UpdateEditorStateRequest) GetDiagnostics ¶
func (x *UpdateEditorStateRequest) GetDiagnostics() []string
func (*UpdateEditorStateRequest) GetRequestTodoSync ¶
func (x *UpdateEditorStateRequest) GetRequestTodoSync() bool
func (*UpdateEditorStateRequest) GetSessionId ¶
func (x *UpdateEditorStateRequest) GetSessionId() string
func (*UpdateEditorStateRequest) ProtoMessage ¶
func (*UpdateEditorStateRequest) ProtoMessage()
func (*UpdateEditorStateRequest) ProtoReflect ¶
func (x *UpdateEditorStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateEditorStateRequest) Reset ¶
func (x *UpdateEditorStateRequest) Reset()
func (*UpdateEditorStateRequest) String ¶
func (x *UpdateEditorStateRequest) String() string
type UpdateEditorStateResponse ¶
type UpdateEditorStateResponse struct {
PlanState string `protobuf:"bytes,1,opt,name=plan_state,json=planState,proto3" json:"plan_state,omitempty"`
TodoState string `protobuf:"bytes,2,opt,name=todo_state,json=todoState,proto3" json:"todo_state,omitempty"`
Approvals []string `protobuf:"bytes,3,rep,name=approvals,proto3" json:"approvals,omitempty"`
ToolsInProgress []string `protobuf:"bytes,4,rep,name=tools_in_progress,json=toolsInProgress,proto3" json:"tools_in_progress,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateEditorStateResponse) Descriptor
deprecated
func (*UpdateEditorStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEditorStateResponse.ProtoReflect.Descriptor instead.
func (*UpdateEditorStateResponse) GetApprovals ¶
func (x *UpdateEditorStateResponse) GetApprovals() []string
func (*UpdateEditorStateResponse) GetPlanState ¶
func (x *UpdateEditorStateResponse) GetPlanState() string
func (*UpdateEditorStateResponse) GetTodoState ¶
func (x *UpdateEditorStateResponse) GetTodoState() string
func (*UpdateEditorStateResponse) GetToolsInProgress ¶
func (x *UpdateEditorStateResponse) GetToolsInProgress() []string
func (*UpdateEditorStateResponse) ProtoMessage ¶
func (*UpdateEditorStateResponse) ProtoMessage()
func (*UpdateEditorStateResponse) ProtoReflect ¶
func (x *UpdateEditorStateResponse) ProtoReflect() protoreflect.Message
func (*UpdateEditorStateResponse) Reset ¶
func (x *UpdateEditorStateResponse) Reset()
func (*UpdateEditorStateResponse) String ¶
func (x *UpdateEditorStateResponse) String() string