MCPcopy Create free account

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

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

↓ 1 callersFunctionloadFromEmbed
(filename string)
internal/llm/embedded_loader.go:57
↓ 1 callersFunctionloadMermaid
()
pages/src/components/MarkdownRenderer.tsx:17
↓ 1 callersFunctionloadPlugin
(worktree)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:11
↓ 1 callersMethodloadPreviewDiffs
loadPreviewDiffs loads the normal review input plus provider-level directory exclusions. Only Preview needs the excluded payload, so normal review run
internal/agent/preview.go:114
↓ 1 callersFunctionloadSessionShowDetail
(sessionID string)
cmd/opencodereview/session_cmd.go:337
↓ 1 callersFunctionloadStoredMarks
()
internal/viewer/static/session.js:196
↓ 1 callersFunctionload_diffs_by_path
Build {new_path: FileDiff} for the merge-base diff `ocr review` ran on.
examples/gitflic_ci/post_review.py:387
↓ 1 callersFunctionload_incremental_history
Return a list of ``{path, span}`` for prior bot discussions. None when the read API failed (caller then disables incremental filtering rather
examples/gitlab_ci/post_review.py:1422
↓ 1 callersFunctionload_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gerrit_ci/post_review.py:284
↓ 1 callersFunctionload_review_result
Read the JSON produced by ``ocr review --format json``.
examples/gitlab_ci/post_review.py:1550
↓ 1 callersFunctionload_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gitflic_ci/post_review.py:398
↓ 1 callersMethodloginAttempt
(ctx context.Context, host string, registration, old *Auth, noBrowser, consent bool, out io.Writer, issued *st
internal/chatgptauth/oauth.go:355
↓ 1 callersFunctionlooksBinary
looksBinary reports whether content contains a NUL byte within the sniff window — the same marker git uses to report a file as binary.
internal/diff/git.go:645
↓ 1 callersMethodlookupDiff
lookupDiff returns the synthetic Diff for a path, used by reviewtask.Runner to resolve code_comment line numbers against the scanned file content.
internal/scan/agent.go:414
↓ 1 callersFunctionmain
()
scripts/install.js:156
↓ 1 callersFunctionmain
()
scripts/update.js:129
↓ 1 callersFunctionmain
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-translation-sync.js:342
↓ 1 callersFunctionmain
()
scripts/github-actions/check-pr-commit-policy.test.js:469
↓ 1 callersFunctionmain
()
scripts/github-actions/post-review-comments.test.js:2786
↓ 1 callersFunctionmain
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-plugin-contract.js:1108
↓ 1 callersFunctionmain
()
scripts/github-actions/check-translation-sync.test.js:279
↓ 1 callersFunctionmain
(argv=None)
examples/gerrit_ci/post_review.py:352
↓ 1 callersFunctionmain
(argv=None)
examples/gitlab_ci/post_review.py:1571
↓ 1 callersFunctionmain
(argv=None)
examples/codeup_ci/post_review.py:264
↓ 1 callersFunctionmain
(argv=None)
examples/gitflic_ci/post_review.py:440
↓ 1 callersFunctionmain
()
acp/cmd/ocr-acp/main.go:21
↓ 1 callersFunctionmain_
()
scripts/github-actions/check-plugin-contract.test.js:1070
↓ 1 callersFunctionmakeUnreadable
(t *testing.T, path string)
cmd/opencodereview/session_rm_test.go:248
↓ 1 callersFunctionmake_dry_run_poster
Return post(review_input) that prints instead of calling Gerrit.
examples/gerrit_ci/post_review.py:269
↓ 1 callersFunctionmake_dry_run_poster
Return a :class:`DryRunPoster`.
examples/gitlab_ci/post_review.py:1148
↓ 1 callersFunctionmake_dry_run_poster
Return a post(discussion) that prints instead of calling the API.
examples/gitflic_ci/post_review.py:358
↓ 1 callersFunctionmake_poster
Return post(review_input) that POSTs to the Gerrit set-review endpoint. Auth is preemptive basic auth; the parsed (XSSI-stripped) response JSON i
examples/gerrit_ci/post_review.py:218
↓ 1 callersFunctionmake_poster
Return a :class:`GitLabPoster` bound to the given MR endpoint.
examples/gitlab_ci/post_review.py:1104
↓ 1 callersFunctionmake_poster
Return a post(discussion) that POSTs to the GitFlic Discussions API.
examples/gitflic_ci/post_review.py:330
↓ 1 callersFunctionmanifestReusableFingerprints
manifestReusableFingerprints collects the fingerprints the parent manifest settled as completed or reused. Both count: a parent that itself resumed ca
internal/session/resume.go:260
↓ 1 callersFunctionmanualProtocolIndex
manualProtocolIndex is cpProtocolIndex for the Manual form's shorter list. A config that names bedrock in llm.protocol is unusable there and lands on
cmd/opencodereview/provider_tui.go:212
↓ 1 callersFunctionmapResponsesFinishReason
mapResponsesFinishReason applies the coarse-grained mapping from decision 8: - completed -> stop - incomplete -> length - failed/cancelled -> error -
internal/llm/responses_client.go:625
↓ 1 callersFunctionmapsEqual
(a, b map[string]string)
internal/llm/resolver_test.go:1709
↓ 1 callersMethodmarkChunkReloadAttempt
()
pages/src/components/ErrorBoundary.tsx:42
↓ 1 callersMethodmarkCompleted
markCompleted/markReused/markFailed are nil-safe manifest transitions. A non-nil error here is an internal invariant violation (a mis-keyed or duplica
internal/agent/agent.go:1171
↓ 1 callersMethodmarkFailed
(d model.Diff, class session.FailureClass, reason string)
internal/agent/agent.go:1191
↓ 1 callersMethodmarkReused
(d model.Diff)
internal/agent/agent.go:1181
↓ 1 callersFunctionmarkdownForOutput
(writer io.Writer, markdown string)
cmd/opencodereview/markdown.go:27
↓ 1 callersFunctionmarshaledLen
(v any)
internal/llm/client.go:202
↓ 1 callersFunctionmatchGitignoreDirectory
(relPath, pattern string)
internal/diff/git.go:399
↓ 1 callersFunctionmatchGitignorePattern
matchGitignorePattern checks if relPath matches a single .gitignore pattern. Polarity is not this function's concern: a negated pattern reports false
internal/diff/git.go:342
↓ 1 callersMethodmatchProjectRuleDetail
(pr *ProjectRule, path, source string)
internal/config/rules/system_rules.go:523
↓ 1 callersFunctionmergeReviewSlots
(prev *pendingSlots, raw *rawIntent)
acp/internal/intent/natural.go:158
↓ 1 callersFunctionmergeScanSlots
Omitted lists inherit compatible pending state; explicit lists (including empty arrays) replace it. Never concatenate targets or command options.
acp/internal/intent/natural.go:145
↓ 1 callersMethodmissingBundle
* The bundle is missing from the jar — almost always because the frontend was not built. * The copy goes through [HostStrings] and must not be ha
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:103
↓ 1 callersFunctionmissingField
Messages like "{type} is missing {field}" differ only in two arguments and are all built here, * avoiding repeated copy construction at each call si
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:128
↓ 1 callersFunctionml
(a, b)
scripts/github-actions/post-review-comments.test.js:1618
↓ 1 callersFunctionmockReload
()
pages/src/components/ErrorBoundary.test.tsx:12
↓ 1 callersFunctionmock_ocr
()
acp/testdata/python-client-smoke.py:27
↓ 1 callersMethodmountDiffPanels
* Attach inline comment panels to a diff view. Called by GitService.diffViewerReady after showDiff. * Find editor instances for the document thro
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:580
↓ 1 callersFunctionmountableOrUnresolved
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:185
↓ 1 callersMethodmr_url
Best-effort MR web URL (cached). None when unavailable.
examples/gitlab_ci/post_review.py:940
↓ 1 callersFunctionmustStat
(t *testing.T, path string)
internal/pathutil/path_test.go:168
↓ 1 callersFunctionnewBlockingScanCompressionClient
()
internal/scan/agent_test.go:409
↓ 1 callersFunctionnewModelTokenizerCache
()
internal/llm/client.go:525
↓ 1 callersFunctionnewProbeAgent
newProbeAgent builds a scan Agent whose only non-default piece is the probe client, so the assertions describe NewAgent's real wiring.
internal/scan/retry_identity_test.go:56
↓ 1 callersFunctionnewSlots
(action string)
acp/internal/intent/parser.go:106
↓ 1 callersFunctionnew_comment_id
Random per-comment id embedded as an HTML comment for idempotency.
examples/gitlab_ci/post_review.py:1454
↓ 1 callersFunctionnextSignificantByte
nextSignificantByte returns the index of the first non-whitespace byte at or after i, or -1 when nothing but whitespace remains.
internal/tool/comment_args_repair.go:155
↓ 1 callersFunctionnextToolCallID
(kind string)
acp/internal/adapter/presentation/tool_ids.go:27
↓ 1 callersFunctionnonZeroExit
()
acp/testdata/mock-ocr/main.go:242
↓ 1 callersFunctionnormalizeAWSSetting
normalizeAWSSetting trims the value and rejects the shapes AWS itself will not accept. Region names are deliberately not checked against a fixed list:
cmd/opencodereview/config_cmd.go:926
↓ 1 callersFunctionnormalizeCodeCommentCategory
(category string)
internal/tool/code_comment.go:182
↓ 1 callersFunctionnormalizeCodeCommentSeverity
(severity string)
internal/tool/code_comment.go:190
↓ 1 callersFunctionnormalizeCommentPath
(p string)
internal/tool/code_comment.go:170
↓ 1 callersFunctionnormalizeHeadingText
(text: string)
pages/src/utils/headingId.ts:68
↓ 1 callersFunctionnormalizePath
normalizePath cleans a user-supplied relative path and rejects anything that escapes the target root. filepath.Clean collapses "." and "..", but it on
acp/internal/contract/intent.go:239
↓ 1 callersFunctionnormalizeProtocol
(raw string)
acp/internal/intent/llm/resolve.go:120
↓ 1 callersFunctionnormalizeSnippet
normalizeSnippet collapses every whitespace run to a single space so that re-indentation and line rewrapping do not change a finding's identity. Seman
internal/session/compare.go:109
↓ 1 callersMethodnormalized
()
acp/internal/orchestrator/types.go:90
↓ 1 callersFunctionnormalizedCommentSeverity
(severity string)
internal/viewer/server.go:237
↓ 1 callersMethodnotFoundMessage
notFoundMessage names the paths that had no diff and, when the snapshot holds other paths, names those too: a request for a path outside the change se
internal/tool/file_read_diff.go:112
↓ 1 callersMethodnotifyConfig
(config: OcrConfig | null)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:65
↓ 1 callersFunctionntResumeProcess
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:133
↓ 1 callersFunctionnum
(v)
scripts/github-actions/post-review-comments.js:1456
↓ 1 callersFunctionnumberedCodeLines
numberedCodeLines pairs each line of existing_code with its file line number. Num is left at 0 on every line whenever the reported range and the snip
internal/viewer/server.go:298
↓ 1 callersFunctionobserveAttempt
observeAttempt turns one transport result into an AttemptRecord. Classification runs whenever the status is non-2xx or the transport failed. The non-
internal/llm/retry_observer.go:57
↓ 1 callersFunctionocrInvokingSteps
()
scripts/github-actions/action-contract.test.js:1931
↓ 1 callersFunctionofficialAPIKeyEnvSetHintLine
(envVar string, hasSavedKey bool)
cmd/opencodereview/provider_tui.go:2588
↓ 1 callersFunctionold_line_for
Map a new-side line number to the corresponding old-side line. Lines added by the diff have no old counterpart, so they are anchored to the c
examples/gitflic_ci/post_review.py:178
↓ 1 callersMethodonConfigChanged
After the config panel changes the config, push the new config to the sidebar — which relies * on it to decide whether a review can start. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:180
↓ 1 callersMethodonDone
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:31
↓ 1 callersMethodonDone
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:182
↓ 1 callersMethodonLog
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:30
↓ 1 callersMethodonLog
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:177
↓ 1 callersFunctiononMessage
(handler: (msg: HostToWebview) => void)
extensions/frontend/src/webview/bridge.vsc.ts:16
↓ 1 callersFunctiononModeChange
(mode: ReviewMode)
extensions/frontend/src/webview/App.tsx:34
↓ 1 callersMethodonState
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:29
↓ 1 callersMethodonSync
(fn: (s: CommentSyncState[]) => void)
extensions/vscode/src/extension/providers/CommentProvider.ts:39
↓ 1 callersMethodopen
()
internal/session/persist.go:105
↓ 1 callersMethodopen
Opens the panel; brings it to the front when already open. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelHost.kt:20
↓ 1 callersMethodopen
(focus?: ConfigPanelFocus)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:26
↓ 1 callersFunctionopenAIHeaders
(ep Endpoint)
acp/internal/intent/llm/client.go:257
↓ 1 callersFunctionopenBrowserURL
(ctx context.Context, target string)
internal/chatgptauth/browser_unix.go:14
↓ 1 callersMethodopenConfigPanel
* Opens the config panel. When it is already open, recreate nothing and just resend * `configPanelFocus` to jump to the target step — rebuilding
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:161
← previousnext →2,301–2,400 of 7,128, ranked by callers