MCPcopy Create free account

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

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

↓ 6 callersFunctionupdateUsage
( usage: Readonly<NonNullableUsage>, partUsage: BetaMessageDeltaUsage | undefined, )
src/services/api/claude.ts:2924
↓ 6 callersFunctionuseElapsedTime
( startTime: number, isRunning: boolean, ms: number = 1000, pausedMs: number = 0, endTime?: number,
src/hooks/useElapsedTime.ts:17
↓ 6 callersFunctionusePermissionRequestLogging
( toolUseConfirm: ToolUseConfirm, unaryEvent: UnaryEvent, )
src/components/permissions/hooks.ts:101
↓ 6 callersFunctionuseStartupNotification
( compute: () => Result | Promise<Result>, )
src/hooks/notifs/useStartupNotification.ts:19
↓ 6 callersFunctionvalidatePath
* Validates a file system path, handling tilde expansion.
src/tools/PowerShellTool/pathValidation.ts:1013
↓ 6 callersMethodwcwidth
(e3)
src/server/web/public/terminal.js:4634
↓ 6 callersFunctionwithOAuth401Retry
( request: () => Promise<T>, opts?: { also403Revoked?: boolean }, )
src/utils/http.ts:115
↓ 6 callersFunctionwriteBridgePointer
( dir: string, pointer: BridgePointer, )
src/bridge/bridgePointer.ts:62
↓ 6 callersFunctionzodToJsonSchema
(schema: ZodTypeAny)
src/utils/zodToJsonSchema.ts:17
↓ 5 callersMethod_addRectangleFloat
(e3, t3, i3, s3, r2, o2, n2)
src/server/web/public/terminal.js:7001
↓ 5 callersMethod_checkProposedApi
()
src/server/web/public/terminal.js:5952
↓ 5 callersMethod_clearCurrentLink
(e3, t3)
src/server/web/public/terminal.js:305
↓ 5 callersMethod_clearModel
(e3)
src/server/web/public/terminal.js:7096
↓ 5 callersMethod_eraseInBufferLine
(e3, t3, i3, s3 = false, r2 = false)
src/server/web/public/terminal.js:2934
↓ 5 callersMethod_getColorFromAnsiIndex
(e3)
src/server/web/public/terminal.js:7684
↓ 5 callersMethod_linkAtPosition
(e3, t3)
src/server/web/public/terminal.js:344
↓ 5 callersMethod_notify
()
src/utils/QueryGuard.ts:118
↓ 5 callersMethod_updateDimensions
()
src/server/web/public/terminal.js:1262
↓ 5 callersFunctionackWork
()
src/bridge/bridgeMain.ts:837
↓ 5 callersFunctionaction
(a: { key: K; label: string | ((s: MessageActionsState) => string); types: readonly T[]; applies?: (s:
src/components/messageActions.tsx:148
↓ 5 callersFunctionaddMarketplaceSource
( source: MarketplaceSource, onProgress?: MarketplaceProgressCallback, )
src/utils/plugins/marketplaceManager.ts:1782
↓ 5 callersFunctionaddMcpConfig
( name: string, config: unknown, scope: ConfigScope, )
src/services/mcp/config.ts:625
↓ 5 callersFunctionaddScopeToServers
* Internal utility: Add scope to server configs
src/services/mcp/config.ts:69
↓ 5 callersFunctionappendCappedMessage
( prev: readonly T[] | undefined, item: T, )
src/tasks/InProcessTeammateTask/types.ts:108
↓ 5 callersFunctionappendFileSync
(path, data, options)
src/utils/fsOperations.ts:468
↓ 5 callersFunctionapplyOperator
( op: Operator, from: number, to: number, ctx: OperatorContext, linewise: boolean = false, )
src/vim/operators.ts:493
↓ 5 callersFunctionapplyTextStyles
(text: string, styles: TextStyles)
src/ink/colorize.ts:176
↓ 5 callersFunctionassembleToolPool
( permissionContext: ToolPermissionContext, mcpTools: Tools, )
src/tools.ts:345
↓ 5 callersFunctionbashToolCheckExactMatchPermission
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, )
src/tools/BashTool/bashPermissions.ts:991
↓ 5 callersFunctionbuildBridgeConnectUrl
( environmentId: string, ingressUrl?: string, )
src/bridge/bridgeStatusUtil.ts:39
↓ 5 callersFunctionbuildPluginCommandTelemetryFields
( pluginInfo: { pluginManifest: PluginManifest; repository: string }, managedNames: Set<string> | null = n
src/utils/telemetry/pluginTelemetry.ts:173
↓ 5 callersFunctionbuildPostCompactMessages
(result: CompactionResult)
src/services/compact/compact.ts:330
↓ 5 callersFunctioncalculateUSDCost
(resolvedModel: string, usage: Usage)
src/utils/modelCost.ts:177
↓ 5 callersMethodcaptureScrolledRows
* Capture text from rows about to scroll out of the viewport during * drag-to-scroll. Must be called BEFORE the ScrollBox scrolls so the * scree
src/ink/ink.tsx:1157
↓ 5 callersMethodcheckDependencies
()
src/utils/sandbox/sandbox-adapter.ts:887
↓ 5 callersFunctioncheckPathTraversal
* Check for parent-directory segments ('..') in a path string. * * For plugin.json component paths this is a security concern (escaping the plugin d
src/utils/plugins/validatePlugin.ts:92
↓ 5 callersFunctioncheckStartFailed
()
src/services/lsp/LSPClient.ts:73
↓ 5 callersFunctionclassifyBashCommand
( _command: string, _cwd: string, _descriptions: string[], _behavior: ClassifierBehavior, _signal: A
src/utils/permissions/bashClassifier.ts:40
↓ 5 callersFunctionclearCommandsCache
()
src/commands.ts:536
↓ 5 callersFunctionclearHighlights
()
web/components/file-viewer/SearchBar.tsx:136
↓ 5 callersFunctionclearOAuthTokenCache
()
src/utils/auth.ts:1308
↓ 5 callersFunctioncomputeHash
(data: unknown)
src/services/api/promptCacheBreakDetection.ts:170
↓ 5 callersMethodconnect
()
src/server/directConnectManager.ts:50
↓ 5 callersFunctionconsumeKeyword
(P: ParseState, name: string, kids: TsNode[])
src/utils/bash/bashParser.ts:3688
↓ 5 callersFunctioncontainsPathTraversal
(path: string)
src/utils/path.ts:133
↓ 5 callersFunctionconvertEffortValueToLevel
(value: EffortValue)
src/utils/effort.ts:202
↓ 5 callersFunctioncountTokensWithFallback
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[], )
src/utils/analyzeContext.ts:77
↓ 5 callersFunctioncreateCompressedImageResult
( buffer: Buffer, mediaType: string, originalSize: number, )
src/utils/imageResizer.ts:632
↓ 5 callersFunctioncreateHyperlink
( url: string, content?: string, options?: HyperlinkOptions, )
src/utils/hyperlink.ts:24
↓ 5 callersFunctioncreatePluginCommand
* Create a Command from a plugin markdown file
src/utils/plugins/loadPluginCommands.ts:218
↓ 5 callersFunctioncreateSortedHelpConfig
()
src/main.tsx:890
↓ 5 callersFunctioncreateToolResultMessage
( tool: Tool<AnyObject, Output>, toolUseResult: Output, )
src/utils/messages.ts:4288
↓ 5 callersFunctioncreateToolUseMessage
( toolName: string, input: { [key: string]: string | number }, )
src/utils/messages.ts:4325
↓ 5 callersFunctioncreateUserInterruptionMessage
({ toolUse = false, }: { toolUse?: boolean })
src/utils/messages.ts:545
↓ 5 callersFunctiondangerousRemovalDeny
(path: string)
src/tools/PowerShellTool/pathValidation.ts:848
↓ 5 callersFunctiondebugBody
(data: unknown)
src/bridge/debugUtils.ts:46
↓ 5 callersFunctiondecisionReasonToString
( decisionReason: PermissionDecisionReason | undefined, )
src/components/permissions/hooks.ts:61
↓ 5 callersMethoddeleteFile
(filePath: string)
src/services/analytics/firstPartyEventLoggingExporter.ts:210
↓ 5 callersFunctiondetectAndGetBackend
()
src/utils/swarm/backends/registry.ts:136
↓ 5 callersMethoddidStopImmediatePropagation
()
src/ink/events/event.ts:4
↓ 5 callersFunctiondiffToolInputsOnly
(filePath: string, edits: FileEdit[])
src/components/FileEditToolDiff.tsx:161
↓ 5 callersMethoddisconnect
* Disconnect from the remote session
src/remote/RemoteSessionManager.ts:309
↓ 5 callersMethoddisconnect
()
src/server/directConnectManager.ts:203
↓ 5 callersFunctionenablePluginOp
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginOperations.ts:756
↓ 5 callersMethodend
* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.
src/bridge/flushGate.ts:37
↓ 5 callersMethodendOfLine
()
src/utils/Cursor.ts:455
↓ 5 callersFunctionenqueueSdkEvent
(event: SdkEvent)
src/utils/sdkEventQueue.ts:77
↓ 5 callersFunctionenrichLogs
( allLogs: LogOption[], startIndex: number, count: number, )
src/utils/sessionStorage.ts:5077
↓ 5 callersFunctionescapeForDiff
(s: string)
src/utils/diff.ts:35
↓ 5 callersFunctionestimateMessageTokens
(messages: Message[])
src/services/compact/microCompact.ts:164
↓ 5 callersFunctionexecSync_DEPRECATED
( command: string, options?: ExecSyncOptions, )
src/utils/execSyncWrapper.ts:32
↓ 5 callersFunctionexecuteOperatorMotion
( op: Operator, motion: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:42
↓ 5 callersFunctionexecuteShellCommandsInPrompt
( text: string, context: ToolUseContext, slashCommandName: string, shell?: FrontmatterShell, )
src/utils/promptShellExecution.ts:69
↓ 5 callersFunctionextractConnectionErrorDetails
( error: unknown, )
src/services/api/errorUtils.ts:42
↓ 5 callersFunctionextractDiscoveredToolNames
(messages: Message[])
src/utils/toolSearch.ts:545
↓ 5 callersFunctionfileExists
(p: string)
mcp-server/src/server.ts:45
↓ 5 callersFunctionfilterMcpServersByPolicy
(configs: Record<string, T>)
src/services/mcp/config.ts:536
↓ 5 callersFunctionfilterModelOptionsByAllowlist
* Filter model options by the availableModels allowlist. * Always preserves the "Default" option (value: null).
src/utils/model/modelOptions.ts:531
↓ 5 callersFunctionfilterToolsByDenyRules
(tools: readonly T[], permissionContext: ToolPermissionContext)
src/tools.ts:262
↓ 5 callersFunctionfindProjectDir
( projectPath: string, )
src/utils/sessionStoragePortable.ts:354
↓ 5 callersFunctionfinishSelection
(s: SelectionState)
src/ink/selection.ts:116
↓ 5 callersFunctionfirstLineOf
(s: string)
src/utils/stringUtils.ts:44
↓ 5 callersFunctionflushContent
()
src/utils/bash/bashParser.ts:2347
↓ 5 callersFunctionfmtCoord
(c: [number, number] | undefined)
src/utils/computerUse/toolRendering.tsx:18
↓ 5 callersFunctionformatCell
(tokens: Token[] | undefined)
src/components/MarkdownTable.tsx:84
↓ 5 callersFunctionformatCommandInput
(command: CommandBase, args: string)
src/utils/processUserInput/processSlashCommand.tsx:778
↓ 5 callersFunctionformatDelay
(ms: number)
src/bridge/bridgeMain.ts:1619
↓ 5 callersFunctionformatPathList
(paths: string[])
src/components/permissions/shellPermissionHelpers.tsx:32
↓ 5 callersFunctionformatResetTime
( timestampInSeconds: number | undefined, showTimezone: boolean = false, showTime: boolean = true, )
src/utils/format.ts:238
↓ 5 callersFunctionformatSourceForDisplay
(source: MarketplaceSource)
src/utils/plugins/marketplaceHelpers.ts:510
↓ 5 callersFunctionformatUri
* Formats a URI by converting it to a relative path if possible. * Handles URI decoding and gracefully falls back to un-decoded path if malformed. *
src/tools/LSPTool/formatters.ts:24
↓ 5 callersFunctionfullResetSequence_CAUSES_FLICKER
( frame: Frame, reason: FlickerReason, stylePool: StylePool, debug?: { triggerY: number; prevLine: str
src/ink/log-update.ts:503
↓ 5 callersFunctionget
(id)
web/lib/api/conversations.ts:52
↓ 5 callersMethodget
Recover styles from an encoded ID. Strips the bit-0 flag via >>> 1.
src/ink/screen.ts:144
↓ 5 callersFunctiongetAPIMetadata
()
src/services/api/claude.ts:503
↓ 5 callersFunctiongetAgentColor
(agentType: string)
src/tools/AgentTool/agentColorManager.ts:36
↓ 5 callersFunctiongetAllBaseTools
()
src/tools.ts:193
↓ 5 callersFunctiongetAllInProcessTeammateTasks
(tasks: Record<string, TaskStateBase>)
src/tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:113
↓ 5 callersFunctiongetAppState
()
src/utils/hooks/execAgentHook.ts:137
↓ 5 callersFunctiongetAssistantMessageText
(message: Message)
src/utils/messages.ts:2843
← previousnext →1,101–1,200 of 13,048, ranked by callers