MCPcopy Create free account

hub / github.com/codeaashu/claude-code / functions

Functions13,048 in github.com/codeaashu/claude-code

↓ 1 callersFunctionparseCSI
Parse a raw CSI sequence (e.g., "\x1b[31m") into an action
src/ink/termio/parser.ts:87
↓ 1 callersFunctionparseCSIParams
(paramStr: string)
src/ink/termio/parser.ts:81
↓ 1 callersFunctionparseCapacityValue
(raw: string | undefined)
src/bridge/bridgeMain.ts:1729
↓ 1 callersFunctionparseCase
(P: ParseState, caseTok: Token)
src/utils/bash/bashParser.ts:3322
↓ 1 callersFunctionparseCaseItem
(P: ParseState)
src/utils/bash/bashParser.ts:3350
↓ 1 callersFunctionparseCasePattern
(P: ParseState)
src/utils/bash/bashParser.ts:3441
↓ 1 callersFunctionparseCasePatternSegmented
(P: ParseState)
src/utils/bash/bashParser.ts:3525
↓ 1 callersFunctionparseChannels
(text: string)
src/utils/suggestions/slackChannelSuggestions.ts:87
↓ 1 callersFunctionparseClassifierResponse
( toolUseBlock: Extract<BetaContentBlock, { type: 'tool_use' }>, schema: T, )
src/utils/permissions/classifierShared.ts:30
↓ 1 callersFunctionparseCommandArguments
* Parses command arguments using shell-quote, converting glob objects to strings. * This is necessary because shell-quote parses patterns like *.txt
src/tools/BashTool/pathValidation.ts:791
↓ 1 callersFunctionparseConfigString
( config: string, section: string, subsection: string | null, key: string, )
src/utils/git/gitConfigParser.ts:36
↓ 1 callersFunctionparseDeclaration
(P: ParseState, kwTok: Token)
src/utils/bash/bashParser.ts:3598
↓ 1 callersFunctionparseDeepLink
(uri: string)
src/utils/deepLink/parseDeepLink.ts:84
↓ 1 callersFunctionparseDirectMemberMessage
(input: string)
src/utils/directMemberMessage.ts:6
↓ 1 callersFunctionparseDirectoryListing
(basePath: string, text: string)
web/lib/api/files.ts:178
↓ 1 callersFunctionparseEnvVars
( rawEnvArgs: string[] | undefined, )
src/utils/envUtils.ts:72
↓ 1 callersFunctionparseEsc
(chars: string)
src/ink/termio/esc.ts:14
↓ 1 callersFunctionparseExitCode
(result: string)
web/components/tools/ToolBash.tsx:45
↓ 1 callersFunctionparseExpansionBody
(P: ParseState)
src/utils/bash/bashParser.ts:2555
↓ 1 callersFunctionparseExpansionRegexSegmented
(P: ParseState)
src/utils/bash/bashParser.ts:3036
↓ 1 callersFunctionparseFilePaths
(result: string)
web/components/tools/ToolGlob.tsx:18
↓ 1 callersFunctionparseFileSpecs
(fileSpecs: string[])
src/services/api/filesApi.ts:722
↓ 1 callersFunctionparseForSecurity
( cmd: string, )
src/utils/bash/ast.ts:381
↓ 1 callersFunctionparseFrontmatterPaths
* Parses raw content to extract both content and glob patterns from frontmatter * @param rawContent Raw file content with frontmatter * @returns Obj
src/utils/claudemd.ts:254
↓ 1 callersFunctionparseFunction
(P: ParseState, fnTok: Token)
src/utils/bash/bashParser.ts:3565
↓ 1 callersFunctionparseGitDiff
( stdout: string, )
src/utils/gitDiff.ts:200
↓ 1 callersFunctionparseGitNumstat
(stdout: string)
src/utils/gitDiff.ts:148
↓ 1 callersFunctionparseGitPushBranch
* Parse branch name from git push output. Push writes progress to stderr but * the ref update line ("abc..def branch -> branch", "* [new branch] *
src/tools/shared/gitOperationTracking.ts:93
↓ 1 callersFunctionparseGrepOutput
(result: string)
web/components/tools/ToolGrep.tsx:40
↓ 1 callersFunctionparseHeredocBodyContent
( P: ParseState, start: number, end: number, )
src/utils/bash/bashParser.ts:1929
↓ 1 callersFunctionparseHooksFromFrontmatter
* Parse hooks from frontmatter using the HooksSchema * @param frontmatter The frontmatter object containing potential hooks * @param agentType The a
src/tools/AgentTool/loadAgentsDir.ts:424
↓ 1 callersFunctionparseHooksFromFrontmatter
* Parse and validate hooks from frontmatter. * Returns undefined if hooks are not defined or invalid.
src/skills/loadSkillsDir.ts:136
↓ 1 callersFunctionparseIf
(P: ParseState, ifTok: Token)
src/utils/bash/bashParser.ts:3152
↓ 1 callersFunctionparseInputContext
* Parse input to extract completion context
src/utils/bash/shellCompletion.ts:80
↓ 1 callersFunctionparseJSONLBuffer
(buf: Buffer)
src/utils/json.ts:129
↓ 1 callersFunctionparseJSONLBun
(data: string | Buffer)
src/utils/json.ts:102
↓ 1 callersFunctionparseJSONLString
(data: string)
src/utils/json.ts:155
↓ 1 callersFunctionparseJSONUncached
(json: string, shouldLogError: boolean)
src/utils/json.ts:31
↓ 1 callersFunctionparseKey
(keypress: ParsedKey)
src/ink/events/input-event.ts:27
↓ 1 callersFunctionparseKey
(keyString: string)
web/lib/keyParser.ts:18
↓ 1 callersFunctionparseKeyValue
* Parse a key = value line. Returns null if the line doesn't contain a valid key.
src/utils/git/gitConfigParser.ts:78
↓ 1 callersFunctionparseMarker
(s: string)
src/native-ts/color-diff/index.ts:838
↓ 1 callersFunctionparseMemoryFileContent
* Parses raw memory file content into a MemoryFileInfo. Pure function — no I/O. * * When includeBasePath is given, @include paths are resolved in th
src/utils/claudemd.ts:343
↓ 1 callersFunctionparseMemoryType
(raw: unknown)
src/memdir/memoryTypes.ts:28
↓ 1 callersFunctionparseMultipleKeypresses
( prevState: KeyParseState, input: Buffer | string | null = '', )
src/ink/parse-keypress.ts:213
↓ 1 callersFunctionparseNaturalLanguageDateTime
( input: string, format: 'date' | 'date-time', signal: AbortSignal, )
src/utils/mcp/dateTimeParser.ts:23
↓ 1 callersFunctionparseOSC
(content: string)
src/ink/termio/osc.ts:256
↓ 1 callersFunctionparseOscRgb
(data: string)
src/utils/systemTheme.ts:70
↓ 1 callersFunctionparseOtelHeadersEnvVar
()
src/utils/telemetry/instrumentation.ts:749
↓ 1 callersFunctionparseParams
(str: string)
src/ink/termio/sgr.ts:41
↓ 1 callersFunctionparsePaymentRequirement
( headerValue: string, )
src/services/x402/client.ts:36
↓ 1 callersFunctionparsePermissionRule
( permissionRule: string, )
src/utils/permissions/shellRuleMatching.ts:159
↓ 1 callersFunctionparsePluginArgs
(args?: string)
src/commands/plugin/parseArgs.ts:17
↓ 1 callersFunctionparsePluginsData
(content: string)
src/utils/plugins/pluginFlagging.ts:40
↓ 1 callersFunctionparsePowerShellCommandImpl
* Parse a PowerShell command using the native AST parser. * Spawns pwsh to parse the command and returns structured results. * Results are memoized
src/utils/powershell/parser.ts:1136
↓ 1 callersFunctionparsePrIdentifier
(value: string)
src/screens/ResumeConversation.tsx:36
↓ 1 callersFunctionparsePrNumberFromText
* gh pr merge/close/ready print "✓ <Verb> pull request owner/repo#1234" with * no URL. Extract the PR number from the text.
src/tools/shared/gitOperationTracking.ts:104
↓ 1 callersFunctionparsePrUrl
* Parse PR info from a GitHub PR URL. * Returns { prNumber, prUrl, prRepository } or null if not a valid PR URL.
src/tools/shared/gitOperationTracking.ts:58
↓ 1 callersFunctionparseProgram
(P: ParseState)
src/utils/bash/bashParser.ts:706
↓ 1 callersFunctionparseRawDiffToToolUseDiff
* Parse raw unified diff output into the structured ToolUseDiff format. * Extracts only the hunk content (starting from @@) as the patch, * and coun
src/utils/gitDiff.ts:448
↓ 1 callersFunctionparseRipgrepLine
(line: string)
src/components/GlobalSearchDialog.tsx:331
↓ 1 callersFunctionparseSSEFrames
(buffer: string)
src/cli/transports/SSETransport.ts:58
↓ 1 callersFunctionparseScopes
(scopeString?: string)
src/services/oauth/client.ts:42
↓ 1 callersFunctionparseSearchResults
(result: string)
web/components/tools/ToolWebSearch.tsx:23
↓ 1 callersFunctionparseSearchResults
(text: string)
web/lib/api/files.ts:194
↓ 1 callersFunctionparseSessionIdentifier
( resumeIdentifier: string, )
src/utils/sessionUrl.ts:20
↓ 1 callersFunctionparseSessionInfoFromLite
( sessionId: string, lite: LiteSessionFile, projectPath?: string, )
src/utils/listSessionsImpl.ts:79
↓ 1 callersFunctionparseSettingSourcesFlag
(flag: string)
src/utils/settings/constants.ts:128
↓ 1 callersFunctionparseSettingsFileUncached
(path: string)
src/utils/settings/settings.ts:201
↓ 1 callersFunctionparseShortstat
(stdout: string)
src/utils/gitDiff.ts:371
↓ 1 callersFunctionparseSimpleCommand
* Parse a simple command: [assignment]* word [arg|redirect]* * Returns variable_assignment if only one assignment and no command.
src/utils/bash/bashParser.ts:1141
↓ 1 callersFunctionparseSkillPaths
* Parse paths frontmatter from a skill, using the same format as CLAUDE.md rules. * Returns undefined if no paths are specified or if all patterns ar
src/skills/loadSkillsDir.ts:159
↓ 1 callersFunctionparseSpawnValue
(raw: string | undefined)
src/bridge/bridgeMain.ts:1722
↓ 1 callersFunctionparseSplitOutput
* Parses the session ID from `it2 session split` output. * Format: "Created new pane: <session-id>" * * NOTE: This UUID is only valid when splittin
src/utils/swarm/backends/ITermBackend.ts:50
↓ 1 callersMethodparseSseResponse
Parse an SSE-streamed MCP response and return the first result text.
web/lib/api/files.ts:96
↓ 1 callersFunctionparseStatus
(result: string)
web/components/tools/ToolWebFetch.tsx:21
↓ 1 callersFunctionparseSubscriptIndex
Legacy byte-range subscript index parser — kept for callers that pre-scan.
src/utils/bash/bashParser.ts:1562
↓ 1 callersFunctionparseSubscriptIndexInline
* Parse subscript index content. Parsed arithmetically per tree-sitter grammar: * `${a[1+2]}` → binary_expression; `${a[++i]}` → unary_expression(wor
src/utils/bash/bashParser.ts:1527
↓ 1 callersFunctionparseTabStatus
* Parse OSC 21337 payload: `key=value;key=value;...` with `\;` and `\\` * escapes inside values. Bare key or `key=` clears that field; unknown * key
src/ink/termio/osc.ts:349
↓ 1 callersFunctionparseTeammateMessages
* Parse all teammate messages from XML format: * <teammate-message teammate_id="alice" color="red" summary="Brief update">message content</teammate-m
src/components/messages/UserTeammateMessage.tsx:32
↓ 1 callersFunctionparseTerminalResponse
* Try to recognize a sequence token as a terminal response. * Returns null if the sequence is not a known response pattern * (i.e. it should be trea
src/ink/parse-keypress.ts:122
↓ 1 callersFunctionparseTestBinary
(P: ParseState, closer: string)
src/utils/bash/bashParser.ts:3821
↓ 1 callersFunctionparseTestExtglobRhs
(P: ParseState)
src/utils/bash/bashParser.ts:3982
↓ 1 callersFunctionparseTestNegatablePrimary
* Parse `!`-negated or test-operator (`-f`) or parenthesized primary — but NOT * a binary comparison. Used as LHS of binary_expression so `! x =~ y`
src/utils/bash/bashParser.ts:3791
↓ 1 callersFunctionparseToSpans
* Parse an ANSI string into spans using the termio parser.
src/ink/Ansi.tsx:118
↓ 1 callersFunctionparseTokenBudget
(text: string)
src/utils/tokenBudget.ts:21
↓ 1 callersFunctionparseToolPreset
(preset: string)
src/tools.ts:165
↓ 1 callersFunctionparseUnset
(P: ParseState, kwTok: Token)
src/utils/bash/bashParser.ts:3650
↓ 1 callersFunctionparseUpdates
(text: string)
src/components/messages/UserResourceUpdateMessage.tsx:19
↓ 1 callersFunctionparseValue
* Parse a config value starting at position i. * Handles quoted strings, escape sequences, and inline comments.
src/utils/git/gitConfigParser.ts:114
↓ 1 callersFunctionparseWhile
(P: ParseState, kwTok: Token)
src/utils/bash/bashParser.ts:3189
↓ 1 callersFunctionparseXmlThinking
* Parse XML thinking content: <thinking>...</thinking>
src/utils/permissions/yoloClassifier.ts:601
↓ 1 callersFunctionpartialCompactConversation
( allMessages: Message[], pivotIndex: number, context: ToolUseContext, cacheSafeParams: CacheSafeParam
src/services/compact/compact.ts:772
↓ 1 callersFunctionpartitionBetasByAllowlist
* Filter betas to only include those in the allowlist. * Returns allowed and disallowed betas separately.
src/utils/betas.ts:43
↓ 1 callersFunctionpartitionByPriorDecision
* Partition candidates by their prior decision state: * - mustReapply: previously replaced → re-apply the cached replacement for * prefix stabil
src/utils/toolResultStorage.ts:649
↓ 1 callersFunctionpartitionToolCalls
* Partition tool calls into batches where each batch is either: * 1. A single non-read-only tool, or * 2. Multiple consecutive read-only tools
src/services/tools/toolOrchestration.ts:91
↓ 1 callersMethodpaste
(e3)
src/server/web/public/terminal.js:650
↓ 1 callersMethodpatchConsole
()
src/ink/ink.tsx:1571
↓ 1 callersMethodpatchStderr
* Intercept process.stderr.write so stray writes (config.ts, hooks.ts, * third-party deps) don't corrupt the alt-screen buffer. patchConsole only
src/ink/ink.tsx:1604
↓ 1 callersFunctionpathFromToolUse
(toolUseConfirm: ToolUseConfirm)
src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx:8
← previousnext →7,801–7,900 of 13,048, ranked by callers