MCPcopy Create free account

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

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

↓ 20 callersClassRecorder
A fake Poster that records calls and simulates outcomes. - ``post_note``/``post_discussion`` pop configured outcomes; when outcomes run out
examples/gitlab_ci/post_review_test.py:113
↓ 19 callersClassFileChange
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:151
↓ 13 callersClassFakeResponse
A fake urllib response object.
examples/gitlab_ci/post_review_test.py:90
↓ 11 callersClassOcrConfig
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:133
↓ 9 callersClassCliCancellation
A single invocation owns this handle, including cancellation before process registration. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliCancellation.kt:9
↓ 7 callersStructresult
internal/mcp/client.go:209
↓ 6 callersClassGitState
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:157
↓ 5 callersClassCliRunOptions
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:184
↓ 5 callersClassLogLine
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:165
↓ 5 callersClassProviderEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:114
↓ 5 callersClassRecorder
A post() that records discussions; optionally fails the first inline.
examples/gitflic_ci/post_review_test.py:141
↓ 4 callersClassEnvToolStatus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:171
↓ 4 callersClassLlmConfig
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:124
↓ 4 callersTypeAliasReasoningPayload
ReasoningPayload is the openai-chat-completions NativeTurn payload. Named type so a type assertion can't accidentally match an unrelated string.
internal/llm/client.go:132
↓ 4 callersClassResolvedLines
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:97
↓ 3 callersClassCliResult
[status] stays a String: the CLI owns its value set (success / completed_with_errors / * completed_with_warnings / skipped), and a new value appeari
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:105
↓ 3 callersClassCliService
* Every subprocess goes through [ShellEnv]: the environment comes from the login shell, and command names are * resolved to absolute paths by `resolv
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:29
↓ 3 callersClassCommentGutterIconRenderer
* A gutter icon that toggles the inline panel when clicked. * Do not navigate to the line: the icon is already beside it, so the line is visible.
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:510
↓ 3 callersClassConfigEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:213
↓ 3 callersClassEnvCheckResult
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:177
↓ 3 callersClassLineSpan
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:66
↓ 3 callersClassReviewComment
* `startLine` / `endLine` take 0 as the sentinel for "the CLI supplied no usable line number". * Comment anchoring (CommentAnchor) relies on this con
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:75
↓ 2 callersClassCommentSyncState
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:206
↓ 2 callersClassDiffMark
* The location of a comment in a diff, passed to CommentService.decorateDiff. * startLine/endLine form a 1-based inclusive range. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:201
↓ 2 callersTypeAliasEffort
Effort selects a review effort preset that controls how much work the review agent performs (e.g., number of review rounds).
internal/config/template/effort.go:13
↓ 2 callersClassOcrWebview
* A JCEF page with a two-way message bridge. The sidebar and the config panel share this one * implementation. * * The bridge runs both ways: page
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/OcrWebview.kt:30
↓ 2 callersClassRecorder
Stands in for make_poster(); replays canned outcomes per call.
examples/gerrit_ci/post_review_test.py:281
↓ 2 callersClassReviewContext
The context a comment is mounted in once the review finishes; the fields are taken from * [CliRunOptions] (the subset the frontend uses). */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:196
↓ 2 callersTypeAliasTaskType
TaskType mirrors session.TaskType.
internal/viewer/store.go:292
↓ 2 callersInterfaceWebviewChannel
A single webview channel. The JCEF side implements this interface; the routing layer only hands * it a JSON string to send. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/HostMessages.kt:154
↓ 1 callersTypeAliasAttemptOutcome
AttemptOutcome is the per-attempt result.
internal/llm/retry_report.go:88
↓ 1 callersTypeAliasBatchStrategy
BatchStrategy enumerates the grouping policies for scan dispatch.
internal/scan/batch.go:14
↓ 1 callersClassCliException
Thrown when the CLI exits non-zero. The message has already been refined by [extractCliError] and is safe to show to users. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:22
↓ 1 callersClassCodeupApiError
Raised when the CodeUp OpenAPI call fails.
examples/codeup_ci/post_review.py:69
↓ 1 callersClassCommentService
* Comment mounting and actions. The three-stage fallback uses valid line numbers, then an existingCode sliding-window match, * then sidebar-only disp
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:68
↓ 1 callersClassCommitInfo
[sha] is the 7-character short hash, matching the frontend's truncation rule. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:144
↓ 1 callersClassConfigPanelRouter
* Message routing for the config panel; dispatches by message type. * * Two key behaviours to confirm before changing: * 1. Every handler wraps its
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelRouter.kt:36
↓ 1 callersClassConfigService
* Reads and writes `~/.opencodereview/config.json`. Division of labor: * single-key writes go through the CLI (`ocr config set`), which validates and
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigService.kt:25
↓ 1 callersClassDryRunPoster
A Poster that prints instead of touching the network.
examples/gitlab_ci/post_review.py:1020
↓ 1 callersTypeAliasErrorClass
ErrorClass is the attempt-level error classification. It is derived only from the HTTP status and the Go error type — never from error message text —
internal/llm/retry_report.go:24
↓ 1 callersTypeAliasFailureClass
FailureClass is the typed classification attached to every failed coverage item. The set is fixed so downstream consumers can switch on it reliably. F
internal/session/manifest.go:53
↓ 1 callersTypeAliasFailurePhase
FailurePhase records where in the request lifecycle the failure surfaced.
internal/llm/retry_report.go:49
↓ 1 callersClassFakeResponse
examples/gerrit_ci/post_review_test.py:514
↓ 1 callersClassFileDiff
A single file's section of a unified diff.
examples/gitflic_ci/post_review.py:74
↓ 1 callersClassGitLabPoster
Transport object encapsulating all GitLab REST operations. Discussions are posted through :meth:`post_discussion`, which owns an idempotency-
examples/gitlab_ci/post_review.py:805
↓ 1 callersClassGitService
* Calls the command-line git directly. Every git invocation is forced to include `-c core.quotepath=false`. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:40
↓ 1 callersTypeAliasGroupingStrategy
GroupingStrategy is how a change set gets partitioned into review groups.
internal/config/template/template.go:82
↓ 1 callersClassHunk
One @@ ... @@ block of a unified diff.
examples/gitflic_ci/post_review.py:61
↓ 1 callersClassJcefConfigPanelHost
* Window implementation for the config panel, using a non-modal dialog: it can sit next to the * editor, be dragged and resized, and is released as s
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefConfigPanelHost.kt:23
↓ 1 callersClassJcefReviewPanel
* The sidebar's JCEF host: creates the webview, wires the message bridge and posts host messages. * Dispatching is left to the routing layer. * atta
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefReviewPanel.kt:29
↓ 1 callersClassOcrReviewError
Raised when the ocr CLI fails to run or produce usable output.
examples/codeup_ci/post_review.py:65
↓ 1 callersTypeAliasOutcome
Outcome is the request-level result of a logical request. It is decided once, at Finalize, from the whole attempt sequence plus the logical request's
internal/llm/retry_report.go:74
↓ 1 callersClassPanelDialog
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefConfigPanelHost.kt:115
↓ 1 callersClassReviewSession
* One review corresponds to one session; state lives only inside the session (the `cancelled` flag), * with no cross-session persistence. After the w
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:38
↓ 1 callersClassReviewSummary
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:86
↓ 1 callersTypeAliasRunFailureClass
RunFailureClass classifies why the whole run stopped. It is a distinct enumeration from the per-item FailureClass: a run never fails with "provider" o
internal/session/manifest.go:89
↓ 1 callersClassSidebarRouter
* Sidebar message routing: receives and dispatches every message the frontend webview sends during * the workspace review flow. * * The message typ
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:42
↓ 1 callersTypeAliasTerminalState
TerminalState is the single, coverage-derived outcome of a run. It is the authoritative replacement for the warning-derived "completed_with_errors" st
internal/session/manifest.go:163
Class
pages/src/components/ErrorBoundary.tsx:28
Class
plugins/open-code-review/opencode/open-code-review.ts:45
Class
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:14
Class
extensions/vscode/src/extension/providers/lineOffset.ts:4
Class
extensions/vscode/src/extension/providers/CommentProvider.ts:17
Class
extensions/vscode/src/extension/providers/SidebarProvider.ts:15
Class
extensions/vscode/src/extension/services/ReviewSession.ts:19
Class
extensions/vscode/src/extension/services/GitService.ts:13
Class
extensions/vscode/src/extension/services/CliService.ts:11
Class
extensions/vscode/src/extension/services/ConfigService.ts:13
ClassActivateCustomProvider
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:69
InterfaceActiveProviderSummary
extensions/frontend/src/shared/configUtils.ts:31
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:99
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:181
ClassAgentWarning
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:96
InterfaceAgentWarning
extensions/frontend/src/shared/types.ts:34
StructAgentWarning
AgentWarning describes a non-fatal warning recorded during one subtask's review/scan. The name is kept for backwards compatibility with the previous i
internal/llmloop/pool.go:28
ClassAnchorSide
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:20
StructAnthropicClient
--- AnthropicClient --- AnthropicClient implements the Anthropic Messages API using the official SDK.
internal/llm/client.go:937
InterfaceAppState
extensions/frontend/src/webview/store.ts:10
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:43
StructArgs
Args holds all dependencies and configuration needed to run a review session.
internal/agent/agent.go:55
StructAttemptRecord
AttemptRecord is one observed real HTTP attempt. Number, Outcome, DurationToHeadersMS and ObservedBackoffMS are assigned by the collector; values pas
internal/llm/retry_report.go:103
ClassBadgeTest
examples/gitlab_ci/post_review_test.py:273
InterfaceBenchmarkRow
pages/src/components/BenchmarkSection.tsx:18
InterfaceBlogMeta
pages/src/content/blog/index.ts:22
InterfaceBreakpoints
pages/src/hooks/useResponsive.ts:6
InterfaceBridge
extensions/frontend/src/webview/bridge.ts:13
ClassBuildConfigTest
examples/gitlab_ci/post_review_test.py:1390
ClassBuildEndpointTest
examples/gerrit_ci/post_review_test.py:216
ClassBuildReviewInputTest
examples/gerrit_ci/post_review_test.py:57
StructBuiltinToolProvider
BuiltinToolProvider implements tools that don't require external system access.
internal/tool/stub.go:23
ClassCancelReview
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:53
ClassCapturingPoster
examples/gitlab_ci/post_review_test.py:1524
StructCategoryCount
CategoryCount holds counts for each review comment category.
internal/viewer/server.go:207
StructChatMessage
ChatMessage represents a single message in a conversation.
internal/config/template/template.go:346
StructChatMessage
ChatMessage represents a single message in a conversation.
internal/config/testconnection/testconnection.go:25
StructChatRequest
ChatRequest represents the payload for a chat completion call.
internal/llm/client.go:575
StructChatResponse
ChatResponse is the parsed result of a completion request.
internal/llm/client.go:274
ClassCheckCli
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:70
ClassCheckEnvironment
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:71
StructChoice
Choice holds a single choice from the response.
internal/llm/client.go:245
next →1–100 of 584, ranked by callers