MCPcopy Create free account

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

Functions11,484 in github.com/tanbiralam/claude-code

↓ 1 callersFunctionnormalizeAssistantMessageForSDK
* Normalizes tool inputs in assistant message content for SDK consumption. * Specifically injects plan content into ExitPlanModeV2 tool inputs since
src/utils/messages/mappers.ts:260
↓ 1 callersFunctionnormalizeFileEditInput
({ file_path, edits, }: { file_path: string edits: EditInput[] })
src/tools/FileEditTool/utils.ts:581
↓ 1 callersFunctionnormalizeGitRemoteUrl
(url: string)
src/utils/git.ts:283
↓ 1 callersFunctionnormalizeImageBlocks
( blocks: Array<ContentBlockParam>, )
src/bridge/inboundMessages.ts:52
↓ 1 callersFunctionnormalizePatternToPath
({ patternRoot, pattern, rootPath, }: { patternRoot: string pattern: string rootPath: string })
src/utils/permissions/filesystem.ts:765
↓ 1 callersFunctionnormalizeToolInput
( tool: T, input: z.infer<T['inputSchema']>, agentId?: AgentId, )
src/utils/api.ts:566
↓ 1 callersFunctionnormalizeToolInputForAPI
( tool: T, input: z.infer<T['inputSchema']>, )
src/utils/api.ts:685
↓ 1 callersFunctionnormalizeTypeName
(name: string)
src/tools/PowerShellTool/clmTypes.ts:194
↓ 1 callersFunctionnormalizeUrl
(url: string)
src/services/mcp/officialRegistry.ts:19
↓ 1 callersFunctionnormalizedUpperBound
(m: Message)
src/utils/exportRenderer.tsx:37
↓ 1 callersFunctionnotifyPermissionModeChanged
(mode: PermissionMode)
src/utils/sessionState.ts:148
↓ 1 callersFunctionnotifyVscodeSnapshotFilesUpdated
* Notifies VSCode about files that have changed between snapshots. * Compares the previous snapshot with the new snapshot and sends file_updated * n
src/utils/fileHistory.ts:1054
↓ 1 callersFunctionnumberDiffLines
(diff: LineObject[], startLine: number)
src/components/StructuredDiff/Fallback.tsx:423
↓ 1 callersFunctionnumberToLetter
(n: number)
src/utils/markdown.ts:310
↓ 1 callersFunctionnumberToRoman
(n: number)
src/utils/markdown.ts:336
↓ 1 callersFunctionoauthHeaders
(accessToken: string)
src/bridge/remoteBridgeCore.ts:81
↓ 1 callersFunctionobjectGroupBy
( items: Iterable<T>, keySelector: (item: T, index: number) => K, )
src/utils/objectGroupBy.ts:4
↓ 1 callersMethodoffsetAtDisplayWidth
* Find the string offset that corresponds to a target display width.
src/utils/Cursor.ts:1270
↓ 1 callersFunctiononAbort
()
src/services/mcp/elicitationHandler.ts:115
↓ 1 callersFunctiononAbort
()
src/services/mcp/client.ts:2955
↓ 1 callersFunctiononChangeMainModelConfig
(value: string | null)
src/components/Settings/Config.tsx:203
↓ 1 callersFunctiononCwdChangedForHooks
( oldCwd: string, newCwd: string, )
src/utils/hooks/fileChangedWatcher.ts:133
↓ 1 callersFunctiononDivergence
()
src/tools/BashTool/bashPermissions.ts:2352
↓ 1 callersFunctiononDoneWithSettingsCheck
()
src/commands/privacy-settings/privacy-settings.tsx:30
↓ 1 callersFunctiononDynamicSkillsLoaded
(callback: () => void)
src/skills/loadSkillsDir.ts:839
↓ 1 callersFunctiononEnvironmentLost
()
src/bridge/replBridge.ts:1070
↓ 1 callersFunctiononFocusChange
()
src/hooks/useAwaySummary.ts:92
↓ 1 callersMethodonHeadChanged
()
src/utils/git/gitFilesystem.ts:429
↓ 1 callersFunctiononIdle
()
src/utils/teammate.ts:262
↓ 1 callersFunctiononImagePaste
(base64Image: string, mediaType?: string, filename?: string, dimensions?: ImageDimensions, _sourcePath?: strin
src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:159
↓ 1 callersFunctiononInboundMessage
(msg)
src/cli/print.ts:3919
↓ 1 callersFunctiononInstall
(ide: IdeType)
src/commands/ide/ide.tsx:478
↓ 1 callersFunctiononInterrupt
()
src/cli/print.ts:3937
↓ 1 callersFunctiononInterrupt
()
src/hooks/useReplBridge.tsx:392
↓ 1 callersFunctiononPermissionPrompt
(details: RequiresActionDetails)
src/cli/print.ts:808
↓ 1 callersFunctiononPluginsAutoUpdated
( callback: PluginAutoUpdateCallback, )
src/utils/plugins/pluginAutoupdate.ts:51
↓ 1 callersFunctiononProgress
(lastLines, allLines, totalLines, totalBytes, isIncomplete)
src/tools/PowerShellTool/PowerShellTool.tsx:733
↓ 1 callersFunctiononSelect
(value_0: string)
src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx:320
↓ 1 callersFunctiononSelectRestoreOption
(option: RestoreOption)
src/components/MessageSelector.tsx:177
↓ 1 callersFunctiononSessionDone
( sessionId: string, startTime: number, handle: SessionHandle, )
src/bridge/bridgeMain.ts:442
↓ 1 callersFunctiononSetMaxThinkingTokens
(maxTokens)
src/cli/print.ts:3946
↓ 1 callersFunctiononSetModel
(model)
src/cli/print.ts:3940
↓ 1 callersFunctiononSetPermissionMode
(mode)
src/hooks/useReplBridge.tsx:416
↓ 1 callersFunctiononeShotJitteredNextCronRunMs
( cron: string, fromMs: number, taskId: string, cfg: CronJitterConfig = DEFAULT_CRON_JITTER_CONFIG, )
src/utils/cronTasks.ts:421
↓ 1 callersFunctionopenCurrentSessionInDesktop
()
src/utils/desktopDeepLink.ts:206
↓ 1 callersFunctionopenDeepLink
* Opens a deep link URL using the platform-specific mechanism. * Returns true if the command succeeded, false otherwise.
src/utils/desktopDeepLink.ts:168
↓ 1 callersFunctionopenTunnel
( sock: ClientSocket, st: ConnState, connectLine: string, wsUrl: string, authHeader: string, wsAut
src/upstreamproxy/relay.ts:344
↓ 1 callersFunctionosc8Id
(url: string)
src/ink/termio/osc.ts:412
↓ 1 callersFunctionpageToMessages
Convert a HistoryPage to REPL Message[] using the same opts as viewer mode.
src/hooks/useAssistantHistory.ts:50
↓ 1 callersFunctionparseAgentFromJson
( name: string, definition: unknown, source: SettingSource = 'flagSettings', )
src/tools/AgentTool/loadAgentsDir.ts:445
↓ 1 callersFunctionparseAgentFromMarkdown
( filePath: string, baseDir: string, frontmatter: Record<string, unknown>, content: string, source:
src/tools/AgentTool/loadAgentsDir.ts:541
↓ 1 callersFunctionparseAndValidateManifestFromText
( manifestText: string, )
src/utils/dxt/helpers.ts:39
↓ 1 callersFunctionparseArgs
(args: string[])
src/bridge/bridgeMain.ts:1737
↓ 1 callersFunctionparseArithPostfix
( P: ParseState, stop: string, mode: ArithMode, )
src/utils/bash/bashParser.ts:4302
↓ 1 callersFunctionparseArithPrimary
( P: ParseState, stop: string, mode: ArithMode, )
src/utils/bash/bashParser.ts:4321
↓ 1 callersFunctionparseArithUnary
( P: ParseState, stop: string, mode: ArithMode, )
src/utils/bash/bashParser.ts:4264
↓ 1 callersFunctionparseAtMentionedFileLines
( mention: string, )
src/utils/attachments.ts:2836
↓ 1 callersFunctionparseAttrs
(tagBody: string)
src/utils/claudeCodeHints.ts:122
↓ 1 callersFunctionparseBareWord
(P: ParseState)
src/utils/bash/bashParser.ts:2163
↓ 1 callersFunctionparseBaseToolsFromCLI
(baseTools: string[])
src/utils/permissions/permissionSetup.ts:652
↓ 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 callersFunctionparseEnvVars
( rawEnvArgs: string[] | undefined, )
src/utils/envUtils.ts:72
↓ 1 callersFunctionparseEsc
(chars: string)
src/ink/termio/esc.ts:14
↓ 1 callersFunctionparseExpansionBody
(P: ParseState)
src/utils/bash/bashParser.ts:2555
↓ 1 callersFunctionparseExpansionRegexSegmented
(P: ParseState)
src/utils/bash/bashParser.ts:3036
↓ 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 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 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
← previousnext →6,901–7,000 of 11,484, ranked by callers