MCPcopy Create free account

hub / github.com/alibaba/open-code-review / types & classes

Types & classes260 in github.com/alibaba/open-code-review

↓ 5 callersClassRecorder
A post() that records discussions; optionally fails the first inline.
examples/gitflic_ci/post_review_test.py:137
↓ 2 callersClassRecorder
Stands in for make_poster(); replays canned outcomes per call.
examples/gerrit_ci/post_review_test.py:277
↓ 2 callersTypeAliasTaskType
TaskType mirrors session.TaskType.
internal/viewer/store.go:229
↓ 1 callersTypeAliasBatchStrategy
BatchStrategy enumerates the grouping policies for scan dispatch.
internal/scan/batch.go:11
↓ 1 callersClassFakeResponse
examples/gerrit_ci/post_review_test.py:510
↓ 1 callersClassFileDiff
A single file's section of a unified diff.
examples/gitflic_ci/post_review.py:70
↓ 1 callersClassHunk
One @@ ... @@ block of a unified diff.
examples/gitflic_ci/post_review.py:57
Class
plugins/open-code-review/opencode/open-code-review.ts:39
Class
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:11
Class
extensions/vscode/src/extension/providers/lineOffset.ts:1
Class
extensions/vscode/src/extension/providers/CommentProvider.ts:14
Class
extensions/vscode/src/extension/providers/SidebarProvider.ts:12
Class
extensions/vscode/src/extension/services/ReviewSession.ts:16
Class
extensions/vscode/src/extension/services/GitService.ts:10
Class
extensions/vscode/src/extension/services/CliService.ts:8
Class
extensions/vscode/src/extension/services/ConfigService.ts:10
InterfaceActiveProviderSummary
extensions/vscode/src/shared/configUtils.ts:28
StructAgent
Agent orchestrates full-file code review. It delegates the per-file LLM tool-use loop to llmloop.Runner and owns only scan-specific concerns (file enu
internal/scan/agent.go:90
StructAgent
Agent orchestrates the AI-powered code review. LLM tool-use loop / memory compression / token aggregation now live in internal/llmloop.Runner; this st
internal/agent/agent.go:125
InterfaceAgentWarning
extensions/vscode/src/shared/types.ts:31
StructAgentWarning
AgentWarning describes a non-fatal warning recorded during a per-file review/scan. The name is kept for backwards compatibility with the previous inte
internal/llmloop/pool.go:22
StructAnthropicClient
--- AnthropicClient --- AnthropicClient implements the Anthropic Messages API using the official SDK.
internal/llm/client.go:567
InterfaceAppState
extensions/vscode/src/webview/store.ts:7
StructArgs
Args bundles all dependencies needed for one scan session. Note: Template is the scan-specific template.ScanTemplate (loaded from scan_template.json)
internal/scan/agent.go:38
StructArgs
Args holds all dependencies and configuration needed to run a review session.
internal/agent/agent.go:43
InterfaceBenchmarkRow
pages/src/components/BenchmarkSection.tsx:15
InterfaceBlogMeta
pages/src/content/blog/index.ts:15
InterfaceBreakpoints
pages/src/hooks/useResponsive.ts:3
ClassBuildEndpointTest
examples/gerrit_ci/post_review_test.py:212
ClassBuildReviewInputTest
examples/gerrit_ci/post_review_test.py:53
StructBuiltinToolProvider
BuiltinToolProvider implements tools that don't require external system access.
internal/tool/stub.go:20
StructChatMessage
ChatMessage represents a single message in a conversation.
internal/config/template/template.go:222
StructChatMessage
ChatMessage represents a single message in a conversation.
internal/config/testconnection/testconnection.go:22
StructChatRequest
ChatRequest represents the payload for a chat completion call.
internal/llm/client.go:329
StructChatResponse
ChatResponse is the parsed result of a completion request.
internal/llm/client.go:142
StructChoice
Choice holds a single choice from the response.
internal/llm/client.go:115
InterfaceCliResult
extensions/vscode/src/shared/types.ts:37
InterfaceCliRunOptions
extensions/vscode/src/shared/types.ts:103
ClassCliService
extensions/vscode/src/extension/services/CliService.ts:8
StructClient
Client wraps a single MCP server connection via stdio transport.
internal/mcp/client.go:14
StructClientConfig
ClientConfig holds configuration for connecting to an LLM service.
internal/llm/client.go:184
StructCodeCommentProvider
CodeCommentProvider submits review comments to the per-Agent CommentCollector.
internal/tool/code_comment.go:47
StructCodeReviewResult
CodeReviewResult holds raw LLM-generated review suggestion for a code segment.
internal/model/review.go:21
StructCodeSearchProvider
CodeSearchProvider performs text search across the repository using git grep.
internal/tool/code_search.go:20
InterfaceColorBendsProps
pages/src/components/ColorBends.tsx:110
InterfaceCommentAnchorDeps
extensions/vscode/src/extension/providers/commentAnchor.ts:32
StructCommentCollector
CommentCollector is a thread-safe, per-Agent comment store. Each Agent instance owns its own collector so reviews across different repos do not interf
internal/tool/comment_collector.go:11
ClassCommentProvider
extensions/vscode/src/extension/providers/CommentProvider.ts:14
InterfaceCommentSyncState
extensions/vscode/src/shared/types.ts:115
StructCommentWorkerPool
CommentWorkerPool manages a fixed-size pool of workers dedicated to processing code-review comment post-steps (line-range tracking, re-tracking, refle
internal/llmloop/pool.go:35
InterfaceCommitInfo
extensions/vscode/src/shared/types.ts:69
StructConfig
Config holds resolved telemetry configuration.
internal/telemetry/config.go:19
StructConfig
Config represents the user-level configuration file (~/.opencodereview/config.json).
cmd/opencodereview/config_cmd.go:212
InterfaceConfigEntry
extensions/vscode/src/shared/configUtils.ts:13
ClassConfigPanelProvider
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:11
InterfaceConfigPanelState
extensions/vscode/src/webview/configStore.ts:9
ClassConfigService
extensions/vscode/src/extension/services/ConfigService.ts:10
StructContentBlock
ContentBlock represents a single block within a multi-part message content. Used by Claude's Messages API for tool results and multimodal content.
internal/llm/client.go:54
StructDeps
Deps bundles all per-call dependencies the Runner needs. Both internal/agent (diff review) and internal/scan (full-file scan) build a Deps from their
internal/llmloop/loop.go:25
InterfaceDetailResolver
DetailResolver extends Resolver with source metadata.
internal/config/rules/system_rules.go:119
StructDiff
Diff represents a single file change in a git diff.
internal/model/diff.go:4
StructDiffLine
DiffLine is a single line in the diff result.
internal/suggestdiff/diff.go:17
TypeAliasDiffLineType
DiffLineType marks a line as context, added, or deleted.
internal/suggestdiff/diff.go:8
StructDiffMap
DiffMap is a read-only snapshot of parsed diffs, keyed by file path. Safe for concurrent reads after construction via NewDiffMap.
internal/tool/file_read_diff.go:10
InterfaceEnvCheckResult
extensions/vscode/src/shared/types.ts:97
InterfaceEnvToolStatus
extensions/vscode/src/shared/types.ts:92
StructEstimate
Estimate is a pre-run, order-of-magnitude projection of scan cost.
internal/scan/estimate.go:26
TypeAliasExcludeReason
ExcludeReason describes why a file was excluded from review. Shared by both diff review (internal/agent) and full-file scan (internal/scan).
internal/model/preview.go:5
InterfaceFadeInSectionProps
pages/src/components/FadeInSection.tsx:3
InterfaceFileChange
extensions/vscode/src/shared/types.ts:75
StructFileFilter
FileFilter holds the merged user-configured include/exclude glob patterns collected from all rule.json layers (custom, project, global).
internal/config/rules/system_rules.go:195
StructFileFindProvider
FileFindProvider finds files by name or pattern in the repository using git ls-files.
internal/tool/file_find.go:21
StructFileGroup
FileGroup aggregates records for a single file.
internal/viewer/store.go:223
StructFileReadDiffProvider
FileReadDiffProvider retrieves diff content by file path from an already-parsed diff set.
internal/tool/file_read_diff.go:30
StructFileReadProvider
FileReadProvider reads file content at a given path and optional line range.
internal/tool/file_read.go:12
StructFileReader
FileReader resolves file contents according to the active review mode.
internal/tool/filereader.go:55
StructFileSession
FileSession represents the conversation records for a single file subtask.
internal/session/history.go:55
StructFileTokenUsage
FileTokenUsage tracks token totals for a single file within a session.
internal/viewer/store.go:214
InterfaceFormProps
extensions/vscode/src/webview/views/ConfigView.tsx:538
StructFunctionCall
FunctionCall holds the name and arguments of a tool call.
internal/llm/client.go:128
StructFunctionDef
FunctionDef specifies the metadata for a tool definition.
internal/llm/client.go:177
ClassGitService
extensions/vscode/src/extension/services/GitService.ts:10
InterfaceGitState
extensions/vscode/src/shared/types.ts:80
StructHunk
Hunk represents one @@ ... @@ block in a unified diff.
internal/diff/hunk.go:25
StructHunkLine
HunkLine is a single line within a hunk.
internal/diff/hunk.go:19
TypeAliasHunkLineType
HunkLineType represents the type of a line in a diff hunk.
internal/diff/hunk.go:10
StructItemDetail
ItemDetail describes one file-level record within a session, used by `ocr session show`.
internal/session/list.go:40
InterfaceLLMClient
LLMClient is the unified interface for all LLM protocol implementations.
internal/llm/client.go:35
InterfaceLandingPageProps
pages/src/components/LandingPage.tsx:4
InterfaceLanguageContextValue
pages/src/i18n/context.tsx:9
ClassLineOffsetTracker
extensions/vscode/src/extension/providers/lineOffset.ts:1
StructLlmComment
LlmComment represents a code review comment generated by the LLM.
internal/model/review.go:4
StructLlmConfig
cmd/opencodereview/config_cmd.go:223
StructLlmConversation
LlmConversation mirrors LlmConversation from the Java side — a preset prompt with settings.
internal/config/template/template.go:216
StructLlmConversation
LlmConversation represents a single conversation preset for testing.
internal/config/testconnection/testconnection.go:16
InterfaceLogLine
extensions/vscode/src/shared/types.ts:87
StructMCPServerConfig
MCPServerConfig holds configuration for a single MCP server (stdio transport).
cmd/opencodereview/config_cmd.go:203
ClassMakePosterTest
examples/gerrit_ci/post_review_test.py:524
InterfaceMarkdownRendererProps
pages/src/components/MarkdownRenderer.tsx:38
StructMessage
--- Shared data types --- Message represents a single message in a chat conversation. Content can be either plain string (for system/user/assistant/to
internal/llm/client.go:45
next →1–100 of 260, ranked by callers