Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCodeServer(s grpc.ServiceRegistrar, srv CodeServer)
- type AddDependencyRequest
- func (*AddDependencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependencyRequest) GetPackageName() string
- func (x *AddDependencyRequest) GetVersion() string
- func (*AddDependencyRequest) ProtoMessage()
- func (x *AddDependencyRequest) ProtoReflect() protoreflect.Message
- func (x *AddDependencyRequest) Reset()
- func (x *AddDependencyRequest) String() string
- type AddDependencyResponse
- func (*AddDependencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependencyResponse) GetError() string
- func (x *AddDependencyResponse) GetInstalledVersion() string
- func (x *AddDependencyResponse) GetSuccess() bool
- func (*AddDependencyResponse) ProtoMessage()
- func (x *AddDependencyResponse) ProtoReflect() protoreflect.Message
- func (x *AddDependencyResponse) Reset()
- func (x *AddDependencyResponse) String() string
- type ApplyEditRequest
- func (*ApplyEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditRequest) GetAutoFix() bool
- func (x *ApplyEditRequest) GetFile() string
- func (x *ApplyEditRequest) GetFind() string
- func (x *ApplyEditRequest) GetReplace() string
- func (*ApplyEditRequest) ProtoMessage()
- func (x *ApplyEditRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyEditRequest) Reset()
- func (x *ApplyEditRequest) String() string
- type ApplyEditResponse
- func (*ApplyEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditResponse) GetContent() string
- func (x *ApplyEditResponse) GetError() string
- func (x *ApplyEditResponse) GetFixActions() []string
- func (x *ApplyEditResponse) GetStrategy() string
- func (x *ApplyEditResponse) GetSuccess() bool
- func (*ApplyEditResponse) ProtoMessage()
- func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyEditResponse) Reset()
- func (x *ApplyEditResponse) String() string
- type CallEdge
- func (*CallEdge) Descriptor() ([]byte, []int)deprecated
- func (x *CallEdge) GetCallSite() *Location
- func (x *CallEdge) GetCallType() string
- func (x *CallEdge) GetCalleeId() string
- func (x *CallEdge) GetCallerId() string
- func (*CallEdge) ProtoMessage()
- func (x *CallEdge) ProtoReflect() protoreflect.Message
- func (x *CallEdge) Reset()
- func (x *CallEdge) String() string
- type CodeClient
- type CodeRequest
- func (*CodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CodeRequest) GetAddDependency() *AddDependencyRequest
- func (x *CodeRequest) GetApplyEdit() *ApplyEditRequest
- func (x *CodeRequest) GetCreateFile() *CreateFileRequest
- func (x *CodeRequest) GetDeleteFile() *DeleteFileRequest
- func (x *CodeRequest) GetFindReferences() *FindReferencesRequest
- func (x *CodeRequest) GetFix() *FixRequest
- func (x *CodeRequest) GetGetCallGraph() *GetCallGraphRequest
- func (x *CodeRequest) GetGetCompletions() *GetCompletionsRequest
- func (x *CodeRequest) GetGetDiagnostics() *GetDiagnosticsRequest
- func (x *CodeRequest) GetGetHoverInfo() *GetHoverInfoRequest
- func (x *CodeRequest) GetGetProjectInfo() *GetProjectInfoRequest
- func (x *CodeRequest) GetGitBlame() *GitBlameRequest
- func (x *CodeRequest) GetGitDiff() *GitDiffRequest
- func (x *CodeRequest) GetGitLog() *GitLogRequest
- func (x *CodeRequest) GetGitShow() *GitShowRequest
- func (x *CodeRequest) GetGoToDefinition() *GoToDefinitionRequest
- func (x *CodeRequest) GetListDependencies() *ListDependenciesRequest
- func (x *CodeRequest) GetListFiles() *ListFilesRequest
- func (x *CodeRequest) GetListSymbols() *ListSymbolsRequest
- func (x *CodeRequest) GetMoveFile() *MoveFileRequest
- func (x *CodeRequest) GetOperation() isCodeRequest_Operation
- func (x *CodeRequest) GetReadFile() *ReadFileRequest
- func (x *CodeRequest) GetRemoveDependency() *RemoveDependencyRequest
- func (x *CodeRequest) GetRenameSymbol() *RenameSymbolRequest
- func (x *CodeRequest) GetSearch() *SearchRequest
- func (x *CodeRequest) GetShellExec() *ShellExecRequest
- func (x *CodeRequest) GetWriteFile() *WriteFileRequest
- func (*CodeRequest) ProtoMessage()
- func (x *CodeRequest) ProtoReflect() protoreflect.Message
- func (x *CodeRequest) Reset()
- func (x *CodeRequest) String() string
- type CodeRequest_AddDependency
- type CodeRequest_ApplyEdit
- type CodeRequest_CreateFile
- type CodeRequest_DeleteFile
- type CodeRequest_FindReferences
- type CodeRequest_Fix
- type CodeRequest_GetCallGraph
- type CodeRequest_GetCompletions
- type CodeRequest_GetDiagnostics
- type CodeRequest_GetHoverInfo
- type CodeRequest_GetProjectInfo
- type CodeRequest_GitBlame
- type CodeRequest_GitDiff
- type CodeRequest_GitLog
- type CodeRequest_GitShow
- type CodeRequest_GoToDefinition
- type CodeRequest_ListDependencies
- type CodeRequest_ListFiles
- type CodeRequest_ListSymbols
- type CodeRequest_MoveFile
- type CodeRequest_ReadFile
- type CodeRequest_RemoveDependency
- type CodeRequest_RenameSymbol
- type CodeRequest_Search
- type CodeRequest_ShellExec
- type CodeRequest_WriteFile
- type CodeResponse
- func (*CodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CodeResponse) GetAddDependency() *AddDependencyResponse
- func (x *CodeResponse) GetApplyEdit() *ApplyEditResponse
- func (x *CodeResponse) GetCreateFile() *CreateFileResponse
- func (x *CodeResponse) GetDeleteFile() *DeleteFileResponse
- func (x *CodeResponse) GetFindReferences() *FindReferencesResponse
- func (x *CodeResponse) GetFix() *FixResponse
- func (x *CodeResponse) GetGetCallGraph() *GetCallGraphResponse
- func (x *CodeResponse) GetGetCompletions() *GetCompletionsResponse
- func (x *CodeResponse) GetGetDiagnostics() *GetDiagnosticsResponse
- func (x *CodeResponse) GetGetHoverInfo() *GetHoverInfoResponse
- func (x *CodeResponse) GetGetProjectInfo() *GetProjectInfoResponse
- func (x *CodeResponse) GetGitBlame() *GitBlameResponse
- func (x *CodeResponse) GetGitDiff() *GitDiffResponse
- func (x *CodeResponse) GetGitLog() *GitLogResponse
- func (x *CodeResponse) GetGitShow() *GitShowResponse
- func (x *CodeResponse) GetGoToDefinition() *GoToDefinitionResponse
- func (x *CodeResponse) GetListDependencies() *ListDependenciesResponse
- func (x *CodeResponse) GetListFiles() *ListFilesResponse
- func (x *CodeResponse) GetListSymbols() *ListSymbolsResponse
- func (x *CodeResponse) GetMoveFile() *MoveFileResponse
- func (x *CodeResponse) GetReadFile() *ReadFileResponse
- func (x *CodeResponse) GetRemoveDependency() *RemoveDependencyResponse
- func (x *CodeResponse) GetRenameSymbol() *RenameSymbolResponse
- func (x *CodeResponse) GetResult() isCodeResponse_Result
- func (x *CodeResponse) GetSearch() *SearchResponse
- func (x *CodeResponse) GetShellExec() *ShellExecResponse
- func (x *CodeResponse) GetWriteFile() *WriteFileResponse
- func (*CodeResponse) ProtoMessage()
- func (x *CodeResponse) ProtoReflect() protoreflect.Message
- func (x *CodeResponse) Reset()
- func (x *CodeResponse) String() string
- type CodeResponse_AddDependency
- type CodeResponse_ApplyEdit
- type CodeResponse_CreateFile
- type CodeResponse_DeleteFile
- type CodeResponse_FindReferences
- type CodeResponse_Fix
- type CodeResponse_GetCallGraph
- type CodeResponse_GetCompletions
- type CodeResponse_GetDiagnostics
- type CodeResponse_GetHoverInfo
- type CodeResponse_GetProjectInfo
- type CodeResponse_GitBlame
- type CodeResponse_GitDiff
- type CodeResponse_GitLog
- type CodeResponse_GitShow
- type CodeResponse_GoToDefinition
- type CodeResponse_ListDependencies
- type CodeResponse_ListFiles
- type CodeResponse_ListSymbols
- type CodeResponse_MoveFile
- type CodeResponse_ReadFile
- type CodeResponse_RemoveDependency
- type CodeResponse_RenameSymbol
- type CodeResponse_Search
- type CodeResponse_ShellExec
- type CodeResponse_WriteFile
- type CodeServer
- type CompletionItem
- func (*CompletionItem) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionItem) GetDetail() string
- func (x *CompletionItem) GetDocumentation() string
- func (x *CompletionItem) GetInsertText() string
- func (x *CompletionItem) GetKind() CompletionKind
- func (x *CompletionItem) GetLabel() string
- func (x *CompletionItem) GetSortText() string
- func (*CompletionItem) ProtoMessage()
- func (x *CompletionItem) ProtoReflect() protoreflect.Message
- func (x *CompletionItem) Reset()
- func (x *CompletionItem) String() string
- type CompletionKind
- func (CompletionKind) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionKind) Enum() *CompletionKind
- func (CompletionKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionKind) Number() protoreflect.EnumNumber
- func (x CompletionKind) String() string
- func (CompletionKind) Type() protoreflect.EnumType
- type CreateFileRequest
- func (*CreateFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileRequest) GetContent() string
- func (x *CreateFileRequest) GetOverwrite() bool
- func (x *CreateFileRequest) GetPath() string
- func (*CreateFileRequest) ProtoMessage()
- func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFileRequest) Reset()
- func (x *CreateFileRequest) String() string
- type CreateFileResponse
- func (*CreateFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileResponse) GetError() string
- func (x *CreateFileResponse) GetSuccess() bool
- func (*CreateFileResponse) ProtoMessage()
- func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateFileResponse) Reset()
- func (x *CreateFileResponse) String() string
- type DeleteFileRequest
- type DeleteFileResponse
- func (*DeleteFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileResponse) GetError() string
- func (x *DeleteFileResponse) GetSuccess() bool
- func (*DeleteFileResponse) ProtoMessage()
- func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteFileResponse) Reset()
- func (x *DeleteFileResponse) String() string
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetDirect() bool
- func (x *Dependency) GetName() string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetCode() string
- func (x *Diagnostic) GetColumn() int32
- func (x *Diagnostic) GetEndColumn() int32
- func (x *Diagnostic) GetEndLine() int32
- func (x *Diagnostic) GetFile() string
- func (x *Diagnostic) GetLine() int32
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetSeverity() DiagnosticSeverity
- func (x *Diagnostic) GetSource() string
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type DiagnosticSeverity
- func (DiagnosticSeverity) Descriptor() protoreflect.EnumDescriptor
- func (x DiagnosticSeverity) Enum() *DiagnosticSeverity
- func (DiagnosticSeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiagnosticSeverity) Number() protoreflect.EnumNumber
- func (x DiagnosticSeverity) String() string
- func (DiagnosticSeverity) Type() protoreflect.EnumType
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetIsDirectory() bool
- func (x *FileInfo) GetPath() string
- func (x *FileInfo) GetSizeBytes() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FindReferencesRequest
- func (*FindReferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindReferencesRequest) GetColumn() int32
- func (x *FindReferencesRequest) GetFile() string
- func (x *FindReferencesRequest) GetLine() int32
- func (*FindReferencesRequest) ProtoMessage()
- func (x *FindReferencesRequest) ProtoReflect() protoreflect.Message
- func (x *FindReferencesRequest) Reset()
- func (x *FindReferencesRequest) String() string
- type FindReferencesResponse
- func (*FindReferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindReferencesResponse) GetLocations() []*Location
- func (*FindReferencesResponse) ProtoMessage()
- func (x *FindReferencesResponse) ProtoReflect() protoreflect.Message
- func (x *FindReferencesResponse) Reset()
- func (x *FindReferencesResponse) String() string
- type FixRequest
- type FixResponse
- func (*FixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FixResponse) GetActions() []string
- func (x *FixResponse) GetContent() string
- func (x *FixResponse) GetError() string
- func (x *FixResponse) GetSuccess() bool
- func (*FixResponse) ProtoMessage()
- func (x *FixResponse) ProtoReflect() protoreflect.Message
- func (x *FixResponse) Reset()
- func (x *FixResponse) String() string
- type GetCallGraphRequest
- func (*GetCallGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCallGraphRequest) GetAlgorithm() string
- func (*GetCallGraphRequest) ProtoMessage()
- func (x *GetCallGraphRequest) ProtoReflect() protoreflect.Message
- func (x *GetCallGraphRequest) Reset()
- func (x *GetCallGraphRequest) String() string
- type GetCallGraphResponse
- func (*GetCallGraphResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCallGraphResponse) GetAlgorithmUsed() string
- func (x *GetCallGraphResponse) GetCalls() []*CallEdge
- func (x *GetCallGraphResponse) GetError() string
- func (x *GetCallGraphResponse) GetFunctionsAnalyzed() int32
- func (x *GetCallGraphResponse) GetImplements() []*ImplementsEdge
- func (*GetCallGraphResponse) ProtoMessage()
- func (x *GetCallGraphResponse) ProtoReflect() protoreflect.Message
- func (x *GetCallGraphResponse) Reset()
- func (x *GetCallGraphResponse) String() string
- type GetCompletionsRequest
- func (*GetCompletionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompletionsRequest) GetColumn() int32
- func (x *GetCompletionsRequest) GetFile() string
- func (x *GetCompletionsRequest) GetLine() int32
- func (*GetCompletionsRequest) ProtoMessage()
- func (x *GetCompletionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompletionsRequest) Reset()
- func (x *GetCompletionsRequest) String() string
- type GetCompletionsResponse
- func (*GetCompletionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompletionsResponse) GetIsIncomplete() bool
- func (x *GetCompletionsResponse) GetItems() []*CompletionItem
- func (*GetCompletionsResponse) ProtoMessage()
- func (x *GetCompletionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompletionsResponse) Reset()
- func (x *GetCompletionsResponse) String() string
- type GetDiagnosticsRequest
- func (*GetDiagnosticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiagnosticsRequest) GetFile() string
- func (*GetDiagnosticsRequest) ProtoMessage()
- func (x *GetDiagnosticsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDiagnosticsRequest) Reset()
- func (x *GetDiagnosticsRequest) String() string
- type GetDiagnosticsResponse
- func (*GetDiagnosticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiagnosticsResponse) GetDiagnostics() []*Diagnostic
- func (*GetDiagnosticsResponse) ProtoMessage()
- func (x *GetDiagnosticsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDiagnosticsResponse) Reset()
- func (x *GetDiagnosticsResponse) String() string
- type GetHoverInfoRequest
- func (*GetHoverInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHoverInfoRequest) GetColumn() int32
- func (x *GetHoverInfoRequest) GetFile() string
- func (x *GetHoverInfoRequest) GetLine() int32
- func (*GetHoverInfoRequest) ProtoMessage()
- func (x *GetHoverInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetHoverInfoRequest) Reset()
- func (x *GetHoverInfoRequest) String() string
- type GetHoverInfoResponse
- func (*GetHoverInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHoverInfoResponse) GetContent() string
- func (x *GetHoverInfoResponse) GetLanguage() string
- func (x *GetHoverInfoResponse) GetRange() *Location
- func (*GetHoverInfoResponse) ProtoMessage()
- func (x *GetHoverInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetHoverInfoResponse) Reset()
- func (x *GetHoverInfoResponse) String() string
- type GetProjectInfoRequest
- type GetProjectInfoResponse
- func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectInfoResponse) GetDependencies() []*Dependency
- func (x *GetProjectInfoResponse) GetError() string
- func (x *GetProjectInfoResponse) GetFileHashes() map[string]string
- func (x *GetProjectInfoResponse) GetLanguage() string
- func (x *GetProjectInfoResponse) GetLanguageVersion() string
- func (x *GetProjectInfoResponse) GetModule() string
- func (x *GetProjectInfoResponse) GetPackages() []*PackageInfo
- func (*GetProjectInfoResponse) ProtoMessage()
- func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectInfoResponse) Reset()
- func (x *GetProjectInfoResponse) String() string
- type GitBlameLine
- func (*GitBlameLine) Descriptor() ([]byte, []int)deprecated
- func (x *GitBlameLine) GetAuthor() string
- func (x *GitBlameLine) GetContent() string
- func (x *GitBlameLine) GetDate() string
- func (x *GitBlameLine) GetHash() string
- func (x *GitBlameLine) GetLine() int32
- func (*GitBlameLine) ProtoMessage()
- func (x *GitBlameLine) ProtoReflect() protoreflect.Message
- func (x *GitBlameLine) Reset()
- func (x *GitBlameLine) String() string
- type GitBlameRequest
- func (*GitBlameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitBlameRequest) GetEndLine() int32
- func (x *GitBlameRequest) GetPath() string
- func (x *GitBlameRequest) GetStartLine() int32
- func (*GitBlameRequest) ProtoMessage()
- func (x *GitBlameRequest) ProtoReflect() protoreflect.Message
- func (x *GitBlameRequest) Reset()
- func (x *GitBlameRequest) String() string
- type GitBlameResponse
- func (*GitBlameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitBlameResponse) GetError() string
- func (x *GitBlameResponse) GetLines() []*GitBlameLine
- func (*GitBlameResponse) ProtoMessage()
- func (x *GitBlameResponse) ProtoReflect() protoreflect.Message
- func (x *GitBlameResponse) Reset()
- func (x *GitBlameResponse) String() string
- type GitCommit
- func (*GitCommit) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommit) GetAuthor() string
- func (x *GitCommit) GetDate() string
- func (x *GitCommit) GetFilesChanged() int32
- func (x *GitCommit) GetHash() string
- func (x *GitCommit) GetMessage() string
- func (x *GitCommit) GetShortHash() string
- func (*GitCommit) ProtoMessage()
- func (x *GitCommit) ProtoReflect() protoreflect.Message
- func (x *GitCommit) Reset()
- func (x *GitCommit) String() string
- type GitDiffFile
- func (*GitDiffFile) Descriptor() ([]byte, []int)deprecated
- func (x *GitDiffFile) GetAdditions() int32
- func (x *GitDiffFile) GetDeletions() int32
- func (x *GitDiffFile) GetPath() string
- func (x *GitDiffFile) GetStatus() string
- func (*GitDiffFile) ProtoMessage()
- func (x *GitDiffFile) ProtoReflect() protoreflect.Message
- func (x *GitDiffFile) Reset()
- func (x *GitDiffFile) String() string
- type GitDiffRequest
- func (*GitDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitDiffRequest) GetBaseRef() string
- func (x *GitDiffRequest) GetContextLines() int32
- func (x *GitDiffRequest) GetHeadRef() string
- func (x *GitDiffRequest) GetPath() string
- func (x *GitDiffRequest) GetStatOnly() bool
- func (*GitDiffRequest) ProtoMessage()
- func (x *GitDiffRequest) ProtoReflect() protoreflect.Message
- func (x *GitDiffRequest) Reset()
- func (x *GitDiffRequest) String() string
- type GitDiffResponse
- func (*GitDiffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitDiffResponse) GetDiff() string
- func (x *GitDiffResponse) GetError() string
- func (x *GitDiffResponse) GetFiles() []*GitDiffFile
- func (*GitDiffResponse) ProtoMessage()
- func (x *GitDiffResponse) ProtoReflect() protoreflect.Message
- func (x *GitDiffResponse) Reset()
- func (x *GitDiffResponse) String() string
- type GitLogRequest
- func (*GitLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitLogRequest) GetMaxCount() int32
- func (x *GitLogRequest) GetPath() string
- func (x *GitLogRequest) GetRef() string
- func (x *GitLogRequest) GetSince() string
- func (*GitLogRequest) ProtoMessage()
- func (x *GitLogRequest) ProtoReflect() protoreflect.Message
- func (x *GitLogRequest) Reset()
- func (x *GitLogRequest) String() string
- type GitLogResponse
- func (*GitLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitLogResponse) GetCommits() []*GitCommit
- func (x *GitLogResponse) GetError() string
- func (*GitLogResponse) ProtoMessage()
- func (x *GitLogResponse) ProtoReflect() protoreflect.Message
- func (x *GitLogResponse) Reset()
- func (x *GitLogResponse) String() string
- type GitShowRequest
- func (*GitShowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitShowRequest) GetPath() string
- func (x *GitShowRequest) GetRef() string
- func (*GitShowRequest) ProtoMessage()
- func (x *GitShowRequest) ProtoReflect() protoreflect.Message
- func (x *GitShowRequest) Reset()
- func (x *GitShowRequest) String() string
- type GitShowResponse
- func (*GitShowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GitShowResponse) GetContent() string
- func (x *GitShowResponse) GetError() string
- func (x *GitShowResponse) GetExists() bool
- func (*GitShowResponse) ProtoMessage()
- func (x *GitShowResponse) ProtoReflect() protoreflect.Message
- func (x *GitShowResponse) Reset()
- func (x *GitShowResponse) String() string
- type GoToDefinitionRequest
- func (*GoToDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GoToDefinitionRequest) GetColumn() int32
- func (x *GoToDefinitionRequest) GetFile() string
- func (x *GoToDefinitionRequest) GetLine() int32
- func (*GoToDefinitionRequest) ProtoMessage()
- func (x *GoToDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *GoToDefinitionRequest) Reset()
- func (x *GoToDefinitionRequest) String() string
- type GoToDefinitionResponse
- func (*GoToDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GoToDefinitionResponse) GetLocations() []*Location
- func (*GoToDefinitionResponse) ProtoMessage()
- func (x *GoToDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *GoToDefinitionResponse) Reset()
- func (x *GoToDefinitionResponse) String() string
- type ImplementsEdge
- func (*ImplementsEdge) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementsEdge) GetInterfaceId() string
- func (x *ImplementsEdge) GetTypeId() string
- func (*ImplementsEdge) ProtoMessage()
- func (x *ImplementsEdge) ProtoReflect() protoreflect.Message
- func (x *ImplementsEdge) Reset()
- func (x *ImplementsEdge) String() string
- type ListDependenciesRequest
- type ListDependenciesResponse
- func (*ListDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDependenciesResponse) GetDependencies() []*Dependency
- func (x *ListDependenciesResponse) GetError() string
- func (*ListDependenciesResponse) ProtoMessage()
- func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDependenciesResponse) Reset()
- func (x *ListDependenciesResponse) String() string
- type ListFilesRequest
- func (*ListFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesRequest) GetExtensions() []string
- func (x *ListFilesRequest) GetPath() string
- func (x *ListFilesRequest) GetRecursive() bool
- func (*ListFilesRequest) ProtoMessage()
- func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFilesRequest) Reset()
- func (x *ListFilesRequest) String() string
- type ListFilesResponse
- func (*ListFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesResponse) GetFiles() []*FileInfo
- func (*ListFilesResponse) ProtoMessage()
- func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFilesResponse) Reset()
- func (x *ListFilesResponse) String() string
- type ListSymbolsRequest
- func (*ListSymbolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsRequest) GetFile() string
- func (*ListSymbolsRequest) ProtoMessage()
- func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsRequest) Reset()
- func (x *ListSymbolsRequest) String() string
- type ListSymbolsResponse
- func (*ListSymbolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsResponse) GetStatus() *ListSymbolsStatus
- func (x *ListSymbolsResponse) GetSymbols() []*Symbol
- func (*ListSymbolsResponse) ProtoMessage()
- func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsResponse) Reset()
- func (x *ListSymbolsResponse) String() string
- type ListSymbolsStatus
- func (*ListSymbolsStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsStatus) GetMessage() string
- func (x *ListSymbolsStatus) GetState() ListSymbolsStatus_Status
- func (*ListSymbolsStatus) ProtoMessage()
- func (x *ListSymbolsStatus) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsStatus) Reset()
- func (x *ListSymbolsStatus) String() string
- type ListSymbolsStatus_Status
- func (ListSymbolsStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ListSymbolsStatus_Status) Enum() *ListSymbolsStatus_Status
- func (ListSymbolsStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListSymbolsStatus_Status) Number() protoreflect.EnumNumber
- func (x ListSymbolsStatus_Status) String() string
- func (ListSymbolsStatus_Status) Type() protoreflect.EnumType
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetColumn() int32
- func (x *Location) GetEndColumn() int32
- func (x *Location) GetEndLine() int32
- func (x *Location) GetFile() string
- func (x *Location) GetLine() int32
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type MoveFileRequest
- func (*MoveFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFileRequest) GetNewPath() string
- func (x *MoveFileRequest) GetOldPath() string
- func (x *MoveFileRequest) GetUpdateImports() bool
- func (*MoveFileRequest) ProtoMessage()
- func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
- func (x *MoveFileRequest) Reset()
- func (x *MoveFileRequest) String() string
- type MoveFileResponse
- func (*MoveFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFileResponse) GetError() string
- func (x *MoveFileResponse) GetSuccess() bool
- func (x *MoveFileResponse) GetUpdatedFiles() []string
- func (*MoveFileResponse) ProtoMessage()
- func (x *MoveFileResponse) ProtoReflect() protoreflect.Message
- func (x *MoveFileResponse) Reset()
- func (x *MoveFileResponse) String() string
- type PackageInfo
- func (*PackageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PackageInfo) GetDoc() string
- func (x *PackageInfo) GetFiles() []string
- func (x *PackageInfo) GetImports() []string
- func (x *PackageInfo) GetName() string
- func (x *PackageInfo) GetRelativePath() string
- func (*PackageInfo) ProtoMessage()
- func (x *PackageInfo) ProtoReflect() protoreflect.Message
- func (x *PackageInfo) Reset()
- func (x *PackageInfo) String() string
- type ReadFileRequest
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadFileResponse) GetContent() string
- func (x *ReadFileResponse) GetExists() bool
- func (*ReadFileResponse) ProtoMessage()
- func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
- func (x *ReadFileResponse) Reset()
- func (x *ReadFileResponse) String() string
- type RemoveDependencyRequest
- func (*RemoveDependencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependencyRequest) GetPackageName() string
- func (*RemoveDependencyRequest) ProtoMessage()
- func (x *RemoveDependencyRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDependencyRequest) Reset()
- func (x *RemoveDependencyRequest) String() string
- type RemoveDependencyResponse
- func (*RemoveDependencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependencyResponse) GetError() string
- func (x *RemoveDependencyResponse) GetSuccess() bool
- func (*RemoveDependencyResponse) ProtoMessage()
- func (x *RemoveDependencyResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDependencyResponse) Reset()
- func (x *RemoveDependencyResponse) String() string
- type RenameSymbolRequest
- func (*RenameSymbolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSymbolRequest) GetColumn() int32
- func (x *RenameSymbolRequest) GetFile() string
- func (x *RenameSymbolRequest) GetLine() int32
- func (x *RenameSymbolRequest) GetNewName() string
- func (*RenameSymbolRequest) ProtoMessage()
- func (x *RenameSymbolRequest) ProtoReflect() protoreflect.Message
- func (x *RenameSymbolRequest) Reset()
- func (x *RenameSymbolRequest) String() string
- type RenameSymbolResponse
- func (*RenameSymbolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSymbolResponse) GetEdits() []*TextEdit
- func (x *RenameSymbolResponse) GetError() string
- func (x *RenameSymbolResponse) GetFiles() []string
- func (x *RenameSymbolResponse) GetSuccess() bool
- func (*RenameSymbolResponse) ProtoMessage()
- func (x *RenameSymbolResponse) ProtoReflect() protoreflect.Message
- func (x *RenameSymbolResponse) Reset()
- func (x *RenameSymbolResponse) String() string
- type SearchMatch
- func (*SearchMatch) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatch) GetContextAfter() []string
- func (x *SearchMatch) GetContextBefore() []string
- func (x *SearchMatch) GetFile() string
- func (x *SearchMatch) GetLine() int32
- func (x *SearchMatch) GetText() string
- func (*SearchMatch) ProtoMessage()
- func (x *SearchMatch) ProtoReflect() protoreflect.Message
- func (x *SearchMatch) Reset()
- func (x *SearchMatch) String() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetCaseInsensitive() bool
- func (x *SearchRequest) GetContextLines() int32
- func (x *SearchRequest) GetExclude() []string
- func (x *SearchRequest) GetExtensions() []string
- func (x *SearchRequest) GetLiteral() bool
- func (x *SearchRequest) GetMaxResults() int32
- func (x *SearchRequest) GetPath() string
- func (x *SearchRequest) GetPattern() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetMatches() []*SearchMatch
- func (x *SearchResponse) GetTotalMatches() int32
- func (x *SearchResponse) GetTruncated() bool
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type ShellExecRequest
- func (*ShellExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShellExecRequest) GetArgs() []string
- func (x *ShellExecRequest) GetCommand() string
- func (x *ShellExecRequest) GetEnv() []string
- func (x *ShellExecRequest) GetTimeoutSeconds() int32
- func (x *ShellExecRequest) GetWorkDir() string
- func (*ShellExecRequest) ProtoMessage()
- func (x *ShellExecRequest) ProtoReflect() protoreflect.Message
- func (x *ShellExecRequest) Reset()
- func (x *ShellExecRequest) String() string
- type ShellExecResponse
- func (*ShellExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShellExecResponse) GetError() string
- func (x *ShellExecResponse) GetExitCode() int32
- func (x *ShellExecResponse) GetStderr() string
- func (x *ShellExecResponse) GetStdout() string
- func (x *ShellExecResponse) GetTimedOut() bool
- func (*ShellExecResponse) ProtoMessage()
- func (x *ShellExecResponse) ProtoReflect() protoreflect.Message
- func (x *ShellExecResponse) Reset()
- func (x *ShellExecResponse) String() string
- type Symbol
- func (*Symbol) Descriptor() ([]byte, []int)deprecated
- func (x *Symbol) GetBodyHash() string
- func (x *Symbol) GetChildren() []*Symbol
- func (x *Symbol) GetDocumentation() string
- func (x *Symbol) GetKind() SymbolKind
- func (x *Symbol) GetLocation() *Location
- func (x *Symbol) GetName() string
- func (x *Symbol) GetParent() string
- func (x *Symbol) GetQualifiedName() string
- func (x *Symbol) GetSignature() string
- func (x *Symbol) GetSignatureHash() string
- func (*Symbol) ProtoMessage()
- func (x *Symbol) ProtoReflect() protoreflect.Message
- func (x *Symbol) Reset()
- func (x *Symbol) String() string
- type SymbolKind
- type TextEdit
- func (*TextEdit) Descriptor() ([]byte, []int)deprecated
- func (x *TextEdit) GetEndColumn() int32
- func (x *TextEdit) GetEndLine() int32
- func (x *TextEdit) GetFile() string
- func (x *TextEdit) GetNewText() string
- func (x *TextEdit) GetStartColumn() int32
- func (x *TextEdit) GetStartLine() int32
- func (*TextEdit) ProtoMessage()
- func (x *TextEdit) ProtoReflect() protoreflect.Message
- func (x *TextEdit) Reset()
- func (x *TextEdit) String() string
- type UnimplementedCodeServer
- func (UnimplementedCodeServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
- func (UnimplementedCodeServer) Execute(context.Context, *CodeRequest) (*CodeResponse, error)
- func (UnimplementedCodeServer) FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
- func (UnimplementedCodeServer) GetCallGraph(context.Context, *GetCallGraphRequest) (*GetCallGraphResponse, error)
- func (UnimplementedCodeServer) GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
- func (UnimplementedCodeServer) GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
- func (UnimplementedCodeServer) GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
- func (UnimplementedCodeServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
- func (UnimplementedCodeServer) ShellExec(context.Context, *ShellExecRequest) (*ShellExecResponse, error)
- type UnsafeCodeServer
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetContent() string
- func (x *WriteFileRequest) GetPath() string
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
- type WriteFileResponse
- func (*WriteFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileResponse) GetError() string
- func (x *WriteFileResponse) GetSuccess() bool
- func (*WriteFileResponse) ProtoMessage()
- func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
- func (x *WriteFileResponse) Reset()
- func (x *WriteFileResponse) String() string
Constants ¶
const ( Code_Execute_FullMethodName = "/codefly.services.code.v0.Code/Execute" Code_ListSymbols_FullMethodName = "/codefly.services.code.v0.Code/ListSymbols" Code_GetDiagnostics_FullMethodName = "/codefly.services.code.v0.Code/GetDiagnostics" Code_GoToDefinition_FullMethodName = "/codefly.services.code.v0.Code/GoToDefinition" Code_FindReferences_FullMethodName = "/codefly.services.code.v0.Code/FindReferences" Code_GetHoverInfo_FullMethodName = "/codefly.services.code.v0.Code/GetHoverInfo" Code_ApplyEdit_FullMethodName = "/codefly.services.code.v0.Code/ApplyEdit" Code_GetCallGraph_FullMethodName = "/codefly.services.code.v0.Code/GetCallGraph" Code_ShellExec_FullMethodName = "/codefly.services.code.v0.Code/ShellExec" )
Variables ¶
var ( SymbolKind_name = map[int32]string{ 0: "SYMBOL_KIND_UNKNOWN", 1: "SYMBOL_KIND_FUNCTION", 2: "SYMBOL_KIND_METHOD", 3: "SYMBOL_KIND_STRUCT", 4: "SYMBOL_KIND_INTERFACE", 5: "SYMBOL_KIND_CONSTANT", 6: "SYMBOL_KIND_VARIABLE", 7: "SYMBOL_KIND_TYPE_ALIAS", 8: "SYMBOL_KIND_PACKAGE", 9: "SYMBOL_KIND_FIELD", 10: "SYMBOL_KIND_ENUM", 11: "SYMBOL_KIND_CLASS", } SymbolKind_value = map[string]int32{ "SYMBOL_KIND_UNKNOWN": 0, "SYMBOL_KIND_FUNCTION": 1, "SYMBOL_KIND_METHOD": 2, "SYMBOL_KIND_STRUCT": 3, "SYMBOL_KIND_INTERFACE": 4, "SYMBOL_KIND_CONSTANT": 5, "SYMBOL_KIND_VARIABLE": 6, "SYMBOL_KIND_TYPE_ALIAS": 7, "SYMBOL_KIND_PACKAGE": 8, "SYMBOL_KIND_FIELD": 9, "SYMBOL_KIND_ENUM": 10, "SYMBOL_KIND_CLASS": 11, } )
Enum value maps for SymbolKind.
var ( DiagnosticSeverity_name = map[int32]string{ 0: "DIAGNOSTIC_SEVERITY_UNKNOWN", 1: "DIAGNOSTIC_SEVERITY_ERROR", 2: "DIAGNOSTIC_SEVERITY_WARNING", 3: "DIAGNOSTIC_SEVERITY_INFORMATION", 4: "DIAGNOSTIC_SEVERITY_HINT", } DiagnosticSeverity_value = map[string]int32{ "DIAGNOSTIC_SEVERITY_UNKNOWN": 0, "DIAGNOSTIC_SEVERITY_ERROR": 1, "DIAGNOSTIC_SEVERITY_WARNING": 2, "DIAGNOSTIC_SEVERITY_INFORMATION": 3, "DIAGNOSTIC_SEVERITY_HINT": 4, } )
Enum value maps for DiagnosticSeverity.
var ( CompletionKind_name = map[int32]string{ 0: "COMPLETION_KIND_UNKNOWN", 1: "COMPLETION_KIND_TEXT", 2: "COMPLETION_KIND_METHOD", 3: "COMPLETION_KIND_FUNCTION", 4: "COMPLETION_KIND_CONSTRUCTOR", 5: "COMPLETION_KIND_FIELD", 6: "COMPLETION_KIND_VARIABLE", 7: "COMPLETION_KIND_CLASS", 8: "COMPLETION_KIND_INTERFACE", 9: "COMPLETION_KIND_MODULE", 10: "COMPLETION_KIND_PROPERTY", 11: "COMPLETION_KIND_UNIT", 12: "COMPLETION_KIND_VALUE", 13: "COMPLETION_KIND_ENUM", 14: "COMPLETION_KIND_KEYWORD", 15: "COMPLETION_KIND_SNIPPET", 16: "COMPLETION_KIND_COLOR", 17: "COMPLETION_KIND_FILE", 18: "COMPLETION_KIND_REFERENCE", 19: "COMPLETION_KIND_FOLDER", 20: "COMPLETION_KIND_ENUM_MEMBER", 21: "COMPLETION_KIND_CONSTANT", 22: "COMPLETION_KIND_STRUCT", 23: "COMPLETION_KIND_EVENT", 24: "COMPLETION_KIND_OPERATOR", 25: "COMPLETION_KIND_TYPE_PARAMETER", } CompletionKind_value = map[string]int32{ "COMPLETION_KIND_UNKNOWN": 0, "COMPLETION_KIND_TEXT": 1, "COMPLETION_KIND_METHOD": 2, "COMPLETION_KIND_FUNCTION": 3, "COMPLETION_KIND_CONSTRUCTOR": 4, "COMPLETION_KIND_FIELD": 5, "COMPLETION_KIND_VARIABLE": 6, "COMPLETION_KIND_CLASS": 7, "COMPLETION_KIND_INTERFACE": 8, "COMPLETION_KIND_MODULE": 9, "COMPLETION_KIND_PROPERTY": 10, "COMPLETION_KIND_UNIT": 11, "COMPLETION_KIND_VALUE": 12, "COMPLETION_KIND_ENUM": 13, "COMPLETION_KIND_KEYWORD": 14, "COMPLETION_KIND_SNIPPET": 15, "COMPLETION_KIND_COLOR": 16, "COMPLETION_KIND_FILE": 17, "COMPLETION_KIND_REFERENCE": 18, "COMPLETION_KIND_FOLDER": 19, "COMPLETION_KIND_ENUM_MEMBER": 20, "COMPLETION_KIND_CONSTANT": 21, "COMPLETION_KIND_STRUCT": 22, "COMPLETION_KIND_EVENT": 23, "COMPLETION_KIND_OPERATOR": 24, "COMPLETION_KIND_TYPE_PARAMETER": 25, } )
Enum value maps for CompletionKind.
var ( ListSymbolsStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESS", 2: "ERROR", } ListSymbolsStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "SUCCESS": 1, "ERROR": 2, } )
Enum value maps for ListSymbolsStatus_Status.
var Code_ServiceDesc = grpc.ServiceDesc{ ServiceName: "codefly.services.code.v0.Code", HandlerType: (*CodeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Execute", Handler: _Code_Execute_Handler, }, { MethodName: "ListSymbols", Handler: _Code_ListSymbols_Handler, }, { MethodName: "GetDiagnostics", Handler: _Code_GetDiagnostics_Handler, }, { MethodName: "GoToDefinition", Handler: _Code_GoToDefinition_Handler, }, { MethodName: "FindReferences", Handler: _Code_FindReferences_Handler, }, { MethodName: "GetHoverInfo", Handler: _Code_GetHoverInfo_Handler, }, { MethodName: "ApplyEdit", Handler: _Code_ApplyEdit_Handler, }, { MethodName: "GetCallGraph", Handler: _Code_GetCallGraph_Handler, }, { MethodName: "ShellExec", Handler: _Code_ShellExec_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "codefly/services/code/v0/code.proto", }
Code_ServiceDesc is the grpc.ServiceDesc for Code service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_codefly_services_code_v0_code_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCodeServer ¶
func RegisterCodeServer(s grpc.ServiceRegistrar, srv CodeServer)
Types ¶
type AddDependencyRequest ¶
type AddDependencyRequest struct {
PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // e.g. "github.com/gin-gonic/gin"
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // optional: specific version
// contains filtered or unexported fields
}
AddDependency adds a package/module via the language package manager.
func (*AddDependencyRequest) Descriptor
deprecated
func (*AddDependencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDependencyRequest.ProtoReflect.Descriptor instead.
func (*AddDependencyRequest) GetPackageName ¶
func (x *AddDependencyRequest) GetPackageName() string
func (*AddDependencyRequest) GetVersion ¶
func (x *AddDependencyRequest) GetVersion() string
func (*AddDependencyRequest) ProtoMessage ¶
func (*AddDependencyRequest) ProtoMessage()
func (*AddDependencyRequest) ProtoReflect ¶
func (x *AddDependencyRequest) ProtoReflect() protoreflect.Message
func (*AddDependencyRequest) Reset ¶
func (x *AddDependencyRequest) Reset()
func (*AddDependencyRequest) String ¶
func (x *AddDependencyRequest) String() string
type AddDependencyResponse ¶
type AddDependencyResponse 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"`
InstalledVersion string `protobuf:"bytes,3,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"`
// contains filtered or unexported fields
}
func (*AddDependencyResponse) Descriptor
deprecated
func (*AddDependencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDependencyResponse.ProtoReflect.Descriptor instead.
func (*AddDependencyResponse) GetError ¶
func (x *AddDependencyResponse) GetError() string
func (*AddDependencyResponse) GetInstalledVersion ¶
func (x *AddDependencyResponse) GetInstalledVersion() string
func (*AddDependencyResponse) GetSuccess ¶
func (x *AddDependencyResponse) GetSuccess() bool
func (*AddDependencyResponse) ProtoMessage ¶
func (*AddDependencyResponse) ProtoMessage()
func (*AddDependencyResponse) ProtoReflect ¶
func (x *AddDependencyResponse) ProtoReflect() protoreflect.Message
func (*AddDependencyResponse) Reset ¶
func (x *AddDependencyResponse) Reset()
func (*AddDependencyResponse) String ¶
func (x *AddDependencyResponse) String() string
type ApplyEditRequest ¶
type ApplyEditRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path within the service
Find string `protobuf:"bytes,2,opt,name=find,proto3" json:"find,omitempty"` // text to find (may not be an exact match)
Replace string `protobuf:"bytes,3,opt,name=replace,proto3" json:"replace,omitempty"` // replacement text
AutoFix bool `protobuf:"varint,4,opt,name=auto_fix,json=autoFix,proto3" json:"auto_fix,omitempty"` // if true, run language-specific fixers after edit
// contains filtered or unexported fields
}
ApplyEdit performs a smart FIND/REPLACE on a file at the plugin level. The plugin owns the matching strategies because it knows the language: exact match, whitespace-normalized, indent-shifted, anchor-based, fuzzy scored. After a successful edit, the plugin runs Fix (goimports, gofmt, etc.) automatically.
func (*ApplyEditRequest) Descriptor
deprecated
func (*ApplyEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditRequest.ProtoReflect.Descriptor instead.
func (*ApplyEditRequest) GetAutoFix ¶
func (x *ApplyEditRequest) GetAutoFix() bool
func (*ApplyEditRequest) GetFile ¶
func (x *ApplyEditRequest) GetFile() string
func (*ApplyEditRequest) GetFind ¶
func (x *ApplyEditRequest) GetFind() string
func (*ApplyEditRequest) GetReplace ¶
func (x *ApplyEditRequest) GetReplace() string
func (*ApplyEditRequest) ProtoMessage ¶
func (*ApplyEditRequest) ProtoMessage()
func (*ApplyEditRequest) ProtoReflect ¶
func (x *ApplyEditRequest) ProtoReflect() protoreflect.Message
func (*ApplyEditRequest) Reset ¶
func (x *ApplyEditRequest) Reset()
func (*ApplyEditRequest) String ¶
func (x *ApplyEditRequest) String() string
type ApplyEditResponse ¶
type ApplyEditResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // the file content after edit + fix
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // why the edit failed (e.g. "FIND block not matched")
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"` // which matching strategy was used: "exact", "trailing", "trimmed", "indent_shifted", "anchor", "fuzzy_score", "fuzzy_block"
FixActions []string `protobuf:"bytes,5,rep,name=fix_actions,json=fixActions,proto3" json:"fix_actions,omitempty"` // what fixers ran: "goimports", "gofmt", etc.
// contains filtered or unexported fields
}
func (*ApplyEditResponse) Descriptor
deprecated
func (*ApplyEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditResponse.ProtoReflect.Descriptor instead.
func (*ApplyEditResponse) GetContent ¶
func (x *ApplyEditResponse) GetContent() string
func (*ApplyEditResponse) GetError ¶
func (x *ApplyEditResponse) GetError() string
func (*ApplyEditResponse) GetFixActions ¶
func (x *ApplyEditResponse) GetFixActions() []string
func (*ApplyEditResponse) GetStrategy ¶
func (x *ApplyEditResponse) GetStrategy() string
func (*ApplyEditResponse) GetSuccess ¶
func (x *ApplyEditResponse) GetSuccess() bool
func (*ApplyEditResponse) ProtoMessage ¶
func (*ApplyEditResponse) ProtoMessage()
func (*ApplyEditResponse) ProtoReflect ¶
func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
func (*ApplyEditResponse) Reset ¶
func (x *ApplyEditResponse) Reset()
func (*ApplyEditResponse) String ¶
func (x *ApplyEditResponse) String() string
type CallEdge ¶
type CallEdge struct {
CallerId string `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` // qualified name of the calling function
CalleeId string `protobuf:"bytes,2,opt,name=callee_id,json=calleeId,proto3" json:"callee_id,omitempty"` // qualified name of the called function
CallType string `protobuf:"bytes,3,opt,name=call_type,json=callType,proto3" json:"call_type,omitempty"` // "static", "interface", "closure"
CallSite *Location `protobuf:"bytes,4,opt,name=call_site,json=callSite,proto3" json:"call_site,omitempty"` // where the call happens in source
// contains filtered or unexported fields
}
CallEdge represents a function call from one symbol to another.
func (*CallEdge) Descriptor
deprecated
func (*CallEdge) GetCallSite ¶
func (*CallEdge) GetCallType ¶
func (*CallEdge) GetCalleeId ¶
func (*CallEdge) GetCallerId ¶
func (*CallEdge) ProtoMessage ¶
func (*CallEdge) ProtoMessage()
func (*CallEdge) ProtoReflect ¶
func (x *CallEdge) ProtoReflect() protoreflect.Message
type CodeClient ¶
type CodeClient interface {
// Execute is the unified dispatch entry point for every code operation.
// Clients wrap the specific request type in a CodeRequest oneof; the
// plugin's Execute handler unwraps + dispatches. This is the path Mind
// uses for everything except the few direct RPCs below that predate
// the unification and still have live callers in codefly-cli.
Execute(ctx context.Context, in *CodeRequest, opts ...grpc.CallOption) (*CodeResponse, error)
ListSymbols(ctx context.Context, in *ListSymbolsRequest, opts ...grpc.CallOption) (*ListSymbolsResponse, error)
GetDiagnostics(ctx context.Context, in *GetDiagnosticsRequest, opts ...grpc.CallOption) (*GetDiagnosticsResponse, error)
GoToDefinition(ctx context.Context, in *GoToDefinitionRequest, opts ...grpc.CallOption) (*GoToDefinitionResponse, error)
FindReferences(ctx context.Context, in *FindReferencesRequest, opts ...grpc.CallOption) (*FindReferencesResponse, error)
GetHoverInfo(ctx context.Context, in *GetHoverInfoRequest, opts ...grpc.CallOption) (*GetHoverInfoResponse, error)
ApplyEdit(ctx context.Context, in *ApplyEditRequest, opts ...grpc.CallOption) (*ApplyEditResponse, error)
GetCallGraph(ctx context.Context, in *GetCallGraphRequest, opts ...grpc.CallOption) (*GetCallGraphResponse, error)
// ShellExec is the one sanctioned path for running shell commands
// against a workspace. Clients call this instead of os/exec so all
// process spawning crosses the plugin boundary (the agent).
ShellExec(ctx context.Context, in *ShellExecRequest, opts ...grpc.CallOption) (*ShellExecResponse, error)
}
CodeClient is the client API for Code service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCodeClient ¶
func NewCodeClient(cc grpc.ClientConnInterface) CodeClient
type CodeRequest ¶
type CodeRequest struct {
// Types that are valid to be assigned to Operation:
//
// *CodeRequest_ListSymbols
// *CodeRequest_GetDiagnostics
// *CodeRequest_GoToDefinition
// *CodeRequest_FindReferences
// *CodeRequest_RenameSymbol
// *CodeRequest_GetHoverInfo
// *CodeRequest_Fix
// *CodeRequest_ApplyEdit
// *CodeRequest_ListDependencies
// *CodeRequest_AddDependency
// *CodeRequest_RemoveDependency
// *CodeRequest_GetProjectInfo
// *CodeRequest_GetCompletions
// *CodeRequest_GetCallGraph
// *CodeRequest_ReadFile
// *CodeRequest_WriteFile
// *CodeRequest_CreateFile
// *CodeRequest_DeleteFile
// *CodeRequest_MoveFile
// *CodeRequest_ListFiles
// *CodeRequest_Search
// *CodeRequest_GitLog
// *CodeRequest_GitShow
// *CodeRequest_GitBlame
// *CodeRequest_GitDiff
// *CodeRequest_ShellExec
Operation isCodeRequest_Operation `protobuf_oneof:"operation"`
// contains filtered or unexported fields
}
CodeRequest wraps all code operations into a single dispatch envelope. Plugins implement one Execute RPC; core provides default handlers for file I/O, git, fix, apply-edit, dependency mgmt, project info. Mind never handles any of these directly — it ALWAYS forwards to the appropriate codefly plugin via Execute (or via one of the remaining direct RPCs: ListSymbols / FindReferences / GoToDefinition / GetDiagnostics / GetHoverInfo / ApplyEdit / ShellExec / GetCallGraph).
func (*CodeRequest) Descriptor
deprecated
func (*CodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CodeRequest.ProtoReflect.Descriptor instead.
func (*CodeRequest) GetAddDependency ¶
func (x *CodeRequest) GetAddDependency() *AddDependencyRequest
func (*CodeRequest) GetApplyEdit ¶
func (x *CodeRequest) GetApplyEdit() *ApplyEditRequest
func (*CodeRequest) GetCreateFile ¶
func (x *CodeRequest) GetCreateFile() *CreateFileRequest
func (*CodeRequest) GetDeleteFile ¶
func (x *CodeRequest) GetDeleteFile() *DeleteFileRequest
func (*CodeRequest) GetFindReferences ¶
func (x *CodeRequest) GetFindReferences() *FindReferencesRequest
func (*CodeRequest) GetFix ¶
func (x *CodeRequest) GetFix() *FixRequest
func (*CodeRequest) GetGetCallGraph ¶
func (x *CodeRequest) GetGetCallGraph() *GetCallGraphRequest
func (*CodeRequest) GetGetCompletions ¶
func (x *CodeRequest) GetGetCompletions() *GetCompletionsRequest
func (*CodeRequest) GetGetDiagnostics ¶
func (x *CodeRequest) GetGetDiagnostics() *GetDiagnosticsRequest
func (*CodeRequest) GetGetHoverInfo ¶
func (x *CodeRequest) GetGetHoverInfo() *GetHoverInfoRequest
func (*CodeRequest) GetGetProjectInfo ¶
func (x *CodeRequest) GetGetProjectInfo() *GetProjectInfoRequest
func (*CodeRequest) GetGitBlame ¶
func (x *CodeRequest) GetGitBlame() *GitBlameRequest
func (*CodeRequest) GetGitDiff ¶
func (x *CodeRequest) GetGitDiff() *GitDiffRequest
func (*CodeRequest) GetGitLog ¶
func (x *CodeRequest) GetGitLog() *GitLogRequest
func (*CodeRequest) GetGitShow ¶
func (x *CodeRequest) GetGitShow() *GitShowRequest
func (*CodeRequest) GetGoToDefinition ¶
func (x *CodeRequest) GetGoToDefinition() *GoToDefinitionRequest
func (*CodeRequest) GetListDependencies ¶
func (x *CodeRequest) GetListDependencies() *ListDependenciesRequest
func (*CodeRequest) GetListFiles ¶
func (x *CodeRequest) GetListFiles() *ListFilesRequest
func (*CodeRequest) GetListSymbols ¶
func (x *CodeRequest) GetListSymbols() *ListSymbolsRequest
func (*CodeRequest) GetMoveFile ¶
func (x *CodeRequest) GetMoveFile() *MoveFileRequest
func (*CodeRequest) GetOperation ¶
func (x *CodeRequest) GetOperation() isCodeRequest_Operation
func (*CodeRequest) GetReadFile ¶
func (x *CodeRequest) GetReadFile() *ReadFileRequest
func (*CodeRequest) GetRemoveDependency ¶
func (x *CodeRequest) GetRemoveDependency() *RemoveDependencyRequest
func (*CodeRequest) GetRenameSymbol ¶
func (x *CodeRequest) GetRenameSymbol() *RenameSymbolRequest
func (*CodeRequest) GetSearch ¶
func (x *CodeRequest) GetSearch() *SearchRequest
func (*CodeRequest) GetShellExec ¶
func (x *CodeRequest) GetShellExec() *ShellExecRequest
func (*CodeRequest) GetWriteFile ¶
func (x *CodeRequest) GetWriteFile() *WriteFileRequest
func (*CodeRequest) ProtoMessage ¶
func (*CodeRequest) ProtoMessage()
func (*CodeRequest) ProtoReflect ¶
func (x *CodeRequest) ProtoReflect() protoreflect.Message
func (*CodeRequest) Reset ¶
func (x *CodeRequest) Reset()
func (*CodeRequest) String ¶
func (x *CodeRequest) String() string
type CodeRequest_AddDependency ¶
type CodeRequest_AddDependency struct {
AddDependency *AddDependencyRequest `protobuf:"bytes,17,opt,name=add_dependency,json=addDependency,proto3,oneof"`
}
type CodeRequest_ApplyEdit ¶
type CodeRequest_ApplyEdit struct {
ApplyEdit *ApplyEditRequest `protobuf:"bytes,14,opt,name=apply_edit,json=applyEdit,proto3,oneof"`
}
type CodeRequest_CreateFile ¶
type CodeRequest_CreateFile struct {
CreateFile *CreateFileRequest `protobuf:"bytes,28,opt,name=create_file,json=createFile,proto3,oneof"`
}
type CodeRequest_DeleteFile ¶
type CodeRequest_DeleteFile struct {
DeleteFile *DeleteFileRequest `protobuf:"bytes,29,opt,name=delete_file,json=deleteFile,proto3,oneof"`
}
type CodeRequest_FindReferences ¶
type CodeRequest_FindReferences struct {
FindReferences *FindReferencesRequest `protobuf:"bytes,10,opt,name=find_references,json=findReferences,proto3,oneof"`
}
type CodeRequest_Fix ¶
type CodeRequest_Fix struct {
Fix *FixRequest `protobuf:"bytes,13,opt,name=fix,proto3,oneof"`
}
type CodeRequest_GetCallGraph ¶
type CodeRequest_GetCallGraph struct {
GetCallGraph *GetCallGraphRequest `protobuf:"bytes,25,opt,name=get_call_graph,json=getCallGraph,proto3,oneof"`
}
type CodeRequest_GetCompletions ¶
type CodeRequest_GetCompletions struct {
GetCompletions *GetCompletionsRequest `protobuf:"bytes,20,opt,name=get_completions,json=getCompletions,proto3,oneof"`
}
type CodeRequest_GetDiagnostics ¶
type CodeRequest_GetDiagnostics struct {
GetDiagnostics *GetDiagnosticsRequest `protobuf:"bytes,8,opt,name=get_diagnostics,json=getDiagnostics,proto3,oneof"`
}
type CodeRequest_GetHoverInfo ¶
type CodeRequest_GetHoverInfo struct {
GetHoverInfo *GetHoverInfoRequest `protobuf:"bytes,12,opt,name=get_hover_info,json=getHoverInfo,proto3,oneof"`
}
type CodeRequest_GetProjectInfo ¶
type CodeRequest_GetProjectInfo struct {
GetProjectInfo *GetProjectInfoRequest `protobuf:"bytes,19,opt,name=get_project_info,json=getProjectInfo,proto3,oneof"`
}
type CodeRequest_GitBlame ¶
type CodeRequest_GitBlame struct {
GitBlame *GitBlameRequest `protobuf:"bytes,35,opt,name=git_blame,json=gitBlame,proto3,oneof"`
}
type CodeRequest_GitDiff ¶
type CodeRequest_GitDiff struct {
GitDiff *GitDiffRequest `protobuf:"bytes,36,opt,name=git_diff,json=gitDiff,proto3,oneof"`
}
type CodeRequest_GitLog ¶
type CodeRequest_GitLog struct {
GitLog *GitLogRequest `protobuf:"bytes,33,opt,name=git_log,json=gitLog,proto3,oneof"`
}
type CodeRequest_GitShow ¶
type CodeRequest_GitShow struct {
GitShow *GitShowRequest `protobuf:"bytes,34,opt,name=git_show,json=gitShow,proto3,oneof"`
}
type CodeRequest_GoToDefinition ¶
type CodeRequest_GoToDefinition struct {
GoToDefinition *GoToDefinitionRequest `protobuf:"bytes,9,opt,name=go_to_definition,json=goToDefinition,proto3,oneof"`
}
type CodeRequest_ListDependencies ¶
type CodeRequest_ListDependencies struct {
ListDependencies *ListDependenciesRequest `protobuf:"bytes,16,opt,name=list_dependencies,json=listDependencies,proto3,oneof"`
}
type CodeRequest_ListFiles ¶
type CodeRequest_ListFiles struct {
ListFiles *ListFilesRequest `protobuf:"bytes,31,opt,name=list_files,json=listFiles,proto3,oneof"`
}
type CodeRequest_ListSymbols ¶
type CodeRequest_ListSymbols struct {
ListSymbols *ListSymbolsRequest `protobuf:"bytes,7,opt,name=list_symbols,json=listSymbols,proto3,oneof"`
}
type CodeRequest_MoveFile ¶
type CodeRequest_MoveFile struct {
MoveFile *MoveFileRequest `protobuf:"bytes,30,opt,name=move_file,json=moveFile,proto3,oneof"`
}
type CodeRequest_ReadFile ¶
type CodeRequest_ReadFile struct {
// File and git operations — handled by the Code agent's default server
// (pkg/code/DefaultCodeServer in codefly core) backed by the workspace's
// virtual filesystem and go-git. Mind never touches files directly.
ReadFile *ReadFileRequest `protobuf:"bytes,26,opt,name=read_file,json=readFile,proto3,oneof"`
}
type CodeRequest_RemoveDependency ¶
type CodeRequest_RemoveDependency struct {
RemoveDependency *RemoveDependencyRequest `protobuf:"bytes,18,opt,name=remove_dependency,json=removeDependency,proto3,oneof"`
}
type CodeRequest_RenameSymbol ¶
type CodeRequest_RenameSymbol struct {
RenameSymbol *RenameSymbolRequest `protobuf:"bytes,11,opt,name=rename_symbol,json=renameSymbol,proto3,oneof"`
}
type CodeRequest_Search ¶
type CodeRequest_Search struct {
Search *SearchRequest `protobuf:"bytes,32,opt,name=search,proto3,oneof"`
}
type CodeRequest_ShellExec ¶
type CodeRequest_ShellExec struct {
// Shell execution — the ONE sanctioned path for running commands
// against a workspace. Mind never calls os/exec directly; it goes
// through this RPC so the plugin boundary owns all process spawning.
ShellExec *ShellExecRequest `protobuf:"bytes,37,opt,name=shell_exec,json=shellExec,proto3,oneof"`
}
type CodeRequest_WriteFile ¶
type CodeRequest_WriteFile struct {
WriteFile *WriteFileRequest `protobuf:"bytes,27,opt,name=write_file,json=writeFile,proto3,oneof"`
}
type CodeResponse ¶
type CodeResponse struct {
// Types that are valid to be assigned to Result:
//
// *CodeResponse_ListSymbols
// *CodeResponse_GetDiagnostics
// *CodeResponse_GoToDefinition
// *CodeResponse_FindReferences
// *CodeResponse_RenameSymbol
// *CodeResponse_GetHoverInfo
// *CodeResponse_Fix
// *CodeResponse_ApplyEdit
// *CodeResponse_ListDependencies
// *CodeResponse_AddDependency
// *CodeResponse_RemoveDependency
// *CodeResponse_GetProjectInfo
// *CodeResponse_GetCompletions
// *CodeResponse_GetCallGraph
// *CodeResponse_ReadFile
// *CodeResponse_WriteFile
// *CodeResponse_CreateFile
// *CodeResponse_DeleteFile
// *CodeResponse_MoveFile
// *CodeResponse_ListFiles
// *CodeResponse_Search
// *CodeResponse_GitLog
// *CodeResponse_GitShow
// *CodeResponse_GitBlame
// *CodeResponse_GitDiff
// *CodeResponse_ShellExec
Result isCodeResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
CodeResponse wraps all code operation results.
func (*CodeResponse) Descriptor
deprecated
func (*CodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CodeResponse.ProtoReflect.Descriptor instead.
func (*CodeResponse) GetAddDependency ¶
func (x *CodeResponse) GetAddDependency() *AddDependencyResponse
func (*CodeResponse) GetApplyEdit ¶
func (x *CodeResponse) GetApplyEdit() *ApplyEditResponse
func (*CodeResponse) GetCreateFile ¶
func (x *CodeResponse) GetCreateFile() *CreateFileResponse
func (*CodeResponse) GetDeleteFile ¶
func (x *CodeResponse) GetDeleteFile() *DeleteFileResponse
func (*CodeResponse) GetFindReferences ¶
func (x *CodeResponse) GetFindReferences() *FindReferencesResponse
func (*CodeResponse) GetFix ¶
func (x *CodeResponse) GetFix() *FixResponse
func (*CodeResponse) GetGetCallGraph ¶
func (x *CodeResponse) GetGetCallGraph() *GetCallGraphResponse
func (*CodeResponse) GetGetCompletions ¶
func (x *CodeResponse) GetGetCompletions() *GetCompletionsResponse
func (*CodeResponse) GetGetDiagnostics ¶
func (x *CodeResponse) GetGetDiagnostics() *GetDiagnosticsResponse
func (*CodeResponse) GetGetHoverInfo ¶
func (x *CodeResponse) GetGetHoverInfo() *GetHoverInfoResponse
func (*CodeResponse) GetGetProjectInfo ¶
func (x *CodeResponse) GetGetProjectInfo() *GetProjectInfoResponse
func (*CodeResponse) GetGitBlame ¶
func (x *CodeResponse) GetGitBlame() *GitBlameResponse
func (*CodeResponse) GetGitDiff ¶
func (x *CodeResponse) GetGitDiff() *GitDiffResponse
func (*CodeResponse) GetGitLog ¶
func (x *CodeResponse) GetGitLog() *GitLogResponse
func (*CodeResponse) GetGitShow ¶
func (x *CodeResponse) GetGitShow() *GitShowResponse
func (*CodeResponse) GetGoToDefinition ¶
func (x *CodeResponse) GetGoToDefinition() *GoToDefinitionResponse
func (*CodeResponse) GetListDependencies ¶
func (x *CodeResponse) GetListDependencies() *ListDependenciesResponse
func (*CodeResponse) GetListFiles ¶
func (x *CodeResponse) GetListFiles() *ListFilesResponse
func (*CodeResponse) GetListSymbols ¶
func (x *CodeResponse) GetListSymbols() *ListSymbolsResponse
func (*CodeResponse) GetMoveFile ¶
func (x *CodeResponse) GetMoveFile() *MoveFileResponse
func (*CodeResponse) GetReadFile ¶
func (x *CodeResponse) GetReadFile() *ReadFileResponse
func (*CodeResponse) GetRemoveDependency ¶
func (x *CodeResponse) GetRemoveDependency() *RemoveDependencyResponse
func (*CodeResponse) GetRenameSymbol ¶
func (x *CodeResponse) GetRenameSymbol() *RenameSymbolResponse
func (*CodeResponse) GetResult ¶
func (x *CodeResponse) GetResult() isCodeResponse_Result
func (*CodeResponse) GetSearch ¶
func (x *CodeResponse) GetSearch() *SearchResponse
func (*CodeResponse) GetShellExec ¶
func (x *CodeResponse) GetShellExec() *ShellExecResponse
func (*CodeResponse) GetWriteFile ¶
func (x *CodeResponse) GetWriteFile() *WriteFileResponse
func (*CodeResponse) ProtoMessage ¶
func (*CodeResponse) ProtoMessage()
func (*CodeResponse) ProtoReflect ¶
func (x *CodeResponse) ProtoReflect() protoreflect.Message
func (*CodeResponse) Reset ¶
func (x *CodeResponse) Reset()
func (*CodeResponse) String ¶
func (x *CodeResponse) String() string
type CodeResponse_AddDependency ¶
type CodeResponse_AddDependency struct {
AddDependency *AddDependencyResponse `protobuf:"bytes,17,opt,name=add_dependency,json=addDependency,proto3,oneof"`
}
type CodeResponse_ApplyEdit ¶
type CodeResponse_ApplyEdit struct {
ApplyEdit *ApplyEditResponse `protobuf:"bytes,14,opt,name=apply_edit,json=applyEdit,proto3,oneof"`
}
type CodeResponse_CreateFile ¶
type CodeResponse_CreateFile struct {
CreateFile *CreateFileResponse `protobuf:"bytes,28,opt,name=create_file,json=createFile,proto3,oneof"`
}
type CodeResponse_DeleteFile ¶
type CodeResponse_DeleteFile struct {
DeleteFile *DeleteFileResponse `protobuf:"bytes,29,opt,name=delete_file,json=deleteFile,proto3,oneof"`
}
type CodeResponse_FindReferences ¶
type CodeResponse_FindReferences struct {
FindReferences *FindReferencesResponse `protobuf:"bytes,10,opt,name=find_references,json=findReferences,proto3,oneof"`
}
type CodeResponse_Fix ¶
type CodeResponse_Fix struct {
Fix *FixResponse `protobuf:"bytes,13,opt,name=fix,proto3,oneof"`
}
type CodeResponse_GetCallGraph ¶
type CodeResponse_GetCallGraph struct {
GetCallGraph *GetCallGraphResponse `protobuf:"bytes,25,opt,name=get_call_graph,json=getCallGraph,proto3,oneof"`
}
type CodeResponse_GetCompletions ¶
type CodeResponse_GetCompletions struct {
GetCompletions *GetCompletionsResponse `protobuf:"bytes,20,opt,name=get_completions,json=getCompletions,proto3,oneof"`
}
type CodeResponse_GetDiagnostics ¶
type CodeResponse_GetDiagnostics struct {
GetDiagnostics *GetDiagnosticsResponse `protobuf:"bytes,8,opt,name=get_diagnostics,json=getDiagnostics,proto3,oneof"`
}
type CodeResponse_GetHoverInfo ¶
type CodeResponse_GetHoverInfo struct {
GetHoverInfo *GetHoverInfoResponse `protobuf:"bytes,12,opt,name=get_hover_info,json=getHoverInfo,proto3,oneof"`
}
type CodeResponse_GetProjectInfo ¶
type CodeResponse_GetProjectInfo struct {
GetProjectInfo *GetProjectInfoResponse `protobuf:"bytes,19,opt,name=get_project_info,json=getProjectInfo,proto3,oneof"`
}
type CodeResponse_GitBlame ¶
type CodeResponse_GitBlame struct {
GitBlame *GitBlameResponse `protobuf:"bytes,35,opt,name=git_blame,json=gitBlame,proto3,oneof"`
}
type CodeResponse_GitDiff ¶
type CodeResponse_GitDiff struct {
GitDiff *GitDiffResponse `protobuf:"bytes,36,opt,name=git_diff,json=gitDiff,proto3,oneof"`
}
type CodeResponse_GitLog ¶
type CodeResponse_GitLog struct {
GitLog *GitLogResponse `protobuf:"bytes,33,opt,name=git_log,json=gitLog,proto3,oneof"`
}
type CodeResponse_GitShow ¶
type CodeResponse_GitShow struct {
GitShow *GitShowResponse `protobuf:"bytes,34,opt,name=git_show,json=gitShow,proto3,oneof"`
}
type CodeResponse_GoToDefinition ¶
type CodeResponse_GoToDefinition struct {
GoToDefinition *GoToDefinitionResponse `protobuf:"bytes,9,opt,name=go_to_definition,json=goToDefinition,proto3,oneof"`
}
type CodeResponse_ListDependencies ¶
type CodeResponse_ListDependencies struct {
ListDependencies *ListDependenciesResponse `protobuf:"bytes,16,opt,name=list_dependencies,json=listDependencies,proto3,oneof"`
}
type CodeResponse_ListFiles ¶
type CodeResponse_ListFiles struct {
ListFiles *ListFilesResponse `protobuf:"bytes,31,opt,name=list_files,json=listFiles,proto3,oneof"`
}
type CodeResponse_ListSymbols ¶
type CodeResponse_ListSymbols struct {
ListSymbols *ListSymbolsResponse `protobuf:"bytes,7,opt,name=list_symbols,json=listSymbols,proto3,oneof"`
}
type CodeResponse_MoveFile ¶
type CodeResponse_MoveFile struct {
MoveFile *MoveFileResponse `protobuf:"bytes,30,opt,name=move_file,json=moveFile,proto3,oneof"`
}
type CodeResponse_ReadFile ¶
type CodeResponse_ReadFile struct {
// File and git operation responses.
ReadFile *ReadFileResponse `protobuf:"bytes,26,opt,name=read_file,json=readFile,proto3,oneof"`
}
type CodeResponse_RemoveDependency ¶
type CodeResponse_RemoveDependency struct {
RemoveDependency *RemoveDependencyResponse `protobuf:"bytes,18,opt,name=remove_dependency,json=removeDependency,proto3,oneof"`
}
type CodeResponse_RenameSymbol ¶
type CodeResponse_RenameSymbol struct {
RenameSymbol *RenameSymbolResponse `protobuf:"bytes,11,opt,name=rename_symbol,json=renameSymbol,proto3,oneof"`
}
type CodeResponse_Search ¶
type CodeResponse_Search struct {
Search *SearchResponse `protobuf:"bytes,32,opt,name=search,proto3,oneof"`
}
type CodeResponse_ShellExec ¶
type CodeResponse_ShellExec struct {
ShellExec *ShellExecResponse `protobuf:"bytes,37,opt,name=shell_exec,json=shellExec,proto3,oneof"`
}
type CodeResponse_WriteFile ¶
type CodeResponse_WriteFile struct {
WriteFile *WriteFileResponse `protobuf:"bytes,27,opt,name=write_file,json=writeFile,proto3,oneof"`
}
type CodeServer ¶
type CodeServer interface {
// Execute is the unified dispatch entry point for every code operation.
// Clients wrap the specific request type in a CodeRequest oneof; the
// plugin's Execute handler unwraps + dispatches. This is the path Mind
// uses for everything except the few direct RPCs below that predate
// the unification and still have live callers in codefly-cli.
Execute(context.Context, *CodeRequest) (*CodeResponse, error)
ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
GetCallGraph(context.Context, *GetCallGraphRequest) (*GetCallGraphResponse, error)
// ShellExec is the one sanctioned path for running shell commands
// against a workspace. Clients call this instead of os/exec so all
// process spawning crosses the plugin boundary (the agent).
ShellExec(context.Context, *ShellExecRequest) (*ShellExecResponse, error)
// contains filtered or unexported methods
}
CodeServer is the server API for Code service. All implementations must embed UnimplementedCodeServer for forward compatibility.
type CompletionItem ¶
type CompletionItem struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // the text to display and insert
Kind CompletionKind `protobuf:"varint,2,opt,name=kind,proto3,enum=codefly.services.code.v0.CompletionKind" json:"kind,omitempty"`
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` // short description (e.g. type signature)
Documentation string `protobuf:"bytes,4,opt,name=documentation,proto3" json:"documentation,omitempty"` // longer documentation (may be markdown)
InsertText string `protobuf:"bytes,5,opt,name=insert_text,json=insertText,proto3" json:"insert_text,omitempty"` // text to insert (if different from label)
SortText string `protobuf:"bytes,6,opt,name=sort_text,json=sortText,proto3" json:"sort_text,omitempty"` // text used for sorting
// contains filtered or unexported fields
}
CompletionItem represents a single completion suggestion.
func (*CompletionItem) Descriptor
deprecated
func (*CompletionItem) Descriptor() ([]byte, []int)
Deprecated: Use CompletionItem.ProtoReflect.Descriptor instead.
func (*CompletionItem) GetDetail ¶
func (x *CompletionItem) GetDetail() string
func (*CompletionItem) GetDocumentation ¶
func (x *CompletionItem) GetDocumentation() string
func (*CompletionItem) GetInsertText ¶
func (x *CompletionItem) GetInsertText() string
func (*CompletionItem) GetKind ¶
func (x *CompletionItem) GetKind() CompletionKind
func (*CompletionItem) GetLabel ¶
func (x *CompletionItem) GetLabel() string
func (*CompletionItem) GetSortText ¶
func (x *CompletionItem) GetSortText() string
func (*CompletionItem) ProtoMessage ¶
func (*CompletionItem) ProtoMessage()
func (*CompletionItem) ProtoReflect ¶
func (x *CompletionItem) ProtoReflect() protoreflect.Message
func (*CompletionItem) Reset ¶
func (x *CompletionItem) Reset()
func (*CompletionItem) String ¶
func (x *CompletionItem) String() string
type CompletionKind ¶
type CompletionKind int32
CompletionKind mirrors LSP CompletionItemKind.
const ( CompletionKind_COMPLETION_KIND_UNKNOWN CompletionKind = 0 CompletionKind_COMPLETION_KIND_TEXT CompletionKind = 1 CompletionKind_COMPLETION_KIND_METHOD CompletionKind = 2 CompletionKind_COMPLETION_KIND_FUNCTION CompletionKind = 3 CompletionKind_COMPLETION_KIND_CONSTRUCTOR CompletionKind = 4 CompletionKind_COMPLETION_KIND_FIELD CompletionKind = 5 CompletionKind_COMPLETION_KIND_VARIABLE CompletionKind = 6 CompletionKind_COMPLETION_KIND_CLASS CompletionKind = 7 CompletionKind_COMPLETION_KIND_INTERFACE CompletionKind = 8 CompletionKind_COMPLETION_KIND_MODULE CompletionKind = 9 CompletionKind_COMPLETION_KIND_PROPERTY CompletionKind = 10 CompletionKind_COMPLETION_KIND_UNIT CompletionKind = 11 CompletionKind_COMPLETION_KIND_VALUE CompletionKind = 12 CompletionKind_COMPLETION_KIND_ENUM CompletionKind = 13 CompletionKind_COMPLETION_KIND_KEYWORD CompletionKind = 14 CompletionKind_COMPLETION_KIND_SNIPPET CompletionKind = 15 CompletionKind_COMPLETION_KIND_COLOR CompletionKind = 16 CompletionKind_COMPLETION_KIND_FILE CompletionKind = 17 CompletionKind_COMPLETION_KIND_REFERENCE CompletionKind = 18 CompletionKind_COMPLETION_KIND_FOLDER CompletionKind = 19 CompletionKind_COMPLETION_KIND_ENUM_MEMBER CompletionKind = 20 CompletionKind_COMPLETION_KIND_CONSTANT CompletionKind = 21 CompletionKind_COMPLETION_KIND_STRUCT CompletionKind = 22 CompletionKind_COMPLETION_KIND_EVENT CompletionKind = 23 CompletionKind_COMPLETION_KIND_OPERATOR CompletionKind = 24 CompletionKind_COMPLETION_KIND_TYPE_PARAMETER CompletionKind = 25 )
func (CompletionKind) Descriptor ¶
func (CompletionKind) Descriptor() protoreflect.EnumDescriptor
func (CompletionKind) Enum ¶
func (x CompletionKind) Enum() *CompletionKind
func (CompletionKind) EnumDescriptor
deprecated
func (CompletionKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionKind.Descriptor instead.
func (CompletionKind) Number ¶
func (x CompletionKind) Number() protoreflect.EnumNumber
func (CompletionKind) String ¶
func (x CompletionKind) String() string
func (CompletionKind) Type ¶
func (CompletionKind) Type() protoreflect.EnumType
type CreateFileRequest ¶
type CreateFileRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
Overwrite bool `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` // if true, overwrite existing file
// contains filtered or unexported fields
}
CreateFile creates a new file. Fails if the file already exists unless overwrite is set.
func (*CreateFileRequest) Descriptor
deprecated
func (*CreateFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileRequest.ProtoReflect.Descriptor instead.
func (*CreateFileRequest) GetContent ¶
func (x *CreateFileRequest) GetContent() string
func (*CreateFileRequest) GetOverwrite ¶
func (x *CreateFileRequest) GetOverwrite() bool
func (*CreateFileRequest) GetPath ¶
func (x *CreateFileRequest) GetPath() string
func (*CreateFileRequest) ProtoMessage ¶
func (*CreateFileRequest) ProtoMessage()
func (*CreateFileRequest) ProtoReflect ¶
func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
func (*CreateFileRequest) Reset ¶
func (x *CreateFileRequest) Reset()
func (*CreateFileRequest) String ¶
func (x *CreateFileRequest) String() string
type CreateFileResponse ¶
type CreateFileResponse 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 (*CreateFileResponse) Descriptor
deprecated
func (*CreateFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileResponse.ProtoReflect.Descriptor instead.
func (*CreateFileResponse) GetError ¶
func (x *CreateFileResponse) GetError() string
func (*CreateFileResponse) GetSuccess ¶
func (x *CreateFileResponse) GetSuccess() bool
func (*CreateFileResponse) ProtoMessage ¶
func (*CreateFileResponse) ProtoMessage()
func (*CreateFileResponse) ProtoReflect ¶
func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
func (*CreateFileResponse) Reset ¶
func (x *CreateFileResponse) Reset()
func (*CreateFileResponse) String ¶
func (x *CreateFileResponse) String() string
type DeleteFileRequest ¶
type DeleteFileRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
// contains filtered or unexported fields
}
DeleteFile removes a file from the service's source tree.
func (*DeleteFileRequest) Descriptor
deprecated
func (*DeleteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileRequest) GetPath ¶
func (x *DeleteFileRequest) GetPath() string
func (*DeleteFileRequest) ProtoMessage ¶
func (*DeleteFileRequest) ProtoMessage()
func (*DeleteFileRequest) ProtoReflect ¶
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileRequest) Reset ¶
func (x *DeleteFileRequest) Reset()
func (*DeleteFileRequest) String ¶
func (x *DeleteFileRequest) String() string
type DeleteFileResponse ¶
type DeleteFileResponse 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 (*DeleteFileResponse) Descriptor
deprecated
func (*DeleteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileResponse.ProtoReflect.Descriptor instead.
func (*DeleteFileResponse) GetError ¶
func (x *DeleteFileResponse) GetError() string
func (*DeleteFileResponse) GetSuccess ¶
func (x *DeleteFileResponse) GetSuccess() bool
func (*DeleteFileResponse) ProtoMessage ¶
func (*DeleteFileResponse) ProtoMessage()
func (*DeleteFileResponse) ProtoReflect ¶
func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message
func (*DeleteFileResponse) Reset ¶
func (x *DeleteFileResponse) Reset()
func (*DeleteFileResponse) String ¶
func (x *DeleteFileResponse) String() string
type Dependency ¶
type Dependency struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. "github.com/gin-gonic/gin", "requests"
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // e.g. "v1.9.1", "2.31.0"
Direct bool `protobuf:"varint,3,opt,name=direct,proto3" json:"direct,omitempty"` // true if directly imported (vs transitive)
// contains filtered or unexported fields
}
Dependency represents a package/module dependency.
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetDirect ¶
func (x *Dependency) GetDirect() bool
func (*Dependency) GetName ¶
func (x *Dependency) GetName() string
func (*Dependency) GetVersion ¶
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
type Diagnostic ¶
type Diagnostic struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based line number
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based column number
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
Severity DiagnosticSeverity `protobuf:"varint,7,opt,name=severity,proto3,enum=codefly.services.code.v0.DiagnosticSeverity" json:"severity,omitempty"`
Source string `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` // e.g. "gopls", "pylsp", "typescript"
Code string `protobuf:"bytes,9,opt,name=code,proto3" json:"code,omitempty"` // diagnostic code (e.g. "unusedimport")
// contains filtered or unexported fields
}
Diagnostic represents a compiler error, warning, or hint from the language server.
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetCode ¶
func (x *Diagnostic) GetCode() string
func (*Diagnostic) GetColumn ¶
func (x *Diagnostic) GetColumn() int32
func (*Diagnostic) GetEndColumn ¶
func (x *Diagnostic) GetEndColumn() int32
func (*Diagnostic) GetEndLine ¶
func (x *Diagnostic) GetEndLine() int32
func (*Diagnostic) GetFile ¶
func (x *Diagnostic) GetFile() string
func (*Diagnostic) GetLine ¶
func (x *Diagnostic) GetLine() int32
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() DiagnosticSeverity
func (*Diagnostic) GetSource ¶
func (x *Diagnostic) GetSource() string
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type DiagnosticSeverity ¶
type DiagnosticSeverity int32
DiagnosticSeverity mirrors LSP DiagnosticSeverity.
const ( DiagnosticSeverity_DIAGNOSTIC_SEVERITY_UNKNOWN DiagnosticSeverity = 0 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_ERROR DiagnosticSeverity = 1 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_WARNING DiagnosticSeverity = 2 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_INFORMATION DiagnosticSeverity = 3 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_HINT DiagnosticSeverity = 4 )
func (DiagnosticSeverity) Descriptor ¶
func (DiagnosticSeverity) Descriptor() protoreflect.EnumDescriptor
func (DiagnosticSeverity) Enum ¶
func (x DiagnosticSeverity) Enum() *DiagnosticSeverity
func (DiagnosticSeverity) EnumDescriptor
deprecated
func (DiagnosticSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiagnosticSeverity.Descriptor instead.
func (DiagnosticSeverity) Number ¶
func (x DiagnosticSeverity) Number() protoreflect.EnumNumber
func (DiagnosticSeverity) String ¶
func (x DiagnosticSeverity) String() string
func (DiagnosticSeverity) Type ¶
func (DiagnosticSeverity) Type() protoreflect.EnumType
type FileInfo ¶
type FileInfo struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
IsDirectory bool `protobuf:"varint,3,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"`
// contains filtered or unexported fields
}
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetIsDirectory ¶
func (*FileInfo) GetSizeBytes ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FindReferencesRequest ¶
type FindReferencesRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based
// contains filtered or unexported fields
}
FindReferences finds all usages of a symbol at a given position.
func (*FindReferencesRequest) Descriptor
deprecated
func (*FindReferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindReferencesRequest.ProtoReflect.Descriptor instead.
func (*FindReferencesRequest) GetColumn ¶
func (x *FindReferencesRequest) GetColumn() int32
func (*FindReferencesRequest) GetFile ¶
func (x *FindReferencesRequest) GetFile() string
func (*FindReferencesRequest) GetLine ¶
func (x *FindReferencesRequest) GetLine() int32
func (*FindReferencesRequest) ProtoMessage ¶
func (*FindReferencesRequest) ProtoMessage()
func (*FindReferencesRequest) ProtoReflect ¶
func (x *FindReferencesRequest) ProtoReflect() protoreflect.Message
func (*FindReferencesRequest) Reset ¶
func (x *FindReferencesRequest) Reset()
func (*FindReferencesRequest) String ¶
func (x *FindReferencesRequest) String() string
type FindReferencesResponse ¶
type FindReferencesResponse struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// contains filtered or unexported fields
}
func (*FindReferencesResponse) Descriptor
deprecated
func (*FindReferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindReferencesResponse.ProtoReflect.Descriptor instead.
func (*FindReferencesResponse) GetLocations ¶
func (x *FindReferencesResponse) GetLocations() []*Location
func (*FindReferencesResponse) ProtoMessage ¶
func (*FindReferencesResponse) ProtoMessage()
func (*FindReferencesResponse) ProtoReflect ¶
func (x *FindReferencesResponse) ProtoReflect() protoreflect.Message
func (*FindReferencesResponse) Reset ¶
func (x *FindReferencesResponse) Reset()
func (*FindReferencesResponse) String ¶
func (x *FindReferencesResponse) String() string
type FixRequest ¶
type FixRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path within the service
// contains filtered or unexported fields
}
FixRequest asks the agent to run language-specific fixers on a file. For Go: goimports + gofmt. For Python: ruff/isort + black. For TS: prettier.
func (*FixRequest) Descriptor
deprecated
func (*FixRequest) Descriptor() ([]byte, []int)
Deprecated: Use FixRequest.ProtoReflect.Descriptor instead.
func (*FixRequest) GetFile ¶
func (x *FixRequest) GetFile() string
func (*FixRequest) ProtoMessage ¶
func (*FixRequest) ProtoMessage()
func (*FixRequest) ProtoReflect ¶
func (x *FixRequest) ProtoReflect() protoreflect.Message
func (*FixRequest) Reset ¶
func (x *FixRequest) Reset()
func (*FixRequest) String ¶
func (x *FixRequest) String() string
type FixResponse ¶
type FixResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // the fixed file content (empty if unchanged)
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // non-fatal: fixer not available, etc.
Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // what was done: "goimports", "gofmt", etc.
// contains filtered or unexported fields
}
func (*FixResponse) Descriptor
deprecated
func (*FixResponse) Descriptor() ([]byte, []int)
Deprecated: Use FixResponse.ProtoReflect.Descriptor instead.
func (*FixResponse) GetActions ¶
func (x *FixResponse) GetActions() []string
func (*FixResponse) GetContent ¶
func (x *FixResponse) GetContent() string
func (*FixResponse) GetError ¶
func (x *FixResponse) GetError() string
func (*FixResponse) GetSuccess ¶
func (x *FixResponse) GetSuccess() bool
func (*FixResponse) ProtoMessage ¶
func (*FixResponse) ProtoMessage()
func (*FixResponse) ProtoReflect ¶
func (x *FixResponse) ProtoReflect() protoreflect.Message
func (*FixResponse) Reset ¶
func (x *FixResponse) Reset()
func (*FixResponse) String ¶
func (x *FixResponse) String() string
type GetCallGraphRequest ¶
type GetCallGraphRequest struct {
Algorithm string `protobuf:"bytes,1,opt,name=algorithm,proto3" json:"algorithm,omitempty"` // "vta" (default), "cha", "rta"
// contains filtered or unexported fields
}
GetCallGraph computes the entire call graph and interface implementations for the project using whole-program analysis (VTA for Go).
func (*GetCallGraphRequest) Descriptor
deprecated
func (*GetCallGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCallGraphRequest.ProtoReflect.Descriptor instead.
func (*GetCallGraphRequest) GetAlgorithm ¶
func (x *GetCallGraphRequest) GetAlgorithm() string
func (*GetCallGraphRequest) ProtoMessage ¶
func (*GetCallGraphRequest) ProtoMessage()
func (*GetCallGraphRequest) ProtoReflect ¶
func (x *GetCallGraphRequest) ProtoReflect() protoreflect.Message
func (*GetCallGraphRequest) Reset ¶
func (x *GetCallGraphRequest) Reset()
func (*GetCallGraphRequest) String ¶
func (x *GetCallGraphRequest) String() string
type GetCallGraphResponse ¶
type GetCallGraphResponse struct {
Calls []*CallEdge `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
Implements []*ImplementsEdge `protobuf:"bytes,2,rep,name=implements,proto3" json:"implements,omitempty"`
FunctionsAnalyzed int32 `protobuf:"varint,3,opt,name=functions_analyzed,json=functionsAnalyzed,proto3" json:"functions_analyzed,omitempty"`
AlgorithmUsed string `protobuf:"bytes,4,opt,name=algorithm_used,json=algorithmUsed,proto3" json:"algorithm_used,omitempty"`
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GetCallGraphResponse) Descriptor
deprecated
func (*GetCallGraphResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCallGraphResponse.ProtoReflect.Descriptor instead.
func (*GetCallGraphResponse) GetAlgorithmUsed ¶
func (x *GetCallGraphResponse) GetAlgorithmUsed() string
func (*GetCallGraphResponse) GetCalls ¶
func (x *GetCallGraphResponse) GetCalls() []*CallEdge
func (*GetCallGraphResponse) GetError ¶
func (x *GetCallGraphResponse) GetError() string
func (*GetCallGraphResponse) GetFunctionsAnalyzed ¶
func (x *GetCallGraphResponse) GetFunctionsAnalyzed() int32
func (*GetCallGraphResponse) GetImplements ¶
func (x *GetCallGraphResponse) GetImplements() []*ImplementsEdge
func (*GetCallGraphResponse) ProtoMessage ¶
func (*GetCallGraphResponse) ProtoMessage()
func (*GetCallGraphResponse) ProtoReflect ¶
func (x *GetCallGraphResponse) ProtoReflect() protoreflect.Message
func (*GetCallGraphResponse) Reset ¶
func (x *GetCallGraphResponse) Reset()
func (*GetCallGraphResponse) String ¶
func (x *GetCallGraphResponse) String() string
type GetCompletionsRequest ¶
type GetCompletionsRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based
// contains filtered or unexported fields
}
GetCompletions returns context-aware code completions at a position.
func (*GetCompletionsRequest) Descriptor
deprecated
func (*GetCompletionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompletionsRequest.ProtoReflect.Descriptor instead.
func (*GetCompletionsRequest) GetColumn ¶
func (x *GetCompletionsRequest) GetColumn() int32
func (*GetCompletionsRequest) GetFile ¶
func (x *GetCompletionsRequest) GetFile() string
func (*GetCompletionsRequest) GetLine ¶
func (x *GetCompletionsRequest) GetLine() int32
func (*GetCompletionsRequest) ProtoMessage ¶
func (*GetCompletionsRequest) ProtoMessage()
func (*GetCompletionsRequest) ProtoReflect ¶
func (x *GetCompletionsRequest) ProtoReflect() protoreflect.Message
func (*GetCompletionsRequest) Reset ¶
func (x *GetCompletionsRequest) Reset()
func (*GetCompletionsRequest) String ¶
func (x *GetCompletionsRequest) String() string
type GetCompletionsResponse ¶
type GetCompletionsResponse struct {
Items []*CompletionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
IsIncomplete bool `protobuf:"varint,2,opt,name=is_incomplete,json=isIncomplete,proto3" json:"is_incomplete,omitempty"` // if true, further typing may refine results
// contains filtered or unexported fields
}
func (*GetCompletionsResponse) Descriptor
deprecated
func (*GetCompletionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCompletionsResponse.ProtoReflect.Descriptor instead.
func (*GetCompletionsResponse) GetIsIncomplete ¶
func (x *GetCompletionsResponse) GetIsIncomplete() bool
func (*GetCompletionsResponse) GetItems ¶
func (x *GetCompletionsResponse) GetItems() []*CompletionItem
func (*GetCompletionsResponse) ProtoMessage ¶
func (*GetCompletionsResponse) ProtoMessage()
func (*GetCompletionsResponse) ProtoReflect ¶
func (x *GetCompletionsResponse) ProtoReflect() protoreflect.Message
func (*GetCompletionsResponse) Reset ¶
func (x *GetCompletionsResponse) Reset()
func (*GetCompletionsResponse) String ¶
func (x *GetCompletionsResponse) String() string
type GetDiagnosticsRequest ¶
type GetDiagnosticsRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // optional: restrict to a single file; empty = all files
// contains filtered or unexported fields
}
GetDiagnostics returns compiler/linter diagnostics from the language server.
func (*GetDiagnosticsRequest) Descriptor
deprecated
func (*GetDiagnosticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDiagnosticsRequest.ProtoReflect.Descriptor instead.
func (*GetDiagnosticsRequest) GetFile ¶
func (x *GetDiagnosticsRequest) GetFile() string
func (*GetDiagnosticsRequest) ProtoMessage ¶
func (*GetDiagnosticsRequest) ProtoMessage()
func (*GetDiagnosticsRequest) ProtoReflect ¶
func (x *GetDiagnosticsRequest) ProtoReflect() protoreflect.Message
func (*GetDiagnosticsRequest) Reset ¶
func (x *GetDiagnosticsRequest) Reset()
func (*GetDiagnosticsRequest) String ¶
func (x *GetDiagnosticsRequest) String() string
type GetDiagnosticsResponse ¶
type GetDiagnosticsResponse struct {
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
func (*GetDiagnosticsResponse) Descriptor
deprecated
func (*GetDiagnosticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDiagnosticsResponse.ProtoReflect.Descriptor instead.
func (*GetDiagnosticsResponse) GetDiagnostics ¶
func (x *GetDiagnosticsResponse) GetDiagnostics() []*Diagnostic
func (*GetDiagnosticsResponse) ProtoMessage ¶
func (*GetDiagnosticsResponse) ProtoMessage()
func (*GetDiagnosticsResponse) ProtoReflect ¶
func (x *GetDiagnosticsResponse) ProtoReflect() protoreflect.Message
func (*GetDiagnosticsResponse) Reset ¶
func (x *GetDiagnosticsResponse) Reset()
func (*GetDiagnosticsResponse) String ¶
func (x *GetDiagnosticsResponse) String() string
type GetHoverInfoRequest ¶
type GetHoverInfoRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based
// contains filtered or unexported fields
}
GetHoverInfo returns type information and documentation at a position.
func (*GetHoverInfoRequest) Descriptor
deprecated
func (*GetHoverInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHoverInfoRequest.ProtoReflect.Descriptor instead.
func (*GetHoverInfoRequest) GetColumn ¶
func (x *GetHoverInfoRequest) GetColumn() int32
func (*GetHoverInfoRequest) GetFile ¶
func (x *GetHoverInfoRequest) GetFile() string
func (*GetHoverInfoRequest) GetLine ¶
func (x *GetHoverInfoRequest) GetLine() int32
func (*GetHoverInfoRequest) ProtoMessage ¶
func (*GetHoverInfoRequest) ProtoMessage()
func (*GetHoverInfoRequest) ProtoReflect ¶
func (x *GetHoverInfoRequest) ProtoReflect() protoreflect.Message
func (*GetHoverInfoRequest) Reset ¶
func (x *GetHoverInfoRequest) Reset()
func (*GetHoverInfoRequest) String ¶
func (x *GetHoverInfoRequest) String() string
type GetHoverInfoResponse ¶
type GetHoverInfoResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // the hover content (may contain markdown)
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // language hint for code blocks (e.g. "go")
Range *Location `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"` // the range the hover applies to
// contains filtered or unexported fields
}
func (*GetHoverInfoResponse) Descriptor
deprecated
func (*GetHoverInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHoverInfoResponse.ProtoReflect.Descriptor instead.
func (*GetHoverInfoResponse) GetContent ¶
func (x *GetHoverInfoResponse) GetContent() string
func (*GetHoverInfoResponse) GetLanguage ¶
func (x *GetHoverInfoResponse) GetLanguage() string
func (*GetHoverInfoResponse) GetRange ¶
func (x *GetHoverInfoResponse) GetRange() *Location
func (*GetHoverInfoResponse) ProtoMessage ¶
func (*GetHoverInfoResponse) ProtoMessage()
func (*GetHoverInfoResponse) ProtoReflect ¶
func (x *GetHoverInfoResponse) ProtoReflect() protoreflect.Message
func (*GetHoverInfoResponse) Reset ¶
func (x *GetHoverInfoResponse) Reset()
func (*GetHoverInfoResponse) String ¶
func (x *GetHoverInfoResponse) String() string
type GetProjectInfoRequest ¶
type GetProjectInfoRequest struct {
// contains filtered or unexported fields
}
GetProjectInfo returns rich, language-specific project metadata.
func (*GetProjectInfoRequest) Descriptor
deprecated
func (*GetProjectInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoRequest.ProtoReflect.Descriptor instead.
func (*GetProjectInfoRequest) ProtoMessage ¶
func (*GetProjectInfoRequest) ProtoMessage()
func (*GetProjectInfoRequest) ProtoReflect ¶
func (x *GetProjectInfoRequest) ProtoReflect() protoreflect.Message
func (*GetProjectInfoRequest) Reset ¶
func (x *GetProjectInfoRequest) Reset()
func (*GetProjectInfoRequest) String ¶
func (x *GetProjectInfoRequest) String() string
type GetProjectInfoResponse ¶
type GetProjectInfoResponse struct {
Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // e.g. "github.com/codefly-dev/mind"
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // e.g. "go"
LanguageVersion string `protobuf:"bytes,3,opt,name=language_version,json=languageVersion,proto3" json:"language_version,omitempty"` // e.g. "1.25"
Packages []*PackageInfo `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"` // package structure
Dependencies []*Dependency `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // reuse existing Dependency message
FileHashes map[string]string `` // path -> SHA-256 for change detection
/* 165-byte string literal not displayed */
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GetProjectInfoResponse) Descriptor
deprecated
func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoResponse.ProtoReflect.Descriptor instead.
func (*GetProjectInfoResponse) GetDependencies ¶
func (x *GetProjectInfoResponse) GetDependencies() []*Dependency
func (*GetProjectInfoResponse) GetError ¶
func (x *GetProjectInfoResponse) GetError() string
func (*GetProjectInfoResponse) GetFileHashes ¶
func (x *GetProjectInfoResponse) GetFileHashes() map[string]string
func (*GetProjectInfoResponse) GetLanguage ¶
func (x *GetProjectInfoResponse) GetLanguage() string
func (*GetProjectInfoResponse) GetLanguageVersion ¶
func (x *GetProjectInfoResponse) GetLanguageVersion() string
func (*GetProjectInfoResponse) GetModule ¶
func (x *GetProjectInfoResponse) GetModule() string
func (*GetProjectInfoResponse) GetPackages ¶
func (x *GetProjectInfoResponse) GetPackages() []*PackageInfo
func (*GetProjectInfoResponse) ProtoMessage ¶
func (*GetProjectInfoResponse) ProtoMessage()
func (*GetProjectInfoResponse) ProtoReflect ¶
func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
func (*GetProjectInfoResponse) Reset ¶
func (x *GetProjectInfoResponse) Reset()
func (*GetProjectInfoResponse) String ¶
func (x *GetProjectInfoResponse) String() string
type GitBlameLine ¶
type GitBlameLine struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // commit SHA
Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // ISO 8601
Line int32 `protobuf:"varint,4,opt,name=line,proto3" json:"line,omitempty"` // 1-based line number
Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` // the line content
// contains filtered or unexported fields
}
func (*GitBlameLine) Descriptor
deprecated
func (*GitBlameLine) Descriptor() ([]byte, []int)
Deprecated: Use GitBlameLine.ProtoReflect.Descriptor instead.
func (*GitBlameLine) GetAuthor ¶
func (x *GitBlameLine) GetAuthor() string
func (*GitBlameLine) GetContent ¶
func (x *GitBlameLine) GetContent() string
func (*GitBlameLine) GetDate ¶
func (x *GitBlameLine) GetDate() string
func (*GitBlameLine) GetHash ¶
func (x *GitBlameLine) GetHash() string
func (*GitBlameLine) GetLine ¶
func (x *GitBlameLine) GetLine() int32
func (*GitBlameLine) ProtoMessage ¶
func (*GitBlameLine) ProtoMessage()
func (*GitBlameLine) ProtoReflect ¶
func (x *GitBlameLine) ProtoReflect() protoreflect.Message
func (*GitBlameLine) Reset ¶
func (x *GitBlameLine) Reset()
func (*GitBlameLine) String ¶
func (x *GitBlameLine) String() string
type GitBlameRequest ¶
type GitBlameRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
StartLine int32 `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` // optional: 1-based start line (0 = from beginning)
EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` // optional: 1-based end line (0 = to end)
// contains filtered or unexported fields
}
GitBlameRequest returns per-line blame information for a file.
func (*GitBlameRequest) Descriptor
deprecated
func (*GitBlameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitBlameRequest.ProtoReflect.Descriptor instead.
func (*GitBlameRequest) GetEndLine ¶
func (x *GitBlameRequest) GetEndLine() int32
func (*GitBlameRequest) GetPath ¶
func (x *GitBlameRequest) GetPath() string
func (*GitBlameRequest) GetStartLine ¶
func (x *GitBlameRequest) GetStartLine() int32
func (*GitBlameRequest) ProtoMessage ¶
func (*GitBlameRequest) ProtoMessage()
func (*GitBlameRequest) ProtoReflect ¶
func (x *GitBlameRequest) ProtoReflect() protoreflect.Message
func (*GitBlameRequest) Reset ¶
func (x *GitBlameRequest) Reset()
func (*GitBlameRequest) String ¶
func (x *GitBlameRequest) String() string
type GitBlameResponse ¶
type GitBlameResponse struct {
Lines []*GitBlameLine `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GitBlameResponse) Descriptor
deprecated
func (*GitBlameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitBlameResponse.ProtoReflect.Descriptor instead.
func (*GitBlameResponse) GetError ¶
func (x *GitBlameResponse) GetError() string
func (*GitBlameResponse) GetLines ¶
func (x *GitBlameResponse) GetLines() []*GitBlameLine
func (*GitBlameResponse) ProtoMessage ¶
func (*GitBlameResponse) ProtoMessage()
func (*GitBlameResponse) ProtoReflect ¶
func (x *GitBlameResponse) ProtoReflect() protoreflect.Message
func (*GitBlameResponse) Reset ¶
func (x *GitBlameResponse) Reset()
func (*GitBlameResponse) String ¶
func (x *GitBlameResponse) String() string
type GitCommit ¶
type GitCommit struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // full SHA
ShortHash string `protobuf:"bytes,2,opt,name=short_hash,json=shortHash,proto3" json:"short_hash,omitempty"` // abbreviated SHA
Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` // ISO 8601
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // first line of commit message
FilesChanged int32 `protobuf:"varint,6,opt,name=files_changed,json=filesChanged,proto3" json:"files_changed,omitempty"`
// contains filtered or unexported fields
}
func (*GitCommit) Descriptor
deprecated
func (*GitCommit) GetFilesChanged ¶
func (*GitCommit) GetMessage ¶
func (*GitCommit) GetShortHash ¶
func (*GitCommit) ProtoMessage ¶
func (*GitCommit) ProtoMessage()
func (*GitCommit) ProtoReflect ¶
func (x *GitCommit) ProtoReflect() protoreflect.Message
type GitDiffFile ¶
type GitDiffFile struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // "added", "modified", "deleted", "renamed"
// contains filtered or unexported fields
}
func (*GitDiffFile) Descriptor
deprecated
func (*GitDiffFile) Descriptor() ([]byte, []int)
Deprecated: Use GitDiffFile.ProtoReflect.Descriptor instead.
func (*GitDiffFile) GetAdditions ¶
func (x *GitDiffFile) GetAdditions() int32
func (*GitDiffFile) GetDeletions ¶
func (x *GitDiffFile) GetDeletions() int32
func (*GitDiffFile) GetPath ¶
func (x *GitDiffFile) GetPath() string
func (*GitDiffFile) GetStatus ¶
func (x *GitDiffFile) GetStatus() string
func (*GitDiffFile) ProtoMessage ¶
func (*GitDiffFile) ProtoMessage()
func (*GitDiffFile) ProtoReflect ¶
func (x *GitDiffFile) ProtoReflect() protoreflect.Message
func (*GitDiffFile) Reset ¶
func (x *GitDiffFile) Reset()
func (*GitDiffFile) String ¶
func (x *GitDiffFile) String() string
type GitDiffRequest ¶
type GitDiffRequest struct {
BaseRef string `protobuf:"bytes,1,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"` // e.g. "HEAD~3", a commit SHA, or empty for working tree
HeadRef string `protobuf:"bytes,2,opt,name=head_ref,json=headRef,proto3" json:"head_ref,omitempty"` // e.g. "HEAD" or empty for working tree
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // optional: restrict to a specific file or directory
StatOnly bool `protobuf:"varint,4,opt,name=stat_only,json=statOnly,proto3" json:"stat_only,omitempty"` // if true, return only file stats (no diff text)
ContextLines int32 `protobuf:"varint,5,opt,name=context_lines,json=contextLines,proto3" json:"context_lines,omitempty"` // lines of context around changes (default: 3)
// contains filtered or unexported fields
}
GitDiffRequest returns a unified diff between two refs or the working tree.
func (*GitDiffRequest) Descriptor
deprecated
func (*GitDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitDiffRequest.ProtoReflect.Descriptor instead.
func (*GitDiffRequest) GetBaseRef ¶
func (x *GitDiffRequest) GetBaseRef() string
func (*GitDiffRequest) GetContextLines ¶
func (x *GitDiffRequest) GetContextLines() int32
func (*GitDiffRequest) GetHeadRef ¶
func (x *GitDiffRequest) GetHeadRef() string
func (*GitDiffRequest) GetPath ¶
func (x *GitDiffRequest) GetPath() string
func (*GitDiffRequest) GetStatOnly ¶
func (x *GitDiffRequest) GetStatOnly() bool
func (*GitDiffRequest) ProtoMessage ¶
func (*GitDiffRequest) ProtoMessage()
func (*GitDiffRequest) ProtoReflect ¶
func (x *GitDiffRequest) ProtoReflect() protoreflect.Message
func (*GitDiffRequest) Reset ¶
func (x *GitDiffRequest) Reset()
func (*GitDiffRequest) String ¶
func (x *GitDiffRequest) String() string
type GitDiffResponse ¶
type GitDiffResponse struct {
Diff string `protobuf:"bytes,1,opt,name=diff,proto3" json:"diff,omitempty"` // unified diff text (empty if stat_only)
Files []*GitDiffFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GitDiffResponse) Descriptor
deprecated
func (*GitDiffResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitDiffResponse.ProtoReflect.Descriptor instead.
func (*GitDiffResponse) GetDiff ¶
func (x *GitDiffResponse) GetDiff() string
func (*GitDiffResponse) GetError ¶
func (x *GitDiffResponse) GetError() string
func (*GitDiffResponse) GetFiles ¶
func (x *GitDiffResponse) GetFiles() []*GitDiffFile
func (*GitDiffResponse) ProtoMessage ¶
func (*GitDiffResponse) ProtoMessage()
func (*GitDiffResponse) ProtoReflect ¶
func (x *GitDiffResponse) ProtoReflect() protoreflect.Message
func (*GitDiffResponse) Reset ¶
func (x *GitDiffResponse) Reset()
func (*GitDiffResponse) String ¶
func (x *GitDiffResponse) String() string
type GitLogRequest ¶
type GitLogRequest struct {
MaxCount int32 `protobuf:"varint,1,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // 0 = default (50)
Since string `protobuf:"bytes,2,opt,name=since,proto3" json:"since,omitempty"` // optional: ISO date or relative (e.g. "2 weeks ago")
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // optional: restrict to commits touching this path
Ref string `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"` // optional: branch/tag/ref (default: HEAD)
// contains filtered or unexported fields
}
GitLogRequest returns recent commit history.
func (*GitLogRequest) Descriptor
deprecated
func (*GitLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitLogRequest.ProtoReflect.Descriptor instead.
func (*GitLogRequest) GetMaxCount ¶
func (x *GitLogRequest) GetMaxCount() int32
func (*GitLogRequest) GetPath ¶
func (x *GitLogRequest) GetPath() string
func (*GitLogRequest) GetRef ¶
func (x *GitLogRequest) GetRef() string
func (*GitLogRequest) GetSince ¶
func (x *GitLogRequest) GetSince() string
func (*GitLogRequest) ProtoMessage ¶
func (*GitLogRequest) ProtoMessage()
func (*GitLogRequest) ProtoReflect ¶
func (x *GitLogRequest) ProtoReflect() protoreflect.Message
func (*GitLogRequest) Reset ¶
func (x *GitLogRequest) Reset()
func (*GitLogRequest) String ¶
func (x *GitLogRequest) String() string
type GitLogResponse ¶
type GitLogResponse struct {
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GitLogResponse) Descriptor
deprecated
func (*GitLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitLogResponse.ProtoReflect.Descriptor instead.
func (*GitLogResponse) GetCommits ¶
func (x *GitLogResponse) GetCommits() []*GitCommit
func (*GitLogResponse) GetError ¶
func (x *GitLogResponse) GetError() string
func (*GitLogResponse) ProtoMessage ¶
func (*GitLogResponse) ProtoMessage()
func (*GitLogResponse) ProtoReflect ¶
func (x *GitLogResponse) ProtoReflect() protoreflect.Message
func (*GitLogResponse) Reset ¶
func (x *GitLogResponse) Reset()
func (*GitLogResponse) String ¶
func (x *GitLogResponse) String() string
type GitShowRequest ¶
type GitShowRequest struct {
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // commit hash, branch, tag (e.g. "HEAD~5", "abc123")
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
// contains filtered or unexported fields
}
GitShowRequest returns file content at a specific git ref.
func (*GitShowRequest) Descriptor
deprecated
func (*GitShowRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitShowRequest.ProtoReflect.Descriptor instead.
func (*GitShowRequest) GetPath ¶
func (x *GitShowRequest) GetPath() string
func (*GitShowRequest) GetRef ¶
func (x *GitShowRequest) GetRef() string
func (*GitShowRequest) ProtoMessage ¶
func (*GitShowRequest) ProtoMessage()
func (*GitShowRequest) ProtoReflect ¶
func (x *GitShowRequest) ProtoReflect() protoreflect.Message
func (*GitShowRequest) Reset ¶
func (x *GitShowRequest) Reset()
func (*GitShowRequest) String ¶
func (x *GitShowRequest) String() string
type GitShowResponse ¶
type GitShowResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // false if the file didn't exist at that ref
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GitShowResponse) Descriptor
deprecated
func (*GitShowResponse) Descriptor() ([]byte, []int)
Deprecated: Use GitShowResponse.ProtoReflect.Descriptor instead.
func (*GitShowResponse) GetContent ¶
func (x *GitShowResponse) GetContent() string
func (*GitShowResponse) GetError ¶
func (x *GitShowResponse) GetError() string
func (*GitShowResponse) GetExists ¶
func (x *GitShowResponse) GetExists() bool
func (*GitShowResponse) ProtoMessage ¶
func (*GitShowResponse) ProtoMessage()
func (*GitShowResponse) ProtoReflect ¶
func (x *GitShowResponse) ProtoReflect() protoreflect.Message
func (*GitShowResponse) Reset ¶
func (x *GitShowResponse) Reset()
func (*GitShowResponse) String ¶
func (x *GitShowResponse) String() string
type GoToDefinitionRequest ¶
type GoToDefinitionRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based
// contains filtered or unexported fields
}
GoToDefinition finds where a symbol at a given position is defined.
func (*GoToDefinitionRequest) Descriptor
deprecated
func (*GoToDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GoToDefinitionRequest.ProtoReflect.Descriptor instead.
func (*GoToDefinitionRequest) GetColumn ¶
func (x *GoToDefinitionRequest) GetColumn() int32
func (*GoToDefinitionRequest) GetFile ¶
func (x *GoToDefinitionRequest) GetFile() string
func (*GoToDefinitionRequest) GetLine ¶
func (x *GoToDefinitionRequest) GetLine() int32
func (*GoToDefinitionRequest) ProtoMessage ¶
func (*GoToDefinitionRequest) ProtoMessage()
func (*GoToDefinitionRequest) ProtoReflect ¶
func (x *GoToDefinitionRequest) ProtoReflect() protoreflect.Message
func (*GoToDefinitionRequest) Reset ¶
func (x *GoToDefinitionRequest) Reset()
func (*GoToDefinitionRequest) String ¶
func (x *GoToDefinitionRequest) String() string
type GoToDefinitionResponse ¶
type GoToDefinitionResponse struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// contains filtered or unexported fields
}
func (*GoToDefinitionResponse) Descriptor
deprecated
func (*GoToDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GoToDefinitionResponse.ProtoReflect.Descriptor instead.
func (*GoToDefinitionResponse) GetLocations ¶
func (x *GoToDefinitionResponse) GetLocations() []*Location
func (*GoToDefinitionResponse) ProtoMessage ¶
func (*GoToDefinitionResponse) ProtoMessage()
func (*GoToDefinitionResponse) ProtoReflect ¶
func (x *GoToDefinitionResponse) ProtoReflect() protoreflect.Message
func (*GoToDefinitionResponse) Reset ¶
func (x *GoToDefinitionResponse) Reset()
func (*GoToDefinitionResponse) String ¶
func (x *GoToDefinitionResponse) String() string
type ImplementsEdge ¶
type ImplementsEdge struct {
TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // qualified name of the concrete type
InterfaceId string `protobuf:"bytes,2,opt,name=interface_id,json=interfaceId,proto3" json:"interface_id,omitempty"` // qualified name of the interface
// contains filtered or unexported fields
}
ImplementsEdge records that a concrete type implements an interface.
func (*ImplementsEdge) Descriptor
deprecated
func (*ImplementsEdge) Descriptor() ([]byte, []int)
Deprecated: Use ImplementsEdge.ProtoReflect.Descriptor instead.
func (*ImplementsEdge) GetInterfaceId ¶
func (x *ImplementsEdge) GetInterfaceId() string
func (*ImplementsEdge) GetTypeId ¶
func (x *ImplementsEdge) GetTypeId() string
func (*ImplementsEdge) ProtoMessage ¶
func (*ImplementsEdge) ProtoMessage()
func (*ImplementsEdge) ProtoReflect ¶
func (x *ImplementsEdge) ProtoReflect() protoreflect.Message
func (*ImplementsEdge) Reset ¶
func (x *ImplementsEdge) Reset()
func (*ImplementsEdge) String ¶
func (x *ImplementsEdge) String() string
type ListDependenciesRequest ¶
type ListDependenciesRequest struct {
// contains filtered or unexported fields
}
func (*ListDependenciesRequest) Descriptor
deprecated
func (*ListDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDependenciesRequest.ProtoReflect.Descriptor instead.
func (*ListDependenciesRequest) ProtoMessage ¶
func (*ListDependenciesRequest) ProtoMessage()
func (*ListDependenciesRequest) ProtoReflect ¶
func (x *ListDependenciesRequest) ProtoReflect() protoreflect.Message
func (*ListDependenciesRequest) Reset ¶
func (x *ListDependenciesRequest) Reset()
func (*ListDependenciesRequest) String ¶
func (x *ListDependenciesRequest) String() string
type ListDependenciesResponse ¶
type ListDependenciesResponse struct {
Dependencies []*Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ListDependenciesResponse) Descriptor
deprecated
func (*ListDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDependenciesResponse.ProtoReflect.Descriptor instead.
func (*ListDependenciesResponse) GetDependencies ¶
func (x *ListDependenciesResponse) GetDependencies() []*Dependency
func (*ListDependenciesResponse) GetError ¶
func (x *ListDependenciesResponse) GetError() string
func (*ListDependenciesResponse) ProtoMessage ¶
func (*ListDependenciesResponse) ProtoMessage()
func (*ListDependenciesResponse) ProtoReflect ¶
func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message
func (*ListDependenciesResponse) Reset ¶
func (x *ListDependenciesResponse) Reset()
func (*ListDependenciesResponse) String ¶
func (x *ListDependenciesResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // optional: subdirectory (empty = root)
Extensions []string `protobuf:"bytes,2,rep,name=extensions,proto3" json:"extensions,omitempty"` // optional: filter by extension (e.g. ".go", ".py")
Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` // if true, list recursively
// contains filtered or unexported fields
}
func (*ListFilesRequest) Descriptor
deprecated
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) GetExtensions ¶
func (x *ListFilesRequest) GetExtensions() []string
func (*ListFilesRequest) GetPath ¶
func (x *ListFilesRequest) GetPath() string
func (*ListFilesRequest) GetRecursive ¶
func (x *ListFilesRequest) GetRecursive() bool
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect ¶
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset ¶
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (x *ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct {
Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
func (*ListFilesResponse) Descriptor
deprecated
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetFiles ¶
func (x *ListFilesResponse) GetFiles() []*FileInfo
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type ListSymbolsRequest ¶
type ListSymbolsRequest struct {
// Optional: restrict to a single file (relative path). If empty, returns
// symbols for all source files in the service.
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*ListSymbolsRequest) Descriptor
deprecated
func (*ListSymbolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsRequest.ProtoReflect.Descriptor instead.
func (*ListSymbolsRequest) GetFile ¶
func (x *ListSymbolsRequest) GetFile() string
func (*ListSymbolsRequest) ProtoMessage ¶
func (*ListSymbolsRequest) ProtoMessage()
func (*ListSymbolsRequest) ProtoReflect ¶
func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
func (*ListSymbolsRequest) Reset ¶
func (x *ListSymbolsRequest) Reset()
func (*ListSymbolsRequest) String ¶
func (x *ListSymbolsRequest) String() string
type ListSymbolsResponse ¶
type ListSymbolsResponse struct {
Status *ListSymbolsStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Symbols []*Symbol `protobuf:"bytes,2,rep,name=symbols,proto3" json:"symbols,omitempty"`
// contains filtered or unexported fields
}
func (*ListSymbolsResponse) Descriptor
deprecated
func (*ListSymbolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsResponse.ProtoReflect.Descriptor instead.
func (*ListSymbolsResponse) GetStatus ¶
func (x *ListSymbolsResponse) GetStatus() *ListSymbolsStatus
func (*ListSymbolsResponse) GetSymbols ¶
func (x *ListSymbolsResponse) GetSymbols() []*Symbol
func (*ListSymbolsResponse) ProtoMessage ¶
func (*ListSymbolsResponse) ProtoMessage()
func (*ListSymbolsResponse) ProtoReflect ¶
func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
func (*ListSymbolsResponse) Reset ¶
func (x *ListSymbolsResponse) Reset()
func (*ListSymbolsResponse) String ¶
func (x *ListSymbolsResponse) String() string
type ListSymbolsStatus ¶
type ListSymbolsStatus struct {
State ListSymbolsStatus_Status `protobuf:"varint,1,opt,name=state,proto3,enum=codefly.services.code.v0.ListSymbolsStatus_Status" json:"state,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ListSymbolsStatus) Descriptor
deprecated
func (*ListSymbolsStatus) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsStatus.ProtoReflect.Descriptor instead.
func (*ListSymbolsStatus) GetMessage ¶
func (x *ListSymbolsStatus) GetMessage() string
func (*ListSymbolsStatus) GetState ¶
func (x *ListSymbolsStatus) GetState() ListSymbolsStatus_Status
func (*ListSymbolsStatus) ProtoMessage ¶
func (*ListSymbolsStatus) ProtoMessage()
func (*ListSymbolsStatus) ProtoReflect ¶
func (x *ListSymbolsStatus) ProtoReflect() protoreflect.Message
func (*ListSymbolsStatus) Reset ¶
func (x *ListSymbolsStatus) Reset()
func (*ListSymbolsStatus) String ¶
func (x *ListSymbolsStatus) String() string
type ListSymbolsStatus_Status ¶
type ListSymbolsStatus_Status int32
const ( ListSymbolsStatus_UNKNOWN ListSymbolsStatus_Status = 0 ListSymbolsStatus_SUCCESS ListSymbolsStatus_Status = 1 ListSymbolsStatus_ERROR ListSymbolsStatus_Status = 2 )
func (ListSymbolsStatus_Status) Descriptor ¶
func (ListSymbolsStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (ListSymbolsStatus_Status) Enum ¶
func (x ListSymbolsStatus_Status) Enum() *ListSymbolsStatus_Status
func (ListSymbolsStatus_Status) EnumDescriptor
deprecated
func (ListSymbolsStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListSymbolsStatus_Status.Descriptor instead.
func (ListSymbolsStatus_Status) Number ¶
func (x ListSymbolsStatus_Status) Number() protoreflect.EnumNumber
func (ListSymbolsStatus_Status) String ¶
func (x ListSymbolsStatus_Status) String() string
func (ListSymbolsStatus_Status) Type ¶
func (ListSymbolsStatus_Status) Type() protoreflect.EnumType
type Location ¶
type Location struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // Relative path within the service, e.g. "pkg/handlers/health.go"
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based line number
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based column number
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
// contains filtered or unexported fields
}
Location identifies where a symbol lives in the source code.
func (*Location) Descriptor
deprecated
func (*Location) GetEndColumn ¶
func (*Location) GetEndLine ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type MoveFileRequest ¶
type MoveFileRequest struct {
OldPath string `protobuf:"bytes,1,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` // current relative path
NewPath string `protobuf:"bytes,2,opt,name=new_path,json=newPath,proto3" json:"new_path,omitempty"` // target relative path
UpdateImports bool `protobuf:"varint,3,opt,name=update_imports,json=updateImports,proto3" json:"update_imports,omitempty"` // if true, rewrite imports across the codebase
// contains filtered or unexported fields
}
MoveFile renames or moves a file within the service, optionally updating imports.
func (*MoveFileRequest) Descriptor
deprecated
func (*MoveFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileRequest.ProtoReflect.Descriptor instead.
func (*MoveFileRequest) GetNewPath ¶
func (x *MoveFileRequest) GetNewPath() string
func (*MoveFileRequest) GetOldPath ¶
func (x *MoveFileRequest) GetOldPath() string
func (*MoveFileRequest) GetUpdateImports ¶
func (x *MoveFileRequest) GetUpdateImports() bool
func (*MoveFileRequest) ProtoMessage ¶
func (*MoveFileRequest) ProtoMessage()
func (*MoveFileRequest) ProtoReflect ¶
func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
func (*MoveFileRequest) Reset ¶
func (x *MoveFileRequest) Reset()
func (*MoveFileRequest) String ¶
func (x *MoveFileRequest) String() string
type MoveFileResponse ¶
type MoveFileResponse 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"`
UpdatedFiles []string `protobuf:"bytes,3,rep,name=updated_files,json=updatedFiles,proto3" json:"updated_files,omitempty"` // files whose imports were rewritten
// contains filtered or unexported fields
}
func (*MoveFileResponse) Descriptor
deprecated
func (*MoveFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileResponse.ProtoReflect.Descriptor instead.
func (*MoveFileResponse) GetError ¶
func (x *MoveFileResponse) GetError() string
func (*MoveFileResponse) GetSuccess ¶
func (x *MoveFileResponse) GetSuccess() bool
func (*MoveFileResponse) GetUpdatedFiles ¶
func (x *MoveFileResponse) GetUpdatedFiles() []string
func (*MoveFileResponse) ProtoMessage ¶
func (*MoveFileResponse) ProtoMessage()
func (*MoveFileResponse) ProtoReflect ¶
func (x *MoveFileResponse) ProtoReflect() protoreflect.Message
func (*MoveFileResponse) Reset ¶
func (x *MoveFileResponse) Reset()
func (*MoveFileResponse) String ¶
func (x *MoveFileResponse) String() string
type PackageInfo ¶
type PackageInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. "github.com/codefly-dev/mind/pkg/run"
RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // e.g. "pkg/run"
Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` // Go files in the package
Imports []string `protobuf:"bytes,4,rep,name=imports,proto3" json:"imports,omitempty"` // direct imports
Doc string `protobuf:"bytes,5,opt,name=doc,proto3" json:"doc,omitempty"` // package doc comment
// contains filtered or unexported fields
}
PackageInfo describes a single package/module within the project.
func (*PackageInfo) Descriptor
deprecated
func (*PackageInfo) Descriptor() ([]byte, []int)
Deprecated: Use PackageInfo.ProtoReflect.Descriptor instead.
func (*PackageInfo) GetDoc ¶
func (x *PackageInfo) GetDoc() string
func (*PackageInfo) GetFiles ¶
func (x *PackageInfo) GetFiles() []string
func (*PackageInfo) GetImports ¶
func (x *PackageInfo) GetImports() []string
func (*PackageInfo) GetName ¶
func (x *PackageInfo) GetName() string
func (*PackageInfo) GetRelativePath ¶
func (x *PackageInfo) GetRelativePath() string
func (*PackageInfo) ProtoMessage ¶
func (*PackageInfo) ProtoMessage()
func (*PackageInfo) ProtoReflect ¶
func (x *PackageInfo) ProtoReflect() protoreflect.Message
func (*PackageInfo) Reset ¶
func (x *PackageInfo) Reset()
func (*PackageInfo) String ¶
func (x *PackageInfo) String() string
type ReadFileRequest ¶
type ReadFileRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
// contains filtered or unexported fields
}
func (*ReadFileRequest) Descriptor
deprecated
func (*ReadFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead.
func (*ReadFileRequest) GetPath ¶
func (x *ReadFileRequest) GetPath() string
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) ProtoReflect ¶
func (x *ReadFileRequest) ProtoReflect() protoreflect.Message
func (*ReadFileRequest) Reset ¶
func (x *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (x *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
// contains filtered or unexported fields
}
func (*ReadFileResponse) Descriptor
deprecated
func (*ReadFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead.
func (*ReadFileResponse) GetContent ¶
func (x *ReadFileResponse) GetContent() string
func (*ReadFileResponse) GetExists ¶
func (x *ReadFileResponse) GetExists() bool
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) ProtoReflect ¶
func (x *ReadFileResponse) ProtoReflect() protoreflect.Message
func (*ReadFileResponse) Reset ¶
func (x *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (x *ReadFileResponse) String() string
type RemoveDependencyRequest ¶
type RemoveDependencyRequest struct {
PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// contains filtered or unexported fields
}
RemoveDependency removes a package/module via the language package manager.
func (*RemoveDependencyRequest) Descriptor
deprecated
func (*RemoveDependencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependencyRequest.ProtoReflect.Descriptor instead.
func (*RemoveDependencyRequest) GetPackageName ¶
func (x *RemoveDependencyRequest) GetPackageName() string
func (*RemoveDependencyRequest) ProtoMessage ¶
func (*RemoveDependencyRequest) ProtoMessage()
func (*RemoveDependencyRequest) ProtoReflect ¶
func (x *RemoveDependencyRequest) ProtoReflect() protoreflect.Message
func (*RemoveDependencyRequest) Reset ¶
func (x *RemoveDependencyRequest) Reset()
func (*RemoveDependencyRequest) String ¶
func (x *RemoveDependencyRequest) String() string
type RemoveDependencyResponse ¶
type RemoveDependencyResponse 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 (*RemoveDependencyResponse) Descriptor
deprecated
func (*RemoveDependencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependencyResponse.ProtoReflect.Descriptor instead.
func (*RemoveDependencyResponse) GetError ¶
func (x *RemoveDependencyResponse) GetError() string
func (*RemoveDependencyResponse) GetSuccess ¶
func (x *RemoveDependencyResponse) GetSuccess() bool
func (*RemoveDependencyResponse) ProtoMessage ¶
func (*RemoveDependencyResponse) ProtoMessage()
func (*RemoveDependencyResponse) ProtoReflect ¶
func (x *RemoveDependencyResponse) ProtoReflect() protoreflect.Message
func (*RemoveDependencyResponse) Reset ¶
func (x *RemoveDependencyResponse) Reset()
func (*RemoveDependencyResponse) String ¶
func (x *RemoveDependencyResponse) String() string
type RenameSymbolRequest ¶
type RenameSymbolRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` // 1-based
NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
// contains filtered or unexported fields
}
RenameSymbol performs a language-aware rename of a symbol across all files.
func (*RenameSymbolRequest) Descriptor
deprecated
func (*RenameSymbolRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameSymbolRequest.ProtoReflect.Descriptor instead.
func (*RenameSymbolRequest) GetColumn ¶
func (x *RenameSymbolRequest) GetColumn() int32
func (*RenameSymbolRequest) GetFile ¶
func (x *RenameSymbolRequest) GetFile() string
func (*RenameSymbolRequest) GetLine ¶
func (x *RenameSymbolRequest) GetLine() int32
func (*RenameSymbolRequest) GetNewName ¶
func (x *RenameSymbolRequest) GetNewName() string
func (*RenameSymbolRequest) ProtoMessage ¶
func (*RenameSymbolRequest) ProtoMessage()
func (*RenameSymbolRequest) ProtoReflect ¶
func (x *RenameSymbolRequest) ProtoReflect() protoreflect.Message
func (*RenameSymbolRequest) Reset ¶
func (x *RenameSymbolRequest) Reset()
func (*RenameSymbolRequest) String ¶
func (x *RenameSymbolRequest) String() string
type RenameSymbolResponse ¶
type RenameSymbolResponse 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"`
Edits []*TextEdit `protobuf:"bytes,3,rep,name=edits,proto3" json:"edits,omitempty"` // the edits that were applied
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"` // files that were modified
// contains filtered or unexported fields
}
func (*RenameSymbolResponse) Descriptor
deprecated
func (*RenameSymbolResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameSymbolResponse.ProtoReflect.Descriptor instead.
func (*RenameSymbolResponse) GetEdits ¶
func (x *RenameSymbolResponse) GetEdits() []*TextEdit
func (*RenameSymbolResponse) GetError ¶
func (x *RenameSymbolResponse) GetError() string
func (*RenameSymbolResponse) GetFiles ¶
func (x *RenameSymbolResponse) GetFiles() []string
func (*RenameSymbolResponse) GetSuccess ¶
func (x *RenameSymbolResponse) GetSuccess() bool
func (*RenameSymbolResponse) ProtoMessage ¶
func (*RenameSymbolResponse) ProtoMessage()
func (*RenameSymbolResponse) ProtoReflect ¶
func (x *RenameSymbolResponse) ProtoReflect() protoreflect.Message
func (*RenameSymbolResponse) Reset ¶
func (x *RenameSymbolResponse) Reset()
func (*RenameSymbolResponse) String ¶
func (x *RenameSymbolResponse) String() string
type SearchMatch ¶
type SearchMatch struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path within the service
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` // 1-based line number
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // the matching line (trimmed)
ContextBefore []string `protobuf:"bytes,4,rep,name=context_before,json=contextBefore,proto3" json:"context_before,omitempty"`
ContextAfter []string `protobuf:"bytes,5,rep,name=context_after,json=contextAfter,proto3" json:"context_after,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatch) Descriptor
deprecated
func (*SearchMatch) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatch.ProtoReflect.Descriptor instead.
func (*SearchMatch) GetContextAfter ¶
func (x *SearchMatch) GetContextAfter() []string
func (*SearchMatch) GetContextBefore ¶
func (x *SearchMatch) GetContextBefore() []string
func (*SearchMatch) GetFile ¶
func (x *SearchMatch) GetFile() string
func (*SearchMatch) GetLine ¶
func (x *SearchMatch) GetLine() int32
func (*SearchMatch) GetText ¶
func (x *SearchMatch) GetText() string
func (*SearchMatch) ProtoMessage ¶
func (*SearchMatch) ProtoMessage()
func (*SearchMatch) ProtoReflect ¶
func (x *SearchMatch) ProtoReflect() protoreflect.Message
func (*SearchMatch) Reset ¶
func (x *SearchMatch) Reset()
func (*SearchMatch) String ¶
func (x *SearchMatch) String() string
type SearchRequest ¶
type SearchRequest struct {
Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` // regex or literal pattern
Literal bool `protobuf:"varint,2,opt,name=literal,proto3" json:"literal,omitempty"` // if true, treat pattern as literal string (no regex)
CaseInsensitive bool `protobuf:"varint,3,opt,name=case_insensitive,json=caseInsensitive,proto3" json:"case_insensitive,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // optional: restrict to subdirectory
Extensions []string `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"` // optional: filter by extension (e.g. ".go", ".py")
Exclude []string `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` // optional: glob patterns to exclude
MaxResults int32 `protobuf:"varint,7,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // 0 = default (100)
ContextLines int32 `protobuf:"varint,8,opt,name=context_lines,json=contextLines,proto3" json:"context_lines,omitempty"` // lines of context around each match
// contains filtered or unexported fields
}
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetCaseInsensitive ¶
func (x *SearchRequest) GetCaseInsensitive() bool
func (*SearchRequest) GetContextLines ¶
func (x *SearchRequest) GetContextLines() int32
func (*SearchRequest) GetExclude ¶
func (x *SearchRequest) GetExclude() []string
func (*SearchRequest) GetExtensions ¶
func (x *SearchRequest) GetExtensions() []string
func (*SearchRequest) GetLiteral ¶
func (x *SearchRequest) GetLiteral() bool
func (*SearchRequest) GetMaxResults ¶
func (x *SearchRequest) GetMaxResults() int32
func (*SearchRequest) GetPath ¶
func (x *SearchRequest) GetPath() string
func (*SearchRequest) GetPattern ¶
func (x *SearchRequest) GetPattern() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct {
Matches []*SearchMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
Truncated bool `protobuf:"varint,2,opt,name=truncated,proto3" json:"truncated,omitempty"` // true if max_results was hit
TotalMatches int32 `protobuf:"varint,3,opt,name=total_matches,json=totalMatches,proto3" json:"total_matches,omitempty"`
// contains filtered or unexported fields
}
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetMatches ¶
func (x *SearchResponse) GetMatches() []*SearchMatch
func (*SearchResponse) GetTotalMatches ¶
func (x *SearchResponse) GetTotalMatches() int32
func (*SearchResponse) GetTruncated ¶
func (x *SearchResponse) GetTruncated() bool
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type ShellExecRequest ¶
type ShellExecRequest struct {
// The full command line, parsed by the shell. Example: "go test ./..."
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
// Optional list of arg overrides. If args is set AND command is
// empty, args[0] is the program and args[1:] are its arguments,
// executed WITHOUT a shell. Use this for commands whose arguments
// contain shell metacharacters that must not be re-interpreted.
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
// Optional working directory override, relative to the service's
// source directory. If empty, the command runs in the source root.
WorkDir string `protobuf:"bytes,3,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
// Optional additional environment variables. "KEY=VALUE" form.
// Merged on top of the agent's existing environment.
Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
// Timeout in seconds. 0 means the agent's default (30s).
TimeoutSeconds int32 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
// contains filtered or unexported fields
}
func (*ShellExecRequest) Descriptor
deprecated
func (*ShellExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShellExecRequest.ProtoReflect.Descriptor instead.
func (*ShellExecRequest) GetArgs ¶
func (x *ShellExecRequest) GetArgs() []string
func (*ShellExecRequest) GetCommand ¶
func (x *ShellExecRequest) GetCommand() string
func (*ShellExecRequest) GetEnv ¶
func (x *ShellExecRequest) GetEnv() []string
func (*ShellExecRequest) GetTimeoutSeconds ¶
func (x *ShellExecRequest) GetTimeoutSeconds() int32
func (*ShellExecRequest) GetWorkDir ¶
func (x *ShellExecRequest) GetWorkDir() string
func (*ShellExecRequest) ProtoMessage ¶
func (*ShellExecRequest) ProtoMessage()
func (*ShellExecRequest) ProtoReflect ¶
func (x *ShellExecRequest) ProtoReflect() protoreflect.Message
func (*ShellExecRequest) Reset ¶
func (x *ShellExecRequest) Reset()
func (*ShellExecRequest) String ¶
func (x *ShellExecRequest) String() string
type ShellExecResponse ¶
type ShellExecResponse struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
// True if the command was terminated because it exceeded timeout_seconds.
TimedOut bool `protobuf:"varint,4,opt,name=timed_out,json=timedOut,proto3" json:"timed_out,omitempty"`
// If the agent could not even launch the process, error carries the
// reason. exit_code is then left at -1 and stdout/stderr are empty.
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ShellExecResponse) Descriptor
deprecated
func (*ShellExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShellExecResponse.ProtoReflect.Descriptor instead.
func (*ShellExecResponse) GetError ¶
func (x *ShellExecResponse) GetError() string
func (*ShellExecResponse) GetExitCode ¶
func (x *ShellExecResponse) GetExitCode() int32
func (*ShellExecResponse) GetStderr ¶
func (x *ShellExecResponse) GetStderr() string
func (*ShellExecResponse) GetStdout ¶
func (x *ShellExecResponse) GetStdout() string
func (*ShellExecResponse) GetTimedOut ¶
func (x *ShellExecResponse) GetTimedOut() bool
func (*ShellExecResponse) ProtoMessage ¶
func (*ShellExecResponse) ProtoMessage()
func (*ShellExecResponse) ProtoReflect ¶
func (x *ShellExecResponse) ProtoReflect() protoreflect.Message
func (*ShellExecResponse) Reset ¶
func (x *ShellExecResponse) Reset()
func (*ShellExecResponse) String ¶
func (x *ShellExecResponse) String() string
type Symbol ¶
type Symbol struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. "HandleHealth"
Kind SymbolKind `protobuf:"varint,2,opt,name=kind,proto3,enum=codefly.services.code.v0.SymbolKind" json:"kind,omitempty"`
Location *Location `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // e.g. "func HandleHealth(w http.ResponseWriter, r *http.Request)"
Documentation string `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"` // Doc comment, if present
Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` // Containing symbol name, e.g. "Server" for a method
Children []*Symbol `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty"` // Nested symbols (struct fields, interface methods, etc.)
// Versioned graph: content-addressed dedup (HyperAST-style).
// Agents compute these from the parsed AST. Mind uses them for
// symbol-level dedup across versions.
QualifiedName string `protobuf:"bytes,8,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"` // "<package>.<name>" or "<package>.<Type>.<name>"
BodyHash string `protobuf:"bytes,9,opt,name=body_hash,json=bodyHash,proto3" json:"body_hash,omitempty"` // sha256 of normalized function body
SignatureHash string `protobuf:"bytes,10,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"` // sha256 of function signature
// contains filtered or unexported fields
}
Symbol represents a single code symbol (function, type, method, etc.).
func (*Symbol) Descriptor
deprecated
func (*Symbol) GetBodyHash ¶
func (*Symbol) GetChildren ¶
func (*Symbol) GetDocumentation ¶
func (*Symbol) GetKind ¶
func (x *Symbol) GetKind() SymbolKind
func (*Symbol) GetLocation ¶
func (*Symbol) GetQualifiedName ¶
func (*Symbol) GetSignature ¶
func (*Symbol) GetSignatureHash ¶
func (*Symbol) ProtoMessage ¶
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶
func (x *Symbol) ProtoReflect() protoreflect.Message
type SymbolKind ¶
type SymbolKind int32
SymbolKind enumerates the kinds of code symbols.
const ( SymbolKind_SYMBOL_KIND_UNKNOWN SymbolKind = 0 SymbolKind_SYMBOL_KIND_FUNCTION SymbolKind = 1 SymbolKind_SYMBOL_KIND_METHOD SymbolKind = 2 SymbolKind_SYMBOL_KIND_STRUCT SymbolKind = 3 SymbolKind_SYMBOL_KIND_INTERFACE SymbolKind = 4 SymbolKind_SYMBOL_KIND_CONSTANT SymbolKind = 5 SymbolKind_SYMBOL_KIND_VARIABLE SymbolKind = 6 SymbolKind_SYMBOL_KIND_TYPE_ALIAS SymbolKind = 7 SymbolKind_SYMBOL_KIND_PACKAGE SymbolKind = 8 SymbolKind_SYMBOL_KIND_FIELD SymbolKind = 9 SymbolKind_SYMBOL_KIND_ENUM SymbolKind = 10 SymbolKind_SYMBOL_KIND_CLASS SymbolKind = 11 )
func (SymbolKind) Descriptor ¶
func (SymbolKind) Descriptor() protoreflect.EnumDescriptor
func (SymbolKind) Enum ¶
func (x SymbolKind) Enum() *SymbolKind
func (SymbolKind) EnumDescriptor
deprecated
func (SymbolKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SymbolKind.Descriptor instead.
func (SymbolKind) Number ¶
func (x SymbolKind) Number() protoreflect.EnumNumber
func (SymbolKind) String ¶
func (x SymbolKind) String() string
func (SymbolKind) Type ¶
func (SymbolKind) Type() protoreflect.EnumType
type TextEdit ¶
type TextEdit struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // relative path
StartLine int32 `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` // 1-based
StartColumn int32 `protobuf:"varint,3,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"`
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
NewText string `protobuf:"bytes,6,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"`
// contains filtered or unexported fields
}
TextEdit represents a single text replacement in a file.
func (*TextEdit) Descriptor
deprecated
func (*TextEdit) GetEndColumn ¶
func (*TextEdit) GetEndLine ¶
func (*TextEdit) GetNewText ¶
func (*TextEdit) GetStartColumn ¶
func (*TextEdit) GetStartLine ¶
func (*TextEdit) ProtoMessage ¶
func (*TextEdit) ProtoMessage()
func (*TextEdit) ProtoReflect ¶
func (x *TextEdit) ProtoReflect() protoreflect.Message
type UnimplementedCodeServer ¶
type UnimplementedCodeServer struct{}
UnimplementedCodeServer 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 (UnimplementedCodeServer) ApplyEdit ¶
func (UnimplementedCodeServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
func (UnimplementedCodeServer) Execute ¶
func (UnimplementedCodeServer) Execute(context.Context, *CodeRequest) (*CodeResponse, error)
func (UnimplementedCodeServer) FindReferences ¶
func (UnimplementedCodeServer) FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
func (UnimplementedCodeServer) GetCallGraph ¶
func (UnimplementedCodeServer) GetCallGraph(context.Context, *GetCallGraphRequest) (*GetCallGraphResponse, error)
func (UnimplementedCodeServer) GetDiagnostics ¶
func (UnimplementedCodeServer) GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
func (UnimplementedCodeServer) GetHoverInfo ¶
func (UnimplementedCodeServer) GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
func (UnimplementedCodeServer) GoToDefinition ¶
func (UnimplementedCodeServer) GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
func (UnimplementedCodeServer) ListSymbols ¶
func (UnimplementedCodeServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
func (UnimplementedCodeServer) ShellExec ¶
func (UnimplementedCodeServer) ShellExec(context.Context, *ShellExecRequest) (*ShellExecResponse, error)
type UnsafeCodeServer ¶
type UnsafeCodeServer interface {
// contains filtered or unexported methods
}
UnsafeCodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CodeServer will result in compilation errors.
type WriteFileRequest ¶
type WriteFileRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // relative path within the service
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetContent ¶
func (x *WriteFileRequest) GetContent() string
func (*WriteFileRequest) GetPath ¶
func (x *WriteFileRequest) GetPath() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string
type WriteFileResponse ¶
type WriteFileResponse 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 (*WriteFileResponse) Descriptor
deprecated
func (*WriteFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead.
func (*WriteFileResponse) GetError ¶
func (x *WriteFileResponse) GetError() string
func (*WriteFileResponse) GetSuccess ¶
func (x *WriteFileResponse) GetSuccess() bool
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) ProtoReflect ¶
func (x *WriteFileResponse) ProtoReflect() protoreflect.Message
func (*WriteFileResponse) Reset ¶
func (x *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (x *WriteFileResponse) String() string