MCPcopy Create free account

hub / github.com/Austin1serb/Anthropic-Leaked-Source-Code / functions

Functions11,462 in github.com/Austin1serb/Anthropic-Leaked-Source-Code

↓ 2 callersFunctiononPermissionResponse
(response)
cli/print.ts:3931
↓ 2 callersFunctiononSelect
(log_0: LogOption)
screens/ResumeConversation.tsx:178
↓ 2 callersFunctiononUserMessage
(text: string, bridgeSessionId: string)
bridge/initReplBridge.ts:349
↓ 2 callersFunctionopenFile
(filePath: string, content: string)
services/lsp/LSPServerManager.ts:270
↓ 2 callersFunctionopenInChrome
(url: string)
utils/claudeInChrome/common.ts:429
↓ 2 callersFunctionopener
* Shared opener for both extract-prompt variants.
services/extractMemories/prompts.ts:29
↓ 2 callersFunctionoptimize
(diff: Diff)
ink/optimizer.ts:16
↓ 2 callersMethodpaginatedGet
* Paginated GET with retry. Fetches all pages from a list endpoint, * retrying each page on failure with exponential backoff + jitter.
cli/transports/ccrClient.ts:864
↓ 2 callersFunctionparallelWithLimit
* Execute promises with limited concurrency * * @param items - Items to process * @param fn - Async function to apply to each item * @param concur
services/api/filesApi.ts:280
↓ 2 callersFunctionparseAgentsFromJson
( agentsJson: unknown, source: SettingSource = 'flagSettings', )
tools/AgentTool/loadAgentsDir.ts:521
↓ 2 callersFunctionparseAndOr
* Parse pipeline chains joined by && ||. Left-associative nesting. * tree-sitter quirk: trailing redirect on the last pipeline wraps the ENTIRE * li
utils/bash/bashParser.ts:879
↓ 2 callersFunctionparseAndValidateManifestFromBytes
( manifestData: Uint8Array, )
utils/dxt/helpers.ts:56
↓ 2 callersFunctionparseAnsi
(text: string)
utils/ansiToSvg.ts:53
↓ 2 callersFunctionparseArgumentNames
( argumentNames: string | string[] | undefined, )
utils/argumentSubstitution.ts:50
↓ 2 callersFunctionparseArguments
(args: string)
utils/argumentSubstitution.ts:24
↓ 2 callersFunctionparseArithBinary
Precedence-climbing binary expression parser.
utils/bash/bashParser.ts:4232
↓ 2 callersFunctionparseAutoPercentage
* Parse auto:N syntax from ENABLE_TOOL_SEARCH env var. * Returns the percentage clamped to 0-100, or null if not auto:N format or not a number.
utils/toolSearch.ts:55
↓ 2 callersFunctionparseBoundaryLine
* Confirm a byte-matched line is a real compact_boundary (marker can appear * inside user content) and check for preservedSegment.
utils/sessionStoragePortable.ts:493
↓ 2 callersFunctionparseChannelEntries
(raw: string[], flag: string)
main.tsx:1650
↓ 2 callersFunctionparseChord
(input: string)
keybindings/parser.ts:80
↓ 2 callersFunctionparseCommandRaw
( command: string, )
utils/bash/parser.ts:104
↓ 2 callersFunctionparseCount
(notif: Notification)
hooks/notifs/useTeammateShutdownNotification.ts:10
↓ 2 callersFunctionparseDataUri
( s: string, )
tools/BashTool/utils.ts:59
↓ 2 callersMethodparseDiagnosticResult
(result: unknown)
services/diagnosticTracking.ts:285
↓ 2 callersFunctionparseElicitationHookOutput
* Parse elicitation-specific fields from a HookOutsideReplResult. * Mirrors the relevant branches of processHookJSONOutput for Elicitation * and Eli
utils/hooks.ts:4388
↓ 2 callersFunctionparseFor
(P: ParseState, forTok: Token)
utils/bash/bashParser.ts:3200
↓ 2 callersFunctionparseForSecurityFromAst
( cmd: string, root: Node | typeof PARSE_ABORTED, )
utils/bash/ast.ts:400
↓ 2 callersFunctionparseGitCommitId
(stdout: string)
tools/shared/gitOperationTracking.ts:79
↓ 2 callersFunctionparseHeaders
(headerArray: string[])
services/mcp/utils.ts:325
↓ 2 callersFunctionparseHookOutput
(stdout: string)
utils/hooks.ts:399
↓ 2 callersFunctionparseHttpHookOutput
(body: string)
utils/hooks.ts:453
↓ 2 callersFunctionparseMarketplaceInput
( input: string, )
utils/plugins/parseMarketplaceInput.ts:23
↓ 2 callersFunctionparseMaxTokensContextOverflowError
(error: APIError)
services/api/withRetry.ts:550
↓ 2 callersFunctionparseMouseEvent
* Parse an SGR mouse event sequence into a ParsedMouse, or null if not a * mouse event or if it's a wheel event (wheel stays as ParsedKey for the *
ink/parse-keypress.ts:594
↓ 2 callersFunctionparseOscColor
(spec: string)
ink/termio/osc.ts:317
↓ 2 callersFunctionparsePDFPageRange
( pages: string, )
utils/pdfUtils.ts:16
↓ 2 callersFunctionparsePRReference
(input: string)
utils/worktree.ts:633
↓ 2 callersFunctionparsePartialPath
( partialPath: string, basePath?: string, )
utils/suggestions/directoryCompletion.ts:55
↓ 2 callersFunctionparsePatternCommand
( args: string[], flagsWithArgs: Set<string>, defaults: string[] = [], )
tools/BashTool/pathValidation.ts:142
↓ 2 callersFunctionparsePermissionUpdates
* Validate permissionUpdates from external sources (mailbox IPC, disk polling). * Malformed entries from buggy/old teammate processes are filtered ou
hooks/useSwarmPermissionPoller.ts:35
↓ 2 callersFunctionparsePipeline
* Parse commands joined by | or |&. Flat children with operator leaves. * tree-sitter quirk: `a | b 2>nul | c` hoists the redirect on `b` to wrap *
utils/bash/bashParser.ts:938
↓ 2 callersFunctionparsePluginSettings
* Parse raw settings through PluginSettingsSchema, returning only allowlisted keys. * Returns undefined if parsing fails or all keys are filtered out
utils/plugins/pluginLoader.ts:1788
↓ 2 callersFunctionparsePositiveIntFromFrontmatter
( value: unknown, )
utils/frontmatterParser.ts:275
↓ 2 callersFunctionparsePromptTooLongTokenCounts
(rawMessage: string)
services/api/errors.ts:85
↓ 2 callersFunctionparseRefFromCommand
* Extract target ref from `git merge <ref>` / `git rebase <ref>` command. * Skips flags and keywords — first non-flag argument is the ref.
tools/shared/gitOperationTracking.ts:113
↓ 2 callersFunctionparseRegQueryStdout
( stdout: string, valueName = 'Settings', )
utils/settings/mdm/settings.ts:208
↓ 2 callersFunctionparseShellFrontmatter
( value: unknown, source: string, )
utils/frontmatterParser.ts:351
↓ 2 callersFunctionparseSkillFrontmatterFields
( frontmatter: FrontmatterData, markdownContent: string, resolvedName: string, descriptionFallbackLabe
skills/loadSkillsDir.ts:185
↓ 2 callersFunctionparseSlashCommand
(input: string)
utils/slashCommandParsing.ts:25
↓ 2 callersFunctionparseTestAnd
(P: ParseState, closer: string)
utils/bash/bashParser.ts:3733
↓ 2 callersFunctionparseTestExpr
(P: ParseState, closer: string)
utils/bash/bashParser.ts:3701
↓ 2 callersFunctionparseTestOr
(P: ParseState, closer: string)
utils/bash/bashParser.ts:3705
↓ 2 callersFunctionparseTestRegexRhs
(P: ParseState)
utils/bash/bashParser.ts:3937
↓ 2 callersFunctionparseTestUnary
(P: ParseState, closer: string)
utils/bash/bashParser.ts:3757
↓ 2 callersFunctionparseToolListString
* Parses tools from frontmatter, supporting both string and array formats * Always returns a string array for consistency * @param toolsValue The va
utils/markdownConfigLoader.ts:77
↓ 2 callersFunctionparseToolName
* Parse tool name into searchable parts. * Handles both MCP tools (mcp__server__action) and regular tools (CamelCase).
tools/ToolSearchTool/ToolSearchTool.ts:132
↓ 2 callersFunctionparseXmlBlock
* Parse XML block response: <block>yes/no</block> * Strips thinking content first to avoid matching tags inside reasoning. * Returns true for "yes"
utils/permissions/yoloClassifier.ts:578
↓ 2 callersFunctionparseXmlReason
* Parse XML reason: <reason>...</reason> * Strips thinking content first to avoid matching tags inside reasoning.
utils/permissions/yoloClassifier.ts:590
↓ 2 callersFunctionpartiallySanitizeUnicode
(prompt: string)
utils/sanitization.ts:25
↓ 2 callersFunctionpathInOriginalCwd
(path: string)
utils/claudemd.ts:245
↓ 2 callersFunctionpathListSignature
(paths: string[])
hooks/fileSuggestions.ts:111
↓ 2 callersFunctionperformCrossAppAccess
( serverUrl: string, config: XaaConfig, serverName = 'xaa', abortSignal?: AbortSignal, )
services/mcp/xaa.ts:426
↓ 2 callersFunctionperformVersionUpdate
* Performs the core update operation: download (if needed), install, and update symlink. * Returns whether a new install was performed (vs just updat
utils/nativeInstaller/installer.ts:441
↓ 2 callersFunctionperiodicWrite
* Write the full trace to disk. Errors are logged but swallowed so that a * transient I/O problem does not crash the session — the next periodic tic
utils/telemetry/perfettoTracing.ts:990
↓ 2 callersFunctionpersistBlobToTextBlock
* Decode base64 binary content, write it to disk with the proper extension, * and return a small text block with the file path. Replaces the old beha
services/mcp/client.ts:2598
↓ 2 callersFunctionpersistFileSnapshotIfRemote
()
utils/plans.ts:360
↓ 2 callersFunctionplayAnimation
(skillDir: string)
commands/thinkback/thinkback.tsx:59
↓ 2 callersFunctionpollRemoteSessionEvents
(sessionId: string, afterId: string | null = null, opts?: { skipMetadata?: boolean; })
utils/teleport.tsx:633
↓ 2 callersFunctionpollSleepDetectionThresholdMs
* Returns the threshold for detecting system sleep/wake in the poll loop. * Must exceed the max backoff cap — otherwise normal backoff delays trigger
bridge/bridgeMain.ts:107
↓ 2 callersFunctionpopAllEditable
( currentInput: string, currentCursorOffset: number, )
utils/messageQueueManager.ts:428
↓ 2 callersFunctionpowershellToolCheckExactMatchPermission
( input: PowerShellInput, toolPermissionContext: ToolPermissionContext, )
tools/PowerShellTool/powershellPermissions.ts:385
↓ 2 callersFunctionpreferThirdPartyAuthentication
()
bootstrap/state.ts:1234
↓ 2 callersFunctionprefetchFastModeStatus
()
utils/fastMode.ts:407
↓ 2 callersFunctionprefixMatchesModel
* Check if a model name starts with a prefix at a segment boundary. * The prefix must match up to the end of the name or a "-" separator. * e.g. "cl
utils/model/modelAllowlist.ts:27
↓ 2 callersFunctionprepareForkedCommandContext
( command: PromptCommand, args: string, context: ToolUseContext, )
utils/forkedAgent.ts:191
↓ 2 callersFunctionprependStderr
(prefix: string, stderr: string)
utils/ShellCommand.ts:56
↓ 2 callersFunctionprependUserContext
( messages: Message[], context: { [k: string]: string }, )
utils/api.ts:449
↓ 2 callersFunctionprintValidationResult
(result: ValidationResult)
cli/handlers/plugins.ts:73
↓ 2 callersFunctionprobeArecord
()
services/voice.ts:75
↓ 2 callersFunctionprobePath
(p: string)
utils/shell/powershellDetection.ts:5
↓ 2 callersFunctionprobeSeedCache
* Probe seed directories for a populated cache at this plugin version. * Seeds are checked in precedence order; first hit wins. Returns null if no *
utils/plugins/pluginLoader.ts:195
↓ 2 callersFunctionprocess
(t: CronTask, isSession: boolean)
utils/cronScheduler.ts:248
↓ 2 callersFunctionprocessBatched
( items: T[], concurrency: number, processor: (item: T) => Promise<void>, )
services/mcp/client.ts:2218
↓ 2 callersFunctionprocessCell
( cell: NotebookCell, index: number, codeLanguage: string, includeLargeOutputs: boolean, )
utils/notebook.ts:83
↓ 2 callersFunctionprocessContent
(md: string, content: SkillContent)
skills/bundled/claudeApi.ts:64
↓ 2 callersMethodprocessLine
( line: string, )
cli/structuredIO.ts:333
↓ 2 callersFunctionprocessRateLimitHeaders
( headers: globalThis.Headers, )
services/rateLimitMocking.ts:19
↓ 2 callersFunctionprocessRemoteEvalPayload
* Process a remote eval payload from the GrowthBook server and populate * local caches. Called after both initial client.init() and after * client.r
services/analytics/growthbook.ts:327
↓ 2 callersFunctionprocessSetupHooks
( trigger: 'init' | 'maintenance', { forceSyncExecution }: { forceSyncExecution?: boolean } = {}, )
utils/sessionStart.ts:177
↓ 2 callersFunctionprocessSlashCommand
(inputString: string, precedingInputBlocks: ContentBlockParam[], imageContentBlocks: ContentBlockParam[], atta
utils/processUserInput/processSlashCommand.tsx:309
↓ 2 callersFunctionprocessUserInput
({ input, preExpansionInput, mode, setToolJSX, context, pastedContents, ideSelection, messages
utils/processUserInput/processUserInput.ts:85
↓ 2 callersFunctionprofileReport
()
utils/startupProfiler.ts:123
↓ 2 callersFunctionproviderOrUncDecisionForArg
(arg: string)
tools/PowerShellTool/powershellPermissions.ts:1003
↓ 2 callersFunctionpsQuote
* PowerShell single-quoted string. The ONLY special sequence is '' for a * literal single quote — no backtick escapes, no variable expansion, no * s
utils/deepLink/terminalLauncher.ts:536
↓ 2 callersFunctionpullTeamMemory
( state: SyncState, options?: { skipEtagCache?: boolean }, )
services/teamMemorySync/index.ts:770
↓ 2 callersFunctionqueryModel
( messages: Message[], systemPrompt: SystemPrompt, thinkingConfig: ThinkingConfig, tools: Tools, sig
services/api/claude.ts:1017
↓ 2 callersFunctionqueryModelWithStreaming
({ messages, systemPrompt, thinkingConfig, tools, signal, options, }: { messages: Message[] sy
services/api/claude.ts:752
↓ 2 callersFunctionqueueMessages
()
hooks/useInboxPoller.ts:823
↓ 2 callersFunctionqueuePendingMessage
(taskId: string, msg: string, setAppState: (f: (prev: AppState) => AppState) => void)
tasks/LocalAgentTask/LocalAgentTask.tsx:162
↓ 2 callersFunctionreAppendSessionMetadata
()
utils/sessionStorage.ts:2815
← previousnext →3,701–3,800 of 11,462, ranked by callers