MCPcopy Create free account

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

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

↓ 2 callersFunctionunlock
(f *os.File)
internal/session/lock_unix.go:31
↓ 2 callersFunctionunmarshalAnthropicBody
(t *testing.T, body string)
internal/llm/native_turn_test.go:31
↓ 2 callersMethodunobserve
()
pages/src/pages/DocsPage.test.tsx:184
↓ 2 callersFunctionunquoteScalar
(value)
scripts/github-actions/check-plugin-contract.js:419
↓ 2 callersFunctionunreadableLocalFile
(t *testing.T)
acp/internal/adapter/locations_test.go:30
↓ 2 callersFunctionunsetActiveProvider
(configPath string)
cmd/opencodereview/config_cmd.go:210
↓ 2 callersFunctionunsetMaxTokens
(configPath string)
cmd/opencodereview/config_cmd.go:180
↓ 2 callersMethodupdate
(ctx context.Context, id acp.SessionId, msg string)
acp/internal/adapter/agent.go:59
↓ 2 callersMethodupdateCustomModelInput
(key string, msg tea.KeyPressMsg)
cmd/opencodereview/provider_tui.go:765
↓ 2 callersMethodupdateDeleteConfirm
(key string)
cmd/opencodereview/provider_tui.go:1567
↓ 2 callersFunctionupsert_summary
Find-or-create/update a summary note. Sticky matches the cross-run :data:`SUMMARY_MARKER`; non-sticky matches this run's ``tag`` (per-run), s
examples/gitlab_ci/post_review.py:1339
↓ 2 callersFunctionuseCommandSearch
( runSearch: (query: string, language: string) => SearchResult<S>[], language: string, )
pages/src/hooks/useCommandSearch.ts:13
↓ 2 callersFunctionuseCopyToast
(duration = 1200)
pages/src/hooks/useCopyToast.ts:6
↓ 2 callersFunctionuseSearchKeyboardNav
( searchResults: readonly SearchResult<S>[], searchSelectedIdx: number, setSearchSelectedIdx: Dispatch<S
pages/src/hooks/useCommandSearch.ts:71
↓ 2 callersFunctionuseTransitionedLocation
()
pages/src/hooks/useTransitionedLocation.ts:17
↓ 2 callersFunctionusesAmbientAuth
(preset: OcrProviderPreset, protocolOverride?: string)
extensions/frontend/src/shared/providers.ts:30
↓ 2 callersFunctionvalidArgNames
validArgNames strips the "name\tdescription" form Cobra allows in ValidArgs, keeping only the value the user is expected to type. The split matches th
cmd/opencodereview/arg_errors.go:110
↓ 2 callersFunctionvalidateAudience
(audience string)
cmd/opencodereview/shared_flags.go:103
↓ 2 callersFunctionvalidateChatGPTBody
(body map[string]any)
internal/llm/chatgpt.go:77
↓ 2 callersFunctionvalidateColorMode
validateColorMode rejects unknown --color values instead of silently treating them as auto, so a typo like --color=yes is reported rather than ignored
cmd/opencodereview/color.go:44
↓ 2 callersFunctionvalidateCommandFrontmatter
(file, content)
scripts/github-actions/check-plugin-contract.js:466
↓ 2 callersFunctionvalidateContexts
(contexts []Context)
internal/behaviortask/observation.go:205
↓ 2 callersFunctionvalidateDiffMode
--- Validation functions ---
cmd/opencodereview/shared_flags.go:83
↓ 2 callersFunctionvalidateEndpointURL
validateEndpointURL reports URL parse failures before the SDK can turn them into request errors that no longer identify the configuration variable.
internal/llm/resolver.go:260
↓ 2 callersFunctionvalidateExtra
validateExtra rejects any element of extra that is not a whitelisted flag, is a whitelisted flag missing its value, or carries a value outside the fla
acp/internal/contract/intent.go:184
↓ 2 callersFunctionvalidateKeyCmd
validateKeyCmd returns an error when cmd contains patterns that are almost certainly not part of a legitimate credential-helper invocation. It is call
internal/llm/keycmd.go:50
↓ 2 callersFunctionvalidateModelLists
(providers []llm.Provider)
internal/llm/gen/main.go:130
↓ 2 callersFunctionvalidateOutputFormat
(format string)
cmd/opencodereview/shared_flags.go:112
↓ 2 callersFunctionvalidateReport
validateReport enforces the report invariants. A violation returns an error and suppresses the report rather than publishing self-contradictory number
internal/llm/retry_report.go:575
↓ 2 callersFunctionvalidateRequest
(binary string, request Request)
acp/internal/orchestrator/runner.go:178
↓ 2 callersFunctionvalidateScanOptions
(opts *scanOptions)
cmd/opencodereview/shared_flags.go:173
↓ 2 callersFunctionvalidateToolBindings
(conversations map[string]*LlmConversation, referenceTask string)
internal/config/template/template.go:362
↓ 2 callersFunctionvalidateWorkspaceFileMode
(path string, mode os.FileMode)
internal/tool/filereader.go:128
↓ 2 callersMethodverifyAt
(ctx context.Context, token, clientID, nonce string, receivedAt time.Time)
internal/chatgptauth/jwt.go:101
↓ 2 callersFunctionverify_tree_owner
(folder, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:89
↓ 2 callersFunctionverify_tree_owner
(folder, env)
skills/open-code-review/scripts/review_pr.py:89
↓ 2 callersFunctionwaitForWarning
waitForWarning polls until a warning shows up, so the test neither sleeps a fixed amount nor hangs forever if the watcher goroutine never fires.
internal/viewer/browser_exec_test.go:119
↓ 2 callersFunctionwalkSessionFile
(path string, apply func(summaryRecord))
internal/session/list.go:217
↓ 2 callersFunctionwalkTextFiles
(repoRoot, rel = "", seen = new Set())
scripts/github-actions/check-plugin-contract.js:779
↓ 2 callersFunctionwarn
(msg)
scripts/github-actions/post-review-comments.js:1775
↓ 2 callersFunctionwarnAnalysisDeletion
(cmd *cobra.Command, path string)
cmd/opencodereview/session_cmd.go:664
↓ 2 callersFunctionwarningsForOutput
warningsForOutput removes coverage-level subtask diagnostics once a manifest is present. Their classification and safe summary already live in the fro
cmd/opencodereview/output.go:65
↓ 2 callersFunctionwithCodeAccessSides
(definitions []llm.ToolDef, workspace bool)
internal/config/toolsconfig/comparison.go:23
↓ 2 callersFunctionwithNavigation
(page, link)
scripts/github-actions/post-review-comments.js:2453
↓ 2 callersFunctionwithTemporaryBackgroundFile
( background: string, callback: (path: string) => Promise<T>, )
plugins/open-code-review/opencode/open-code-review.ts:215
↓ 2 callersFunctionwithTemporaryDirectory
(callback)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:24
↓ 2 callersFunctionwith_navigation
Put navigation just below the generated heading, before any report Markdown.
examples/gitlab_ci/post_review.py:117
↓ 2 callersFunctionwrapByRunes
wrapByRunes splits text into lines that fit within maxWidth **rune** columns. Respects existing newlines and wraps at word boundaries.
cmd/opencodereview/output.go:218
↓ 2 callersFunctionwrapMarkdownCell
(cell string, width int)
cmd/opencodereview/markdown_table.go:132
↓ 2 callersFunctionwrapSingleRuneLine
wrapSingleRuneLine breaks one paragraph (no newlines) into rune-width-constrained lines.
cmd/opencodereview/output.go:230
↓ 2 callersFunctionwrap_summary_body
Prefix the summary body with both the cross-run marker and the per-run tag. Sticky mode finds the note by SUMMARY_MARKER (cross-run reuse); non-s
examples/gitlab_ci/post_review.py:83
↓ 2 callersFunctionwriteAppConfigMaxTokens
(t *testing.T, home string, maxTokens int)
cmd/opencodereview/review_helpers_test.go:320
↓ 2 callersFunctionwriteDelegateJSON
(value any)
cmd/opencodereview/delegate_cmd.go:329
↓ 2 callersFunctionwriteFencedBlock
(b *strings.Builder, language, text string)
acp/internal/adapter/presentation/markdown.go:26
↓ 2 callersFunctionwriteFinding
(b *strings.Builder, number int, c contract.Comment, location *workspace.Location)
acp/internal/adapter/presentation/report.go:183
↓ 2 callersFunctionwriteSearchBoundaryFile
(test *testing.T, repository, name, content string)
internal/behaviortask/search_test.go:167
↓ 2 callersFunctionwriteSummaryComment
({ github, owner, repo, prNumber, body, sections = [], suffix = "", details = "", runTag, preserveMarker,
scripts/github-actions/post-review-comments.js:1128
↓ 1 callersMethodApplyLanguage
ApplyLanguage injects a language directive into all system-role messages of the scan template (MAIN_TASK, PLAN_TASK if set, DEDUP_TASK if set, and MEM
internal/config/template/template.go:300
↓ 1 callersMethodAuthenticate
(context.Context, acp.AuthenticateRequest)
acp/internal/adapter/agent.go:51
↓ 1 callersMethodBytes
()
internal/gitcmd/runner.go:299
↓ 1 callersMethodCanonicalConfig
CanonicalConfig returns a deterministic, order-stable field list describing this rule set's effective rule-text configuration, for hashing into the ru
internal/config/rules/system_rules.go:159
↓ 1 callersMethodCompletionTokenLimit
CompletionTokenLimit is the scan-template counterpart of Template's method.
internal/config/template/template.go:150
↓ 1 callersMethodEndpoint
Endpoint returns the resolved endpoint the client is using.
acp/internal/intent/llm/client.go:63
↓ 1 callersMethodError
()
internal/llm/retry_boundary.go:32
↓ 1 callersMethodError
()
internal/chatgptauth/jwt.go:47
↓ 1 callersMethodError
()
internal/gitcmd/runner.go:68
↓ 1 callersMethodError
()
acp/internal/testutil/stub.go:107
↓ 1 callersFunctionExcludedDirs
ExcludedDirs is the list of directory prefixes that scanners and diff providers should always skip. Exposed so internal/scan and other consumers can r
internal/diff/gitignore.go:56
↓ 1 callersMethodExecute
(ctx context.Context, args map[string]any)
internal/mcp/provider.go:27
↓ 1 callersMethodExecute
(_ context.Context, args map[string]any)
internal/tool/code_comment.go:60
↓ 1 callersMethodFileGroups
FileGroups returns the semantic grouping result for JSON output.
internal/agent/agent.go:503
↓ 1 callersFunctionHunkRanges
(patch string)
internal/diff/hunk.go:58
↓ 1 callersMethodInitialize
(context.Context, acp.InitializeRequest)
acp/internal/adapter/agent.go:47
↓ 1 callersFunctionInterrupt
Interrupt requests cooperative termination of a managed command.
acp/internal/orchestrator/process/process_unix.go:27
↓ 1 callersMethodIsCommitMode
IsCommitMode returns true when analyzing a single commit.
internal/diff/git.go:196
↓ 1 callersFunctionIsExcludedPath
IsExcludedPath returns true when the given file path matches any default exclude pattern. Patterns support ** (recursive directory matching), * (singl
internal/config/allowlist/allowed_ext.go:91
↓ 1 callersMethodIsKnown
IsKnown reports whether the tool is not UNKNOWN.
internal/tool/definitions.go:70
↓ 1 callersMethodIsRangeMode
IsRangeMode returns true when comparing two refs.
internal/diff/git.go:191
↓ 1 callersFunctionIsSecretPath
IsSecretPath returns true when the given file path matches any built-in secret pattern — credential files such as .env, id_rsa or .netrc that should n
internal/config/allowlist/secret_path.go:47
↓ 1 callersMethodListSessions
(context.Context, acp.ListSessionsRequest)
acp/internal/adapter/agent.go:85
↓ 1 callersFunctionLoadSummaryAt
LoadSummaryAt reads one session summary from an exact file path. LoadSummary derives the path from a repository, which the global id search deliberat
internal/session/list.go:376
↓ 1 callersFunctionMatchGitignorePattern
MatchGitignorePattern reports whether relPath matches a single gitignore-style pattern, using the simplified semantics that diff.Provider already impl
internal/diff/gitignore.go:98
↓ 1 callersFunctionNewAnalysisRawWriter
(directory, reportID string)
internal/session/raw_writer.go:63
↓ 1 callersFunctionNewAnalysisTrace
(reportID, directory, repoDir, model string, opts SessionOptions)
internal/session/history.go:169
↓ 1 callersFunctionNewBuiltin
(t Tool, fn func(ctx context.Context, args map[string]any) (string, error))
internal/tool/stub.go:28
↓ 1 callersFunctionNewConnection
NewConnection serves the SDK protocol without changing Agent cancellation ownership. claimDiscovery atomically claims command discovery for a live ses
acp/internal/adapter/transport/connection.go:71
↓ 1 callersFunctionPreview
Preview enumerates files and applies the standard reviewability filter without dispatching any LLM calls. Returns a *model.Preview ready for cmd/openc
internal/scan/preview.go:20
↓ 1 callersFunctionProviderHTTPStatus
(err error)
internal/llm/client.go:976
↓ 1 callersMethodRead
([]byte)
internal/llm/raw.go:300
↓ 1 callersMethodRead
([]byte)
internal/chatgptauth/api_error_test.go:18
↓ 1 callersMethodResumeInfo
ResumeInfo returns resume metadata for output. Nil means this was not a resume run.
internal/agent/agent.go:484
↓ 1 callersMethodResumeSession
(context.Context, acp.ResumeSessionRequest)
acp/internal/adapter/agent.go:81
↓ 1 callersMethodRun
(ctx context.Context)
internal/behaviortask/runner.go:230
↓ 1 callersMethodRunManifest
RunManifest returns nil because scan is intentionally outside the v1 run manifest scope. It exists so review and scan can share the output pipeline wi
internal/scan/agent.go:200
↓ 1 callersMethodSessionUpdate
(_ context.Context, n acp.SessionNotification)
acp/internal/adapter/output_test.go:58
↓ 1 callersMethodSetSessionConfigOption
(context.Context, acp.SetSessionConfigOptionRequest)
acp/internal/adapter/agent.go:77
↓ 1 callersMethodSetSessionMode
(context.Context, acp.SetSessionModeRequest)
acp/internal/adapter/agent.go:73
↓ 1 callersFunctionTestRunnerLocalCancelOverridesExit
(t *testing.T)
acp/internal/orchestrator/runner_test.go:84
↓ 1 callersMethodTool
()
internal/mcp/provider.go:23
↓ 1 callersMethodTool
()
internal/tool/code_comment.go:58
← previousnext →2,001–2,100 of 7,599, ranked by callers