Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dulikaifazr/Cougar-CLI
/ functions
Functions
1,377 in github.com/dulikaifazr/Cougar-CLI
⨍
Functions
1,377
◇
Types & classes
170
↓ 1 callers
Function
getEssentialCommands
()
src/utils/commonUnixCommands.ts:145
↓ 1 callers
Function
getExpertChatDirectory
* 获取专家聊天存储目录
src/utils/expertChatStorage.ts:27
↓ 1 callers
Function
getGPT5ConfigRecommendations
(modelName: string)
src/utils/config.ts:885
↓ 1 callers
Function
getHead
()
src/utils/git.ts:12
↓ 1 callers
Function
getImageFromClipboard
()
src/utils/imagePaste.ts:9
↓ 1 callers
Method
getImportantFiles
* Retrieves files prioritized for recovery during conversation compression * * Selects recently accessed files based on: * - File access rece
src/services/fileFreshness.ts:321
↓ 1 callers
Function
getInProgressToolUseIDs
( normalizedMessages: NormalizedMessage[], )
src/utils/messages.tsx:838
↓ 1 callers
Function
getInitialScreen
()
src/components/ModelSelector.tsx:183
↓ 1 callers
Method
getInstance
()
src/services/claude.ts:127
↓ 1 callers
Function
getIsClean
()
src/utils/git.ts:51
↓ 1 callers
Function
getIsHeadOnRemote
()
src/utils/git.ts:40
↓ 1 callers
Method
getLineLength
(line: number)
src/utils/Cursor.ts:388
↓ 1 callers
Function
getListNumber
(listDepth: number, orderedListNumber: number)
src/utils/markdown.ts:201
↓ 1 callers
Method
getMentionReminders
* Retrieve cached mention reminders * Returns recent mentions (within 5 seconds) that haven't expired
src/services/systemReminder.ts:223
↓ 1 callers
Function
getMessagesForSlashCommand
( commandName: string, args: string, setToolJSX: SetToolJSXFn, context: ToolUseContext & { setFork
src/utils/messages.tsx:450
↓ 1 callers
Function
getMetadata
()
src/services/claude.ts:219
↓ 1 callers
Function
getMinimalFallbackCommands
()
src/utils/commonUnixCommands.ts:157
↓ 1 callers
Function
getModelDetails
(model: ModelInfo)
src/components/ModelSelector.tsx:483
↓ 1 callers
Function
getModelOutputTokenCostUSD
(model: string)
src/services/claude.ts:2304
↓ 1 callers
Method
getModelSwitchingDebugInfo
* Debug method to get detailed model switching information
src/utils/model.ts:627
↓ 1 callers
Function
getModelUsage
(modelName: string)
src/components/ModelListManager.tsx:50
↓ 1 callers
Function
getNextAvailableLogSidechainNumber
( date: string, forkNumber: number, )
src/utils/log.ts:293
↓ 1 callers
Function
getNextPermissionMode
( currentMode: PermissionMode, isBypassAvailable: boolean = true, )
src/types/PermissionMode.ts:104
↓ 1 callers
Method
getOffsetFromPosition
(position: Position)
src/utils/Cursor.ts:371
↓ 1 callers
Function
getOptions
(path: string)
src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx:26
↓ 1 callers
Function
getOptions
()
src/components/binary-feedback/BinaryFeedbackView.tsx:22
↓ 1 callers
Method
getPhaseTime
(phase: string)
src/utils/debugLogger.ts:111
↓ 1 callers
Method
getPositionFromOffset
(offset: number)
src/utils/Cursor.ts:398
↓ 1 callers
Method
getPreviousResponseId
* Get the previous response ID for a conversation
src/services/responseStateManager.ts:37
↓ 1 callers
Function
getProjectDir
(cwd: string)
src/utils/debugLogger.ts:66
↓ 1 callers
Function
getPrompt
()
src/tools/SkillTool/prompt.ts:3
↓ 1 callers
Function
getPrompt
(safeMode: boolean)
src/tools/TaskTool/prompt.ts:20
↓ 1 callers
Method
getPromptForCommand
Prompt generation function
src/services/customCommands.ts:197
↓ 1 callers
Function
getRemoteUrl
()
src/utils/git.ts:28
↓ 1 callers
Function
getRetryDelay
( attempt: number, retryAfterHeader?: string | null, )
src/services/claude.ts:257
↓ 1 callers
Function
getSessionId
* Get the current session ID
src/utils/agentStorage.ts:22
↓ 1 callers
Function
getSessionMessages
(sessionId: string)
src/utils/expertChatStorage.ts:126
↓ 1 callers
Method
getSessionState
()
src/services/systemReminder.ts:470
↓ 1 callers
Function
getSnippet
( initialText: string, oldStr: string, newStr: string, )
src/tools/FileEditTool/FileEditTool.tsx:301
↓ 1 callers
Method
getTaskToolModel
* Get the task tool default model (for Task tool sub-agents)
src/utils/model.ts:130
↓ 1 callers
Function
getTaskTools
(safeMode: boolean)
src/tools/TaskTool/prompt.ts:13
↓ 1 callers
Function
getTimeSinceLastInteraction
()
src/hooks/useNotifyAfterTimeout.ts:16
↓ 1 callers
Function
getTodoMetrics
()
src/utils/todoStorage.ts:85
↓ 1 callers
Method
getTodoStateHash
(todos: TodoItem[])
src/services/systemReminder.ts:304
↓ 1 callers
Function
getToolUseFromMessages
( toolUseID: string, messages: Message[], )
src/components/messages/UserToolResultMessage/utils.tsx:8
↓ 1 callers
Function
getVertexRegionForModel
( model: string | undefined, )
src/utils/model.ts:63
↓ 1 callers
Method
getWrappedText
()
src/utils/Cursor.ts:359
↓ 1 callers
Function
glob
( filePattern: string, cwd: string, { limit, offset }: { limit: number; offset: number }, abortSignal:
src/utils/file.ts:36
↓ 1 callers
Method
groupToolsForExecution
* Group tools into concurrent and sequential execution groups
src/utils/toolExecutionController.ts:23
↓ 1 callers
Function
handleAddNewModel
()
src/components/ModelListManager.tsx:73
↓ 1 callers
Function
handleApiKeySubmit
(key: string)
src/components/ModelSelector.tsx:1520
↓ 1 callers
Function
handleBack
()
src/commands/agents.tsx:2602
↓ 1 callers
Function
handleConfirmation
()
src/components/ModelSelector.tsx:2193
↓ 1 callers
Function
handleContextLengthSubmit
()
src/components/ModelSelector.tsx:2134
↓ 1 callers
Function
handleCtrlD
()
src/hooks/useTextInput.ts:123
↓ 1 callers
Function
handleCustomBaseUrlSubmit
(url: string)
src/components/ModelSelector.tsx:1572
↓ 1 callers
Function
handleCustomModelSubmit
(model: string)
src/components/ModelSelector.tsx:1602
↓ 1 callers
Function
handleDeleteModel
(modelName: string)
src/components/ModelListManager.tsx:63
↓ 1 callers
Function
handleEditInEditor
()
src/commands/agents.tsx:2288
↓ 1 callers
Function
handleEnter
(key: Key)
src/hooks/useTextInput.ts:190
↓ 1 callers
Function
handleEscape
()
src/components/MessageSelector.tsx:46
↓ 1 callers
Function
handleListApprovedTools
( cwd: string, projectConfigHandler: ProjectConfigHandler = defaultConfigHandler, )
src/commands/approvedTools.ts:21
↓ 1 callers
Function
handleMcprcServerApprovals
()
src/services/mcpServerApproval.tsx:8
↓ 1 callers
Function
handleModelParamsSubmit
()
src/components/ModelSelector.tsx:1672
↓ 1 callers
Function
handleProviderBaseUrlSubmit
(url: string)
src/components/ModelSelector.tsx:1580
↓ 1 callers
Function
handleRemoveApprovedTool
( tool: string, projectConfigHandler: ProjectConfigHandler = defaultConfigHandler, )
src/commands/approvedTools.ts:32
↓ 1 callers
Function
handleResourceNameSubmit
(name: string)
src/components/ModelSelector.tsx:1556
↓ 1 callers
Function
handleSubmitCode
(value: string, url: string)
src/components/ConsoleOAuthFlow.tsx:88
↓ 1 callers
Function
hasCommand
(commandName: string, commands: Command[])
src/commands.ts:113
↓ 1 callers
Function
hasCustomCommands
()
src/services/customCommands.ts:686
↓ 1 callers
Function
hasDataArray
(obj: unknown)
src/services/openai.ts:1198
↓ 1 callers
Function
hasModelError
( baseURL: string, model: string, type: ModelErrorType, )
src/services/openai.ts:77
↓ 1 callers
Function
hasModelsArray
(obj: unknown)
src/services/openai.ts:1202
↓ 1 callers
Function
hasPermissionsToUseTool
( tool, input, context, _assistantMessage, )
src/permissions.ts:155
↓ 1 callers
Function
hasRecentInteraction
(threshold: number)
src/hooks/useNotifyAfterTimeout.ts:20
↓ 1 callers
Method
hyphenAwareMatch
* Hyphen-aware matching (dao → dao-qi-harmony-designer) * Treats hyphens as optional word boundaries
src/utils/advancedFuzzyMatcher.ts:82
↓ 1 callers
Function
importServers
(selectedServers: string[])
src/entrypoints/cli.tsx:999
↓ 1 callers
Function
inferModelCapabilities
(modelName: string)
src/constants/modelCapabilities.ts:108
↓ 1 callers
Function
initDebugLogger
()
src/utils/debugLogger.ts:911
↓ 1 callers
Function
initSentry
()
src/services/sentry.ts:1
↓ 1 callers
Function
installBindingsForITerm2
()
src/commands/terminalSetup.ts:134
↓ 1 callers
Function
installBindingsForVSCodeTerminal
()
src/commands/terminalSetup.ts:171
↓ 1 callers
Function
interpretHashCommand
(input: string)
src/components/PromptInput.tsx:29
↓ 1 callers
Function
isAnthropicAuthEnabled
()
src/utils/auth.ts:4
↓ 1 callers
Function
isAutoUpdaterDisabled
()
src/utils/config.ts:482
↓ 1 callers
Function
isAutoUpdaterStatus
(value: string)
src/utils/config.ts:76
↓ 1 callers
Function
isCommandList
(command: string)
src/utils/commands.ts:228
↓ 1 callers
Function
isDirEmpty
(dirPath: string)
src/utils/file.ts:397
↓ 1 callers
Method
isImportantMessage
* Helper: Determine if a message is important
src/utils/messageContextManager.ts:188
↓ 1 callers
Function
isLoggedInToAnthropic
()
src/utils/auth.ts:9
↓ 1 callers
Method
isMentionReminder
* Type guard for mention reminders - centralized type checking * Eliminates hardcoded type strings scattered throughout the code
src/services/systemReminder.ts:251
↓ 1 callers
Function
isMultiFile
(toolUseConfirm: ToolUseConfirm)
src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx:56
↓ 1 callers
Function
isShiftEnterKeyBindingInstalled
()
src/commands/terminalSetup.ts:50
↓ 1 callers
Function
isToolUseRequestMessage
( message: Message, )
src/utils/messages.tsx:713
↓ 1 callers
Function
isUnsafeCompoundCommand
(command: string)
src/utils/commands.ts:259
↓ 1 callers
Method
isValidForRecovery
* Determines which files are suitable for automatic recovery * * Excludes files that are typically not relevant for development context: * -
src/services/fileFreshness.ts:345
↓ 1 callers
Method
killChildren
()
src/utils/PersistentShell.ts:306
↓ 1 callers
Function
launchExternalEditor
( initialText: string, )
src/utils/externalEditor.ts:91
↓ 1 callers
Function
listAllContentFiles
( path: string, abortSignal: AbortSignal, limit: number, )
src/utils/ripgrep.ts:91
↓ 1 callers
Function
listDirectory
( initialPath: string, cwd: string, abortSignal: AbortSignal, )
src/tools/lsTool/lsTool.tsx:132
← previous
next →
501–600 of 1,377, ranked by callers