MCPcopy Create free account

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

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

↓ 22 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:121
↓ 20 callersClassFileChange
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:152
↓ 14 callersFuncTyperoundTrip
func(*http.Request) (*http.Response, error)
internal/chatgptauth/lifecycle_test.go:220
↓ 13 callersClassFakeResponse
A fake urllib response object.
examples/gitlab_ci/post_review_test.py:98
↓ 11 callersClassOcrConfig
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:134
↓ 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
↓ 8 callersFuncTypeprogressSink
func(context.Context, acp.SessionNotification) error
acp/internal/adapter/presentation/helpers_test.go:68
↓ 8 callersFuncTypetaskClient
func(context.Context, llm.ChatRequest) (*llm.ChatResponse, error)
internal/llmloop/task_test.go:20
↓ 7 callersStructresult
internal/mcp/client.go:226
↓ 6 callersClassCliRunOptions
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:185
↓ 6 callersClassGitState
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:158
↓ 6 callersFuncTypediagnosticTransport
func(*http.Request) (*http.Response, error)
acp/internal/intent/llm/diagnostics_test.go:68
↓ 5 callersClassConfigEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:214
↓ 5 callersClassLogLine
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:166
↓ 5 callersClassProviderEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:115
↓ 5 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:134
↓ 5 callersClassRecorder
A post() that records discussions; optionally fails the first inline.
examples/gitflic_ci/post_review_test.py:141
↓ 5 callersFuncTypeprogressRunner
func(context.Context, orchestrator.Request) (<-chan orchestrator.Event, <-chan orchestrator.Outcome)
acp/internal/adapter/presentation/helpers_test.go:62
↓ 4 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
↓ 4 callersClassEnvToolStatus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:172
↓ 4 callersClassLlmConfig
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:125
↓ 4 callersClassResolvedLines
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:97
↓ 4 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
↓ 4 callersFuncTypeprogressRunner
func(context.Context, orchestrator.Request) (<-chan orchestrator.Event, <-chan orchestrator.Outcome)
acp/internal/adapter/progress_test.go:19
↓ 4 callersFuncTypeprogressSink
func(context.Context, acp.SessionNotification) error
acp/internal/adapter/progress_test.go:25
↓ 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 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 callersClassEnvCheckResult
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:178
↓ 3 callersClassLineSpan
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:66
↓ 3 callersFuncTyperesolverRoundTripFunc
func(*http.Request) (*http.Response, error)
internal/llm/chatgpt_transport_test.go:8
↓ 2 callersClassCommentSyncState
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:207
↓ 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:197
↓ 2 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:39
↓ 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
↓ 2 callersTypeAliasinvalidIDTokenError
internal/chatgptauth/jwt.go:45
↓ 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:145
↓ 1 callersStructConfig
Config represents the user-level configuration file (~/.opencodereview/config.json).
cmd/opencodereview/config_cmd.go:349
↓ 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:1109
↓ 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 callersTypeAliasExcludeReason
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:8
↓ 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:55
↓ 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:891
↓ 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:85
↓ 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 callersStructLlmConfig
cmd/opencodereview/config_cmd.go:364
↓ 1 callersStructMCPServerConfig
MCPServerConfig holds configuration for a single MCP server. Type "stdio" (default) uses a subprocess; type "remote" uses Streamable HTTP.
cmd/opencodereview/config_cmd.go:335
↓ 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 callersTypeAliasOutcomeKind
OutcomeKind is the local terminal state. A local timeout or cancellation takes precedence over the child process exit code and JSON status.
acp/internal/orchestrator/types.go:46
↓ 1 callersClassPanelDialog
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefConfigPanelHost.kt:115
↓ 1 callersStructProviderEntry
ProviderEntry holds per-provider configuration in the providers map.
cmd/opencodereview/config_cmd.go:304
↓ 1 callersClassReviewSummary
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:86
↓ 1 callersTypeAliasReviewType
ReviewType represents the type of review operation.
acp/internal/contract/intent.go:15
↓ 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:91
↓ 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 callersClassSmokeClient
acp/testdata/python-client-smoke.py:111
↓ 1 callersStructTelemetryConfig
TelemetryConfig holds telemetry-specific settings.
cmd/opencodereview/config_cmd.go:381
↓ 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:165
↓ 1 callersTypeAliasconfigAlias
cmd/opencodereview/config_cmd.go:451
↓ 1 callersTypeAliasllmConfigAlias
cmd/opencodereview/config_cmd.go:523
↓ 1 callersTypeAliasmcpServerConfigAlias
cmd/opencodereview/config_cmd.go:499
↓ 1 callersTypeAliasproviderEntryAlias
cmd/opencodereview/config_cmd.go:475
↓ 1 callersFuncTypereviewToolsClient
func(context.Context, llm.ChatRequest) (*llm.ChatResponse, error)
cmd/opencodereview/code_access_test.go:98
↓ 1 callersTypeAliastelemetryConfigAlias
cmd/opencodereview/config_cmd.go:547
Class
pages/src/components/ErrorBoundary.tsx:28
Class
plugins/open-code-review/opencode/open-code-review.ts:52
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:30
Class
extensions/vscode/src/extension/services/GitService.ts:13
Class
extensions/vscode/src/extension/services/CliService.ts:11
Class
extensions/vscode/src/extension/services/CliService.ts:17
Class
extensions/vscode/src/extension/services/ConfigService.ts:13
StructAPIError
internal/chatgptauth/api_error.go:17
ClassActivateCustomProvider
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:69
InterfaceActiveProviderSummary
extensions/frontend/src/shared/configUtils.ts:35
StructAgent
Agent orchestrates full-file code review. It delegates the per-file LLM tool-use loop to reviewtask.Runner and owns only scan-specific concerns (file
internal/scan/agent.go:110
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:179
StructAgent
acp/internal/adapter/agent.go:16
ClassAgentWarning
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Types.kt:96
next →1–100 of 771, ranked by callers