MCPcopy Create free account

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

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

↓ 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
↓ 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:130
↓ 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:180
↓ 1 callersFunctionorderedToolParameters
(raw json.RawMessage)
internal/agent/agent.go:2153
↓ 1 callersFunctionours
(over)
scripts/github-actions/post-review-comments.test.js:6719
↓ 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 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:2824
↓ 1 callersFunctionparseEnvOverrides
()
internal/llm/resolver.go:168
↓ 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:1185
↓ 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:1556
↓ 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 callersMethodpartitionDiffs
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:432
↓ 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:618
↓ 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:1105
↓ 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 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
↓ 1 callersMethodprepareReviewFileStatus
Cache file statuses before a commit or branch review for use when attaching comments.
extensions/vscode/src/extension/services/GitService.ts:412
↓ 1 callersMethodpresentPatchDiff
As a last resort, show patch text only when the native diff fails.
extensions/vscode/src/extension/services/GitService.ts:374
↓ 1 callersMethodpresentRefDiff
In branch or commit mode, build both sides from Git refs or empty files for the native VS Code diff editor.
extensions/vscode/src/extension/services/GitService.ts:322
↓ 1 callersMethodpreview
preview runs the agent's file-selection logic and returns the preview result. No Template is passed, which leaves the per-file diff-size ceiling disa
cmd/opencodereview/delegate_cmd.go:130
↓ 1 callersFunctionpreviewFiles
(preview *agent.DiffPreview, reviewable bool)
cmd/opencodereview/delegate_cmd.go:293
↓ 1 callersFunctionpreviewJSON
(t *testing.T, repo string, extra ...string)
cmd/opencodereview/default_to_head_e2e_test.go:64
↓ 1 callersFunctionpreviewPathFmt
previewPathFmt pads paths to the widest one among the rows a section prints, so a long path in one section cannot push another section's columns out.
cmd/opencodereview/output.go:823
↓ 1 callersFunctionprintSessionCompare
printSessionCompare writes to stdout, matching the other `ocr session` subcommands.
cmd/opencodereview/session_cmd.go:480
↓ 1 callersFunctionprintSessionTable
(w io.Writer, summaries []session.Summary)
cmd/opencodereview/session_cmd.go:686
↓ 1 callersFunctionprobePath
probePath walks through each candidate path in order, returning the first int64 value found along with true. Returns (0, false) if none match.
internal/llm/usage_resolver.go:119
↓ 1 callersFunctionprocessHandleCount
()
acp/internal/orchestrator/process_alive_windows_test.go:45
↓ 1 callersFunctionproviderAcceptsAWSSettings
providerAcceptsAWSSettings reports whether aws_region / aws_profile mean anything for this provider. Storing them anywhere else would be dead config t
cmd/opencodereview/config_cmd.go:914
↓ 1 callersMethodproviderNameForModelStep
()
cmd/opencodereview/provider_tui.go:574
↓ 1 callersFunctionpublicDiagnosticField
Exempt only ordinary tracing, content-negotiation and version metadata. Unknown fields stay conservative, including custom authentication headers. Cre
acp/internal/intent/llm/diagnostics.go:181
↓ 1 callersFunctionpublish
Post the review result via the injectable ``poster`` object. Returns a stats dict with mutually-exclusive counts:: {total, inline, summa
examples/gitlab_ci/post_review.py:1251
↓ 1 callersFunctionpublish
Post the review result via the `post(discussion)` callable. `post` receives a discussion dict and must raise on failure. A general comment ca
examples/gitflic_ci/post_review.py:252
↓ 1 callersFunctionpublishBatch
({ chunk, github, owner, repo, prNumber, commitSha, reviewBody, REVIEW_TAG, log, diffCache
scripts/github-actions/post-review-comments.js:655
↓ 1 callersMethodpushConfig
(config: ReturnType<ConfigService['read']>)
extensions/vscode/src/extension/providers/SidebarProvider.ts:35
↓ 1 callersFunctionpushValue
(args: string[], flag: string, value: string | number | undefined)
plugins/open-code-review/opencode/open-code-review.ts:73
↓ 1 callersFunctionrandomValue
()
internal/chatgptauth/oauth.go:125
↓ 1 callersFunctionreadComparison
(github, variables, snapshot)
scripts/github-actions/check-pr-commit-policy.js:45
↓ 1 callersMethodreadFileAtRef
Reads a file's content at a given ref; returns null when the path does not exist at that ref. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:213
↓ 1 callersMethodreadFileAtRef
(ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:427
↓ 1 callersMethodreadFromDisk
(path string)
internal/tool/filereader.go:85
↓ 1 callersMethodreadFromGitShow
(parentCtx context.Context, path string)
internal/tool/filereader.go:121
↓ 1 callersFunctionreadJsonOrNull
(repoRoot, file)
scripts/github-actions/check-plugin-contract.js:762
↓ 1 callersMethodreadLinesFromDisk
(path string, startLine, maxLines int)
internal/tool/filereader.go:198
↓ 1 callersMethodreadLinesFromGitShow
(ctx context.Context, path string, startLine, maxLines int)
internal/tool/filereader.go:212
↓ 1 callersMethodreadLoginCallback
(local string, denied bool)
internal/chatgptauth/login_recovery_test.go:126
↓ 1 callersFunctionreadStdout
(r io.Reader, limit int)
acp/internal/orchestrator/streams.go:52
↓ 1 callersMethodreadWorkspaceFile
Reads the file's current workspace content; returns null when the file does not exist. Paths are resolved against repoRoot: the comment paths the CLI
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:220
↓ 1 callersMethodreadWorkspaceFile
(relPath: string)
extensions/vscode/src/extension/services/GitService.ts:437
↓ 1 callersFunctionread_error_body
(e)
examples/gerrit_ci/post_review.py:313
↓ 1 callersFunctionreasonFor
(login)
scripts/github-actions/post-review-comments.test.js:5904
↓ 1 callersMethodrecordBatchCheckpoints
recordBatchCheckpoints persists safe per-file comments after batch dedup. New same-file groups use the canonical result. Reused items keep their sourc
internal/scan/agent.go:619
← previousnext →2,401–2,500 of 7,169, ranked by callers