Documentation
¶
Index ¶
- Variables
- func DRPCRegisterAuthorizer(mux drpc.Mux, impl DRPCAuthorizerServer) error
- func DRPCRegisterMCPConfigurator(mux drpc.Mux, impl DRPCMCPConfiguratorServer) error
- func DRPCRegisterRecorder(mux drpc.Mux, impl DRPCRecorderServer) error
- type DRPCAuthorizerClient
- type DRPCAuthorizerDescription
- type DRPCAuthorizerServer
- type DRPCAuthorizerUnimplementedServer
- type DRPCAuthorizer_IsAuthorizedStream
- type DRPCMCPConfiguratorClient
- type DRPCMCPConfiguratorDescription
- type DRPCMCPConfiguratorServer
- type DRPCMCPConfiguratorUnimplementedServer
- func (s *DRPCMCPConfiguratorUnimplementedServer) GetMCPServerAccessTokensBatch(context.Context, *GetMCPServerAccessTokensBatchRequest) (*GetMCPServerAccessTokensBatchResponse, error)
- func (s *DRPCMCPConfiguratorUnimplementedServer) GetMCPServerConfigs(context.Context, *GetMCPServerConfigsRequest) (*GetMCPServerConfigsResponse, error)
- type DRPCMCPConfigurator_GetMCPServerAccessTokensBatchStream
- type DRPCMCPConfigurator_GetMCPServerConfigsStream
- type DRPCRecorderClient
- type DRPCRecorderDescription
- type DRPCRecorderServer
- type DRPCRecorderUnimplementedServer
- func (s *DRPCRecorderUnimplementedServer) RecordInterception(context.Context, *RecordInterceptionRequest) (*RecordInterceptionResponse, error)
- func (s *DRPCRecorderUnimplementedServer) RecordInterceptionEnded(context.Context, *RecordInterceptionEndedRequest) (*RecordInterceptionEndedResponse, error)
- func (s *DRPCRecorderUnimplementedServer) RecordPromptUsage(context.Context, *RecordPromptUsageRequest) (*RecordPromptUsageResponse, error)
- func (s *DRPCRecorderUnimplementedServer) RecordTokenUsage(context.Context, *RecordTokenUsageRequest) (*RecordTokenUsageResponse, error)
- func (s *DRPCRecorderUnimplementedServer) RecordToolUsage(context.Context, *RecordToolUsageRequest) (*RecordToolUsageResponse, error)
- type DRPCRecorder_RecordInterceptionEndedStream
- type DRPCRecorder_RecordInterceptionStream
- type DRPCRecorder_RecordPromptUsageStream
- type DRPCRecorder_RecordTokenUsageStream
- type DRPCRecorder_RecordToolUsageStream
- type GetMCPServerAccessTokensBatchRequest
- func (*GetMCPServerAccessTokensBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMCPServerAccessTokensBatchRequest) GetMcpServerConfigIds() []string
- func (x *GetMCPServerAccessTokensBatchRequest) GetUserId() string
- func (*GetMCPServerAccessTokensBatchRequest) ProtoMessage()
- func (x *GetMCPServerAccessTokensBatchRequest) ProtoReflect() protoreflect.Message
- func (x *GetMCPServerAccessTokensBatchRequest) Reset()
- func (x *GetMCPServerAccessTokensBatchRequest) String() string
- type GetMCPServerAccessTokensBatchResponse
- func (*GetMCPServerAccessTokensBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMCPServerAccessTokensBatchResponse) GetAccessTokens() map[string]string
- func (x *GetMCPServerAccessTokensBatchResponse) GetErrors() map[string]string
- func (*GetMCPServerAccessTokensBatchResponse) ProtoMessage()
- func (x *GetMCPServerAccessTokensBatchResponse) ProtoReflect() protoreflect.Message
- func (x *GetMCPServerAccessTokensBatchResponse) Reset()
- func (x *GetMCPServerAccessTokensBatchResponse) String() string
- type GetMCPServerConfigsRequest
- func (*GetMCPServerConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMCPServerConfigsRequest) GetUserId() string
- func (*GetMCPServerConfigsRequest) ProtoMessage()
- func (x *GetMCPServerConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMCPServerConfigsRequest) Reset()
- func (x *GetMCPServerConfigsRequest) String() string
- type GetMCPServerConfigsResponse
- func (*GetMCPServerConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMCPServerConfigsResponse) GetCoderMcpConfig() *MCPServerConfig
- func (x *GetMCPServerConfigsResponse) GetExternalAuthMcpConfigs() []*MCPServerConfig
- func (*GetMCPServerConfigsResponse) ProtoMessage()
- func (x *GetMCPServerConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMCPServerConfigsResponse) Reset()
- func (x *GetMCPServerConfigsResponse) String() string
- type IsAuthorizedRequest
- func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedRequest) GetKey() string
- func (*IsAuthorizedRequest) ProtoMessage()
- func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedRequest) Reset()
- func (x *IsAuthorizedRequest) String() string
- type IsAuthorizedResponse
- func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedResponse) GetOwnerId() string
- func (*IsAuthorizedResponse) ProtoMessage()
- func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedResponse) Reset()
- func (x *IsAuthorizedResponse) String() string
- type MCPServerConfig
- func (*MCPServerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MCPServerConfig) GetId() string
- func (x *MCPServerConfig) GetToolAllowRegex() string
- func (x *MCPServerConfig) GetToolDenyRegex() string
- func (x *MCPServerConfig) GetUrl() string
- func (*MCPServerConfig) ProtoMessage()
- func (x *MCPServerConfig) ProtoReflect() protoreflect.Message
- func (x *MCPServerConfig) Reset()
- func (x *MCPServerConfig) String() string
- type RecordInterceptionEndedRequest
- func (*RecordInterceptionEndedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordInterceptionEndedRequest) GetEndedAt() *timestamppb.Timestamp
- func (x *RecordInterceptionEndedRequest) GetId() string
- func (*RecordInterceptionEndedRequest) ProtoMessage()
- func (x *RecordInterceptionEndedRequest) ProtoReflect() protoreflect.Message
- func (x *RecordInterceptionEndedRequest) Reset()
- func (x *RecordInterceptionEndedRequest) String() string
- type RecordInterceptionEndedResponse
- func (*RecordInterceptionEndedResponse) Descriptor() ([]byte, []int)deprecated
- func (*RecordInterceptionEndedResponse) ProtoMessage()
- func (x *RecordInterceptionEndedResponse) ProtoReflect() protoreflect.Message
- func (x *RecordInterceptionEndedResponse) Reset()
- func (x *RecordInterceptionEndedResponse) String() string
- type RecordInterceptionRequest
- func (*RecordInterceptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordInterceptionRequest) GetId() string
- func (x *RecordInterceptionRequest) GetInitiatorId() string
- func (x *RecordInterceptionRequest) GetMetadata() map[string]*anypb.Any
- func (x *RecordInterceptionRequest) GetModel() string
- func (x *RecordInterceptionRequest) GetProvider() string
- func (x *RecordInterceptionRequest) GetStartedAt() *timestamppb.Timestamp
- func (*RecordInterceptionRequest) ProtoMessage()
- func (x *RecordInterceptionRequest) ProtoReflect() protoreflect.Message
- func (x *RecordInterceptionRequest) Reset()
- func (x *RecordInterceptionRequest) String() string
- type RecordInterceptionResponse
- type RecordPromptUsageRequest
- func (*RecordPromptUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordPromptUsageRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *RecordPromptUsageRequest) GetInterceptionId() string
- func (x *RecordPromptUsageRequest) GetMetadata() map[string]*anypb.Any
- func (x *RecordPromptUsageRequest) GetMsgId() string
- func (x *RecordPromptUsageRequest) GetPrompt() string
- func (*RecordPromptUsageRequest) ProtoMessage()
- func (x *RecordPromptUsageRequest) ProtoReflect() protoreflect.Message
- func (x *RecordPromptUsageRequest) Reset()
- func (x *RecordPromptUsageRequest) String() string
- type RecordPromptUsageResponse
- type RecordTokenUsageRequest
- func (*RecordTokenUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordTokenUsageRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *RecordTokenUsageRequest) GetInputTokens() int64
- func (x *RecordTokenUsageRequest) GetInterceptionId() string
- func (x *RecordTokenUsageRequest) GetMetadata() map[string]*anypb.Any
- func (x *RecordTokenUsageRequest) GetMsgId() string
- func (x *RecordTokenUsageRequest) GetOutputTokens() int64
- func (*RecordTokenUsageRequest) ProtoMessage()
- func (x *RecordTokenUsageRequest) ProtoReflect() protoreflect.Message
- func (x *RecordTokenUsageRequest) Reset()
- func (x *RecordTokenUsageRequest) String() string
- type RecordTokenUsageResponse
- type RecordToolUsageRequest
- func (*RecordToolUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecordToolUsageRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *RecordToolUsageRequest) GetInjected() bool
- func (x *RecordToolUsageRequest) GetInput() string
- func (x *RecordToolUsageRequest) GetInterceptionId() string
- func (x *RecordToolUsageRequest) GetInvocationError() string
- func (x *RecordToolUsageRequest) GetMetadata() map[string]*anypb.Any
- func (x *RecordToolUsageRequest) GetMsgId() string
- func (x *RecordToolUsageRequest) GetServerUrl() string
- func (x *RecordToolUsageRequest) GetTool() string
- func (*RecordToolUsageRequest) ProtoMessage()
- func (x *RecordToolUsageRequest) ProtoReflect() protoreflect.Message
- func (x *RecordToolUsageRequest) Reset()
- func (x *RecordToolUsageRequest) String() string
- type RecordToolUsageResponse
Constants ¶
This section is empty.
Variables ¶
var File_enterprise_aibridged_proto_aibridged_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterAuthorizer ¶
func DRPCRegisterAuthorizer(mux drpc.Mux, impl DRPCAuthorizerServer) error
func DRPCRegisterMCPConfigurator ¶
func DRPCRegisterMCPConfigurator(mux drpc.Mux, impl DRPCMCPConfiguratorServer) error
func DRPCRegisterRecorder ¶
func DRPCRegisterRecorder(mux drpc.Mux, impl DRPCRecorderServer) error
Types ¶
type DRPCAuthorizerClient ¶
type DRPCAuthorizerClient interface {
DRPCConn() drpc.Conn
IsAuthorized(ctx context.Context, in *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
}
func NewDRPCAuthorizerClient ¶
func NewDRPCAuthorizerClient(cc drpc.Conn) DRPCAuthorizerClient
type DRPCAuthorizerDescription ¶
type DRPCAuthorizerDescription struct{}
func (DRPCAuthorizerDescription) NumMethods ¶
func (DRPCAuthorizerDescription) NumMethods() int
type DRPCAuthorizerServer ¶
type DRPCAuthorizerServer interface {
IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
}
type DRPCAuthorizerUnimplementedServer ¶
type DRPCAuthorizerUnimplementedServer struct{}
func (*DRPCAuthorizerUnimplementedServer) IsAuthorized ¶
func (s *DRPCAuthorizerUnimplementedServer) IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
type DRPCAuthorizer_IsAuthorizedStream ¶
type DRPCAuthorizer_IsAuthorizedStream interface {
drpc.Stream
SendAndClose(*IsAuthorizedResponse) error
}
type DRPCMCPConfiguratorClient ¶
type DRPCMCPConfiguratorClient interface {
DRPCConn() drpc.Conn
GetMCPServerConfigs(ctx context.Context, in *GetMCPServerConfigsRequest) (*GetMCPServerConfigsResponse, error)
GetMCPServerAccessTokensBatch(ctx context.Context, in *GetMCPServerAccessTokensBatchRequest) (*GetMCPServerAccessTokensBatchResponse, error)
}
func NewDRPCMCPConfiguratorClient ¶
func NewDRPCMCPConfiguratorClient(cc drpc.Conn) DRPCMCPConfiguratorClient
type DRPCMCPConfiguratorDescription ¶
type DRPCMCPConfiguratorDescription struct{}
func (DRPCMCPConfiguratorDescription) NumMethods ¶
func (DRPCMCPConfiguratorDescription) NumMethods() int
type DRPCMCPConfiguratorServer ¶
type DRPCMCPConfiguratorServer interface {
GetMCPServerConfigs(context.Context, *GetMCPServerConfigsRequest) (*GetMCPServerConfigsResponse, error)
GetMCPServerAccessTokensBatch(context.Context, *GetMCPServerAccessTokensBatchRequest) (*GetMCPServerAccessTokensBatchResponse, error)
}
type DRPCMCPConfiguratorUnimplementedServer ¶
type DRPCMCPConfiguratorUnimplementedServer struct{}
func (*DRPCMCPConfiguratorUnimplementedServer) GetMCPServerAccessTokensBatch ¶
func (s *DRPCMCPConfiguratorUnimplementedServer) GetMCPServerAccessTokensBatch(context.Context, *GetMCPServerAccessTokensBatchRequest) (*GetMCPServerAccessTokensBatchResponse, error)
func (*DRPCMCPConfiguratorUnimplementedServer) GetMCPServerConfigs ¶
func (s *DRPCMCPConfiguratorUnimplementedServer) GetMCPServerConfigs(context.Context, *GetMCPServerConfigsRequest) (*GetMCPServerConfigsResponse, error)
type DRPCMCPConfigurator_GetMCPServerAccessTokensBatchStream ¶
type DRPCMCPConfigurator_GetMCPServerAccessTokensBatchStream interface {
drpc.Stream
SendAndClose(*GetMCPServerAccessTokensBatchResponse) error
}
type DRPCMCPConfigurator_GetMCPServerConfigsStream ¶
type DRPCMCPConfigurator_GetMCPServerConfigsStream interface {
drpc.Stream
SendAndClose(*GetMCPServerConfigsResponse) error
}
type DRPCRecorderClient ¶
type DRPCRecorderClient interface {
DRPCConn() drpc.Conn
RecordInterception(ctx context.Context, in *RecordInterceptionRequest) (*RecordInterceptionResponse, error)
RecordInterceptionEnded(ctx context.Context, in *RecordInterceptionEndedRequest) (*RecordInterceptionEndedResponse, error)
RecordTokenUsage(ctx context.Context, in *RecordTokenUsageRequest) (*RecordTokenUsageResponse, error)
RecordPromptUsage(ctx context.Context, in *RecordPromptUsageRequest) (*RecordPromptUsageResponse, error)
RecordToolUsage(ctx context.Context, in *RecordToolUsageRequest) (*RecordToolUsageResponse, error)
}
func NewDRPCRecorderClient ¶
func NewDRPCRecorderClient(cc drpc.Conn) DRPCRecorderClient
type DRPCRecorderDescription ¶
type DRPCRecorderDescription struct{}
func (DRPCRecorderDescription) NumMethods ¶
func (DRPCRecorderDescription) NumMethods() int
type DRPCRecorderServer ¶
type DRPCRecorderServer interface {
RecordInterception(context.Context, *RecordInterceptionRequest) (*RecordInterceptionResponse, error)
RecordInterceptionEnded(context.Context, *RecordInterceptionEndedRequest) (*RecordInterceptionEndedResponse, error)
RecordTokenUsage(context.Context, *RecordTokenUsageRequest) (*RecordTokenUsageResponse, error)
RecordPromptUsage(context.Context, *RecordPromptUsageRequest) (*RecordPromptUsageResponse, error)
RecordToolUsage(context.Context, *RecordToolUsageRequest) (*RecordToolUsageResponse, error)
}
type DRPCRecorderUnimplementedServer ¶
type DRPCRecorderUnimplementedServer struct{}
func (*DRPCRecorderUnimplementedServer) RecordInterception ¶
func (s *DRPCRecorderUnimplementedServer) RecordInterception(context.Context, *RecordInterceptionRequest) (*RecordInterceptionResponse, error)
func (*DRPCRecorderUnimplementedServer) RecordInterceptionEnded ¶
func (s *DRPCRecorderUnimplementedServer) RecordInterceptionEnded(context.Context, *RecordInterceptionEndedRequest) (*RecordInterceptionEndedResponse, error)
func (*DRPCRecorderUnimplementedServer) RecordPromptUsage ¶
func (s *DRPCRecorderUnimplementedServer) RecordPromptUsage(context.Context, *RecordPromptUsageRequest) (*RecordPromptUsageResponse, error)
func (*DRPCRecorderUnimplementedServer) RecordTokenUsage ¶
func (s *DRPCRecorderUnimplementedServer) RecordTokenUsage(context.Context, *RecordTokenUsageRequest) (*RecordTokenUsageResponse, error)
func (*DRPCRecorderUnimplementedServer) RecordToolUsage ¶
func (s *DRPCRecorderUnimplementedServer) RecordToolUsage(context.Context, *RecordToolUsageRequest) (*RecordToolUsageResponse, error)
type DRPCRecorder_RecordInterceptionEndedStream ¶
type DRPCRecorder_RecordInterceptionEndedStream interface {
drpc.Stream
SendAndClose(*RecordInterceptionEndedResponse) error
}
type DRPCRecorder_RecordInterceptionStream ¶
type DRPCRecorder_RecordInterceptionStream interface {
drpc.Stream
SendAndClose(*RecordInterceptionResponse) error
}
type DRPCRecorder_RecordPromptUsageStream ¶
type DRPCRecorder_RecordPromptUsageStream interface {
drpc.Stream
SendAndClose(*RecordPromptUsageResponse) error
}
type DRPCRecorder_RecordTokenUsageStream ¶
type DRPCRecorder_RecordTokenUsageStream interface {
drpc.Stream
SendAndClose(*RecordTokenUsageResponse) error
}
type DRPCRecorder_RecordToolUsageStream ¶
type DRPCRecorder_RecordToolUsageStream interface {
drpc.Stream
SendAndClose(*RecordToolUsageResponse) error
}
type GetMCPServerAccessTokensBatchRequest ¶
type GetMCPServerAccessTokensBatchRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UUID.
McpServerConfigIds []string `protobuf:"bytes,2,rep,name=mcp_server_config_ids,json=mcpServerConfigIds,proto3" json:"mcp_server_config_ids,omitempty"`
// contains filtered or unexported fields
}
func (*GetMCPServerAccessTokensBatchRequest) Descriptor
deprecated
func (*GetMCPServerAccessTokensBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMCPServerAccessTokensBatchRequest.ProtoReflect.Descriptor instead.
func (*GetMCPServerAccessTokensBatchRequest) GetMcpServerConfigIds ¶
func (x *GetMCPServerAccessTokensBatchRequest) GetMcpServerConfigIds() []string
func (*GetMCPServerAccessTokensBatchRequest) GetUserId ¶
func (x *GetMCPServerAccessTokensBatchRequest) GetUserId() string
func (*GetMCPServerAccessTokensBatchRequest) ProtoMessage ¶
func (*GetMCPServerAccessTokensBatchRequest) ProtoMessage()
func (*GetMCPServerAccessTokensBatchRequest) ProtoReflect ¶
func (x *GetMCPServerAccessTokensBatchRequest) ProtoReflect() protoreflect.Message
func (*GetMCPServerAccessTokensBatchRequest) Reset ¶
func (x *GetMCPServerAccessTokensBatchRequest) Reset()
func (*GetMCPServerAccessTokensBatchRequest) String ¶
func (x *GetMCPServerAccessTokensBatchRequest) String() string
type GetMCPServerAccessTokensBatchResponse ¶
type GetMCPServerAccessTokensBatchResponse struct {
AccessTokens map[string]string `` /* 185-byte string literal not displayed */
Errors map[string]string `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
GetMCPServerAccessTokensBatchResponse returns a map for resulting tokens or errors, indexed by server ID.
func (*GetMCPServerAccessTokensBatchResponse) Descriptor
deprecated
func (*GetMCPServerAccessTokensBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMCPServerAccessTokensBatchResponse.ProtoReflect.Descriptor instead.
func (*GetMCPServerAccessTokensBatchResponse) GetAccessTokens ¶
func (x *GetMCPServerAccessTokensBatchResponse) GetAccessTokens() map[string]string
func (*GetMCPServerAccessTokensBatchResponse) GetErrors ¶
func (x *GetMCPServerAccessTokensBatchResponse) GetErrors() map[string]string
func (*GetMCPServerAccessTokensBatchResponse) ProtoMessage ¶
func (*GetMCPServerAccessTokensBatchResponse) ProtoMessage()
func (*GetMCPServerAccessTokensBatchResponse) ProtoReflect ¶
func (x *GetMCPServerAccessTokensBatchResponse) ProtoReflect() protoreflect.Message
func (*GetMCPServerAccessTokensBatchResponse) Reset ¶
func (x *GetMCPServerAccessTokensBatchResponse) Reset()
func (*GetMCPServerAccessTokensBatchResponse) String ¶
func (x *GetMCPServerAccessTokensBatchResponse) String() string
type GetMCPServerConfigsRequest ¶
type GetMCPServerConfigsRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UUID. // Not used yet, will be necessary for later RBAC purposes.
// contains filtered or unexported fields
}
func (*GetMCPServerConfigsRequest) Descriptor
deprecated
func (*GetMCPServerConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMCPServerConfigsRequest.ProtoReflect.Descriptor instead.
func (*GetMCPServerConfigsRequest) GetUserId ¶
func (x *GetMCPServerConfigsRequest) GetUserId() string
func (*GetMCPServerConfigsRequest) ProtoMessage ¶
func (*GetMCPServerConfigsRequest) ProtoMessage()
func (*GetMCPServerConfigsRequest) ProtoReflect ¶
func (x *GetMCPServerConfigsRequest) ProtoReflect() protoreflect.Message
func (*GetMCPServerConfigsRequest) Reset ¶
func (x *GetMCPServerConfigsRequest) Reset()
func (*GetMCPServerConfigsRequest) String ¶
func (x *GetMCPServerConfigsRequest) String() string
type GetMCPServerConfigsResponse ¶
type GetMCPServerConfigsResponse struct {
CoderMcpConfig *MCPServerConfig `protobuf:"bytes,1,opt,name=coder_mcp_config,json=coderMcpConfig,proto3" json:"coder_mcp_config,omitempty"`
ExternalAuthMcpConfigs []*MCPServerConfig `` /* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetMCPServerConfigsResponse) Descriptor
deprecated
func (*GetMCPServerConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMCPServerConfigsResponse.ProtoReflect.Descriptor instead.
func (*GetMCPServerConfigsResponse) GetCoderMcpConfig ¶
func (x *GetMCPServerConfigsResponse) GetCoderMcpConfig() *MCPServerConfig
func (*GetMCPServerConfigsResponse) GetExternalAuthMcpConfigs ¶
func (x *GetMCPServerConfigsResponse) GetExternalAuthMcpConfigs() []*MCPServerConfig
func (*GetMCPServerConfigsResponse) ProtoMessage ¶
func (*GetMCPServerConfigsResponse) ProtoMessage()
func (*GetMCPServerConfigsResponse) ProtoReflect ¶
func (x *GetMCPServerConfigsResponse) ProtoReflect() protoreflect.Message
func (*GetMCPServerConfigsResponse) Reset ¶
func (x *GetMCPServerConfigsResponse) Reset()
func (*GetMCPServerConfigsResponse) String ¶
func (x *GetMCPServerConfigsResponse) String() string
type IsAuthorizedRequest ¶
type IsAuthorizedRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*IsAuthorizedRequest) Descriptor
deprecated
func (*IsAuthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*IsAuthorizedRequest) GetKey ¶
func (x *IsAuthorizedRequest) GetKey() string
func (*IsAuthorizedRequest) ProtoMessage ¶
func (*IsAuthorizedRequest) ProtoMessage()
func (*IsAuthorizedRequest) ProtoReflect ¶
func (x *IsAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*IsAuthorizedRequest) Reset ¶
func (x *IsAuthorizedRequest) Reset()
func (*IsAuthorizedRequest) String ¶
func (x *IsAuthorizedRequest) String() string
type IsAuthorizedResponse ¶
type IsAuthorizedResponse struct {
OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
// contains filtered or unexported fields
}
func (*IsAuthorizedResponse) Descriptor
deprecated
func (*IsAuthorizedResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*IsAuthorizedResponse) GetOwnerId ¶
func (x *IsAuthorizedResponse) GetOwnerId() string
func (*IsAuthorizedResponse) ProtoMessage ¶
func (*IsAuthorizedResponse) ProtoMessage()
func (*IsAuthorizedResponse) ProtoReflect ¶
func (x *IsAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*IsAuthorizedResponse) Reset ¶
func (x *IsAuthorizedResponse) Reset()
func (*IsAuthorizedResponse) String ¶
func (x *IsAuthorizedResponse) String() string
type MCPServerConfig ¶
type MCPServerConfig struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Maps to the ID of the External Auth; this ID is unique.
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
ToolAllowRegex string `protobuf:"bytes,3,opt,name=tool_allow_regex,json=toolAllowRegex,proto3" json:"tool_allow_regex,omitempty"`
ToolDenyRegex string `protobuf:"bytes,4,opt,name=tool_deny_regex,json=toolDenyRegex,proto3" json:"tool_deny_regex,omitempty"`
// contains filtered or unexported fields
}
func (*MCPServerConfig) Descriptor
deprecated
func (*MCPServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use MCPServerConfig.ProtoReflect.Descriptor instead.
func (*MCPServerConfig) GetId ¶
func (x *MCPServerConfig) GetId() string
func (*MCPServerConfig) GetToolAllowRegex ¶
func (x *MCPServerConfig) GetToolAllowRegex() string
func (*MCPServerConfig) GetToolDenyRegex ¶
func (x *MCPServerConfig) GetToolDenyRegex() string
func (*MCPServerConfig) GetUrl ¶
func (x *MCPServerConfig) GetUrl() string
func (*MCPServerConfig) ProtoMessage ¶
func (*MCPServerConfig) ProtoMessage()
func (*MCPServerConfig) ProtoReflect ¶
func (x *MCPServerConfig) ProtoReflect() protoreflect.Message
func (*MCPServerConfig) Reset ¶
func (x *MCPServerConfig) Reset()
func (*MCPServerConfig) String ¶
func (x *MCPServerConfig) String() string
type RecordInterceptionEndedRequest ¶
type RecordInterceptionEndedRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID.
EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
// contains filtered or unexported fields
}
func (*RecordInterceptionEndedRequest) Descriptor
deprecated
func (*RecordInterceptionEndedRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordInterceptionEndedRequest.ProtoReflect.Descriptor instead.
func (*RecordInterceptionEndedRequest) GetEndedAt ¶
func (x *RecordInterceptionEndedRequest) GetEndedAt() *timestamppb.Timestamp
func (*RecordInterceptionEndedRequest) GetId ¶
func (x *RecordInterceptionEndedRequest) GetId() string
func (*RecordInterceptionEndedRequest) ProtoMessage ¶
func (*RecordInterceptionEndedRequest) ProtoMessage()
func (*RecordInterceptionEndedRequest) ProtoReflect ¶
func (x *RecordInterceptionEndedRequest) ProtoReflect() protoreflect.Message
func (*RecordInterceptionEndedRequest) Reset ¶
func (x *RecordInterceptionEndedRequest) Reset()
func (*RecordInterceptionEndedRequest) String ¶
func (x *RecordInterceptionEndedRequest) String() string
type RecordInterceptionEndedResponse ¶
type RecordInterceptionEndedResponse struct {
// contains filtered or unexported fields
}
func (*RecordInterceptionEndedResponse) Descriptor
deprecated
func (*RecordInterceptionEndedResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecordInterceptionEndedResponse.ProtoReflect.Descriptor instead.
func (*RecordInterceptionEndedResponse) ProtoMessage ¶
func (*RecordInterceptionEndedResponse) ProtoMessage()
func (*RecordInterceptionEndedResponse) ProtoReflect ¶
func (x *RecordInterceptionEndedResponse) ProtoReflect() protoreflect.Message
func (*RecordInterceptionEndedResponse) Reset ¶
func (x *RecordInterceptionEndedResponse) Reset()
func (*RecordInterceptionEndedResponse) String ¶
func (x *RecordInterceptionEndedResponse) String() string
type RecordInterceptionRequest ¶
type RecordInterceptionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID.
InitiatorId string `protobuf:"bytes,2,opt,name=initiator_id,json=initiatorId,proto3" json:"initiator_id,omitempty"` // UUID.
Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */
StartedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
// contains filtered or unexported fields
}
func (*RecordInterceptionRequest) Descriptor
deprecated
func (*RecordInterceptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordInterceptionRequest.ProtoReflect.Descriptor instead.
func (*RecordInterceptionRequest) GetId ¶
func (x *RecordInterceptionRequest) GetId() string
func (*RecordInterceptionRequest) GetInitiatorId ¶
func (x *RecordInterceptionRequest) GetInitiatorId() string
func (*RecordInterceptionRequest) GetMetadata ¶
func (x *RecordInterceptionRequest) GetMetadata() map[string]*anypb.Any
func (*RecordInterceptionRequest) GetModel ¶
func (x *RecordInterceptionRequest) GetModel() string
func (*RecordInterceptionRequest) GetProvider ¶
func (x *RecordInterceptionRequest) GetProvider() string
func (*RecordInterceptionRequest) GetStartedAt ¶
func (x *RecordInterceptionRequest) GetStartedAt() *timestamppb.Timestamp
func (*RecordInterceptionRequest) ProtoMessage ¶
func (*RecordInterceptionRequest) ProtoMessage()
func (*RecordInterceptionRequest) ProtoReflect ¶
func (x *RecordInterceptionRequest) ProtoReflect() protoreflect.Message
func (*RecordInterceptionRequest) Reset ¶
func (x *RecordInterceptionRequest) Reset()
func (*RecordInterceptionRequest) String ¶
func (x *RecordInterceptionRequest) String() string
type RecordInterceptionResponse ¶
type RecordInterceptionResponse struct {
// contains filtered or unexported fields
}
func (*RecordInterceptionResponse) Descriptor
deprecated
func (*RecordInterceptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecordInterceptionResponse.ProtoReflect.Descriptor instead.
func (*RecordInterceptionResponse) ProtoMessage ¶
func (*RecordInterceptionResponse) ProtoMessage()
func (*RecordInterceptionResponse) ProtoReflect ¶
func (x *RecordInterceptionResponse) ProtoReflect() protoreflect.Message
func (*RecordInterceptionResponse) Reset ¶
func (x *RecordInterceptionResponse) Reset()
func (*RecordInterceptionResponse) String ¶
func (x *RecordInterceptionResponse) String() string
type RecordPromptUsageRequest ¶
type RecordPromptUsageRequest struct {
InterceptionId string `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
MsgId string `protobuf:"bytes,2,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // ID provided by provider.
Prompt string `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"`
Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*RecordPromptUsageRequest) Descriptor
deprecated
func (*RecordPromptUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordPromptUsageRequest.ProtoReflect.Descriptor instead.
func (*RecordPromptUsageRequest) GetCreatedAt ¶
func (x *RecordPromptUsageRequest) GetCreatedAt() *timestamppb.Timestamp
func (*RecordPromptUsageRequest) GetInterceptionId ¶
func (x *RecordPromptUsageRequest) GetInterceptionId() string
func (*RecordPromptUsageRequest) GetMetadata ¶
func (x *RecordPromptUsageRequest) GetMetadata() map[string]*anypb.Any
func (*RecordPromptUsageRequest) GetMsgId ¶
func (x *RecordPromptUsageRequest) GetMsgId() string
func (*RecordPromptUsageRequest) GetPrompt ¶
func (x *RecordPromptUsageRequest) GetPrompt() string
func (*RecordPromptUsageRequest) ProtoMessage ¶
func (*RecordPromptUsageRequest) ProtoMessage()
func (*RecordPromptUsageRequest) ProtoReflect ¶
func (x *RecordPromptUsageRequest) ProtoReflect() protoreflect.Message
func (*RecordPromptUsageRequest) Reset ¶
func (x *RecordPromptUsageRequest) Reset()
func (*RecordPromptUsageRequest) String ¶
func (x *RecordPromptUsageRequest) String() string
type RecordPromptUsageResponse ¶
type RecordPromptUsageResponse struct {
// contains filtered or unexported fields
}
func (*RecordPromptUsageResponse) Descriptor
deprecated
func (*RecordPromptUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecordPromptUsageResponse.ProtoReflect.Descriptor instead.
func (*RecordPromptUsageResponse) ProtoMessage ¶
func (*RecordPromptUsageResponse) ProtoMessage()
func (*RecordPromptUsageResponse) ProtoReflect ¶
func (x *RecordPromptUsageResponse) ProtoReflect() protoreflect.Message
func (*RecordPromptUsageResponse) Reset ¶
func (x *RecordPromptUsageResponse) Reset()
func (*RecordPromptUsageResponse) String ¶
func (x *RecordPromptUsageResponse) String() string
type RecordTokenUsageRequest ¶
type RecordTokenUsageRequest struct {
InterceptionId string `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
MsgId string `protobuf:"bytes,2,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // ID provided by provider.
InputTokens int64 `protobuf:"varint,3,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
OutputTokens int64 `protobuf:"varint,4,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*RecordTokenUsageRequest) Descriptor
deprecated
func (*RecordTokenUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordTokenUsageRequest.ProtoReflect.Descriptor instead.
func (*RecordTokenUsageRequest) GetCreatedAt ¶
func (x *RecordTokenUsageRequest) GetCreatedAt() *timestamppb.Timestamp
func (*RecordTokenUsageRequest) GetInputTokens ¶
func (x *RecordTokenUsageRequest) GetInputTokens() int64
func (*RecordTokenUsageRequest) GetInterceptionId ¶
func (x *RecordTokenUsageRequest) GetInterceptionId() string
func (*RecordTokenUsageRequest) GetMetadata ¶
func (x *RecordTokenUsageRequest) GetMetadata() map[string]*anypb.Any
func (*RecordTokenUsageRequest) GetMsgId ¶
func (x *RecordTokenUsageRequest) GetMsgId() string
func (*RecordTokenUsageRequest) GetOutputTokens ¶
func (x *RecordTokenUsageRequest) GetOutputTokens() int64
func (*RecordTokenUsageRequest) ProtoMessage ¶
func (*RecordTokenUsageRequest) ProtoMessage()
func (*RecordTokenUsageRequest) ProtoReflect ¶
func (x *RecordTokenUsageRequest) ProtoReflect() protoreflect.Message
func (*RecordTokenUsageRequest) Reset ¶
func (x *RecordTokenUsageRequest) Reset()
func (*RecordTokenUsageRequest) String ¶
func (x *RecordTokenUsageRequest) String() string
type RecordTokenUsageResponse ¶
type RecordTokenUsageResponse struct {
// contains filtered or unexported fields
}
func (*RecordTokenUsageResponse) Descriptor
deprecated
func (*RecordTokenUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecordTokenUsageResponse.ProtoReflect.Descriptor instead.
func (*RecordTokenUsageResponse) ProtoMessage ¶
func (*RecordTokenUsageResponse) ProtoMessage()
func (*RecordTokenUsageResponse) ProtoReflect ¶
func (x *RecordTokenUsageResponse) ProtoReflect() protoreflect.Message
func (*RecordTokenUsageResponse) Reset ¶
func (x *RecordTokenUsageResponse) Reset()
func (*RecordTokenUsageResponse) String ¶
func (x *RecordTokenUsageResponse) String() string
type RecordToolUsageRequest ¶
type RecordToolUsageRequest struct {
InterceptionId string `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
MsgId string `protobuf:"bytes,2,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // ID provided by provider.
ServerUrl *string `protobuf:"bytes,3,opt,name=server_url,json=serverUrl,proto3,oneof" json:"server_url,omitempty"` // The URL of the MCP server.
Tool string `protobuf:"bytes,4,opt,name=tool,proto3" json:"tool,omitempty"`
Input string `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
Injected bool `protobuf:"varint,6,opt,name=injected,proto3" json:"injected,omitempty"`
InvocationError *string `protobuf:"bytes,7,opt,name=invocation_error,json=invocationError,proto3,oneof" json:"invocation_error,omitempty"` // Only injected tools are invoked.
Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*RecordToolUsageRequest) Descriptor
deprecated
func (*RecordToolUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordToolUsageRequest.ProtoReflect.Descriptor instead.
func (*RecordToolUsageRequest) GetCreatedAt ¶
func (x *RecordToolUsageRequest) GetCreatedAt() *timestamppb.Timestamp
func (*RecordToolUsageRequest) GetInjected ¶
func (x *RecordToolUsageRequest) GetInjected() bool
func (*RecordToolUsageRequest) GetInput ¶
func (x *RecordToolUsageRequest) GetInput() string
func (*RecordToolUsageRequest) GetInterceptionId ¶
func (x *RecordToolUsageRequest) GetInterceptionId() string
func (*RecordToolUsageRequest) GetInvocationError ¶
func (x *RecordToolUsageRequest) GetInvocationError() string
func (*RecordToolUsageRequest) GetMetadata ¶
func (x *RecordToolUsageRequest) GetMetadata() map[string]*anypb.Any
func (*RecordToolUsageRequest) GetMsgId ¶
func (x *RecordToolUsageRequest) GetMsgId() string
func (*RecordToolUsageRequest) GetServerUrl ¶
func (x *RecordToolUsageRequest) GetServerUrl() string
func (*RecordToolUsageRequest) GetTool ¶
func (x *RecordToolUsageRequest) GetTool() string
func (*RecordToolUsageRequest) ProtoMessage ¶
func (*RecordToolUsageRequest) ProtoMessage()
func (*RecordToolUsageRequest) ProtoReflect ¶
func (x *RecordToolUsageRequest) ProtoReflect() protoreflect.Message
func (*RecordToolUsageRequest) Reset ¶
func (x *RecordToolUsageRequest) Reset()
func (*RecordToolUsageRequest) String ¶
func (x *RecordToolUsageRequest) String() string
type RecordToolUsageResponse ¶
type RecordToolUsageResponse struct {
// contains filtered or unexported fields
}
func (*RecordToolUsageResponse) Descriptor
deprecated
func (*RecordToolUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecordToolUsageResponse.ProtoReflect.Descriptor instead.
func (*RecordToolUsageResponse) ProtoMessage ¶
func (*RecordToolUsageResponse) ProtoMessage()
func (*RecordToolUsageResponse) ProtoReflect ¶
func (x *RecordToolUsageResponse) ProtoReflect() protoreflect.Message
func (*RecordToolUsageResponse) Reset ¶
func (x *RecordToolUsageResponse) Reset()
func (*RecordToolUsageResponse) String ¶
func (x *RecordToolUsageResponse) String() string