MCPcopy Create free account

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

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

↓ 2 callersFunctiontallyInto
(stdout: string)
src/utils/exampleCommands.ts:105
↓ 2 callersFunctiontargetFor
(i: number)
src/components/VirtualMessageList.tsx:472
↓ 2 callersFunctionteammateModelDisplayString
(value: string | null | undefined)
src/components/Settings/Config.tsx:1738
↓ 2 callersFunctiontearDown
(msg: string)
src/utils/worktree.ts:341
↓ 2 callersFunctiontextForResubmit
( msg: UserMessage, )
src/utils/messages.ts:2873
↓ 2 callersFunctiontoCompact
(entry: TranscriptEntry, lookup: ToolLookup)
src/utils/permissions/yoloClassifier.ts:426
↓ 2 callersFunctiontoCompactBlock
* Serialize a single transcript block as a JSONL dict line: `{"Bash":"ls"}` * for tool calls, `{"user":"text"}` for user text. The tool value is the
src/utils/permissions/yoloClassifier.ts:384
↓ 2 callersFunctiontoInfraSessionId
(id: string)
src/bridge/sessionIdCompat.ts:54
↓ 2 callersFunctiontoInternalMessages
( messages: readonly DeepImmutable<SDKMessage>[], )
src/utils/messages/mappers.ts:26
↓ 2 callersMethodtoLocalPath
(windowsPath: string)
src/utils/idePathConversion.ts:28
↓ 2 callersFunctiontoRelativePath
(absolutePath: string)
src/utils/path.ts:95
↓ 2 callersMethodtoString
* Returns the accumulated string, with truncation marker if truncated
src/utils/stringUtils.ts:181
↓ 2 callersFunctiontoggleMembership
( list: string[], name: string, shouldContain: boolean, )
src/services/mcp/config.ts:1538
↓ 2 callersFunctiontokenize
(text: string)
src/native-ts/color-diff/index.ts:550
↓ 2 callersFunctiontoolToAPISchema
( tool: Tool, options: { getToolPermissionContext: () => Promise<ToolPermissionContext> tools: Too
src/utils/api.ts:119
↓ 2 callersFunctiontrackGitOperations
( command: string, exitCode: number, stdout?: string, )
src/tools/shared/gitOperationTracking.ts:189
↓ 2 callersFunctiontransformResultContent
( resultContent: PromptMessage['content'], serverName: string, )
src/services/mcp/client.ts:2478
↓ 2 callersFunctiontriggerTeardown
()
src/bridge/replBridge.ts:874
↓ 2 callersFunctiontruncateDescription
(description: string)
src/hooks/unifiedSuggestions.ts:73
↓ 2 callersFunctiontruncateEntrypointContent
(raw: string)
src/memdir/memdir.ts:57
↓ 2 callersFunctiontruncateHeadForPTLRetry
( messages: Message[], ptlResponse: AssistantMessage, )
src/services/compact/compact.ts:243
↓ 2 callersFunctiontruncateJson
* Truncates a JSON value to a maximum length for the prompt.
src/services/toolUseSummary/toolUseSummaryGenerator.ts:102
↓ 2 callersFunctiontruncateMcpContentIfNeeded
( content: MCPToolResult, )
src/utils/mcpValidation.ts:200
↓ 2 callersFunctiontryAcquireLock
( versionPath: string, lockFilePath: string, )
src/utils/nativeInstaller/pidLock.ts:238
↓ 2 callersFunctiontryAcquireSchedulerLock
( opts?: SchedulerLockOptions, )
src/utils/cronTasksLock.ts:111
↓ 2 callersFunctiontryClaimNextTask
* Try to claim an available task from the team's task list. * Returns the formatted prompt if a task was claimed, or undefined if none available.
src/utils/swarm/inProcessRunner.ts:624
↓ 2 callersFunctiontryCreateExclusive
( lock: SchedulerLock, dir?: string, )
src/utils/cronTasksLock.ts:64
↓ 2 callersFunctiontryGenerateSuggestion
( abortController: AbortController, messages: Message[], getAppState: () => AppState, cacheSafeParams:
src/services/PromptSuggestion/promptSuggestion.ts:125
↓ 2 callersFunctiontryParseAssignment
(P: ParseState)
src/utils/bash/bashParser.ts:1431
↓ 2 callersMethodtryProcessMessage
()
src/utils/claudeInChrome/chromeNativeHost.ts:468
↓ 2 callersFunctiontryPush
(line: string)
src/utils/readFileInRange.ts:148
↓ 2 callersFunctiontryReconnectInPlace
* Reconnect-in-place: if the just-registered environmentId matches what * was requested, call reconnectSession to force-stop stale workers and *
src/bridge/replBridge.ts:381
↓ 2 callersFunctiontryRenderPlanApprovalMessage
(content: string, senderName: string)
src/components/messages/PlanApprovalMessage.tsx:137
↓ 2 callersFunctiontrySessionMemoryCompaction
( messages: Message[], agentId?: AgentId, autoCompactThreshold?: number, )
src/services/compact/sessionMemoryCompact.ts:514
↓ 2 callersFunctiontryWithVersionLock
( versionFilePath: string, callback: () => void | Promise<void>, retries = 0, )
src/utils/nativeInstaller/installer.ts:181
↓ 2 callersFunctionunescapeJsonString
(raw: string)
src/utils/sessionStoragePortable.ts:39
↓ 2 callersFunctionunregisterForeground
(taskId: string, setAppState: SetAppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:491
↓ 2 callersFunctionunwrapDefault
( mod: MaybeDefault<T>, )
src/tools/FileReadTool/imageProcessor.ts:90
↓ 2 callersMethodup
()
src/utils/Cursor.ts:353
↓ 2 callersMethodupLogicalLine
()
src/utils/Cursor.ts:511
↓ 2 callersFunctionupdateLastSummarizedMessageIdIfSafe
* Updates lastSummarizedMessageId after successful extraction. * Only sets it if the last message doesn't have tool calls (to avoid orphaned tool_res
src/services/SessionMemory/sessionMemory.ts:488
↓ 2 callersFunctionupdatePluginsForMarketplaces
( marketplaceNames: Set<string>, )
src/utils/plugins/pluginAutoupdate.ts:161
↓ 2 callersFunctionupdateRetryAfter
()
src/services/mockRateLimits.ts:186
↓ 2 callersFunctionupdateSessionBridgeId
( bridgeSessionId: string | null, )
src/utils/concurrentSessions.ts:144
↓ 2 callersFunctionupdateTaskUnsafe
( taskListId: string, taskId: string, updates: Partial<Omit<Task, 'id'>>, )
src/utils/tasks.ts:354
↓ 2 callersFunctionupdateWatchPaths
(paths: string[])
src/utils/hooks/fileChangedWatcher.ts:108
↓ 2 callersFunctionupdateYankLength
(length: number)
src/utils/Cursor.ts:105
↓ 2 callersFunctionuploadFile
( filePath: string, relativePath: string, config: FilesApiConfig, opts?: { signal?: AbortSignal }, )
src/services/api/filesApi.ts:378
↓ 2 callersFunctionurlMatchesPattern
* Check if a URL matches a pattern with wildcard support
src/services/mcp/config.ts:331
↓ 2 callersFunctionuseApp
()
src/ink/hooks/use-app.ts:7
↓ 2 callersFunctionuseClipboardImageHint
( isFocused: boolean, enabled: boolean, )
src/hooks/useClipboardImageHint.ts:19
↓ 2 callersFunctionuseCoordinatorTaskCount
()
src/components/CoordinatorAgentStatus.tsx:83
↓ 2 callersFunctionuseManagePlugins
({ enabled = true, }: { enabled?: boolean } = {})
src/hooks/useManagePlugins.ts:37
↓ 2 callersFunctionuseMergedCommands
( initialCommands: Command[], mcpCommands: Command[], )
src/hooks/useMergedCommands.ts:5
↓ 2 callersFunctionuseMergedTools
( initialTools: Tools, mcpTools: Tools, toolPermissionContext: ToolPermissionContext, )
src/hooks/useMergedTools.ts:20
↓ 2 callersFunctionuseModalOrTerminalSize
(fallback)
src/context/modalContext.tsx:38
↓ 2 callersFunctionusePermissionExplainerUI
(props)
src/components/permissions/PermissionExplanation.tsx:92
↓ 2 callersFunctionusePluginRecommendationBase
()
src/hooks/usePluginRecommendationBase.tsx:24
↓ 2 callersFunctionuseRegisterKeybindingContext
(context, t0)
src/keybindings/KeybindingContext.tsx:215
↓ 2 callersFunctionuseSelectNavigation
({ visibleOptionCount = 5, options, initialFocusValue, onFocus, focusValue, }: UseSelectNavigationPr
src/components/CustomSelect/use-select-navigation.ts:505
↓ 2 callersFunctionuseSelection
()
src/ink/hooks/use-selection.ts:14
↓ 2 callersFunctionuseSetVoiceState
()
src/context/voice.tsx:76
↓ 2 callersFunctionuseSettingsErrors
()
src/hooks/notifs/useSettingsErrors.tsx:9
↓ 2 callersFunctionuseShellPermissionFeedback
({ toolUseConfirm, onDone, onReject, explainerVisible, }: { toolUseConfirm: ToolUseConfirm onDone:
src/components/permissions/useShellPermissionFeedback.ts:16
↓ 2 callersFunctionuseShimmerAnimation
( mode: SpinnerMode, message: string, isStalled: boolean, )
src/components/Spinner/useShimmerAnimation.ts:6
↓ 2 callersFunctionuseShowGuestPassesUpsell
()
src/components/LogoV2/GuestPassesUpsell.tsx:36
↓ 2 callersFunctionuseShowOverageCreditUpsell
()
src/components/LogoV2/OverageCreditUpsell.tsx:48
↓ 2 callersFunctionuseTextInput
({ value: originalValue, onChange, onSubmit, onExit, onExitMessage, onHistoryUp, onHistoryDown,
src/hooks/useTextInput.ts:73
↓ 2 callersFunctionuseThemeSetting
()
src/components/design-system/ThemeProvider.tsx:144
↓ 2 callersFunctionuseUpdateNotification
( updatedVersion: string | null | undefined, initialVersion: string = MACRO.VERSION, )
src/hooks/useUpdateNotification.ts:16
↓ 2 callersFunctionvalidateAgentType
(agentType: string)
src/components/agents/validateAgent.ts:15
↓ 2 callersFunctionvalidateBindings
( userBlocks: unknown, _parsedBindings: ParsedBinding[], )
src/keybindings/validate.ts:425
↓ 2 callersFunctionvalidateContentTokens
( content: string, ext: string, maxTokens?: number, )
src/tools/FileReadTool/FileReadTool.ts:755
↓ 2 callersFunctionvalidateFlagArgument
( value: string, argType: FlagArgType, )
src/utils/shell/readOnlyCommandValidation.ts:1650
↓ 2 callersFunctionvalidateFlagsAgainstAllowlist
* Helper: Validate flags against an allowlist * Handles both single flags and combined flags (e.g., -nE) * @param flags Array of flags to validate
src/tools/BashTool/sedValidation.ts:13
↓ 2 callersFunctionvalidateGitState
()
src/utils/teleport.tsx:172
↓ 2 callersFunctionvalidateGitUrl
* Validate a git URL using Node.js URL parsing
src/utils/plugins/pluginLoader.ts:470
↓ 2 callersFunctionvalidateHookJson
* Parse and validate a JSON string against the hook output Zod schema. * Returns the validated output or formatted validation errors.
src/utils/hooks.ts:382
↓ 2 callersFunctionvalidateManifest
()
stubs/@anthropic-ai/mcpb/index.js:3
↓ 2 callersFunctionvalidateMemoryPath
* Normalize and validate a candidate auto-memory directory path. * * SECURITY: Rejects paths that would be dangerous as a read-allowlist root * or
src/memdir/paths.ts:109
↓ 2 callersFunctionvalidatePermissionRule
(rule: string)
src/utils/settings/permissionValidation.ts:58
↓ 2 callersFunctionvalidateSessionRepository
(sessionData: SessionResource)
src/utils/teleport.tsx:367
↓ 2 callersFunctionvalidateSettingsFileContent
(content: string)
src/utils/settings/validation.ts:179
↓ 2 callersFunctionverifyAutoModeGateAccess
( currentContext: ToolPermissionContext, // Runtime AppState.fastMode — passed from callers with AppState
src/utils/permissions/permissionSetup.ts:1078
↓ 2 callersFunctionverifyIt2Setup
()
src/utils/swarm/backends/it2Setup.ts:152
↓ 2 callersFunctionversionIsAvailable
(version: string)
src/utils/nativeInstaller/installer.ts:490
↓ 2 callersFunctionvisitNodes
(node: Node, visitor: (node: Node) => void)
src/utils/bash/ParsedCommand.ts:106
↓ 2 callersFunctionwaitForPaneShellReady
()
src/utils/swarm/backends/TmuxBackend.ts:35
↓ 2 callersFunctionwaitForRemoteManagedSettingsToLoad
()
src/services/remoteManagedSettings/index.ts:155
↓ 2 callersFunctionwaitForScrollIdle
()
src/bootstrap/state.ts:818
↓ 2 callersFunctionwalk
(node: TreeSitterNode)
src/utils/bash/treeSitterAnalysis.ts:424
↓ 2 callersFunctionwalkArithmetic
* Recursively validate an arithmetic_expansion node. Allows only literal * numeric expressions — no variables, no substitutions. Returns null if * s
src/utils/bash/ast.ts:1675
↓ 2 callersFunctionwalkFileRedirect
* Extract operator + target from a `file_redirect` node. The target must be * a static word or string.
src/utils/bash/ast.ts:1071
↓ 2 callersFunctionwalkHeredocRedirect
* Heredoc redirect. Only quoted-delimiter heredocs (<<'EOF') are safe — * their bodies are literal text. Unquoted-delimiter heredocs (<<EOF) * under
src/utils/bash/ast.ts:1143
↓ 2 callersFunctionwalkString
* Extract literal content from a double-quoted string node. A `string` node's * children are `"` delimiters, `string_content` literals, and possibly
src/utils/bash/ast.ts:1508
↓ 2 callersMethodwarn
(message: string, ...args: unknown[])
src/utils/claudeInChrome/mcpServer.ts:287
↓ 2 callersMethodwatchCurrentBranchRef
* Watch the loose ref file for the current branch. * Called on startup and whenever HEAD changes (branch switch).
src/utils/git/gitFilesystem.ts:391
↓ 2 callersFunctionwidestLine
(string: string)
src/ink/widest-line.ts:3
↓ 2 callersFunctionwillDefer
(t: Tool)
src/services/api/claude.ts:1208
↓ 2 callersFunctionwindowsCommandValue
(claudePath: string)
src/utils/deepLink/registerProtocol.ts:59
← previousnext →4,101–4,200 of 11,484, ranked by callers