MCPcopy Create free account

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

Functions3,095 in github.com/alibaba/open-code-review

FunctionOcrIcon
({ className })
pages/src/components/icons/OcrIcon.tsx:3
FunctionOcrVersionMeta
({ envCheck, cliStatus }: { envCheck: EnvCheckResult | null; cliStatus: CliStatus })
extensions/vscode/src/webview/views/ConfigView.tsx:170
FunctionOfficialForm
({ wide, config, connTest, onBack, onTest, onSave }: FormProps)
extensions/vscode/src/webview/views/ConfigView.tsx:323
FunctionOpenAIIcon
({ className })
pages/src/components/icons/OpenAIIcon.tsx:3
FunctionPasswordInput
({ value, placeholder, className, onInput }: Props)
extensions/vscode/src/webview/components/PasswordInput.tsx:31
MethodPreview
Preview loads diffs and applies the filter algorithm, returning structured preview data without dispatching any LLM calls.
internal/agent/preview.go:61
MethodProjectSummary
ProjectSummary returns the markdown project-level summary. Always empty for the diff-review path; defined so *Agent satisfies the cmd/opencodereview.R
internal/agent/agent.go:313
MethodProjectSummary
()
cmd/opencodereview/emit_run_result_test.go:41
FunctionProviderStep
({ wide, config, tab, setTab, customView, setCustomView, customSelection, setCustomSelection, connTest, on
extensions/vscode/src/webview/views/ConfigView.tsx:223
FunctionQuickStartPage
()
pages/src/pages/QuickStartPage.tsx:6
FunctionQuickStartSection
()
pages/src/components/QuickStartSection.tsx:67
MethodResolve
(_ string)
internal/delegate/rulegroup_test.go:14
MethodResolve
(path string)
internal/delegate/rulegroup_test.go:21
MethodResolve
Resolve checks each layer in priority order; first match wins. User rules replace the system rule by default; rules with merge_system_rule keep the ma
internal/config/rules/system_rules.go:372
MethodResolveDetail
(path string)
internal/delegate/rulegroup_test.go:25
MethodResolveDetail
ResolveDetail returns the matched rule along with its source layer and pattern. When a user rule sets merge_system_rule, Rule contains the merged syst
internal/config/rules/system_rules.go:405
MethodResumeInfo
ResumeInfo returns resume metadata for output. Nil means this was not a resume run.
internal/agent/agent.go:276
MethodResumeInfo
()
cmd/opencodereview/emit_run_result_test.go:43
MethodRoundTrip
(req *http.Request)
internal/mcp/client.go:129
FunctionRouteErrorFallback
({ reset })
pages/src/App.tsx:22
FunctionRunningView
({ logs, onCancel }: Props)
extensions/vscode/src/webview/views/RunningView.tsx:7
FunctionScrollToTop
()
pages/src/App.tsx:14
FunctionSearchTrigger
({ placeholder, onClick, style }: SearchTriggerProps)
pages/src/components/SearchTrigger.tsx:12
FunctionSelect
({ value, options, placeholder, onChange }: Props)
extensions/vscode/src/webview/components/Select.tsx:16
MethodSessionID
SessionID returns the current review's session id, or "" when no session has been created.
internal/agent/agent.go:268
MethodSessionID
()
cmd/opencodereview/emit_run_result_test.go:44
FunctionTestActiveModelForProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1099
FunctionTestActiveModelForProvider_FallsBackToCfgModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1250
FunctionTestActiveModelForProvider_PrefersEntryModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1241
FunctionTestAddNextMessage_NoStartThenCancelSameCall
(t *testing.T)
internal/llmloop/runner_test.go:601
FunctionTestAddToolResult
(t *testing.T)
internal/session/history_test.go:194
FunctionTestAgentFilesReviewedCountsDispatchableDiffs
(t *testing.T)
internal/agent/coverage_test.go:69
FunctionTestAgent_Getters
(t *testing.T)
internal/scan/coverage_test.go:45
FunctionTestAgent_Getters
(t *testing.T)
internal/agent/coverage_test.go:16
FunctionTestAgent_RecordWarning
(t *testing.T)
internal/agent/coverage_test.go:85
FunctionTestAgent_TokenAccumulation
(t *testing.T)
internal/agent/agent_test.go:806
FunctionTestAnthropicClient_DefaultsToAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:380
FunctionTestAnthropicClient_ExtraBodyStreamDropped
TestAnthropicClient_ExtraBodyStreamDropped verifies that an extra_body.stream=true is NOT forwarded to the Messages API. Forwarding it makes the API a
internal/llm/client_test.go:1042
FunctionTestAnthropicClient_ExtraHeadersSent
(t *testing.T)
internal/llm/client_test.go:422
FunctionTestAnthropicClient_NoExtraHeadersWhenEmpty
(t *testing.T)
internal/llm/client_test.go:998
FunctionTestAnthropicClient_UsesConfiguredAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:334
FunctionTestAnthropicClient_UsesConfiguredXAPIKeyHeader
(t *testing.T)
internal/llm/client_test.go:288
FunctionTestAnyToAttr
(t *testing.T)
internal/telemetry/span_test.go:16
FunctionTestApiKeyStepCanConfirm_CustomEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1820
FunctionTestApiKeyStepCanConfirm_MaskedSavedKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1841
FunctionTestApiKeyStepCanConfirm_OfficialEmptyWithEnv
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1801
FunctionTestApiKeyStepCanConfirm_OfficialEmptyWithoutEnv
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1779
FunctionTestAppendTaskRecord
(t *testing.T)
internal/session/history_test.go:69
FunctionTestAppendTaskRecord_DefensiveCopy
(t *testing.T)
internal/session/history_test.go:96
FunctionTestApplyCLIExcludes_AppendsPatterns
(t *testing.T)
cmd/opencodereview/shared_test.go:20
FunctionTestApplyCLIExcludes_Empty
(t *testing.T)
cmd/opencodereview/shared_test.go:12
FunctionTestApplyCLIExcludes_NilFileFilter
(t *testing.T)
cmd/opencodereview/shared_test.go:28
FunctionTestApplyCustomProviderConfigNormalizesAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2670
FunctionTestApplyCustomProviderConfigPreservesModelOrder
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2602
FunctionTestApplyCustomProviderConfig_EmptyKeyClearsSavedAPIKey
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:243
FunctionTestApplyCustomProviderConfig_MissingModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:194
FunctionTestApplyCustomProviderConfig_MissingProvider
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:187
FunctionTestApplyDedupGroups_AcceptsMarkdownFences
(t *testing.T)
internal/scan/dedup_test.go:81
FunctionTestApplyDedupGroups_KeepCanonicalContentWhenNoMergedContent
(t *testing.T)
internal/scan/dedup_test.go:45
FunctionTestApplyDedupGroups_MergeAndKeep
(t *testing.T)
internal/scan/dedup_test.go:14
FunctionTestApplyDedupGroups_RejectsBadShapes
(t *testing.T)
internal/scan/dedup_test.go:61
FunctionTestApplyEditCustomProviderSave_ClearsAPIKeyWhenEditedEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:751
FunctionTestApplyEditCustomProviderSave_PreservesAPIKeyWhenMasked
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:789
FunctionTestApplyLanguage
(t *testing.T)
internal/config/template/template_test.go:132
FunctionTestApplyLanguage
(t *testing.T)
internal/config/testconnection/testconnection_test.go:56
FunctionTestApplyLanguage_DefaultEnglish
(t *testing.T)
internal/config/template/template_test.go:151
FunctionTestApplyLanguage_EmptyLang
(t *testing.T)
internal/config/testconnection/testconnection_test.go:79
FunctionTestApplyLanguage_ScanTemplate
(t *testing.T)
internal/config/template/template_test.go:24
FunctionTestApplyLanguage_ScanTemplate_AllOptionalTasks
(t *testing.T)
internal/config/template/template_test.go:258
FunctionTestApplyLanguage_ScanTemplate_NilOptionalTasks
(t *testing.T)
internal/config/template/template_test.go:291
FunctionTestApplyLanguage_SkipsNonSystemMessages
(t *testing.T)
internal/config/template/template_test.go:306
FunctionTestApplyManualConfigNormalizesAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2645
FunctionTestApplyManualConfig_DoubleWritesProtocolAndUseAnthropic
TestApplyManualConfig_DoubleWritesProtocolAndUseAnthropic verifies the dual write: cfg.Llm.Protocol always gets the canonical name, and UseAnthropic i
cmd/opencodereview/provider_tui_test.go:2818
FunctionTestApplyManualConfig_MissingModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:180
FunctionTestApplyManualConfig_MissingURL
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:173
FunctionTestApplyOfficialProviderConfig_EmptyKeyClearsSavedAPIKey
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:208
FunctionTestApplyOfficialProviderConfig_MissingFields
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:201
FunctionTestApplyOfficialProviderConfig_UsesSessionModelPick
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:302
FunctionTestApplyProviderDeletions
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:70
FunctionTestApplyProviderDeletions_ActiveCleared
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:104
FunctionTestApplyProviderDeletions_SkipsNotFound
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:127
FunctionTestApplyResumeLine_InvalidJSON
(t *testing.T)
internal/session/resume_test.go:366
FunctionTestApplyResumeLine_ReviewItemDone
(t *testing.T)
internal/session/resume_test.go:250
FunctionTestApplyResumeLine_ReviewItemDone_EmptyFingerprint
(t *testing.T)
internal/session/resume_test.go:294
FunctionTestApplyResumeLine_ReviewItemDone_FallbackToNewPath
(t *testing.T)
internal/session/resume_test.go:275
FunctionTestApplyResumeLine_ReviewItemFailed
(t *testing.T)
internal/session/resume_test.go:323
FunctionTestApplyResumeLine_ReviewItemFailed_EmptyFingerprint
(t *testing.T)
internal/session/resume_test.go:339
FunctionTestApplyResumeLine_ReviewItemReused
(t *testing.T)
internal/session/resume_test.go:308
FunctionTestApplyResumeLine_SessionStart
--- applyResumeLine ---
internal/session/resume_test.go:224
FunctionTestApplyResumeLine_UnknownType
(t *testing.T)
internal/session/resume_test.go:355
FunctionTestApplyResumeReusesCompletedItemsAcrossModels
(t *testing.T)
internal/agent/agent_test.go:446
FunctionTestApplySessionStart_OverridesRepoDir
(t *testing.T)
internal/session/resume_test.go:384
FunctionTestApplySessionStart_PreservesRepoDirWhenCwdEmpty
--- applySessionStart ---
internal/session/resume_test.go:376
FunctionTestApplySessionStart_PreservesSessionIDWhenEmpty
(t *testing.T)
internal/session/resume_test.go:392
FunctionTestApplySessionStart_SetsAllFields
(t *testing.T)
internal/session/resume_test.go:400
FunctionTestBackgroundFromCommitThenFile
TestBackgroundFromCommitThenFile reproduces the resolution order used by runReview when --background-file is supplied but --background is not: the inl
cmd/opencodereview/background_file_test.go:337
FunctionTestBlurCPStep_AllSteps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:343
FunctionTestBlurManualStep_AllSteps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:457
FunctionTestBudgetGate_StopsBeforeExceeding
TestBudgetGate_StopsBeforeExceeding verifies the per-file gate stops dispatch once the running token total + next-file look-ahead would blow the budge
internal/scan/budget_test.go:75
FunctionTestBudgetGate_Unlimited
TestBudgetGate_Unlimited verifies MaxTokensBudget=0 runs every file.
internal/scan/budget_test.go:123
← previousnext →1,401–1,500 of 3,095, ranked by callers