MCPcopy Create free account

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

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

↓ 1 callersFunctiontoolCallExtraContent
toolCallExtraContent reads extra_content from a tool call's raw response JSON. The SDK's tool-call union has no ExtraFields map, so the raw payload is
internal/llm/client.go:1071
↓ 1 callersFunctiontoolContext
(worktree, signal = new AbortController().signal)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:69
↓ 1 callersMethodtoolFailureResult
toolFailureResult turns one failed execution of toolName within taskKey into the tool-call result sent back to the model, escalating its wording as th
internal/reviewtask/tool_failure_streak.go:73
↓ 1 callersFunctiontouchTimestamp
()
scripts/update.js:25
↓ 1 callersFunctiontrigger
()
pages/src/components/HeroSection.test.tsx:24
↓ 1 callersFunctiontrim
trim shortens a reported line so the report stays readable.
scripts/verify-english-only.go:199
↓ 1 callersFunctiontrimFloatSuffix
trimFloatSuffix removes trailing zeros and the trailing dot from a floating-point string like "1.10K" → "1.1K", "1.00K" → "1K".
internal/viewer/server.go:530
↓ 1 callersMethodtrimTrivia
(data []byte)
internal/llm/gen/check.go:178
↓ 1 callersFunctiontryLegacyLlmConfig
tryLegacyLlmConfig resolves an endpoint from the legacy llm config block.
internal/llm/resolver.go:632
↓ 1 callersFunctiontryLock
(f *os.File)
internal/chatgptauth/lock_unix.go:14
↓ 1 callersFunctiontryOCRConfig
tryOCRConfig reads the OCR config file.
internal/llm/resolver.go:377
↓ 1 callersFunctiontryOCREnv
tryOCREnv reads OCR-specific environment variables. The values are trimmed because an environment can carry a trailing "\r" — a .env file or a shell
internal/llm/resolver.go:275
↓ 1 callersFunctiontryProviderConfig
tryProviderConfig resolves an endpoint from the provider-based configuration.
internal/llm/resolver.go:405
↓ 1 callersFunctiontryReadRuleFile
tryReadRuleFile reads a rule file reference. Absolute paths are used directly; relative paths resolve against repoDir. When confineRoot is non-empty,
internal/config/rules/system_rules.go:592
↓ 1 callersFunctiontryScroll
(attempts: number)
pages/src/pages/DocsPage.tsx:47
↓ 1 callersFunctionturkishSearchPattern
(query: string)
pages/src/content/docs/index.ts:144
↓ 1 callersFunctiontypeQuery
(value: string)
pages/src/pages/DocsPage.test.tsx:157
↓ 1 callersFunctionunlock
(f *os.File)
internal/chatgptauth/lock_unix.go:21
↓ 1 callersFunctionunquoteRenamePath
unquoteRenamePath decodes a "rename from"/"rename to" operand, which git quotes by the same rule and without any a/ or b/ prefix. A path git left bare
internal/diff/quotedpath.go:160
↓ 1 callersFunctionunrecognized
(r)
scripts/github-actions/post-review-comments.test.js:6978
↓ 1 callersFunctionunsafeSegment
unsafeSegment rejects a URL-supplied name that must stay a single directory or file name once it reaches filepath.Join. ServeMux unescapes each path s
internal/viewer/server.go:176
↓ 1 callersFunctionunsetEffort
(configPath string)
cmd/opencodereview/config_cmd.go:194
↓ 1 callersFunctionuntrackedBinaryDiff
(path string)
internal/diff/git.go:658
↓ 1 callersMethoduntrackedFileDiffs
(ctx context.Context)
internal/diff/git.go:662
↓ 1 callersFunctionunwrapSummaryFence
(text string)
internal/llmloop/compression.go:152
↓ 1 callersMethodupdateAPIKeyInput
(key string, msg tea.KeyPressMsg)
cmd/opencodereview/provider_tui.go:1025
↓ 1 callersMethodupdateDeleteModelConfirm
(key string)
cmd/opencodereview/provider_tui.go:1615
↓ 1 callersFunctionupdateFilterState
()
internal/viewer/static/session.js:114
↓ 1 callersMethodurisMatch
(a: vscode.Uri, b: vscode.Uri)
extensions/vscode/src/extension/providers/CommentProvider.ts:298
↓ 1 callersFunctionuseCountUp
(target: number, duration: number = 1200, isActive: boolean)
pages/src/components/HighlightsSection.tsx:29
↓ 1 callersFunctionuseNpmDownloads
(pkg: string, period: Period = 'last-month')
pages/src/hooks/useNpmDownloads.ts:22
↓ 1 callersFunctionv2ToolContext
()
plugins/open-code-review/opencode/test/open-code-review.test.mjs:743
↓ 1 callersFunctionvalidContextKind
(kind string)
internal/behaviortask/observation.go:169
↓ 1 callersFunctionvalidInputMode
validInputMode reports whether m is one of the three mandatory input modes.
internal/session/manifest.go:42
↓ 1 callersFunctionvalidateAnalysisOptions
(opts reviewOptions)
cmd/opencodereview/analysis.go:25
↓ 1 callersFunctionvalidateBaseURL
(raw string)
acp/internal/intent/llm/resolve.go:142
↓ 1 callersMethodvalidateInputIdentity
validateInputIdentity compares only the input half of the resume contract: the parent manifest must be verifiable, and every input field must match. P
internal/session/resume_identity.go:99
↓ 1 callersMethodvalidateLocked
validateLocked enforces the contract invariants at Finalize. Caller holds b.mu.
internal/session/manifest.go:901
↓ 1 callersFunctionvalidateMCPServerName
validateMCPServerName mirrors validateProviderName: a server name may contain dots, but each dot-separated segment must be non-empty so a mistyped key
cmd/opencodereview/config_cmd.go:1094
↓ 1 callersMethodvalidateReviewRefs
(ctx context.Context, ri *contract.ReviewIntent)
acp/internal/intent/parser.go:209
↓ 1 callersFunctionvalidateTimeoutSec
(sec int)
internal/llm/resolver.go:244
↓ 1 callersFunctionverify_tree
(folder, head, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:96
↓ 1 callersFunctionverify_tree
(folder, head, env)
skills/open-code-review/scripts/review_pr.py:96
↓ 1 callersFunctionversionRequested
()
acp/testdata/ocr-stub/main.go:84
↓ 1 callersFunctionversionString
()
cmd/opencodereview/root.go:82
↓ 1 callersMethodviewAPIKey
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2496
↓ 1 callersMethodviewCustomProviderForm
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2284
↓ 1 callersMethodviewCustomTab
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2234
↓ 1 callersMethodviewManualTab
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2359
↓ 1 callersMethodviewModel
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2441
↓ 1 callersMethodviewOfficialTab
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2220
↓ 1 callersMethodviewProvider
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2194
↓ 1 callersFunctionwaitForFile
(path, timeoutMs = 5_000)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:77
↓ 1 callersFunctionwaitForInterrupt
(ready func())
acp/testdata/ocr-stub/interrupt_unix.go:14
↓ 1 callersFunctionwaitForProcessExit
(pid, timeoutMs = 5_000)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:100
↓ 1 callersFunctionwait_for_cancel
()
acp/testdata/python-client-smoke.py:72
↓ 1 callersFunctionwantMeta
(t *testing.T, got capturedRequest, want llm.RequestMeta)
internal/llmloop/retry_identity_test.go:79
↓ 1 callersFunctionwarn
(msg)
scripts/install.js:23
↓ 1 callersMethodwatchWorkspaceChanges
* Subscribes to workspace file changes and, debounced, calls back with the new workspace state. * Without this listener, the sidebar's to-review
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:458
↓ 1 callersMethodwatchWorkspaceChanges
* Subscribe to VS Code Git repository state changes and debounce workspace file list refreshes. * Keep staged, working tree, and untracked changes
extensions/vscode/src/extension/services/GitService.ts:101
↓ 1 callersFunctionwebConfig
(name, entry, mode)
extensions/frontend/webpack.config.js:13
↓ 1 callersFunctionwindowsPIDRunning
(pid int)
acp/internal/orchestrator/process_alive_windows_test.go:35
↓ 1 callersFunctionwithFakeOcr
(source, callback)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:38
↓ 1 callersFunctionwithHead
(head)
scripts/github-actions/post-review-comments.test.js:4289
↓ 1 callersFunctionwithRange
(over, result)
scripts/github-actions/post-review-comments.test.js:5560
↓ 1 callersFunctionwithRetry
(tag, fn, log)
scripts/github-actions/post-review-comments.js:2027
↓ 1 callersFunctionwithShortOverallTimeout
(timeoutMs, callback)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:109
↓ 1 callersFunctionwithTemporaryBackgroundFile
( background: string, callback: (path: string) => Promise<T>, )
plugins/open-code-review/opencode/open-code-review.ts:128
↓ 1 callersMethodworkspaceTrackedDiff
workspaceTrackedDiff returns the tracked-file diff, git's stderr, and the failure if there was one. Stderr is returned separately so the caller can qu
internal/diff/git.go:628
↓ 1 callersFunctionwrapSummary
(content)
scripts/github-actions/post-review-comments.js:474
↓ 1 callersMethodwriteArtifact
(name string, data []byte)
internal/behaviortask/runner.go:310
↓ 1 callersFunctionwriteCompareSession
writeCompareSession writes a minimal session JSONL: session_start, one review_item_done carrying the findings, and session_end. Pass an empty coverage
internal/viewer/compare_test.go:64
↓ 1 callersFunctionwriteFile
(t *testing.T, path, content string)
acp/internal/contract/real_cli_test.go:175
↓ 1 callersFunctionwriteFileAtomically
(output string, data []byte, perm os.FileMode)
internal/llm/gen/main.go:75
↓ 1 callersFunctionwriteHint
(latestVersion, pkgName)
scripts/update.js:117
↓ 1 callersMethodwriteRaw
(raw: RawConfig)
extensions/vscode/src/extension/services/ConfigService.ts:40
↓ 1 callersFunctionwriteReport
(b *strings.Builder, root, operation, status, message string, summary *contract.Summary, comments []contract.C
acp/internal/adapter/presentation/report.go:66
↓ 1 callersFunctionwriteScanResumeSession
writeScanResumeSession persists a full-scan session with the given completed file checkpoints and returns its ID. HOME must already point at a temp di
cmd/opencodereview/scan_resume_more_test.go:15
↓ 1 callersFunctionwriteSeverityCounts
(b *strings.Builder, comments []contract.Comment)
acp/internal/adapter/presentation/report.go:152
↓ 1 callersFunctionwriteStepSummary
(env, warnings)
scripts/github-actions/check-translation-sync.js:251
↓ 1 callersFunctionwriteTestSession
writeTestSession creates a real JSONL session using the persistence layer so tests exercise the same on-disk format that ListSessions consumes. It ret
internal/session/list_test.go:248
↓ 1 callersFunctionwriteVerifiableParent
writeVerifiableParent persists a review session whose manifest records identity with the given provider and model, as a completed parent run would.
cmd/opencodereview/review_resume_more_test.go:140
↓ 1 callersFunctionwriteVerifiableWorkspaceParent
writeVerifiableWorkspaceParent persists a workspace-mode review session whose manifest records the given identity, as a completed parent run would.
cmd/opencodereview/review_resume_more_test.go:193
↓ 1 callersFunctionwriteWorkspaceResumeSession
writeWorkspaceResumeSession persists a workspace-mode review session with the given completed file checkpoints and returns its ID. HOME must already p
cmd/opencodereview/review_resume_more_test.go:177
↓ 1 callersFunctionwrite_mock_wrapper
(root, script)
acp/testdata/python-client-smoke.py:94
↓ 1 callersFunctionwrite_stats_file
Write a dotenv file of posting stats for downstream CI jobs.
examples/gitlab_ci/post_review.py:1520
FunctionActiveProviderBanner
({ config }: { config: OcrConfig | null })
extensions/frontend/src/webview/views/ConfigView.tsx:194
FunctionApp
()
pages/src/App.tsx:74
FunctionApp
()
extensions/frontend/src/webview/App.tsx:18
MethodApplyLanguage
(language string)
internal/config/template/behavior.go:71
FunctionBenchmarkListSessionsResponseRecords
(b *testing.B)
internal/viewer/summary_allocation_test.go:32
FunctionBenchmarkPage
()
pages/src/pages/BenchmarkPage.tsx:9
FunctionBenchmarkSection
()
pages/src/components/BenchmarkSection.tsx:62
FunctionBlogPage
()
pages/src/pages/BlogPage.tsx:35
MethodBudgetExceeded
BudgetExceeded reports whether the aggregate token budget gate stopped dispatch before all files were reviewed. The run still returns the partial comm
internal/agent/agent.go:560
MethodBudgetExceeded
()
cmd/opencodereview/emit_run_result_test.go:59
MethodCallTool
(ctx context.Context, req LLMRequest)
acp/internal/intent/fake_test.go:38
MethodCallTool
(ctx context.Context, _ LLMRequest)
acp/internal/intent/natural_test.go:479
MethodCallTool
(ctx context.Context, _ intent.LLMRequest)
acp/internal/adapter/lifecycle_test.go:58
MethodCallTool
(context.Context, intent.LLMRequest)
acp/internal/adapter/connection_test.go:21
← previousnext →3,101–3,200 of 7,484, ranked by callers