MCPcopy Create free account

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

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

↓ 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:423
↓ 1 callersFunctioncopyMessages
(msgs []llm.Message)
internal/agent/util.go:125
↓ 1 callersFunctioncopyMessagesForJSON
copyMessagesForJSON produces a JSON-friendly slice for persistence.
internal/session/history.go:455
↓ 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:440
↓ 1 callersFunctioncountMessagesTokens
(msgs []llm.Message)
internal/agent/util.go:138
↓ 1 callersFunctioncountTokensWithEncoding
(text string, encName string)
internal/llm/client.go:565
↓ 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:179
↓ 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:1168
↓ 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:549
↓ 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
↓ 1 callersFunctiondecodeFragment
(fragment: string)
pages/src/pages/DocsPage.tsx:33
↓ 1 callersFunctiondecodeOne
(data []byte, destination any)
acp/internal/orchestrator/decode.go:46
↓ 1 callersFunctiondecodePresets
(data []byte)
internal/llm/gen/check.go:89
↓ 1 callersMethoddecorateDiff
* Attach comment markers (RangeHighlighter and gutter icons) belonging to this side of a diff document. * Called by GitService.openDiff on the ED
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:475
↓ 1 callersFunctiondefaultAuthHeader
(proto string)
acp/internal/intent/llm/resolve.go:135
↓ 1 callersFunctiondeferredLazy
A lazy component whose chunk resolves only when `resolveChunk` is called.
pages/src/hooks/useTransitionedLocation.test.tsx:11
↓ 1 callersMethoddeleteCustomProvider
* Deletes a custom provider, with cascading cleanup: the `custom_providers` key is removed when its container * becomes empty, and when the delet
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigService.kt:132
↓ 1 callersMethoddeleteCustomProvider
(name: string)
extensions/vscode/src/extension/services/ConfigService.ts:59
↓ 1 callersFunctionderive_base_url
Derive the Gerrit base URL from a change URL. Modern URLs ({base}/c/{project}/+/{number}) split at "/c/", which keeps any context path; legac
examples/gerrit_ci/post_review.py:201
↓ 1 callersFunctiondescribeCompareSide
(sessionID string, s *session.Summary)
cmd/opencodereview/session_cmd.go:470
↓ 1 callersFunctiondescribeHeading
(h)
scripts/github-actions/check-translation-sync.js:120
↓ 1 callersMethoddescribeRight
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:440
↓ 1 callersFunctiondescribeTarget
describeTarget renders a provider/model pair for the transition line. Either side may be empty (a non-provider endpoint records no provider name).
cmd/opencodereview/session_cmd.go:781
↓ 1 callersFunctiondetectBrowserLanguage
()
pages/src/i18n/context.tsx:28
↓ 1 callersFunctiondetectGitBranch
detectGitBranch returns the current git branch name for the given repo, or empty string on failure.
internal/agent/util.go:157
↓ 1 callersFunctiondetectPlatform
()
scripts/install.js:31
↓ 1 callersMethoddiscard
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:301
↓ 1 callersFunctiondispatchRequest
(ctx context.Context, raw json.RawMessage, call func(context.Context, P) (R, error))
acp/internal/adapter/transport/dispatch.go:45
↓ 1 callersMethoddispose
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefConfigPanelHost.kt:89
↓ 1 callersMethoddispose
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefReviewPanel.kt:83
↓ 1 callersFunctiondownloadBinary
(url, destPath)
scripts/install.js:128
↓ 1 callersFunctiondownloadText
(url)
scripts/install.js:118
↓ 1 callersFunctionduplicateFile
(source *os.File)
acp/cmd/ocr-acp/stdio_windows.go:61
↓ 1 callersFunctionembeddedPathRuleMap
embeddedPathRuleMap returns the embedded system_rules.json path_rule_map as a glob → rule-doc map. A plain map decode is enough: the check below compa
internal/config/rules/rule_docs_table_test.go:101
↓ 1 callersFunctionemptyComments
()
acp/testdata/mock-ocr/main.go:209
↓ 1 callersFunctionemptyManifest
emptyManifest is the well-formed, empty skipped manifest returned alongside an error from a nil-builder Finalize, so a mistaken nil receiver never pan
internal/session/manifest.go:885
↓ 1 callersMethodemptySideUri
Provide an empty side (equivalent to /dev/null) for diffs of added or deleted files.
extensions/vscode/src/extension/services/GitService.ts:355
↓ 1 callersMethodendTurn
endTurn releases the session only after its prompt and runner cleanup finish. The busy flag keeps s.cancel owned by this turn until it is cleared here
acp/internal/adapter/session.go:140
↓ 1 callersFunctionensureBuilt
()
acp/internal/testutil/stub.go:72
↓ 1 callersFunctionensureEOF
(dec *json.Decoder)
acp/internal/intent/natural.go:69
↓ 1 callersFunctionensureProviderBucketEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:140
↓ 1 callersFunctionensureResponsesEndpoint
ensureResponsesEndpoint normalizes cfg.URL to end with /responses. The trailing /responses is kept on cfg.URL (so tests and logs see the full endpoint
internal/llm/responses_client.go:104
↓ 1 callersFunctionensureSummaryAnchor
({ github, owner, repo, prNumber, body, sticky, tag, appSlug = "", resolveSelfLogin = null,
scripts/github-actions/post-review-comments.js:1229
↓ 1 callersFunctionensure_summary_anchor
Phase 1: find-or-create the summary note before posting discussions. Runs in both sticky and non-sticky modes so the pre-review body ("⏳ Post
examples/gitlab_ci/post_review.py:1212
↓ 1 callersFunctionenvToCliStatus
(env: EnvCheckResult)
extensions/frontend/src/webview/configStore.ts:48
↓ 1 callersFunctionenvironments
()
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:174
↓ 1 callersFunctionenvironments
()
skills/open-code-review/scripts/review_pr.py:174
↓ 1 callersFunctionequalStringSlices
(a, b []string)
internal/session/resume.go:340
↓ 1 callersFunctionesc
(s)
internal/viewer/static/session.js:10
↓ 1 callersFunctionescapeAttr
(s: string)
pages/src/components/MarkdownRenderer.tsx:78
↓ 1 callersFunctionescapeCodeBlockBackslashes
(document ast.Node, source []byte)
cmd/opencodereview/markdown.go:166
↓ 1 callersFunctionescapeCodeSpanEntities
(document ast.Node, source []byte)
cmd/opencodereview/markdown.go:150
↓ 1 callersMethodescapeForInlineScript
* A `</script` inside an inline script reads as the script's end tag to the HTML parser, and the * rest of the bundle is then rendered as body te
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:80
↓ 1 callersFunctionescapeMarkdownAlt
(value)
scripts/github-actions/post-review-comments.js:2257
↓ 1 callersFunctionescapedRegExp
(value)
scripts/github-actions/action-contract.test.js:357
↓ 1 callersFunctionevalSessionResponseTextJS
evalSessionResponseTextJS parses the .response-text formatting block from session.js and executes its exact regex/string replacement pipeline in Go so
internal/viewer/server_extra_test.go:1134
↓ 1 callersFunctionexactFilePathspec
(name string)
internal/behaviortask/prepare.go:152
↓ 1 callersFunctionexactNTokens
exactNTokens uses a four-byte fragment that is one cl100k_base token, so it also stays exact under CountTokens' four-bytes-per-token fallback.
internal/scan/agent_test.go:321
↓ 1 callersFunctionexactNTokens
exactNTokens uses a four-byte fragment that is one cl100k_base token, so it also stays exact under CountTokens' four-bytes-per-token fallback.
internal/agent/agent_test.go:633
↓ 1 callersFunctionexecGit
(args: string[])
extensions/vscode/src/extension/services/__tests__/gitMap.test.ts:230
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any)
internal/tool/file_read.go:47
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any)
internal/tool/code_search.go:41
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any)
internal/tool/file_find.go:41
↓ 1 callersMethodexecuteTool
(ctx context.Context, taskKey string, call llm.ToolCall, record *session.TaskRecord, _ string)
internal/behaviortask/runner.go:319
↓ 1 callersFunctionexecutionCommand
(binary string, request orchestrator.Request)
acp/internal/adapter/presentation/progress_format.go:99
↓ 1 callersFunctionexecutionCommandLine
(binary string, request orchestrator.Request)
acp/internal/adapter/presentation/progress_format.go:91
↓ 1 callersFunctionexecutionResultLabel
Execution failures take precedence over any usable result returned by OCR.
acp/internal/adapter/presentation/progress_format.go:108
↓ 1 callersFunctionexpandSessionKeyValue
(v any, key string)
internal/llm/sessionkey.go:133
↓ 1 callersFunctionexplicitFlagHint
explicitFlagHint renders the actionable half of a transition rejection. value is empty whenever the endpoint has no provider name — one configured str
internal/session/resume_identity.go:157
↓ 1 callersFunctionfailForOutputLimit
(error: Error)
plugins/open-code-review/opencode/open-code-review.ts:228
↓ 1 callersFunctionfallbackCopy
(text: string)
pages/src/components/HeroSection.tsx:167
↓ 1 callersFunctionfallbackCopy
(value: string)
pages/src/hooks/useCopyToast.ts:10
↓ 1 callersMethodfalsePositive
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:303
↓ 1 callersFunctionfetchLatestVersion
(pkg)
scripts/update.js:77
↓ 1 callersFunctionfetch_diff_refs
Fetch MR diff refs from the ``/versions`` endpoint (or None on failure). When ``expected_shas`` is provided (e.g. ``{"head": ..., "base": ...}``,
examples/gitlab_ci/post_review.py:815
↓ 1 callersMethodfileOf
(body []byte)
cmd/opencodereview/retry_fake_llm_test.go:141
↓ 1 callersFunctionfilesReviewedFromSelected
(selected []session.CoverageItem)
internal/viewer/store.go:813
↓ 1 callersMethodfilterByPaths
filterByPaths keeps only entries named by a --path selector: the file itself, or everything under it for a directory. The selector's own spelling is
internal/scan/provider.go:318
↓ 1 callersFunctionfilterComments
filterComments keeps comments whose severity and category are in the given comma-separated, case-insensitive filter lists. Empty filters keep everythi
cmd/opencodereview/session_cmd.go:510
↓ 1 callersFunctionfinalizeDiff
finalizeDiff reads the new file content. When ref is non-empty it uses git show to read the file at that ref; otherwise it reads from disk.
internal/diff/parser.go:194
↓ 1 callersFunctionfinalizeResolvedEndpoint
finalizeResolvedEndpoint stamps the source label, strips the model suffix and applies the global env overrides, which win over config-file values.
internal/llm/resolver.go:187
↓ 1 callersFunctionfinalizeSummary
({ github, owner, repo, prNumber, anchor, body, sticky, tag, preserveMarker = false, appSl
scripts/github-actions/post-review-comments.js:1276
↓ 1 callersFunctionfinalize_summary
Phase 2: write the final summary body to the anchored note (or upsert).
examples/gitlab_ci/post_review.py:1234
↓ 1 callersFunctionfindCliResultDto
Accept one validated review result; unrelated log objects cannot become empty results. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliParse.kt:124
↓ 1 callersMethodfindDiff
findDiff returns the Diff for the given file path, or nil if not found.
internal/agent/agent.go:2256
↓ 1 callersMethodfindEditorForUri
( uri: vscode.Uri, side?: MountableCommentAnchor['side'], )
extensions/vscode/src/extension/providers/CommentProvider.ts:274
↓ 1 callersFunctionfindExistingBatchReview
({ github, owner, repo, prNumber, tag, log })
scripts/github-actions/post-review-comments.js:2115
↓ 1 callersFunctionfindExistingSummaryComment
({ github, owner, repo, prNumber, appSlug = "", resolveSelfLogin = null, log })
scripts/github-actions/post-review-comments.js:1150
↓ 1 callersFunctionfindingKey
findingKey identifies a finding across runs by what it is about, not where it sits: path, category and the offending snippet. Line numbers are deliber
internal/session/compare.go:87
↓ 1 callersFunctionfingerprint
(over = {})
scripts/github-actions/post-review-comments.test.js:5172
↓ 1 callersMethodfinishCustomForm
finishCustomForm saves the Custom provider form. It runs from the auth-header step for a token-based protocol and from the protocol step for an ambien
cmd/opencodereview/provider_tui.go:1222
↓ 1 callersFunctionfirstDiffIndex
(a, b)
scripts/github-actions/check-translation-sync.js:114
↓ 1 callersFunctionfirstLineContaining
(body, marker string)
cmd/opencodereview/cli_reference_compare_docs_test.go:113
↓ 1 callersFunctionfirstOf
(completions []string, _ cobra.ShellCompDirective)
cmd/opencodereview/session_rm_test.go:536
← previousnext →2,201–2,300 of 7,484, ranked by callers