Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ types & classes
Types & classes
260 in github.com/alibaba/open-code-review
⨍
Functions
2,775
◇
Types & classes
260
↓ 5 callers
Class
Recorder
A post() that records discussions; optionally fails the first inline.
examples/gitflic_ci/post_review_test.py:137
↓ 2 callers
Class
Recorder
Stands in for make_poster(); replays canned outcomes per call.
examples/gerrit_ci/post_review_test.py:277
↓ 2 callers
TypeAlias
TaskType
TaskType mirrors session.TaskType.
internal/viewer/store.go:229
↓ 1 callers
TypeAlias
BatchStrategy
BatchStrategy enumerates the grouping policies for scan dispatch.
internal/scan/batch.go:11
↓ 1 callers
Class
FakeResponse
examples/gerrit_ci/post_review_test.py:510
↓ 1 callers
Class
FileDiff
A single file's section of a unified diff.
examples/gitflic_ci/post_review.py:70
↓ 1 callers
Class
Hunk
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
Interface
ActiveProviderSummary
extensions/vscode/src/shared/configUtils.ts:28
Struct
Agent
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
Struct
Agent
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
Interface
AgentWarning
extensions/vscode/src/shared/types.ts:31
Struct
AgentWarning
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
Struct
AnthropicClient
--- AnthropicClient --- AnthropicClient implements the Anthropic Messages API using the official SDK.
internal/llm/client.go:567
Interface
AppState
extensions/vscode/src/webview/store.ts:7
Struct
Args
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
Struct
Args
Args holds all dependencies and configuration needed to run a review session.
internal/agent/agent.go:43
Interface
BenchmarkRow
pages/src/components/BenchmarkSection.tsx:15
Interface
BlogMeta
pages/src/content/blog/index.ts:15
Interface
Breakpoints
pages/src/hooks/useResponsive.ts:3
Class
BuildEndpointTest
examples/gerrit_ci/post_review_test.py:212
Class
BuildReviewInputTest
examples/gerrit_ci/post_review_test.py:53
Struct
BuiltinToolProvider
BuiltinToolProvider implements tools that don't require external system access.
internal/tool/stub.go:20
Struct
ChatMessage
ChatMessage represents a single message in a conversation.
internal/config/template/template.go:222
Struct
ChatMessage
ChatMessage represents a single message in a conversation.
internal/config/testconnection/testconnection.go:22
Struct
ChatRequest
ChatRequest represents the payload for a chat completion call.
internal/llm/client.go:329
Struct
ChatResponse
ChatResponse is the parsed result of a completion request.
internal/llm/client.go:142
Struct
Choice
Choice holds a single choice from the response.
internal/llm/client.go:115
Interface
CliResult
extensions/vscode/src/shared/types.ts:37
Interface
CliRunOptions
extensions/vscode/src/shared/types.ts:103
Class
CliService
extensions/vscode/src/extension/services/CliService.ts:8
Struct
Client
Client wraps a single MCP server connection via stdio transport.
internal/mcp/client.go:14
Struct
ClientConfig
ClientConfig holds configuration for connecting to an LLM service.
internal/llm/client.go:184
Struct
CodeCommentProvider
CodeCommentProvider submits review comments to the per-Agent CommentCollector.
internal/tool/code_comment.go:47
Struct
CodeReviewResult
CodeReviewResult holds raw LLM-generated review suggestion for a code segment.
internal/model/review.go:21
Struct
CodeSearchProvider
CodeSearchProvider performs text search across the repository using git grep.
internal/tool/code_search.go:20
Interface
ColorBendsProps
pages/src/components/ColorBends.tsx:110
Interface
CommentAnchorDeps
extensions/vscode/src/extension/providers/commentAnchor.ts:32
Struct
CommentCollector
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
Class
CommentProvider
extensions/vscode/src/extension/providers/CommentProvider.ts:14
Interface
CommentSyncState
extensions/vscode/src/shared/types.ts:115
Struct
CommentWorkerPool
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
Interface
CommitInfo
extensions/vscode/src/shared/types.ts:69
Struct
Config
Config holds resolved telemetry configuration.
internal/telemetry/config.go:19
Struct
Config
Config represents the user-level configuration file (~/.opencodereview/config.json).
cmd/opencodereview/config_cmd.go:212
Interface
ConfigEntry
extensions/vscode/src/shared/configUtils.ts:13
Class
ConfigPanelProvider
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:11
Interface
ConfigPanelState
extensions/vscode/src/webview/configStore.ts:9
Class
ConfigService
extensions/vscode/src/extension/services/ConfigService.ts:10
Struct
ContentBlock
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
Struct
Deps
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
Interface
DetailResolver
DetailResolver extends Resolver with source metadata.
internal/config/rules/system_rules.go:119
Struct
Diff
Diff represents a single file change in a git diff.
internal/model/diff.go:4
Struct
DiffLine
DiffLine is a single line in the diff result.
internal/suggestdiff/diff.go:17
TypeAlias
DiffLineType
DiffLineType marks a line as context, added, or deleted.
internal/suggestdiff/diff.go:8
Struct
DiffMap
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
Interface
EnvCheckResult
extensions/vscode/src/shared/types.ts:97
Interface
EnvToolStatus
extensions/vscode/src/shared/types.ts:92
Struct
Estimate
Estimate is a pre-run, order-of-magnitude projection of scan cost.
internal/scan/estimate.go:26
TypeAlias
ExcludeReason
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
Interface
FadeInSectionProps
pages/src/components/FadeInSection.tsx:3
Interface
FileChange
extensions/vscode/src/shared/types.ts:75
Struct
FileFilter
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
Struct
FileFindProvider
FileFindProvider finds files by name or pattern in the repository using git ls-files.
internal/tool/file_find.go:21
Struct
FileGroup
FileGroup aggregates records for a single file.
internal/viewer/store.go:223
Struct
FileReadDiffProvider
FileReadDiffProvider retrieves diff content by file path from an already-parsed diff set.
internal/tool/file_read_diff.go:30
Struct
FileReadProvider
FileReadProvider reads file content at a given path and optional line range.
internal/tool/file_read.go:12
Struct
FileReader
FileReader resolves file contents according to the active review mode.
internal/tool/filereader.go:55
Struct
FileSession
FileSession represents the conversation records for a single file subtask.
internal/session/history.go:55
Struct
FileTokenUsage
FileTokenUsage tracks token totals for a single file within a session.
internal/viewer/store.go:214
Interface
FormProps
extensions/vscode/src/webview/views/ConfigView.tsx:538
Struct
FunctionCall
FunctionCall holds the name and arguments of a tool call.
internal/llm/client.go:128
Struct
FunctionDef
FunctionDef specifies the metadata for a tool definition.
internal/llm/client.go:177
Class
GitService
extensions/vscode/src/extension/services/GitService.ts:10
Interface
GitState
extensions/vscode/src/shared/types.ts:80
Struct
Hunk
Hunk represents one @@ ... @@ block in a unified diff.
internal/diff/hunk.go:25
Struct
HunkLine
HunkLine is a single line within a hunk.
internal/diff/hunk.go:19
TypeAlias
HunkLineType
HunkLineType represents the type of a line in a diff hunk.
internal/diff/hunk.go:10
Struct
ItemDetail
ItemDetail describes one file-level record within a session, used by `ocr session show`.
internal/session/list.go:40
Interface
LLMClient
LLMClient is the unified interface for all LLM protocol implementations.
internal/llm/client.go:35
Interface
LandingPageProps
pages/src/components/LandingPage.tsx:4
Interface
LanguageContextValue
pages/src/i18n/context.tsx:9
Class
LineOffsetTracker
extensions/vscode/src/extension/providers/lineOffset.ts:1
Struct
LlmComment
LlmComment represents a code review comment generated by the LLM.
internal/model/review.go:4
Struct
LlmConfig
cmd/opencodereview/config_cmd.go:223
Struct
LlmConversation
LlmConversation mirrors LlmConversation from the Java side — a preset prompt with settings.
internal/config/template/template.go:216
Struct
LlmConversation
LlmConversation represents a single conversation preset for testing.
internal/config/testconnection/testconnection.go:16
Interface
LogLine
extensions/vscode/src/shared/types.ts:87
Struct
MCPServerConfig
MCPServerConfig holds configuration for a single MCP server (stdio transport).
cmd/opencodereview/config_cmd.go:203
Class
MakePosterTest
examples/gerrit_ci/post_review_test.py:524
Interface
MarkdownRendererProps
pages/src/components/MarkdownRenderer.tsx:38
Struct
Message
--- 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