MCPcopy Create free account

hub / github.com/alibaba/open-code-review / functions

Functions7,169 in github.com/alibaba/open-code-review

↓ 1 callersFunctionawaitStreams
(streams streamHandle)
acp/internal/orchestrator/runner.go:310
↓ 1 callersFunctionb64
(s)
scripts/github-actions/post-review-comments.test.js:4061
↓ 1 callersFunctionbatchCallCount
()
scripts/github-actions/post-review-comments.test.js:153
↓ 1 callersFunctionbatchKeyFunc
batchKeyFunc returns the grouping key extractor for a strategy.
internal/scan/batch.go:85
↓ 1 callersFunctionbatchPostedComments
()
scripts/github-actions/post-review-comments.test.js:131
↓ 1 callersFunctionbedrockContext
bedrockContext reports the region and profile a Bedrock client resolved. ok is false for every other client, which keeps the test output unchanged for
cmd/opencodereview/llm_cmd.go:253
↓ 1 callersMethodbedrockWhere
bedrockWhere describes the region and profile in one clause, for error text.
internal/llm/client.go:1376
↓ 1 callersMethodbeginTurn
beginTurn marks the session busy and installs its cancellation context under the agent lock. Every successful call must be paired with endTurn.
acp/internal/adapter/session.go:111
↓ 1 callersMethodbindConfigPanel
(open: (focus?: ConfigPanelFocus) => void)
extensions/vscode/src/extension/providers/SidebarProvider.ts:31
↓ 1 callersFunctionblockForCancel
(sigCh chan os.Signal)
acp/testdata/mock-ocr/main.go:257
↓ 1 callersFunctionbodyColors
background-color / color out of a `body { ... }` block.
pages/src/index.html.test.ts:35
↓ 1 callersFunctionboolPtr
(v bool)
internal/llm/retry_observer_test.go:691
↓ 1 callersFunctionbotComments
(n)
scripts/github-actions/post-review-comments.test.js:6327
↓ 1 callersFunctionbrowserEnvArgv
browserEnvArgv turns one $BROWSER entry into an argv, or nil if it is blank.
internal/viewer/browser.go:142
↓ 1 callersFunctionbuildAdvanceMarker
(manifest)
scripts/github-actions/post-review-comments.js:221
↓ 1 callersMethodbuildAnchorDeps
(root: string, ctx: ReviewContext)
extensions/vscode/src/extension/providers/CommentProvider.ts:100
↓ 1 callersMethodbuildCommentDiffUris
Build the URIs for both diff sides and the Git ref used to attach comments.
extensions/vscode/src/extension/services/GitService.ts:448
↓ 1 callersFunctionbuildConfirmedCommentsBlock
buildConfirmedCommentsBlock renders confirmed findings from prior rounds into a compact text block for injection into the next round's prompt. Returns
internal/agent/util.go:55
↓ 1 callersMethodbuildCoverageLocked
buildCoverageLocked assembles the sorted, non-nil coverage sets from the current item and exclusion maps. Caller must hold b.mu.
internal/session/manifest.go:963
↓ 1 callersFunctionbuildCreateEntries
()
extensions/frontend/src/webview/views/ConfigView.tsx:458
↓ 1 callersFunctionbuildCustomUpdateSaveEntries
(params: { name: string; protocol: string; url: string; model: string; models: string; apiKey: str
extensions/frontend/src/shared/configUtils.ts:143
↓ 1 callersFunctionbuildEditEntries
()
extensions/frontend/src/webview/views/ConfigView.tsx:468
↓ 1 callersFunctionbuildFileFilter
buildFileFilter picks the highest-priority layer that has any include/exclude configured. Priority order: custom (--rule) > project > global.
internal/config/rules/system_rules.go:351
↓ 1 callersFunctionbuildFlatDocList
()
pages/src/pages/DocsPage.tsx:122
↓ 1 callersMethodbuildMainTaskMessages
buildMainTaskMessages renders the MAIN_TASK messages for one review round. planResult is "" for round 2+ (stripped via stripEmptyPlanBlock). confirmed
internal/agent/agent.go:1345
↓ 1 callersFunctionbuildMessageXML
(msgs []llm.Message)
internal/agent/util.go:111
↓ 1 callersFunctionbuildPreReviewSummaryBody
(totalCount, summaryComments, routedComments, warnings)
scripts/github-actions/post-review-comments.js:2463
↓ 1 callersFunctionbuildSummaryBody
({ total, inline, summary, skipped, routed = 0, failed, warnings })
scripts/github-actions/post-review-comments.js:2432
↓ 1 callersFunctionbuildUrl
(pattern, vars)
scripts/install.js:87
↓ 1 callersFunctionbuild_config
Build the config dict from environment variables (with defaults).
examples/gitlab_ci/post_review.py:1481
↓ 1 callersFunctionbuild_endpoint
Join base URL (context path kept, trailing slash tolerated) and route.
examples/gerrit_ci/post_review.py:192
↓ 1 callersFunctionbuild_line_range
Resolve a multiline ``span`` into a GitLab ``line_range`` from ``diff``. Returns ``None`` when the inventory lacks per-line positions for ``path`
examples/gitlab_ci/post_review.py:606
↓ 1 callersFunctionbuild_new_line_positions
Map each new-file line number to its diff position within a patch. Returns ``{new_line: {"type": "new"|"context", "old_line": int|None}}``. A
examples/gitlab_ci/post_review.py:542
↓ 1 callersFunctionbuild_policy
Parse the publication policy from the raw opt-in inputs. Returns a normalized policy dict, or :data:`NO_ROUTING` when no routing is requested
examples/gitlab_ci/post_review.py:167
↓ 1 callersFunctionbuild_pre_review_summary_body
Summary body shown in the sticky anchor while inline comments post.
examples/gitlab_ci/post_review.py:375
↓ 1 callersFunctionbuild_review_input
Map `ocr review --format json` output to one Gerrit ReviewInput dict.
examples/gerrit_ci/post_review.py:98
↓ 1 callersFunctionbuild_summary_body
Merged summary header. Counts are mutually exclusive and sum to total.
examples/gitlab_ci/post_review.py:357
↓ 1 callersMethodcallAnthropic
(ctx context.Context, req intent.LLMRequest)
acp/internal/intent/llm/client.go:150
↓ 1 callersMethodcallOpenAI
(ctx context.Context, req intent.LLMRequest)
acp/internal/intent/llm/client.go:93
↓ 1 callersFunctioncanResumeSlash
canResumeSlash permits only a direct answer to a pending range clarification. Every other slash command begins a new request so stale values cannot ch
acp/internal/intent/slash.go:125
↓ 1 callersMethodcancelActiveSession
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:219
↓ 1 callersFunctioncancelSynchronousIO
(thread syscall.Handle)
acp/cmd/ocr-acp/stdio_windows.go:272
↓ 1 callersFunctioncandidateRefs
Choose candidate (ref, side) pairs by file status, in the order they should be tried. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:138
↓ 1 callersFunctioncapFileReadLine
capFileReadLine caps one rendered line at fileReadMaxLineBytes. The cut backs off to a UTF-8 rune boundary so a multibyte character is never split mid
internal/tool/file_read.go:136
↓ 1 callersFunctioncaptureHeaders
captureHeaders flattens an http.Header for the record: credential-bearing headers are redacted by name, repeated values are joined in the RFC 9110 lis
internal/llm/raw.go:162
↓ 1 callersMethodcatalogRequest
(req *http.Request, auth *Auth, target any)
internal/chatgptauth/api_error.go:119
↓ 1 callersFunctioncategoryCounts
(comments []*ReviewComment)
internal/viewer/server.go:241
↓ 1 callersMethodcheckEnvironment
Probes node -> npm -> ocr in order with short-circuiting: once one is unavailable the rest fail immediately, avoiding pointless waits. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:60
↓ 1 callersMethodcheckPromptBudget
checkPromptBudget validates that the rendered messages fit within the token limit. Returns a *subtaskStop when they do not, nil otherwise.
internal/agent/agent.go:1370
↓ 1 callersFunctioncheck_fail_on_severity
True when any comment's severity is at-or-above ``threshold``.
examples/gitlab_ci/post_review.py:1530
↓ 1 callersFunctioncheckoutWithPinnedActionCommands
(sparsePattern)
scripts/github-actions/check-pr-commit-policy.test.js:403
↓ 1 callersFunctioncheckpointAuthorSlug
(comment)
scripts/github-actions/post-review-comments.js:3100
↓ 1 callersFunctionchildBlock
(sigCh chan os.Signal)
acp/testdata/mock-ocr/main.go:325
↓ 1 callersMethodclaimCommandDiscovery
claimCommandDiscovery keeps session lifecycle and discovery state under one lock.
acp/internal/adapter/connection.go:26
↓ 1 callersFunctionclampToZero
clampToZero matches the SDK accumulator's handling of the negative tool-call delta index some gateways send for a single call.
internal/llm/client.go:1046
↓ 1 callersFunctionclassifyResolveError
(e)
scripts/github-actions/post-review-comments.js:1754
↓ 1 callersFunctionclassify_comment_against_diff
Tri-state: ``"valid"`` | ``"invalid"`` | ``"unknown"``. ``invalid`` is provably outside the diff; ``unknown`` means we could not prove anythi
examples/gitlab_ci/post_review.py:624
↓ 1 callersFunctioncloneContentBlockParam
cloneContentBlockParam deep-copies a content block via JSON round trip.
internal/llm/client.go:1690
↓ 1 callersFunctioncloneItems
(src []CoverageItem)
internal/session/manifest.go:955
↓ 1 callersFunctioncloneUnknownJSONFields
(src map[string]json.RawMessage)
cmd/opencodereview/provider_tui.go:1334
↓ 1 callersMethodclose
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefConfigPanelHost.kt:63
↓ 1 callersMethodcloseStreamsQuietly
Closes the process's three streams, swallowing exceptions (mirrors CliService.closeStreamsQuietly). */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ShellEnv.kt:112
↓ 1 callersFunctioncodeCommentResponse
(path string)
internal/agent/agent_test.go:89
↓ 1 callersFunctioncommandAndMode
()
acp/testdata/ocr-stub/main.go:93
↓ 1 callersFunctioncommandUpdate
()
acp/internal/adapter/transport/discovery.go:65
↓ 1 callersFunctioncommentMarkID
commentMarkID returns a stable identity for one comment within an immutable session file. Records carry a top-level uuid: uuid#commentIndex is exact,
internal/viewer/store.go:778
↓ 1 callersFunctioncompareFinding
compareFinding renders one comment object for a review_item_done record. suggestion is the fix the LLM proposed; it is not part of session.Compare's f
internal/viewer/compare_test.go:23
↓ 1 callersFunctioncomparisonFixture
()
scripts/github-actions/check-pr-commit-policy.test.js:152
↓ 1 callersFunctioncomparisonGit
(test *testing.T, repo string, args ...string)
internal/tool/code_access_test.go:20
↓ 1 callersMethodcompletionsStreaming
completionsStreaming consumes an SSE completion and corrects the retry report when the stream fails after it was already established. The correction
internal/llm/client.go:785
↓ 1 callersMethodcompletionsStreamingInner
(ctx context.Context, params openai.ChatCompletionNewParams, opts ...openaiopt.RequestOption)
internal/llm/client.go:795
↓ 1 callersFunctioncomputeChecksum
(filePath)
scripts/install.js:146
↓ 1 callersMethodcomputeMergeBase
---- Internal helpers ----
internal/diff/git.go:459
↓ 1 callersFunctioncomputeTerminal
computeTerminal derives the terminal state from coverage plus run_failure. A run_failure forces failed while leaving the recorded outcomes intact. Aft
internal/session/manifest.go:1009
↓ 1 callersMethodconfigPanel
Config panel page. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:26
↓ 1 callersFunctionconfigureProcessGroup
(cmd *exec.Cmd)
cmd/opencodereview/procattr_unix.go:13
↓ 1 callersFunctionconfigureProcessGroup
(cmd *exec.Cmd)
acp/internal/orchestrator/process/process_unix.go:16
↓ 1 callersMethodconfirmDeleteModel
()
cmd/opencodereview/provider_tui.go:3012
↓ 1 callersMethodconfirmDeleteOfficialModel
()
cmd/opencodereview/provider_tui.go:1672
↓ 1 callersFunctioncontainsStr
(list []string, want string)
cmd/opencodereview/provider_tui_savefail_test.go:150
↓ 1 callersFunctioncontainsWarning
(events []Event)
acp/internal/orchestrator/runner_test.go:287
↓ 1 callersFunctioncontextWithHead
(head, title = CONTEXT.payload.pull_request.title)
scripts/github-actions/check-pr-commit-policy.test.js:23
↓ 1 callersFunctioncooldownAndReconcile
({ github, owner, repo, prNumber, log, error, items, tag, label, labelLower })
scripts/github-actions/post-review-comments.js:2577
↓ 1 callersFunctioncooperativeInterruptAvailable
(test *testing.T)
acp/internal/orchestrator/process_unix_test.go:19
↓ 1 callersFunctioncooperativeInterruptAvailable
(test *testing.T)
acp/internal/orchestrator/process_windows_test.go:24
↓ 1 callersFunctioncopyMessages
copyMessages returns a deep copy of a messages slice so that future mutations don't corrupt stored records.
internal/session/history.go:391
↓ 1 callersFunctioncopyMessages
(msgs []llm.Message)
internal/agent/util.go:126
↓ 1 callersFunctioncopyMessagesForJSON
copyMessagesForJSON produces a JSON-friendly slice for persistence.
internal/session/history.go:423
↓ 1 callersFunctioncopyToolCalls
copyToolCalls deep-copies tool calls. ExtraContent is a byte slice, so an element copy alone would alias the caller's bytes.
internal/session/history.go:408
↓ 1 callersFunctioncountMessagesTokens
(msgs []llm.Message)
internal/agent/util.go:139
↓ 1 callersFunctioncountTokensWithEncoding
(text string, encName string)
internal/llm/client.go:564
↓ 1 callersMethodcountsToolCalls
countsToolCalls reports whether the NativeTurn payload already accounts for tool invocations (such as Anthropic MessageParam content blocks or Respons
internal/llm/client.go:178
↓ 1 callersMethodcoverageItem
coverageItem builds the selected-set entry for a diff: the content-independent item_id, the display path, the old path only on a rename, and the raw d
internal/agent/agent.go:1154
↓ 1 callersMethodcreateGitFileUri
(relPath: string, ref: string)
extensions/vscode/src/extension/services/GitService.ts:495
↓ 1 callersFunctioncreateKillOnCloseJob
()
acp/internal/orchestrator/process/winapi_windows.go:83
↓ 1 callersFunctioncreateLauncherFixture
()
bin/ocr.test.js:91
↓ 1 callersFunctioncreateMockProcess
()
extensions/vscode/src/extension/services/__tests__/CliService.cancel.test.ts:22
↓ 1 callersFunctioncreateOutputTemp
createOutputTemp creates a collision-resistant file in the target directory. Unlike os.CreateTemp, the 0666 mode preserves os.Create's umask-sensitive
cmd/opencodereview/shared.go:543
↓ 1 callersMethodcredentials
(ctx context.Context, s Store, account string)
internal/chatgptauth/oauth.go:508
↓ 1 callersMethodcurrentLocale
The current IDE UI language. Used when the JCEF panels assemble their HTML too, hence * internal rather than private. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:205
← previousnext →2,001–2,100 of 7,169, ranked by callers