Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)
- func RegisterSeshatServiceServer(s grpc.ServiceRegistrar, srv SeshatServiceServer)
- func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
- type BashRequest
- type BashResponse
- func (*BashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BashResponse) GetError() string
- func (x *BashResponse) GetExitCode() int32
- func (x *BashResponse) GetOutput() string
- func (*BashResponse) ProtoMessage()
- func (x *BashResponse) ProtoReflect() protoreflect.Message
- func (x *BashResponse) Reset()
- func (x *BashResponse) String() string
- type ChunkDelta
- func (*ChunkDelta) Descriptor() ([]byte, []int)deprecated
- func (x *ChunkDelta) GetDelta() string
- func (x *ChunkDelta) GetDeltaType() string
- func (x *ChunkDelta) GetType() string
- func (*ChunkDelta) ProtoMessage()
- func (x *ChunkDelta) ProtoReflect() protoreflect.Message
- func (x *ChunkDelta) Reset()
- func (x *ChunkDelta) String() string
- type ConnectMCPRequest
- func (*ConnectMCPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectMCPRequest) GetArgs() []string
- func (x *ConnectMCPRequest) GetCommand() string
- func (x *ConnectMCPRequest) GetEnv() map[string]string
- func (x *ConnectMCPRequest) GetName() string
- func (x *ConnectMCPRequest) GetTimeout() int32
- func (x *ConnectMCPRequest) GetType() string
- func (x *ConnectMCPRequest) GetUrl() string
- func (*ConnectMCPRequest) ProtoMessage()
- func (x *ConnectMCPRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectMCPRequest) Reset()
- func (x *ConnectMCPRequest) String() string
- type ConnectMCPResponse
- func (*ConnectMCPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectMCPResponse) GetError() string
- func (x *ConnectMCPResponse) GetSuccess() bool
- func (*ConnectMCPResponse) ProtoMessage()
- func (x *ConnectMCPResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectMCPResponse) Reset()
- func (x *ConnectMCPResponse) String() string
- type DisconnectMCPRequest
- func (*DisconnectMCPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectMCPRequest) GetName() string
- func (*DisconnectMCPRequest) ProtoMessage()
- func (x *DisconnectMCPRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectMCPRequest) Reset()
- func (x *DisconnectMCPRequest) String() string
- type DisconnectMCPResponse
- func (*DisconnectMCPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectMCPResponse) GetError() string
- func (x *DisconnectMCPResponse) GetSuccess() bool
- func (*DisconnectMCPResponse) ProtoMessage()
- func (x *DisconnectMCPResponse) ProtoReflect() protoreflect.Message
- func (x *DisconnectMCPResponse) Reset()
- func (x *DisconnectMCPResponse) String() string
- type FileEditRequest
- func (*FileEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileEditRequest) GetNewString() string
- func (x *FileEditRequest) GetOldString() string
- func (x *FileEditRequest) GetPath() string
- func (*FileEditRequest) ProtoMessage()
- func (x *FileEditRequest) ProtoReflect() protoreflect.Message
- func (x *FileEditRequest) Reset()
- func (x *FileEditRequest) String() string
- type FileEditResponse
- func (*FileEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileEditResponse) GetError() string
- func (x *FileEditResponse) GetSuccess() bool
- func (*FileEditResponse) ProtoMessage()
- func (x *FileEditResponse) ProtoReflect() protoreflect.Message
- func (x *FileEditResponse) Reset()
- func (x *FileEditResponse) String() string
- type FileGlobRequest
- func (*FileGlobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileGlobRequest) GetPath() string
- func (x *FileGlobRequest) GetPattern() string
- func (*FileGlobRequest) ProtoMessage()
- func (x *FileGlobRequest) ProtoReflect() protoreflect.Message
- func (x *FileGlobRequest) Reset()
- func (x *FileGlobRequest) String() string
- type FileGlobResponse
- type FileGrepRequest
- func (*FileGrepRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileGrepRequest) GetPath() string
- func (x *FileGrepRequest) GetPattern() string
- func (x *FileGrepRequest) GetRecursive() bool
- func (*FileGrepRequest) ProtoMessage()
- func (x *FileGrepRequest) ProtoReflect() protoreflect.Message
- func (x *FileGrepRequest) Reset()
- func (x *FileGrepRequest) String() string
- type FileGrepResponse
- type FileReadRequest
- func (*FileReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileReadRequest) GetLimit() int32
- func (x *FileReadRequest) GetOffset() int32
- func (x *FileReadRequest) GetPath() string
- func (*FileReadRequest) ProtoMessage()
- func (x *FileReadRequest) ProtoReflect() protoreflect.Message
- func (x *FileReadRequest) Reset()
- func (x *FileReadRequest) String() string
- type FileReadResponse
- func (*FileReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileReadResponse) GetContent() string
- func (x *FileReadResponse) GetError() bool
- func (x *FileReadResponse) GetErrorMessage() string
- func (*FileReadResponse) ProtoMessage()
- func (x *FileReadResponse) ProtoReflect() protoreflect.Message
- func (x *FileReadResponse) Reset()
- func (x *FileReadResponse) String() string
- type FileServiceClient
- type FileServiceServer
- type FileWriteRequest
- func (*FileWriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileWriteRequest) GetContent() string
- func (x *FileWriteRequest) GetPath() string
- func (*FileWriteRequest) ProtoMessage()
- func (x *FileWriteRequest) ProtoReflect() protoreflect.Message
- func (x *FileWriteRequest) Reset()
- func (x *FileWriteRequest) String() string
- type FileWriteResponse
- func (*FileWriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileWriteResponse) GetError() string
- func (x *FileWriteResponse) GetSuccess() bool
- func (*FileWriteResponse) ProtoMessage()
- func (x *FileWriteResponse) ProtoReflect() protoreflect.Message
- func (x *FileWriteResponse) Reset()
- func (x *FileWriteResponse) String() string
- type GetModelsRequest
- type GetModelsResponse
- func (*GetModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelsResponse) GetModels() []*ModelInfo
- func (*GetModelsResponse) ProtoMessage()
- func (x *GetModelsResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelsResponse) Reset()
- func (x *GetModelsResponse) String() string
- type GetSkillDetailsRequest
- func (*GetSkillDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkillDetailsRequest) GetName() string
- func (*GetSkillDetailsRequest) ProtoMessage()
- func (x *GetSkillDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSkillDetailsRequest) Reset()
- func (x *GetSkillDetailsRequest) String() string
- type GetSkillDetailsResponse
- func (*GetSkillDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkillDetailsResponse) GetPrompt() string
- func (x *GetSkillDetailsResponse) GetSkill() *Skill
- func (*GetSkillDetailsResponse) ProtoMessage()
- func (x *GetSkillDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSkillDetailsResponse) Reset()
- func (x *GetSkillDetailsResponse) String() string
- type GrepMatch
- func (*GrepMatch) Descriptor() ([]byte, []int)deprecated
- func (x *GrepMatch) GetContent() string
- func (x *GrepMatch) GetFile() string
- func (x *GrepMatch) GetLine() int32
- func (*GrepMatch) ProtoMessage()
- func (x *GrepMatch) ProtoReflect() protoreflect.Message
- func (x *GrepMatch) Reset()
- func (x *GrepMatch) String() string
- type HealthCheckRequest
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() string
- func (x *HealthCheckResponse) GetUptime() string
- func (x *HealthCheckResponse) GetVersion() string
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type ListMCPRequest
- type ListMCPResponse
- func (*ListMCPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMCPResponse) GetServers() []*MCPServer
- func (x *ListMCPResponse) GetTotalCount() int32
- func (*ListMCPResponse) ProtoMessage()
- func (x *ListMCPResponse) ProtoReflect() protoreflect.Message
- func (x *ListMCPResponse) Reset()
- func (x *ListMCPResponse) String() string
- type ListSkillsRequest
- func (*ListSkillsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillsRequest) GetSourceFilter() string
- func (*ListSkillsRequest) ProtoMessage()
- func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSkillsRequest) Reset()
- func (x *ListSkillsRequest) String() string
- type ListSkillsResponse
- func (*ListSkillsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkillsResponse) GetSkills() []*Skill
- func (x *ListSkillsResponse) GetTotalCount() int32
- func (*ListSkillsResponse) ProtoMessage()
- func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSkillsResponse) Reset()
- func (x *ListSkillsResponse) String() string
- type MCPServer
- func (*MCPServer) Descriptor() ([]byte, []int)deprecated
- func (x *MCPServer) GetLastError() string
- func (x *MCPServer) GetName() string
- func (x *MCPServer) GetStatus() string
- func (x *MCPServer) GetToolCount() int32
- func (*MCPServer) ProtoMessage()
- func (x *MCPServer) ProtoReflect() protoreflect.Message
- func (x *MCPServer) Reset()
- func (x *MCPServer) String() string
- type ModelInfo
- func (*ModelInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ModelInfo) GetId() string
- func (x *ModelInfo) GetMaxTokens() int32
- func (x *ModelInfo) GetName() string
- func (x *ModelInfo) GetProvider() string
- func (*ModelInfo) ProtoMessage()
- func (x *ModelInfo) ProtoReflect() protoreflect.Message
- func (x *ModelInfo) Reset()
- func (x *ModelInfo) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetApiKey() string
- func (x *QueryRequest) GetContextId() string
- func (x *QueryRequest) GetMaxTokens() int32
- func (x *QueryRequest) GetModel() string
- func (x *QueryRequest) GetPrompt() string
- func (x *QueryRequest) GetStream() bool
- func (x *QueryRequest) GetTemperature() float32
- func (x *QueryRequest) GetTools() []string
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetChunk() *ChunkDelta
- func (x *QueryResponse) GetContent() string
- func (x *QueryResponse) GetConversationId() string
- func (x *QueryResponse) GetItemType() string
- func (x *QueryResponse) GetModel() string
- func (x *QueryResponse) GetRuntimeEvent() *RuntimeEvent
- func (x *QueryResponse) GetStopped() bool
- func (x *QueryResponse) GetTokenUsage() *TokenUsage
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type RuntimeEvent
- func (*RuntimeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeEvent) GetChunk() *ChunkDelta
- func (x *RuntimeEvent) GetError() string
- func (x *RuntimeEvent) GetSessionId() string
- func (x *RuntimeEvent) GetStopReason() string
- func (x *RuntimeEvent) GetTimestamp() string
- func (x *RuntimeEvent) GetTokenUsage() *TokenUsage
- func (x *RuntimeEvent) GetToolMessage() string
- func (x *RuntimeEvent) GetToolName() string
- func (x *RuntimeEvent) GetToolPercentComplete() float32
- func (x *RuntimeEvent) GetToolStage() string
- func (x *RuntimeEvent) GetTurnId() string
- func (x *RuntimeEvent) GetTurnNumber() int32
- func (x *RuntimeEvent) GetType() string
- func (*RuntimeEvent) ProtoMessage()
- func (x *RuntimeEvent) ProtoReflect() protoreflect.Message
- func (x *RuntimeEvent) Reset()
- func (x *RuntimeEvent) String() string
- type SeshatServiceClient
- type SeshatServiceServer
- type SeshatService_QueryStreamClient
- type SeshatService_QueryStreamServer
- type Skill
- func (*Skill) Descriptor() ([]byte, []int)deprecated
- func (x *Skill) GetAllowedTools() []string
- func (x *Skill) GetDescription() string
- func (x *Skill) GetName() string
- func (x *Skill) GetSource() string
- func (x *Skill) GetWhenToUse() string
- func (*Skill) ProtoMessage()
- func (x *Skill) ProtoReflect() protoreflect.Message
- func (x *Skill) Reset()
- func (x *Skill) String() string
- type SystemInfoRequest
- type SystemInfoResponse
- func (*SystemInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoResponse) GetArch() string
- func (x *SystemInfoResponse) GetCpuCount() int32
- func (x *SystemInfoResponse) GetMemoryTotal() int64
- func (x *SystemInfoResponse) GetOs() string
- func (*SystemInfoResponse) ProtoMessage()
- func (x *SystemInfoResponse) ProtoReflect() protoreflect.Message
- func (x *SystemInfoResponse) Reset()
- func (x *SystemInfoResponse) String() string
- type SystemServiceClient
- type SystemServiceServer
- type TokenUsage
- func (*TokenUsage) Descriptor() ([]byte, []int)deprecated
- func (x *TokenUsage) GetInputTokens() int64
- func (x *TokenUsage) GetOutputTokens() int64
- func (x *TokenUsage) GetTotalTokens() int64
- func (*TokenUsage) ProtoMessage()
- func (x *TokenUsage) ProtoReflect() protoreflect.Message
- func (x *TokenUsage) Reset()
- func (x *TokenUsage) String() string
- type UnimplementedFileServiceServer
- func (UnimplementedFileServiceServer) Edit(context.Context, *FileEditRequest) (*FileEditResponse, error)
- func (UnimplementedFileServiceServer) Glob(context.Context, *FileGlobRequest) (*FileGlobResponse, error)
- func (UnimplementedFileServiceServer) Grep(context.Context, *FileGrepRequest) (*FileGrepResponse, error)
- func (UnimplementedFileServiceServer) Read(context.Context, *FileReadRequest) (*FileReadResponse, error)
- func (UnimplementedFileServiceServer) Write(context.Context, *FileWriteRequest) (*FileWriteResponse, error)
- type UnimplementedSeshatServiceServer
- func (UnimplementedSeshatServiceServer) ConnectMCP(context.Context, *ConnectMCPRequest) (*ConnectMCPResponse, error)
- func (UnimplementedSeshatServiceServer) DisconnectMCP(context.Context, *DisconnectMCPRequest) (*DisconnectMCPResponse, error)
- func (UnimplementedSeshatServiceServer) GetModels(context.Context, *GetModelsRequest) (*GetModelsResponse, error)
- func (UnimplementedSeshatServiceServer) GetSkillDetails(context.Context, *GetSkillDetailsRequest) (*GetSkillDetailsResponse, error)
- func (UnimplementedSeshatServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (UnimplementedSeshatServiceServer) ListMCP(context.Context, *ListMCPRequest) (*ListMCPResponse, error)
- func (UnimplementedSeshatServiceServer) ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
- func (UnimplementedSeshatServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (UnimplementedSeshatServiceServer) QueryStream(*QueryRequest, grpc.ServerStreamingServer[QueryResponse]) error
- type UnimplementedSystemServiceServer
- type UnsafeFileServiceServer
- type UnsafeSeshatServiceServer
- type UnsafeSystemServiceServer
Constants ¶
const ( SeshatService_Query_FullMethodName = "/seshat.SeshatService/Query" SeshatService_QueryStream_FullMethodName = "/seshat.SeshatService/QueryStream" SeshatService_ListSkills_FullMethodName = "/seshat.SeshatService/ListSkills" SeshatService_GetSkillDetails_FullMethodName = "/seshat.SeshatService/GetSkillDetails" SeshatService_ListMCP_FullMethodName = "/seshat.SeshatService/ListMCP" SeshatService_ConnectMCP_FullMethodName = "/seshat.SeshatService/ConnectMCP" SeshatService_DisconnectMCP_FullMethodName = "/seshat.SeshatService/DisconnectMCP" SeshatService_GetModels_FullMethodName = "/seshat.SeshatService/GetModels" SeshatService_HealthCheck_FullMethodName = "/seshat.SeshatService/HealthCheck" )
const ( FileService_Read_FullMethodName = "/seshat.FileService/Read" FileService_Write_FullMethodName = "/seshat.FileService/Write" FileService_Edit_FullMethodName = "/seshat.FileService/Edit" FileService_Glob_FullMethodName = "/seshat.FileService/Glob" FileService_Grep_FullMethodName = "/seshat.FileService/Grep" )
const ( SystemService_Bash_FullMethodName = "/seshat.SystemService/Bash" SystemService_GetSystemInfo_FullMethodName = "/seshat.SystemService/GetSystemInfo" )
Variables ¶
var FileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "seshat.FileService", HandlerType: (*FileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Read", Handler: _FileService_Read_Handler, }, { MethodName: "Write", Handler: _FileService_Write_Handler, }, { MethodName: "Edit", Handler: _FileService_Edit_Handler, }, { MethodName: "Glob", Handler: _FileService_Glob_Handler, }, { MethodName: "Grep", Handler: _FileService_Grep_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/grpc/proto/seshat.proto", }
FileService_ServiceDesc is the grpc.ServiceDesc for FileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_grpc_proto_seshat_proto protoreflect.FileDescriptor
var SeshatService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "seshat.SeshatService", HandlerType: (*SeshatServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Query", Handler: _SeshatService_Query_Handler, }, { MethodName: "ListSkills", Handler: _SeshatService_ListSkills_Handler, }, { MethodName: "GetSkillDetails", Handler: _SeshatService_GetSkillDetails_Handler, }, { MethodName: "ListMCP", Handler: _SeshatService_ListMCP_Handler, }, { MethodName: "ConnectMCP", Handler: _SeshatService_ConnectMCP_Handler, }, { MethodName: "DisconnectMCP", Handler: _SeshatService_DisconnectMCP_Handler, }, { MethodName: "GetModels", Handler: _SeshatService_GetModels_Handler, }, { MethodName: "HealthCheck", Handler: _SeshatService_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "QueryStream", Handler: _SeshatService_QueryStream_Handler, ServerStreams: true, }, }, Metadata: "pkg/grpc/proto/seshat.proto", }
SeshatService_ServiceDesc is the grpc.ServiceDesc for SeshatService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "seshat.SystemService", HandlerType: (*SystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Bash", Handler: _SystemService_Bash_Handler, }, { MethodName: "GetSystemInfo", Handler: _SystemService_GetSystemInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/grpc/proto/seshat.proto", }
SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFileServiceServer ¶
func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)
func RegisterSeshatServiceServer ¶
func RegisterSeshatServiceServer(s grpc.ServiceRegistrar, srv SeshatServiceServer)
func RegisterSystemServiceServer ¶
func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
Types ¶
type BashRequest ¶
type BashRequest struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"`
// contains filtered or unexported fields
}
func (*BashRequest) Descriptor
deprecated
func (*BashRequest) Descriptor() ([]byte, []int)
Deprecated: Use BashRequest.ProtoReflect.Descriptor instead.
func (*BashRequest) GetCommand ¶
func (x *BashRequest) GetCommand() string
func (*BashRequest) GetCwd ¶
func (x *BashRequest) GetCwd() string
func (*BashRequest) ProtoMessage ¶
func (*BashRequest) ProtoMessage()
func (*BashRequest) ProtoReflect ¶
func (x *BashRequest) ProtoReflect() protoreflect.Message
func (*BashRequest) Reset ¶
func (x *BashRequest) Reset()
func (*BashRequest) String ¶
func (x *BashRequest) String() string
type BashResponse ¶
type BashResponse struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*BashResponse) Descriptor
deprecated
func (*BashResponse) Descriptor() ([]byte, []int)
Deprecated: Use BashResponse.ProtoReflect.Descriptor instead.
func (*BashResponse) GetError ¶
func (x *BashResponse) GetError() string
func (*BashResponse) GetExitCode ¶
func (x *BashResponse) GetExitCode() int32
func (*BashResponse) GetOutput ¶
func (x *BashResponse) GetOutput() string
func (*BashResponse) ProtoMessage ¶
func (*BashResponse) ProtoMessage()
func (*BashResponse) ProtoReflect ¶
func (x *BashResponse) ProtoReflect() protoreflect.Message
func (*BashResponse) Reset ¶
func (x *BashResponse) Reset()
func (*BashResponse) String ¶
func (x *BashResponse) String() string
type ChunkDelta ¶
type ChunkDelta struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
DeltaType string `protobuf:"bytes,2,opt,name=delta_type,json=deltaType,proto3" json:"delta_type,omitempty"`
Delta string `protobuf:"bytes,3,opt,name=delta,proto3" json:"delta,omitempty"`
// contains filtered or unexported fields
}
Delta de réponse streamé
func (*ChunkDelta) Descriptor
deprecated
func (*ChunkDelta) Descriptor() ([]byte, []int)
Deprecated: Use ChunkDelta.ProtoReflect.Descriptor instead.
func (*ChunkDelta) GetDelta ¶
func (x *ChunkDelta) GetDelta() string
func (*ChunkDelta) GetDeltaType ¶
func (x *ChunkDelta) GetDeltaType() string
func (*ChunkDelta) GetType ¶
func (x *ChunkDelta) GetType() string
func (*ChunkDelta) ProtoMessage ¶
func (*ChunkDelta) ProtoMessage()
func (*ChunkDelta) ProtoReflect ¶
func (x *ChunkDelta) ProtoReflect() protoreflect.Message
func (*ChunkDelta) Reset ¶
func (x *ChunkDelta) Reset()
func (*ChunkDelta) String ¶
func (x *ChunkDelta) String() string
type ConnectMCPRequest ¶
type ConnectMCPRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nom du serveur
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Type: "stdio", "http", "sse", "ws"
Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` // Commande (pour stdio)
Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // Arguments de la commande
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // URL (pour http/sse/ws)
Env map[string]string `` // Variables d'environnement
/* 133-byte string literal not displayed */
Timeout int32 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` // Timeout en secondes
// contains filtered or unexported fields
}
Requête pour connecter un serveur MCP
func (*ConnectMCPRequest) Descriptor
deprecated
func (*ConnectMCPRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectMCPRequest.ProtoReflect.Descriptor instead.
func (*ConnectMCPRequest) GetArgs ¶
func (x *ConnectMCPRequest) GetArgs() []string
func (*ConnectMCPRequest) GetCommand ¶
func (x *ConnectMCPRequest) GetCommand() string
func (*ConnectMCPRequest) GetEnv ¶
func (x *ConnectMCPRequest) GetEnv() map[string]string
func (*ConnectMCPRequest) GetName ¶
func (x *ConnectMCPRequest) GetName() string
func (*ConnectMCPRequest) GetTimeout ¶
func (x *ConnectMCPRequest) GetTimeout() int32
func (*ConnectMCPRequest) GetType ¶
func (x *ConnectMCPRequest) GetType() string
func (*ConnectMCPRequest) GetUrl ¶
func (x *ConnectMCPRequest) GetUrl() string
func (*ConnectMCPRequest) ProtoMessage ¶
func (*ConnectMCPRequest) ProtoMessage()
func (*ConnectMCPRequest) ProtoReflect ¶
func (x *ConnectMCPRequest) ProtoReflect() protoreflect.Message
func (*ConnectMCPRequest) Reset ¶
func (x *ConnectMCPRequest) Reset()
func (*ConnectMCPRequest) String ¶
func (x *ConnectMCPRequest) String() string
type ConnectMCPResponse ¶
type ConnectMCPResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Message d'erreur si échec
// contains filtered or unexported fields
}
Réponse pour ConnectMCP
func (*ConnectMCPResponse) Descriptor
deprecated
func (*ConnectMCPResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectMCPResponse.ProtoReflect.Descriptor instead.
func (*ConnectMCPResponse) GetError ¶
func (x *ConnectMCPResponse) GetError() string
func (*ConnectMCPResponse) GetSuccess ¶
func (x *ConnectMCPResponse) GetSuccess() bool
func (*ConnectMCPResponse) ProtoMessage ¶
func (*ConnectMCPResponse) ProtoMessage()
func (*ConnectMCPResponse) ProtoReflect ¶
func (x *ConnectMCPResponse) ProtoReflect() protoreflect.Message
func (*ConnectMCPResponse) Reset ¶
func (x *ConnectMCPResponse) Reset()
func (*ConnectMCPResponse) String ¶
func (x *ConnectMCPResponse) String() string
type DisconnectMCPRequest ¶
type DisconnectMCPRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nom du serveur à déconnecter
// contains filtered or unexported fields
}
Requête pour déconnecter un serveur MCP
func (*DisconnectMCPRequest) Descriptor
deprecated
func (*DisconnectMCPRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectMCPRequest.ProtoReflect.Descriptor instead.
func (*DisconnectMCPRequest) GetName ¶
func (x *DisconnectMCPRequest) GetName() string
func (*DisconnectMCPRequest) ProtoMessage ¶
func (*DisconnectMCPRequest) ProtoMessage()
func (*DisconnectMCPRequest) ProtoReflect ¶
func (x *DisconnectMCPRequest) ProtoReflect() protoreflect.Message
func (*DisconnectMCPRequest) Reset ¶
func (x *DisconnectMCPRequest) Reset()
func (*DisconnectMCPRequest) String ¶
func (x *DisconnectMCPRequest) String() string
type DisconnectMCPResponse ¶
type DisconnectMCPResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Réponse pour DisconnectMCP
func (*DisconnectMCPResponse) Descriptor
deprecated
func (*DisconnectMCPResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectMCPResponse.ProtoReflect.Descriptor instead.
func (*DisconnectMCPResponse) GetError ¶
func (x *DisconnectMCPResponse) GetError() string
func (*DisconnectMCPResponse) GetSuccess ¶
func (x *DisconnectMCPResponse) GetSuccess() bool
func (*DisconnectMCPResponse) ProtoMessage ¶
func (*DisconnectMCPResponse) ProtoMessage()
func (*DisconnectMCPResponse) ProtoReflect ¶
func (x *DisconnectMCPResponse) ProtoReflect() protoreflect.Message
func (*DisconnectMCPResponse) Reset ¶
func (x *DisconnectMCPResponse) Reset()
func (*DisconnectMCPResponse) String ¶
func (x *DisconnectMCPResponse) String() string
type FileEditRequest ¶
type FileEditRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
OldString string `protobuf:"bytes,2,opt,name=old_string,json=oldString,proto3" json:"old_string,omitempty"`
NewString string `protobuf:"bytes,3,opt,name=new_string,json=newString,proto3" json:"new_string,omitempty"`
// contains filtered or unexported fields
}
func (*FileEditRequest) Descriptor
deprecated
func (*FileEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileEditRequest.ProtoReflect.Descriptor instead.
func (*FileEditRequest) GetNewString ¶
func (x *FileEditRequest) GetNewString() string
func (*FileEditRequest) GetOldString ¶
func (x *FileEditRequest) GetOldString() string
func (*FileEditRequest) GetPath ¶
func (x *FileEditRequest) GetPath() string
func (*FileEditRequest) ProtoMessage ¶
func (*FileEditRequest) ProtoMessage()
func (*FileEditRequest) ProtoReflect ¶
func (x *FileEditRequest) ProtoReflect() protoreflect.Message
func (*FileEditRequest) Reset ¶
func (x *FileEditRequest) Reset()
func (*FileEditRequest) String ¶
func (x *FileEditRequest) String() string
type FileEditResponse ¶
type FileEditResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*FileEditResponse) Descriptor
deprecated
func (*FileEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileEditResponse.ProtoReflect.Descriptor instead.
func (*FileEditResponse) GetError ¶
func (x *FileEditResponse) GetError() string
func (*FileEditResponse) GetSuccess ¶
func (x *FileEditResponse) GetSuccess() bool
func (*FileEditResponse) ProtoMessage ¶
func (*FileEditResponse) ProtoMessage()
func (*FileEditResponse) ProtoReflect ¶
func (x *FileEditResponse) ProtoReflect() protoreflect.Message
func (*FileEditResponse) Reset ¶
func (x *FileEditResponse) Reset()
func (*FileEditResponse) String ¶
func (x *FileEditResponse) String() string
type FileGlobRequest ¶
type FileGlobRequest struct {
Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*FileGlobRequest) Descriptor
deprecated
func (*FileGlobRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileGlobRequest.ProtoReflect.Descriptor instead.
func (*FileGlobRequest) GetPath ¶
func (x *FileGlobRequest) GetPath() string
func (*FileGlobRequest) GetPattern ¶
func (x *FileGlobRequest) GetPattern() string
func (*FileGlobRequest) ProtoMessage ¶
func (*FileGlobRequest) ProtoMessage()
func (*FileGlobRequest) ProtoReflect ¶
func (x *FileGlobRequest) ProtoReflect() protoreflect.Message
func (*FileGlobRequest) Reset ¶
func (x *FileGlobRequest) Reset()
func (*FileGlobRequest) String ¶
func (x *FileGlobRequest) String() string
type FileGlobResponse ¶
type FileGlobResponse struct {
Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
func (*FileGlobResponse) Descriptor
deprecated
func (*FileGlobResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileGlobResponse.ProtoReflect.Descriptor instead.
func (*FileGlobResponse) GetFiles ¶
func (x *FileGlobResponse) GetFiles() []string
func (*FileGlobResponse) ProtoMessage ¶
func (*FileGlobResponse) ProtoMessage()
func (*FileGlobResponse) ProtoReflect ¶
func (x *FileGlobResponse) ProtoReflect() protoreflect.Message
func (*FileGlobResponse) Reset ¶
func (x *FileGlobResponse) Reset()
func (*FileGlobResponse) String ¶
func (x *FileGlobResponse) String() string
type FileGrepRequest ¶
type FileGrepRequest struct {
Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"`
// contains filtered or unexported fields
}
func (*FileGrepRequest) Descriptor
deprecated
func (*FileGrepRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileGrepRequest.ProtoReflect.Descriptor instead.
func (*FileGrepRequest) GetPath ¶
func (x *FileGrepRequest) GetPath() string
func (*FileGrepRequest) GetPattern ¶
func (x *FileGrepRequest) GetPattern() string
func (*FileGrepRequest) GetRecursive ¶
func (x *FileGrepRequest) GetRecursive() bool
func (*FileGrepRequest) ProtoMessage ¶
func (*FileGrepRequest) ProtoMessage()
func (*FileGrepRequest) ProtoReflect ¶
func (x *FileGrepRequest) ProtoReflect() protoreflect.Message
func (*FileGrepRequest) Reset ¶
func (x *FileGrepRequest) Reset()
func (*FileGrepRequest) String ¶
func (x *FileGrepRequest) String() string
type FileGrepResponse ¶
type FileGrepResponse struct {
Matches []*GrepMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
// contains filtered or unexported fields
}
func (*FileGrepResponse) Descriptor
deprecated
func (*FileGrepResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileGrepResponse.ProtoReflect.Descriptor instead.
func (*FileGrepResponse) GetMatches ¶
func (x *FileGrepResponse) GetMatches() []*GrepMatch
func (*FileGrepResponse) ProtoMessage ¶
func (*FileGrepResponse) ProtoMessage()
func (*FileGrepResponse) ProtoReflect ¶
func (x *FileGrepResponse) ProtoReflect() protoreflect.Message
func (*FileGrepResponse) Reset ¶
func (x *FileGrepResponse) Reset()
func (*FileGrepResponse) String ¶
func (x *FileGrepResponse) String() string
type FileReadRequest ¶
type FileReadRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*FileReadRequest) Descriptor
deprecated
func (*FileReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileReadRequest.ProtoReflect.Descriptor instead.
func (*FileReadRequest) GetLimit ¶
func (x *FileReadRequest) GetLimit() int32
func (*FileReadRequest) GetOffset ¶
func (x *FileReadRequest) GetOffset() int32
func (*FileReadRequest) GetPath ¶
func (x *FileReadRequest) GetPath() string
func (*FileReadRequest) ProtoMessage ¶
func (*FileReadRequest) ProtoMessage()
func (*FileReadRequest) ProtoReflect ¶
func (x *FileReadRequest) ProtoReflect() protoreflect.Message
func (*FileReadRequest) Reset ¶
func (x *FileReadRequest) Reset()
func (*FileReadRequest) String ¶
func (x *FileReadRequest) String() string
type FileReadResponse ¶
type FileReadResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
Error bool `protobuf:"varint,2,opt,name=error,proto3" json:"error,omitempty"`
ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*FileReadResponse) Descriptor
deprecated
func (*FileReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileReadResponse.ProtoReflect.Descriptor instead.
func (*FileReadResponse) GetContent ¶
func (x *FileReadResponse) GetContent() string
func (*FileReadResponse) GetError ¶
func (x *FileReadResponse) GetError() bool
func (*FileReadResponse) GetErrorMessage ¶
func (x *FileReadResponse) GetErrorMessage() string
func (*FileReadResponse) ProtoMessage ¶
func (*FileReadResponse) ProtoMessage()
func (*FileReadResponse) ProtoReflect ¶
func (x *FileReadResponse) ProtoReflect() protoreflect.Message
func (*FileReadResponse) Reset ¶
func (x *FileReadResponse) Reset()
func (*FileReadResponse) String ¶
func (x *FileReadResponse) String() string
type FileServiceClient ¶
type FileServiceClient interface {
Read(ctx context.Context, in *FileReadRequest, opts ...grpc.CallOption) (*FileReadResponse, error)
Write(ctx context.Context, in *FileWriteRequest, opts ...grpc.CallOption) (*FileWriteResponse, error)
Edit(ctx context.Context, in *FileEditRequest, opts ...grpc.CallOption) (*FileEditResponse, error)
Glob(ctx context.Context, in *FileGlobRequest, opts ...grpc.CallOption) (*FileGlobResponse, error)
Grep(ctx context.Context, in *FileGrepRequest, opts ...grpc.CallOption) (*FileGrepResponse, error)
}
FileServiceClient is the client API for FileService 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.
Service pour les opérations de fichiers
func NewFileServiceClient ¶
func NewFileServiceClient(cc grpc.ClientConnInterface) FileServiceClient
type FileServiceServer ¶
type FileServiceServer interface {
Read(context.Context, *FileReadRequest) (*FileReadResponse, error)
Write(context.Context, *FileWriteRequest) (*FileWriteResponse, error)
Edit(context.Context, *FileEditRequest) (*FileEditResponse, error)
Glob(context.Context, *FileGlobRequest) (*FileGlobResponse, error)
Grep(context.Context, *FileGrepRequest) (*FileGrepResponse, error)
// contains filtered or unexported methods
}
FileServiceServer is the server API for FileService service. All implementations must embed UnimplementedFileServiceServer for forward compatibility.
Service pour les opérations de fichiers
type FileWriteRequest ¶
type FileWriteRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*FileWriteRequest) Descriptor
deprecated
func (*FileWriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileWriteRequest.ProtoReflect.Descriptor instead.
func (*FileWriteRequest) GetContent ¶
func (x *FileWriteRequest) GetContent() string
func (*FileWriteRequest) GetPath ¶
func (x *FileWriteRequest) GetPath() string
func (*FileWriteRequest) ProtoMessage ¶
func (*FileWriteRequest) ProtoMessage()
func (*FileWriteRequest) ProtoReflect ¶
func (x *FileWriteRequest) ProtoReflect() protoreflect.Message
func (*FileWriteRequest) Reset ¶
func (x *FileWriteRequest) Reset()
func (*FileWriteRequest) String ¶
func (x *FileWriteRequest) String() string
type FileWriteResponse ¶
type FileWriteResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*FileWriteResponse) Descriptor
deprecated
func (*FileWriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileWriteResponse.ProtoReflect.Descriptor instead.
func (*FileWriteResponse) GetError ¶
func (x *FileWriteResponse) GetError() string
func (*FileWriteResponse) GetSuccess ¶
func (x *FileWriteResponse) GetSuccess() bool
func (*FileWriteResponse) ProtoMessage ¶
func (*FileWriteResponse) ProtoMessage()
func (*FileWriteResponse) ProtoReflect ¶
func (x *FileWriteResponse) ProtoReflect() protoreflect.Message
func (*FileWriteResponse) Reset ¶
func (x *FileWriteResponse) Reset()
func (*FileWriteResponse) String ¶
func (x *FileWriteResponse) String() string
type GetModelsRequest ¶
type GetModelsRequest struct {
// contains filtered or unexported fields
}
Requête pour lister les modèles
func (*GetModelsRequest) Descriptor
deprecated
func (*GetModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelsRequest.ProtoReflect.Descriptor instead.
func (*GetModelsRequest) ProtoMessage ¶
func (*GetModelsRequest) ProtoMessage()
func (*GetModelsRequest) ProtoReflect ¶
func (x *GetModelsRequest) ProtoReflect() protoreflect.Message
func (*GetModelsRequest) Reset ¶
func (x *GetModelsRequest) Reset()
func (*GetModelsRequest) String ¶
func (x *GetModelsRequest) String() string
type GetModelsResponse ¶
type GetModelsResponse struct {
Models []*ModelInfo `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
// contains filtered or unexported fields
}
Réponse pour GetModels
func (*GetModelsResponse) Descriptor
deprecated
func (*GetModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelsResponse.ProtoReflect.Descriptor instead.
func (*GetModelsResponse) GetModels ¶
func (x *GetModelsResponse) GetModels() []*ModelInfo
func (*GetModelsResponse) ProtoMessage ¶
func (*GetModelsResponse) ProtoMessage()
func (*GetModelsResponse) ProtoReflect ¶
func (x *GetModelsResponse) ProtoReflect() protoreflect.Message
func (*GetModelsResponse) Reset ¶
func (x *GetModelsResponse) Reset()
func (*GetModelsResponse) String ¶
func (x *GetModelsResponse) String() string
type GetSkillDetailsRequest ¶
type GetSkillDetailsRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Nom du skill
// contains filtered or unexported fields
}
Requête pour obtenir les détails d'un skill
func (*GetSkillDetailsRequest) Descriptor
deprecated
func (*GetSkillDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSkillDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetSkillDetailsRequest) GetName ¶
func (x *GetSkillDetailsRequest) GetName() string
func (*GetSkillDetailsRequest) ProtoMessage ¶
func (*GetSkillDetailsRequest) ProtoMessage()
func (*GetSkillDetailsRequest) ProtoReflect ¶
func (x *GetSkillDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetSkillDetailsRequest) Reset ¶
func (x *GetSkillDetailsRequest) Reset()
func (*GetSkillDetailsRequest) String ¶
func (x *GetSkillDetailsRequest) String() string
type GetSkillDetailsResponse ¶
type GetSkillDetailsResponse struct {
Skill *Skill `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"` // Détails du skill
Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"` // Contenu du skill (si autorisé)
// contains filtered or unexported fields
}
Réponse pour GetSkillDetails
func (*GetSkillDetailsResponse) Descriptor
deprecated
func (*GetSkillDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSkillDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetSkillDetailsResponse) GetPrompt ¶
func (x *GetSkillDetailsResponse) GetPrompt() string
func (*GetSkillDetailsResponse) GetSkill ¶
func (x *GetSkillDetailsResponse) GetSkill() *Skill
func (*GetSkillDetailsResponse) ProtoMessage ¶
func (*GetSkillDetailsResponse) ProtoMessage()
func (*GetSkillDetailsResponse) ProtoReflect ¶
func (x *GetSkillDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetSkillDetailsResponse) Reset ¶
func (x *GetSkillDetailsResponse) Reset()
func (*GetSkillDetailsResponse) String ¶
func (x *GetSkillDetailsResponse) String() string
type GrepMatch ¶
type GrepMatch struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*GrepMatch) Descriptor
deprecated
func (*GrepMatch) GetContent ¶
func (*GrepMatch) ProtoMessage ¶
func (*GrepMatch) ProtoMessage()
func (*GrepMatch) ProtoReflect ¶
func (x *GrepMatch) ProtoReflect() protoreflect.Message
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
Requête pour health check
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // "ok", "degraded", "down"
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Version du serveur
Uptime string `protobuf:"bytes,3,opt,name=uptime,proto3" json:"uptime,omitempty"` // Durée de fonctionnement
// contains filtered or unexported fields
}
Réponse pour HealthCheck
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶
func (x *HealthCheckResponse) GetStatus() string
func (*HealthCheckResponse) GetUptime ¶
func (x *HealthCheckResponse) GetUptime() string
func (*HealthCheckResponse) GetVersion ¶
func (x *HealthCheckResponse) GetVersion() string
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type ListMCPRequest ¶
type ListMCPRequest struct {
// contains filtered or unexported fields
}
Requête pour lister les serveurs MCP
func (*ListMCPRequest) Descriptor
deprecated
func (*ListMCPRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMCPRequest.ProtoReflect.Descriptor instead.
func (*ListMCPRequest) ProtoMessage ¶
func (*ListMCPRequest) ProtoMessage()
func (*ListMCPRequest) ProtoReflect ¶
func (x *ListMCPRequest) ProtoReflect() protoreflect.Message
func (*ListMCPRequest) Reset ¶
func (x *ListMCPRequest) Reset()
func (*ListMCPRequest) String ¶
func (x *ListMCPRequest) String() string
type ListMCPResponse ¶
type ListMCPResponse struct {
Servers []*MCPServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
Réponse pour ListMCP
func (*ListMCPResponse) Descriptor
deprecated
func (*ListMCPResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMCPResponse.ProtoReflect.Descriptor instead.
func (*ListMCPResponse) GetServers ¶
func (x *ListMCPResponse) GetServers() []*MCPServer
func (*ListMCPResponse) GetTotalCount ¶
func (x *ListMCPResponse) GetTotalCount() int32
func (*ListMCPResponse) ProtoMessage ¶
func (*ListMCPResponse) ProtoMessage()
func (*ListMCPResponse) ProtoReflect ¶
func (x *ListMCPResponse) ProtoReflect() protoreflect.Message
func (*ListMCPResponse) Reset ¶
func (x *ListMCPResponse) Reset()
func (*ListMCPResponse) String ¶
func (x *ListMCPResponse) String() string
type ListSkillsRequest ¶
type ListSkillsRequest struct {
SourceFilter string `protobuf:"bytes,1,opt,name=source_filter,json=sourceFilter,proto3" json:"source_filter,omitempty"` // Filter par source: "all", "bundled", "mcp", "file"
// contains filtered or unexported fields
}
Requête pour lister les skills
func (*ListSkillsRequest) Descriptor
deprecated
func (*ListSkillsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillsRequest.ProtoReflect.Descriptor instead.
func (*ListSkillsRequest) GetSourceFilter ¶
func (x *ListSkillsRequest) GetSourceFilter() string
func (*ListSkillsRequest) ProtoMessage ¶
func (*ListSkillsRequest) ProtoMessage()
func (*ListSkillsRequest) ProtoReflect ¶
func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message
func (*ListSkillsRequest) Reset ¶
func (x *ListSkillsRequest) Reset()
func (*ListSkillsRequest) String ¶
func (x *ListSkillsRequest) String() string
type ListSkillsResponse ¶
type ListSkillsResponse struct {
Skills []*Skill `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"` // Liste des skills
TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Nombre total
// contains filtered or unexported fields
}
Réponse pour ListSkills
func (*ListSkillsResponse) Descriptor
deprecated
func (*ListSkillsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSkillsResponse.ProtoReflect.Descriptor instead.
func (*ListSkillsResponse) GetSkills ¶
func (x *ListSkillsResponse) GetSkills() []*Skill
func (*ListSkillsResponse) GetTotalCount ¶
func (x *ListSkillsResponse) GetTotalCount() int32
func (*ListSkillsResponse) ProtoMessage ¶
func (*ListSkillsResponse) ProtoMessage()
func (*ListSkillsResponse) ProtoReflect ¶
func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message
func (*ListSkillsResponse) Reset ¶
func (x *ListSkillsResponse) Reset()
func (*ListSkillsResponse) String ¶
func (x *ListSkillsResponse) String() string
type MCPServer ¶
type MCPServer struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // "connected", "disconnected", "error"
ToolCount int32 `protobuf:"varint,3,opt,name=tool_count,json=toolCount,proto3" json:"tool_count,omitempty"` // Nombre de tools
LastError string `protobuf:"bytes,4,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"` // Dernière erreur si applicable
// contains filtered or unexported fields
}
Informations sur un serveur MCP
func (*MCPServer) Descriptor
deprecated
func (*MCPServer) GetLastError ¶
func (*MCPServer) GetToolCount ¶
func (*MCPServer) ProtoMessage ¶
func (*MCPServer) ProtoMessage()
func (*MCPServer) ProtoReflect ¶
func (x *MCPServer) ProtoReflect() protoreflect.Message
type ModelInfo ¶
type ModelInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID du modèle (ex: "claude-3-5-sonnet-20241022")
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Nom lisible (ex: "Claude 3.5 Sonnet")
Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` // Provider (ex: "anthropic")
MaxTokens int32 `protobuf:"varint,4,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` // Token max en entrée
// contains filtered or unexported fields
}
Informations sur un modèle
func (*ModelInfo) Descriptor
deprecated
func (*ModelInfo) GetMaxTokens ¶
func (*ModelInfo) GetProvider ¶
func (*ModelInfo) ProtoMessage ¶
func (*ModelInfo) ProtoMessage()
func (*ModelInfo) ProtoReflect ¶
func (x *ModelInfo) ProtoReflect() protoreflect.Message
type QueryRequest ¶
type QueryRequest struct {
Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` // Le prompt à exécuter
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Modèle à utiliser (ex: "claude-3-5-sonnet-20241022")
Tools []string `protobuf:"bytes,3,rep,name=tools,proto3" json:"tools,omitempty"` // Liste des tools à activer
Stream bool `protobuf:"varint,4,opt,name=stream,proto3" json:"stream,omitempty"` // Mode streaming
ContextId string `protobuf:"bytes,5,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // ID de contexte pour la continuité de conversation
// Paramètres optionnels
Temperature float32 `protobuf:"fixed32,10,opt,name=temperature,proto3" json:"temperature,omitempty"` // Temperature (0.0 - 1.0)
MaxTokens int32 `protobuf:"varint,11,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` // Nombre max de tokens en sortie
ApiKey string `protobuf:"bytes,12,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` // Clé API ou bearer token OAuth explicite pour cette requête
// contains filtered or unexported fields
}
Requête pour exécuter une requête IA
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetApiKey ¶
func (x *QueryRequest) GetApiKey() string
func (*QueryRequest) GetContextId ¶
func (x *QueryRequest) GetContextId() string
func (*QueryRequest) GetMaxTokens ¶
func (x *QueryRequest) GetMaxTokens() int32
func (*QueryRequest) GetModel ¶
func (x *QueryRequest) GetModel() string
func (*QueryRequest) GetPrompt ¶
func (x *QueryRequest) GetPrompt() string
func (*QueryRequest) GetStream ¶
func (x *QueryRequest) GetStream() bool
func (*QueryRequest) GetTemperature ¶
func (x *QueryRequest) GetTemperature() float32
func (*QueryRequest) GetTools ¶
func (x *QueryRequest) GetTools() []string
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // Contenu de la réponse
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Modèle utilisé
TokenUsage *TokenUsage `protobuf:"bytes,3,opt,name=token_usage,json=tokenUsage,proto3" json:"token_usage,omitempty"` // Utilisation des tokens
// Métadonnées additionnelles
ConversationId string `protobuf:"bytes,10,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"` // ID de conversation
Stopped bool `protobuf:"varint,11,opt,name=stopped,proto3" json:"stopped,omitempty"` // Si la réponse a été coupée
ItemType string `protobuf:"bytes,12,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` // "chunk", "runtime_event", "final"
Chunk *ChunkDelta `protobuf:"bytes,13,opt,name=chunk,proto3" json:"chunk,omitempty"` // Détails structurés pour un delta streamé
RuntimeEvent *RuntimeEvent `protobuf:"bytes,14,opt,name=runtime_event,json=runtimeEvent,proto3" json:"runtime_event,omitempty"` // Événement runtime structuré
// contains filtered or unexported fields
}
Réponse à une requête Query
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetChunk ¶
func (x *QueryResponse) GetChunk() *ChunkDelta
func (*QueryResponse) GetContent ¶
func (x *QueryResponse) GetContent() string
func (*QueryResponse) GetConversationId ¶
func (x *QueryResponse) GetConversationId() string
func (*QueryResponse) GetItemType ¶
func (x *QueryResponse) GetItemType() string
func (*QueryResponse) GetModel ¶
func (x *QueryResponse) GetModel() string
func (*QueryResponse) GetRuntimeEvent ¶
func (x *QueryResponse) GetRuntimeEvent() *RuntimeEvent
func (*QueryResponse) GetStopped ¶
func (x *QueryResponse) GetStopped() bool
func (*QueryResponse) GetTokenUsage ¶
func (x *QueryResponse) GetTokenUsage() *TokenUsage
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type RuntimeEvent ¶
type RuntimeEvent struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
TurnId string `protobuf:"bytes,3,opt,name=turn_id,json=turnId,proto3" json:"turn_id,omitempty"`
TurnNumber int32 `protobuf:"varint,4,opt,name=turn_number,json=turnNumber,proto3" json:"turn_number,omitempty"`
Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
StopReason string `protobuf:"bytes,6,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
TokenUsage *TokenUsage `protobuf:"bytes,7,opt,name=token_usage,json=tokenUsage,proto3" json:"token_usage,omitempty"`
Chunk *ChunkDelta `protobuf:"bytes,8,opt,name=chunk,proto3" json:"chunk,omitempty"`
ToolName string `protobuf:"bytes,9,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
ToolStage string `protobuf:"bytes,10,opt,name=tool_stage,json=toolStage,proto3" json:"tool_stage,omitempty"`
ToolMessage string `protobuf:"bytes,11,opt,name=tool_message,json=toolMessage,proto3" json:"tool_message,omitempty"`
ToolPercentComplete float32 `protobuf:"fixed32,12,opt,name=tool_percent_complete,json=toolPercentComplete,proto3" json:"tool_percent_complete,omitempty"`
Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Événement runtime structuré du moteur
func (*RuntimeEvent) Descriptor
deprecated
func (*RuntimeEvent) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeEvent.ProtoReflect.Descriptor instead.
func (*RuntimeEvent) GetChunk ¶
func (x *RuntimeEvent) GetChunk() *ChunkDelta
func (*RuntimeEvent) GetError ¶
func (x *RuntimeEvent) GetError() string
func (*RuntimeEvent) GetSessionId ¶
func (x *RuntimeEvent) GetSessionId() string
func (*RuntimeEvent) GetStopReason ¶
func (x *RuntimeEvent) GetStopReason() string
func (*RuntimeEvent) GetTimestamp ¶
func (x *RuntimeEvent) GetTimestamp() string
func (*RuntimeEvent) GetTokenUsage ¶
func (x *RuntimeEvent) GetTokenUsage() *TokenUsage
func (*RuntimeEvent) GetToolMessage ¶
func (x *RuntimeEvent) GetToolMessage() string
func (*RuntimeEvent) GetToolName ¶
func (x *RuntimeEvent) GetToolName() string
func (*RuntimeEvent) GetToolPercentComplete ¶
func (x *RuntimeEvent) GetToolPercentComplete() float32
func (*RuntimeEvent) GetToolStage ¶
func (x *RuntimeEvent) GetToolStage() string
func (*RuntimeEvent) GetTurnId ¶
func (x *RuntimeEvent) GetTurnId() string
func (*RuntimeEvent) GetTurnNumber ¶
func (x *RuntimeEvent) GetTurnNumber() int32
func (*RuntimeEvent) GetType ¶
func (x *RuntimeEvent) GetType() string
func (*RuntimeEvent) ProtoMessage ¶
func (*RuntimeEvent) ProtoMessage()
func (*RuntimeEvent) ProtoReflect ¶
func (x *RuntimeEvent) ProtoReflect() protoreflect.Message
func (*RuntimeEvent) Reset ¶
func (x *RuntimeEvent) Reset()
func (*RuntimeEvent) String ¶
func (x *RuntimeEvent) String() string
type SeshatServiceClient ¶
type SeshatServiceClient interface {
// Exécute une requête simple (non-streaming)
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
// Exécute une requête en mode streaming (pour les réponses longues)
QueryStream(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[QueryResponse], error)
// Liste tous les skills disponibles
ListSkills(ctx context.Context, in *ListSkillsRequest, opts ...grpc.CallOption) (*ListSkillsResponse, error)
// Retourne les détails d'un skill spécifique
GetSkillDetails(ctx context.Context, in *GetSkillDetailsRequest, opts ...grpc.CallOption) (*GetSkillDetailsResponse, error)
// Liste les serveurs MCP connectés
ListMCP(ctx context.Context, in *ListMCPRequest, opts ...grpc.CallOption) (*ListMCPResponse, error)
// Connecte à un serveur MCP
ConnectMCP(ctx context.Context, in *ConnectMCPRequest, opts ...grpc.CallOption) (*ConnectMCPResponse, error)
// Déconnecte un serveur MCP
DisconnectMCP(ctx context.Context, in *DisconnectMCPRequest, opts ...grpc.CallOption) (*DisconnectMCPResponse, error)
// Liste les modèles disponibles
GetModels(ctx context.Context, in *GetModelsRequest, opts ...grpc.CallOption) (*GetModelsResponse, error)
// Health check pour le monitoring
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
SeshatServiceClient is the client API for SeshatService 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.
SeshatService est le service principal pour les interactions avec le moteur IA
func NewSeshatServiceClient ¶
func NewSeshatServiceClient(cc grpc.ClientConnInterface) SeshatServiceClient
type SeshatServiceServer ¶
type SeshatServiceServer interface {
// Exécute une requête simple (non-streaming)
Query(context.Context, *QueryRequest) (*QueryResponse, error)
// Exécute une requête en mode streaming (pour les réponses longues)
QueryStream(*QueryRequest, grpc.ServerStreamingServer[QueryResponse]) error
// Liste tous les skills disponibles
ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
// Retourne les détails d'un skill spécifique
GetSkillDetails(context.Context, *GetSkillDetailsRequest) (*GetSkillDetailsResponse, error)
// Liste les serveurs MCP connectés
ListMCP(context.Context, *ListMCPRequest) (*ListMCPResponse, error)
// Connecte à un serveur MCP
ConnectMCP(context.Context, *ConnectMCPRequest) (*ConnectMCPResponse, error)
// Déconnecte un serveur MCP
DisconnectMCP(context.Context, *DisconnectMCPRequest) (*DisconnectMCPResponse, error)
// Liste les modèles disponibles
GetModels(context.Context, *GetModelsRequest) (*GetModelsResponse, error)
// Health check pour le monitoring
HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
// contains filtered or unexported methods
}
SeshatServiceServer is the server API for SeshatService service. All implementations must embed UnimplementedSeshatServiceServer for forward compatibility.
SeshatService est le service principal pour les interactions avec le moteur IA
type SeshatService_QueryStreamClient ¶
type SeshatService_QueryStreamClient = grpc.ServerStreamingClient[QueryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SeshatService_QueryStreamServer ¶
type SeshatService_QueryStreamServer = grpc.ServerStreamingServer[QueryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Skill ¶
type Skill struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // "bundled", "file", "mcp"
WhenToUse string `protobuf:"bytes,4,opt,name=when_to_use,json=whenToUse,proto3" json:"when_to_use,omitempty"` // Quand utiliser ce skill
AllowedTools []string `protobuf:"bytes,5,rep,name=allowed_tools,json=allowedTools,proto3" json:"allowed_tools,omitempty"`
// contains filtered or unexported fields
}
Informations sur un skill
func (*Skill) Descriptor
deprecated
func (*Skill) GetAllowedTools ¶
func (*Skill) GetDescription ¶
func (*Skill) GetWhenToUse ¶
func (*Skill) ProtoMessage ¶
func (*Skill) ProtoMessage()
func (*Skill) ProtoReflect ¶
func (x *Skill) ProtoReflect() protoreflect.Message
type SystemInfoRequest ¶
type SystemInfoRequest struct {
// contains filtered or unexported fields
}
func (*SystemInfoRequest) Descriptor
deprecated
func (*SystemInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoRequest.ProtoReflect.Descriptor instead.
func (*SystemInfoRequest) ProtoMessage ¶
func (*SystemInfoRequest) ProtoMessage()
func (*SystemInfoRequest) ProtoReflect ¶
func (x *SystemInfoRequest) ProtoReflect() protoreflect.Message
func (*SystemInfoRequest) Reset ¶
func (x *SystemInfoRequest) Reset()
func (*SystemInfoRequest) String ¶
func (x *SystemInfoRequest) String() string
type SystemInfoResponse ¶
type SystemInfoResponse struct {
Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
CpuCount int32 `protobuf:"varint,3,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
MemoryTotal int64 `protobuf:"varint,4,opt,name=memory_total,json=memoryTotal,proto3" json:"memory_total,omitempty"`
// contains filtered or unexported fields
}
func (*SystemInfoResponse) Descriptor
deprecated
func (*SystemInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoResponse.ProtoReflect.Descriptor instead.
func (*SystemInfoResponse) GetArch ¶
func (x *SystemInfoResponse) GetArch() string
func (*SystemInfoResponse) GetCpuCount ¶
func (x *SystemInfoResponse) GetCpuCount() int32
func (*SystemInfoResponse) GetMemoryTotal ¶
func (x *SystemInfoResponse) GetMemoryTotal() int64
func (*SystemInfoResponse) GetOs ¶
func (x *SystemInfoResponse) GetOs() string
func (*SystemInfoResponse) ProtoMessage ¶
func (*SystemInfoResponse) ProtoMessage()
func (*SystemInfoResponse) ProtoReflect ¶
func (x *SystemInfoResponse) ProtoReflect() protoreflect.Message
func (*SystemInfoResponse) Reset ¶
func (x *SystemInfoResponse) Reset()
func (*SystemInfoResponse) String ¶
func (x *SystemInfoResponse) String() string
type SystemServiceClient ¶
type SystemServiceClient interface {
Bash(ctx context.Context, in *BashRequest, opts ...grpc.CallOption) (*BashResponse, error)
GetSystemInfo(ctx context.Context, in *SystemInfoRequest, opts ...grpc.CallOption) (*SystemInfoResponse, error)
}
SystemServiceClient is the client API for SystemService 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.
Service pour les opérations système
func NewSystemServiceClient ¶
func NewSystemServiceClient(cc grpc.ClientConnInterface) SystemServiceClient
type SystemServiceServer ¶
type SystemServiceServer interface {
Bash(context.Context, *BashRequest) (*BashResponse, error)
GetSystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
// contains filtered or unexported methods
}
SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility.
Service pour les opérations système
type TokenUsage ¶
type TokenUsage struct {
InputTokens int64 `protobuf:"varint,1,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
OutputTokens int64 `protobuf:"varint,2,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
TotalTokens int64 `protobuf:"varint,3,opt,name=total_tokens,json=totalTokens,proto3" json:"total_tokens,omitempty"`
// contains filtered or unexported fields
}
Utilisation des tokens
func (*TokenUsage) Descriptor
deprecated
func (*TokenUsage) Descriptor() ([]byte, []int)
Deprecated: Use TokenUsage.ProtoReflect.Descriptor instead.
func (*TokenUsage) GetInputTokens ¶
func (x *TokenUsage) GetInputTokens() int64
func (*TokenUsage) GetOutputTokens ¶
func (x *TokenUsage) GetOutputTokens() int64
func (*TokenUsage) GetTotalTokens ¶
func (x *TokenUsage) GetTotalTokens() int64
func (*TokenUsage) ProtoMessage ¶
func (*TokenUsage) ProtoMessage()
func (*TokenUsage) ProtoReflect ¶
func (x *TokenUsage) ProtoReflect() protoreflect.Message
func (*TokenUsage) Reset ¶
func (x *TokenUsage) Reset()
func (*TokenUsage) String ¶
func (x *TokenUsage) String() string
type UnimplementedFileServiceServer ¶
type UnimplementedFileServiceServer struct{}
UnimplementedFileServiceServer 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 (UnimplementedFileServiceServer) Edit ¶
func (UnimplementedFileServiceServer) Edit(context.Context, *FileEditRequest) (*FileEditResponse, error)
func (UnimplementedFileServiceServer) Glob ¶
func (UnimplementedFileServiceServer) Glob(context.Context, *FileGlobRequest) (*FileGlobResponse, error)
func (UnimplementedFileServiceServer) Grep ¶
func (UnimplementedFileServiceServer) Grep(context.Context, *FileGrepRequest) (*FileGrepResponse, error)
func (UnimplementedFileServiceServer) Read ¶
func (UnimplementedFileServiceServer) Read(context.Context, *FileReadRequest) (*FileReadResponse, error)
func (UnimplementedFileServiceServer) Write ¶
func (UnimplementedFileServiceServer) Write(context.Context, *FileWriteRequest) (*FileWriteResponse, error)
type UnimplementedSeshatServiceServer ¶
type UnimplementedSeshatServiceServer struct{}
UnimplementedSeshatServiceServer 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 (UnimplementedSeshatServiceServer) ConnectMCP ¶
func (UnimplementedSeshatServiceServer) ConnectMCP(context.Context, *ConnectMCPRequest) (*ConnectMCPResponse, error)
func (UnimplementedSeshatServiceServer) DisconnectMCP ¶
func (UnimplementedSeshatServiceServer) DisconnectMCP(context.Context, *DisconnectMCPRequest) (*DisconnectMCPResponse, error)
func (UnimplementedSeshatServiceServer) GetModels ¶
func (UnimplementedSeshatServiceServer) GetModels(context.Context, *GetModelsRequest) (*GetModelsResponse, error)
func (UnimplementedSeshatServiceServer) GetSkillDetails ¶
func (UnimplementedSeshatServiceServer) GetSkillDetails(context.Context, *GetSkillDetailsRequest) (*GetSkillDetailsResponse, error)
func (UnimplementedSeshatServiceServer) HealthCheck ¶
func (UnimplementedSeshatServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (UnimplementedSeshatServiceServer) ListMCP ¶
func (UnimplementedSeshatServiceServer) ListMCP(context.Context, *ListMCPRequest) (*ListMCPResponse, error)
func (UnimplementedSeshatServiceServer) ListSkills ¶
func (UnimplementedSeshatServiceServer) ListSkills(context.Context, *ListSkillsRequest) (*ListSkillsResponse, error)
func (UnimplementedSeshatServiceServer) Query ¶
func (UnimplementedSeshatServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (UnimplementedSeshatServiceServer) QueryStream ¶
func (UnimplementedSeshatServiceServer) QueryStream(*QueryRequest, grpc.ServerStreamingServer[QueryResponse]) error
type UnimplementedSystemServiceServer ¶
type UnimplementedSystemServiceServer struct{}
UnimplementedSystemServiceServer 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 (UnimplementedSystemServiceServer) Bash ¶
func (UnimplementedSystemServiceServer) Bash(context.Context, *BashRequest) (*BashResponse, error)
func (UnimplementedSystemServiceServer) GetSystemInfo ¶
func (UnimplementedSystemServiceServer) GetSystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
type UnsafeFileServiceServer ¶
type UnsafeFileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FileServiceServer will result in compilation errors.
type UnsafeSeshatServiceServer ¶
type UnsafeSeshatServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSeshatServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SeshatServiceServer will result in compilation errors.
type UnsafeSystemServiceServer ¶
type UnsafeSystemServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.