MCPcopy Create free account

hub / github.com/ChinaSiro/claude-code-sourcemap / functions

Functions35,398 in github.com/ChinaSiro/claude-code-sourcemap

↓ 2 callersFunctionparallelWithLimit
* Execute promises with limited concurrency * * @param items - Items to process * @param fn - Async function to apply to each item * @param concur
restored-src/src/services/api/filesApi.ts:280
↓ 2 callersMethodparamsSerializer
(q)
package/cli.js:427
↓ 2 callersFunctionparse
(q)
package/cli.js:1666
↓ 2 callersFunctionparseAgentsFromJson
( agentsJson: unknown, source: SettingSource = 'flagSettings', )
restored-src/src/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
restored-src/src/utils/bash/bashParser.ts:879
↓ 2 callersFunctionparseAndValidateManifestFromBytes
( manifestData: Uint8Array, )
restored-src/src/utils/dxt/helpers.ts:56
↓ 2 callersFunctionparseAnsi
(text: string)
restored-src/src/utils/ansiToSvg.ts:53
↓ 2 callersFunctionparseArgumentNames
( argumentNames: string | string[] | undefined, )
restored-src/src/utils/argumentSubstitution.ts:50
↓ 2 callersFunctionparseArguments
(args: string)
restored-src/src/utils/argumentSubstitution.ts:24
↓ 2 callersFunctionparseArithBinary
Precedence-climbing binary expression parser.
restored-src/src/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.
restored-src/src/utils/toolSearch.ts:55
↓ 2 callersMethodparseBlockScalar
()
package/cli.js:732
↓ 2 callersMethodparseBlockStart
()
package/cli.js:730
↓ 2 callersFunctionparseBoundaryLine
* Confirm a byte-matched line is a real compact_boundary (marker can appear * inside user content) and check for preservedSegment.
restored-src/src/utils/sessionStoragePortable.ts:493
↓ 2 callersMethodparseCertificate
(q)
package/cli.js:384
↓ 2 callersFunctionparseChannelEntries
(raw: string[], flag: string)
restored-src/src/main.tsx:1650
↓ 2 callersFunctionparseChord
(input: string)
restored-src/src/keybindings/parser.ts:80
↓ 2 callersFunctionparseCommandRaw
( command: string, )
restored-src/src/utils/bash/parser.ts:104
↓ 2 callersFunctionparseCount
(notif: Notification)
restored-src/src/hooks/notifs/useTeammateShutdownNotification.ts:10
↓ 2 callersFunctionparseDataUri
( s: string, )
restored-src/src/tools/BashTool/utils.ts:59
↓ 2 callersMethodparseDiagnosticResult
(q)
package/cli.js:2211
↓ 2 callersMethodparseDiagnosticResult
(result: unknown)
restored-src/src/services/diagnosticTracking.ts:285
↓ 2 callersFunctionparseElicitationHookOutput
* Parse elicitation-specific fields from a HookOutsideReplResult. * Mirrors the relevant branches of processHookJSONOutput for Elicitation * and Eli
restored-src/src/utils/hooks.ts:4388
↓ 2 callersFunctionparseFor
(P: ParseState, forTok: Token)
restored-src/src/utils/bash/bashParser.ts:3200
↓ 2 callersFunctionparseForSecurityFromAst
( cmd: string, root: Node | typeof PARSE_ABORTED, )
restored-src/src/utils/bash/ast.ts:400
↓ 2 callersMethodparseFragment
(q,K)
package/cli.js:1569
↓ 2 callersFunctionparseGitCommitId
(stdout: string)
restored-src/src/tools/shared/gitOperationTracking.ts:79
↓ 2 callersFunctionparseHeaders
(headerArray: string[])
restored-src/src/services/mcp/utils.ts:325
↓ 2 callersFunctionparseHookOutput
(stdout: string)
restored-src/src/utils/hooks.ts:399
↓ 2 callersFunctionparseHttpHookOutput
(body: string)
restored-src/src/utils/hooks.ts:453
↓ 2 callersMethodparseMarkdown
(q)
package/cli.js:1465
↓ 2 callersFunctionparseMarketplaceInput
( input: string, )
restored-src/src/utils/plugins/parseMarketplaceInput.ts:23
↓ 2 callersFunctionparseMaxTokensContextOverflowError
(error: APIError)
restored-src/src/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 *
restored-src/src/ink/parse-keypress.ts:594
↓ 2 callersFunctionparseOscColor
(spec: string)
restored-src/src/ink/termio/osc.ts:317
↓ 2 callersFunctionparsePDFPageRange
( pages: string, )
restored-src/src/utils/pdfUtils.ts:16
↓ 2 callersFunctionparsePRReference
(input: string)
restored-src/src/utils/worktree.ts:633
↓ 2 callersFunctionparsePartialPath
( partialPath: string, basePath?: string, )
restored-src/src/utils/suggestions/directoryCompletion.ts:55
↓ 2 callersFunctionparsePatternCommand
( args: string[], flagsWithArgs: Set<string>, defaults: string[] = [], )
restored-src/src/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
restored-src/src/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 *
restored-src/src/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
restored-src/src/utils/plugins/pluginLoader.ts:1788
↓ 2 callersFunctionparsePositiveIntFromFrontmatter
( value: unknown, )
restored-src/src/utils/frontmatterParser.ts:275
↓ 2 callersFunctionparsePromptTooLongTokenCounts
(rawMessage: string)
restored-src/src/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.
restored-src/src/tools/shared/gitOperationTracking.ts:113
↓ 2 callersFunctionparseRegQueryStdout
( stdout: string, valueName = 'Settings', )
restored-src/src/utils/settings/mdm/settings.ts:208
↓ 2 callersFunctionparseShellFrontmatter
( value: unknown, source: string, )
restored-src/src/utils/frontmatterParser.ts:351
↓ 2 callersFunctionparseSkillFrontmatterFields
( frontmatter: FrontmatterData, markdownContent: string, resolvedName: string, descriptionFallbackLabe
restored-src/src/skills/loadSkillsDir.ts:185
↓ 2 callersFunctionparseSlashCommand
(input: string)
restored-src/src/utils/slashCommandParsing.ts:25
↓ 2 callersFunctionparseTestAnd
(P: ParseState, closer: string)
restored-src/src/utils/bash/bashParser.ts:3733
↓ 2 callersFunctionparseTestExpr
(P: ParseState, closer: string)
restored-src/src/utils/bash/bashParser.ts:3701
↓ 2 callersFunctionparseTestOr
(P: ParseState, closer: string)
restored-src/src/utils/bash/bashParser.ts:3705
↓ 2 callersFunctionparseTestRegexRhs
(P: ParseState)
restored-src/src/utils/bash/bashParser.ts:3937
↓ 2 callersFunctionparseTestUnary
(P: ParseState, closer: string)
restored-src/src/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
restored-src/src/utils/markdownConfigLoader.ts:77
↓ 2 callersFunctionparseToolName
* Parse tool name into searchable parts. * Handles both MCP tools (mcp__server__action) and regular tools (CamelCase).
restored-src/src/tools/ToolSearchTool/ToolSearchTool.ts:132
↓ 2 callersMethodparseXml
(q)
package/cli.js:291
↓ 2 callersFunctionparseXmlBlock
* Parse XML block response: <block>yes/no</block> * Strips thinking content first to avoid matching tags inside reasoning. * Returns true for "yes"
restored-src/src/utils/permissions/yoloClassifier.ts:578
↓ 2 callersFunctionparseXmlReason
* Parse XML reason: <reason>...</reason> * Strips thinking content first to avoid matching tags inside reasoning.
restored-src/src/utils/permissions/yoloClassifier.ts:590
↓ 2 callersFunctionpartiallySanitizeUnicode
(prompt: string)
restored-src/src/utils/sanitization.ts:25
↓ 2 callersFunctionpathInOriginalCwd
(path: string)
restored-src/src/utils/claudemd.ts:245
↓ 2 callersFunctionpathListSignature
(paths: string[])
restored-src/src/hooks/fileSuggestions.ts:111
↓ 2 callersFunctionpb6
()
package/cli.js:8
↓ 2 callersFunctionpb8
(q,K)
package/cli.js:2211
↓ 2 callersFunctionpc8
(q)
package/cli.js:8147
↓ 2 callersFunctionpd7
(q,K)
package/cli.js:259
↓ 2 callersMethodpeek
(q,K={})
package/cli.js:136
↓ 2 callersMethodpeek
(q)
package/cli.js:730
↓ 2 callersMethodpeek
()
package/cli.js:2092
↓ 2 callersFunctionperformCrossAppAccess
( serverUrl: string, config: XaaConfig, serverName = 'xaa', abortSignal?: AbortSignal, )
restored-src/src/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
restored-src/src/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
restored-src/src/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
restored-src/src/services/mcp/client.ts:2598
↓ 2 callersFunctionpersistFileSnapshotIfRemote
()
restored-src/src/utils/plans.ts:360
↓ 2 callersFunctionpf7
(q,K)
package/cli.js:98
↓ 2 callersFunctionpg8
(q)
package/cli.js:5429
↓ 2 callersMethodpickSubchannel
(q)
package/cli.js:2092
↓ 2 callersFunctionpj4
(q)
package/cli.js:1412
↓ 2 callersFunctionpk8
(q)
package/cli.js:1482
↓ 2 callersFunctionplayAnimation
(skillDir: string)
restored-src/src/commands/thinkback/thinkback.tsx:59
↓ 2 callersFunctionpm1
(q,K,_,z,Y)
package/cli.js:1631
↓ 2 callersFunctionpm8
()
package/cli.js:3749
↓ 2 callersFunctionpnK
(q,K)
package/cli.js:8039
↓ 2 callersFunctionpollRemoteSessionEvents
(sessionId: string, afterId: string | null = null, opts?: { skipMetadata?: boolean; })
restored-src/src/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
restored-src/src/bridge/bridgeMain.ts:107
↓ 2 callersMethodpong
(q,K,_)
package/cli.js:52
↓ 2 callersFunctionpopAllEditable
( currentInput: string, currentCursorOffset: number, )
restored-src/src/utils/messageQueueManager.ts:428
↓ 2 callersMethodpostprocess
(q)
package/cli.js:1467
↓ 2 callersFunctionpowershellToolCheckExactMatchPermission
( input: PowerShellInput, toolPermissionContext: ToolPermissionContext, )
restored-src/src/tools/PowerShellTool/powershellPermissions.ts:385
↓ 2 callersFunctionpp
(h)
package/cli.js:553
↓ 2 callersFunctionpreferThirdPartyAuthentication
()
restored-src/src/bootstrap/state.ts:1234
↓ 2 callersFunctionprefetchFastModeStatus
()
restored-src/src/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
restored-src/src/utils/model/modelAllowlist.ts:27
↓ 2 callersFunctionprepareForkedCommandContext
( command: PromptCommand, args: string, context: ToolUseContext, )
restored-src/src/utils/forkedAgent.ts:191
↓ 2 callersFunctionprependStderr
(prefix: string, stderr: string)
restored-src/src/utils/ShellCommand.ts:56
↓ 2 callersFunctionprependUserContext
( messages: Message[], context: { [k: string]: string }, )
restored-src/src/utils/api.ts:449
↓ 2 callersMethodpresign
(K,_={})
package/cli.js:313
↓ 2 callersFunctionprintValidationResult
(result: ValidationResult)
restored-src/src/cli/handlers/plugins.ts:73
↓ 2 callersFunctionprobeArecord
()
restored-src/src/services/voice.ts:75
↓ 2 callersFunctionprobePath
(p: string)
restored-src/src/utils/shell/powershellDetection.ts:5
← previousnext →10,301–10,400 of 35,398, ranked by callers