MCPcopy Create free account

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

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

↓ 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:158
↓ 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:62
↓ 1 callersMethodError
()
internal/llm/retry_boundary.go:32
↓ 1 callersMethodError
()
internal/chatgptauth/jwt.go:47
↓ 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:11
↓ 1 callersMethodExecute
(ctx context.Context, args map[string]any)
internal/mcp/provider.go:26
↓ 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:489
↓ 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:193
↓ 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 callersMethodIsExclusion
IsExclusion reports whether r is one of the defined exclusion reasons. ExcludeNone is not: it marks a file that was selected.
internal/model/preview.go:30
↓ 1 callersMethodIsKnown
IsKnown reports whether the tool is not UNKNOWN.
internal/tool/definitions.go:65
↓ 1 callersMethodIsRangeMode
IsRangeMode returns true when comparing two refs.
internal/diff/git.go:188
↓ 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 callersFunctionListAllSessionIDs
ListAllSessionIDs returns every saved session id.
internal/session/delete.go:241
↓ 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:360
↓ 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:48
↓ 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 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:470
↓ 1 callersMethodResumeSession
(context.Context, acp.ResumeSessionRequest)
acp/internal/adapter/agent.go:81
↓ 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:22
↓ 1 callersMethodTool
()
internal/tool/code_comment.go:58
↓ 1 callersMethodValidate
Validate checks that a ScanTemplate has the minimum fields populated.
internal/config/template/template.go:339
↓ 1 callersMethodWrite
(p []byte)
internal/gitcmd/runner.go:167
↓ 1 callersMethodWrite
(p []byte)
cmd/opencodereview/shared.go:613
↓ 1 callersMethodWrite
(frame []byte)
acp/internal/adapter/transport/discovery.go:23
↓ 1 callersMethodWrite
(p []byte)
acp/internal/orchestrator/resolve.go:194
↓ 1 callersMethodWriteLLMError
WriteLLMError writes an llm_error entry recording a failed LLM request.
internal/session/persist.go:287
↓ 1 callersMethodWriteLLMRequest
WriteLLMRequest writes a request entry with the resolved messages.
internal/session/persist.go:229
↓ 1 callersMethodWriteLLMResponse
WriteLLMResponse writes a response entry with model, content, reasoning, tool calls, and usage.
internal/session/persist.go:251
↓ 1 callersMethodWriteResumeLineage
WriteResumeLineage writes the one resume_lineage record of a resumed run. Readers that do not know this event type ignore it, so it costs older toolin
internal/session/persist.go:340
↓ 1 callersMethodWriteReviewItemDone
WriteReviewItemDone writes a file-level resume checkpoint for a completed diff.
internal/session/persist.go:180
↓ 1 callersMethodWriteReviewItemFailed
WriteReviewItemFailed writes a file-level checkpoint for a failed diff.
internal/session/persist.go:190
↓ 1 callersMethodWriteReviewItemReused
WriteReviewItemReused writes a checkpoint reused from a previous session.
internal/session/persist.go:185
↓ 1 callersMethodWriteSessionEnd
WriteSessionEnd writes the final session_end summary record and closes the file. When manifest is non-nil it is embedded under "run_manifest"; session
internal/session/persist.go:377
↓ 1 callersMethodWriteToolCall
WriteToolCall writes a tool call result entry.
internal/session/persist.go:313
↓ 1 callersMethod__init__
(self, note_outcomes=None, disc_outcomes=None, notes=None, notes_read_failure=False,
examples/gitlab_ci/post_review_test.py:130
↓ 1 callersFunction_default_ref
Build an `origin/<branch>` ref from a CODEUP_*_BRANCH env var, if set.
examples/codeup_ci/post_review.py:228
↓ 1 callersFunction_env_flag
(name: str, default: bool = False)
examples/codeup_ci/post_review.py:221
↓ 1 callersFunction_extract_expected_shas
Pull the SHAs OCR actually reviewed out of the result manifest. Returns ``{"head": ..., "base": ...}`` (either key may be absent) or ``{}`` w
examples/gitlab_ci/post_review.py:873
↓ 1 callersMethod_failed_result
(resp, reason=None)
examples/gitlab_ci/post_review.py:1052
↓ 1 callersFunction_get_comments
Normalize the top-level shape of ocr's JSON output to a list of comments.
examples/codeup_ci/post_review.py:109
↓ 1 callersFunction_git
(repo, *args)
examples/gitflic_ci/post_review.py:381
↓ 1 callersMethod_is_comment_posted
True/False when the read succeeds; None when the read API failed.
examples/gitlab_ci/post_review.py:1004
↓ 1 callersFunction_maybe_reached_server
True when a failed request may still have landed on the server.
examples/gitlab_ci/post_review.py:807
↓ 1 callersFunction_old_line_in_hunk
Walk a hunk's lines tracking both counters until reaching new_line.
examples/gitflic_ci/post_review.py:196
↓ 1 callersFunction_parse_bool
(value, default=False)
examples/gitlab_ci/post_review.py:1468
↓ 1 callersFunction_pick_version
Select the MR diff version that matches what OCR reviewed. Prefers an exact ``head_commit_sha`` (and ``base_commit_sha`` when both are suppli
examples/gitlab_ci/post_review.py:846
↓ 1 callersFunction_require_env
(name: str)
examples/codeup_ci/post_review.py:214
↓ 1 callersMethod_success_result
(resp, reconciled=False)
examples/gitlab_ci/post_review.py:1046
↓ 1 callersFunctionacquireLock
()
scripts/update.js:35
↓ 1 callersFunctionadapter_binary
()
acp/testdata/python-client-smoke.py:88
↓ 1 callersFunctionadd
(c)
scripts/github-actions/post-review-comments.test.js:362
↓ 1 callersFunctionaddConcurrencyFlags
(cmd *cobra.Command, concurrency, timeout, maxTools, maxGitProcs, maxTokens, maxTokensBudget *int)
cmd/opencodereview/shared_flags.go:54
↓ 1 callersFunctionaddPreviewFlag
(cmd *cobra.Command, target *bool)
cmd/opencodereview/shared_flags.go:71
↓ 1 callersFunctionallFixtureFiles
(root)
scripts/github-actions/action-contract.test.js:347
↓ 1 callersFunctionallowedPrefix
(file string)
scripts/verify-english-only.go:153
↓ 1 callersFunctionanthropicHeaders
(ep Endpoint)
acp/internal/intent/llm/client.go:266
↓ 1 callersFunctionanthropicThinkingBudgetTokens
anthropicThinkingBudgetTokens extracts budget_tokens from an extra_body.thinking map. Returns ok=false for unrecognized shapes.
internal/llm/client.go:1441
↓ 1 callersFunctionappendCheckpoint
(body, manifest)
scripts/github-actions/post-review-comments.js:249
↓ 1 callersFunctionappendChunk
( chunks: Uint8Array[], currentBytes: number, chunk: Uint8Array, maxBytes: number, )
plugins/open-code-review/opencode/open-code-review.ts:154
↓ 1 callersMethodapplyInputIdentity
applyInputIdentity fills the manifest's frozen input identity and repository identity, then hands them to the builder through its single setters. It i
internal/agent/agent.go:1003
↓ 1 callersFunctionapplyMarkState
(card, state)
internal/viewer/static/session.js:248
↓ 1 callersFunctionapplyProviderField
Only these 6 provider fields are recognized; every other key is ignored. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:91
↓ 1 callersMethodapplyRaw
(ctx context.Context, st *State, raw *rawIntent)
acp/internal/intent/natural.go:81
↓ 1 callersMethodassertClean
(t *testing.T, wantCalls int)
internal/scan/retry_identity_test.go:42
↓ 1 callersFunctionassertDelegatePatch
(t *testing.T, patch, want string)
internal/delegate/instructions_test.go:435
↓ 1 callersMethodassertGroupingRecognized
assertGroupingRecognized fails if no request matched groupingSystemPrompt. Without it a reworded GROUPING_TASK system prompt would degrade these tests
cmd/opencodereview/retry_fake_llm_test.go:91
↓ 1 callersFunctionassertJSONValue
(t *testing.T, root map[string]any, path []string, want any)
cmd/opencodereview/config_cmd_test.go:1743
↓ 1 callersFunctionassert_execution
(updates, status, expected_lines)
acp/testdata/python-client-smoke.py:129
↓ 1 callersFunctionassignProcessToJob
(job syscall.Handle, pid int)
acp/internal/orchestrator/process/winapi_windows.go:104
↓ 1 callersFunctionat
(rc)
scripts/github-actions/post-review-comments.test.js:3034
↓ 1 callersFunctionattachProcessGroup
(*exec.Cmd)
acp/internal/orchestrator/process/process_unix.go:21
↓ 1 callersMethodattachSidebar
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:111
↓ 1 callersFunctionauthFailures
(core)
scripts/github-actions/post-review-comments.test.js:7090
↓ 1 callersFunctionawaitStreams
(streams streamHandle)
acp/internal/orchestrator/runner.go:310
↓ 1 callersFunctionb64
(s)
scripts/github-actions/post-review-comments.test.js:4061
↓ 1 callersFunctionbatchCallCount
()
scripts/github-actions/post-review-comments.test.js:153
↓ 1 callersFunctionbatchKeyFunc
batchKeyFunc returns the grouping key extractor for a strategy.
internal/scan/batch.go:85
↓ 1 callersFunctionbatchPostedComments
()
scripts/github-actions/post-review-comments.test.js:131
↓ 1 callersFunctionbedrockContext
bedrockContext reports the region and profile a Bedrock client resolved. ok is false for every other client, which keeps the test output unchanged for
cmd/opencodereview/llm_cmd.go:253
↓ 1 callersMethodbedrockWhere
bedrockWhere describes the region and profile in one clause, for error text.
internal/llm/client.go:1365
↓ 1 callersMethodbeginTurn
beginTurn marks the session busy and installs its cancellation context under the agent lock. Every successful call must be paired with endTurn.
acp/internal/adapter/session.go:111
↓ 1 callersMethodbindConfigPanel
(open: (focus?: ConfigPanelFocus) => void)
extensions/vscode/src/extension/providers/SidebarProvider.ts:31
↓ 1 callersFunctionblockForCancel
(sigCh chan os.Signal)
acp/testdata/mock-ocr/main.go:257
↓ 1 callersFunctionbodyColors
background-color / color out of a `body { ... }` block.
pages/src/index.html.test.ts:35
← previousnext →1,901–2,000 of 7,128, ranked by callers