MCPcopy Create free account

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

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

↓ 1 callersFunctionnewCallbackServer
(handler http.Handler)
internal/chatgptauth/oauth.go:41
↓ 1 callersFunctionnewModelTokenizerCache
()
internal/llm/client.go:537
↓ 1 callersFunctionnewOwnerTestClient
(t *testing.T, ctx context.Context, name, argument string)
internal/mcp/provider_owner_test.go:84
↓ 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:1463
↓ 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:943
↓ 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:111
↓ 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:1459
↓ 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:2602
↓ 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:114
↓ 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:256
↓ 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
↓ 1 callersMethodopenDiff
Open a review file in the native VS Code diff view. Each of the three modes determines its left and right sides.
extensions/vscode/src/extension/services/GitService.ts:270
↓ 1 callersMethodopenDiffEditor
(mount: MountableCommentAnchor)
extensions/vscode/src/extension/providers/CommentProvider.ts:241
↓ 1 callersFunctionopenSearch
()
pages/src/pages/DocsPage.test.tsx:153
↓ 1 callersFunctionopenThread
(access uint32, threadID uint32)
acp/internal/orchestrator/process/winapi_windows.go:211
↓ 1 callersFunctionoptionalPositiveInt
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:330
↓ 1 callersFunctionoptionalString
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:327
↓ 1 callersFunctionorderedPathRulePatterns
orderedPathRulePatterns returns the embedded path_rule_map's globs in declaration order. The sibling helper decodes into a map because membership is a
internal/config/rules/rule_docs_table_test.go:174
↓ 1 callersFunctionorderedToolParameters
(raw json.RawMessage)
internal/agent/agent.go:2186
↓ 1 callersFunctionours
(over)
scripts/github-actions/post-review-comments.test.js:6723
↓ 1 callersFunctionout
(name, value)
scripts/github-actions/post-review-comments.js:137
↓ 1 callersFunctionoverlappedPipe
overlappedPipe is the Windows counterpart to a pollable os.Pipe. Anonymous pipes created by syscall.Pipe do not support deadlines; named pipes opened
acp/cmd/ocr-acp/stdio_windows.go:99
↓ 1 callersFunctionoverlaps_history
True when ``cur_span`` overlaps any prior bot discussion on the same path.
examples/gitlab_ci/post_review.py:470
↓ 1 callersMethodpage
(position section, cursor, maxBytes int)
internal/behaviortask/observation.go:107
↓ 1 callersFunctionpageList
(total, current)
internal/viewer/static/pager.js:17
↓ 1 callersFunctionpanel
()
pages/src/components/HeroSection.test.tsx:23
↓ 1 callersFunctionparseDiffHunkRanges
(patch)
scripts/github-actions/post-review-comments.js:2827
↓ 1 callersFunctionparseEnvOverrides
()
internal/llm/resolver.go:169
↓ 1 callersFunctionparseFilterSet
(s string)
cmd/opencodereview/session_cmd.go:529
↓ 1 callersFunctionparseFrontmatter
(slug: BlogSlug, raw: string)
pages/src/content/blog/index.ts:62
↓ 1 callersFunctionparseInputs
(text)
scripts/github-actions/action-contract.test.js:45
↓ 1 callersFunctionparseMCPHeaders
parseMCPHeaders parses a JSON object of header key-value pairs. Example: {"Authorization": "Bearer $TOKEN", "X-Custom": "value"}
cmd/opencodereview/config_cmd.go:1202
↓ 1 callersFunctionparseMode
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:101
↓ 1 callersFunctionparseModelList
(value: string)
extensions/vscode/src/extension/services/configDraft.ts:18
↓ 1 callersFunctionparseNLCases
(t *testing.T, content string)
acp/internal/intent/nl_catalog_test.go:24
↓ 1 callersMethodparseNatural
parseNatural turns free text into an intent through one LLM tool call. There is no deterministic fallback: a failed call becomes a clarification or a
acp/internal/intent/natural.go:21
↓ 1 callersFunctionparsePorcelain
(output: string)
extensions/vscode/src/extension/services/gitMap.ts:23
↓ 1 callersFunctionparseProviderEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:29
↓ 1 callersFunctionparseProviderEntry
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:6
↓ 1 callersFunctionparseProviderMap
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:46
↓ 1 callersFunctionparseProviderMap
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:21
↓ 1 callersFunctionparseQuotedDiffHeader
parseQuotedDiffHeader extracts the old and new paths from a "diff --git" line in which at least one side is quoted, with the "a/" and "b/" prefixes re
internal/diff/quotedpath.go:140
↓ 1 callersMethodparseSlash
parseSlash parses a deterministic slash command. It never calls the LLM, so review and /scan keep working while the parsing LLM is down.
acp/internal/intent/slash.go:13
↓ 1 callersFunctionparseStatValue
(value: string)
pages/src/components/HighlightsSection.tsx:20
↓ 1 callersFunctionparseStatus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:107
↓ 1 callersFunctionparse_args
(argv)
examples/gerrit_ci/post_review.py:327
↓ 1 callersFunctionparse_args
(argv)
examples/gitlab_ci/post_review.py:1565
↓ 1 callersFunctionparse_args
(argv=None)
examples/codeup_ci/post_review.py:234
↓ 1 callersFunctionparse_args
(argv)
examples/gitflic_ci/post_review.py:413
↓ 1 callersFunctionparse_diff
Split combined unified diff text into per-file FileDiff sections.
examples/gitflic_ci/post_review.py:124
↓ 1 callersFunctionparse_diff_hunk_inventory
Parse a unified-diff patch into per-hunk new-file line ranges. Returns ``(ranges, complete)``. ``complete`` is False when the patch looks tru
examples/gitlab_ci/post_review.py:495
↓ 1 callersFunctionparse_hunks
Parse one file's unified diff text into a list of Hunks. Lines before the first @@ header (diff --git, ---, +++) are ignored.
examples/gitflic_ci/post_review.py:88
↓ 1 callersFunctionpartialReview
()
acp/testdata/mock-ocr/main.go:188
↓ 1 callersFunctionpartitionDiffs
partitionDiffs keeps diffs filtered by built-in directory rules available for reporting while preserving the review input as the Included slice. In w
internal/diff/git.go:443
↓ 1 callersMethodpathExistsAtRef
(root: string, ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:393
↓ 1 callersMethodpeekFirstLine
peekFirstLine returns the first non-blank line of path, read at s.ref when set (so refs that are not checked out still resolve correctly) and from the
internal/config/rules/sniffer.go:98
↓ 1 callersFunctionpick
(v: string)
extensions/frontend/src/webview/components/Select.tsx:36
↓ 1 callersFunctionplural
(n int, word string)
cmd/opencodereview/output.go:650
↓ 1 callersFunctionposition_span
Resolve a GitLab discussion position into a line span (or None).
examples/gitlab_ci/post_review.py:434
↓ 1 callersFunctionpost
(discussion)
examples/gitflic_ci/post_review.py:339
↓ 1 callersFunctionpostSummary
({ github, owner, repo, prNumber, body, sticky, preserveMarker = false, appSlug = "", resolv
scripts/github-actions/post-review-comments.js:1108
↓ 1 callersMethodpost_discussion
POST a discussion with idempotent reconciliation on ambiguous failures.
examples/gitlab_ci/post_review.py:1016
↓ 1 callersFunctionpost_global_comment
POST a GLOBAL_COMMENT to a CodeUp change request. Returns (status, body).
examples/codeup_ci/post_review.py:172
↓ 1 callersFunctionpostedBody
(github)
scripts/github-actions/post-review-comments.test.js:653
↓ 1 callersMethodprepare
(ctx context.Context, request analysisRequest)
cmd/opencodereview/analysis.go:95
↓ 1 callersFunctionprepareAdapterCmd
(cmd *exec.Cmd)
acp/cmd/ocr-acp/adapter_signal_unix_test.go:13
↓ 1 callersFunctionprepareInterruptible
(cmd *exec.Cmd)
acp/internal/contract/interrupt_unix_test.go:13
↓ 1 callersMethodprepareReviewFileStatus
* Records the files involved in this review and their statuses at review start, for [getReviewFileStatus] to query. * Comment mounting relies on
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:276
← previousnext →2,501–2,600 of 7,484, ranked by callers