MCPcopy Create free account

hub / github.com/dulikaifazr/Cougar-CLI / functions

Functions1,377 in github.com/dulikaifazr/Cougar-CLI

↓ 5 callersFunctionsetCwd
(cwd: string)
src/utils/state.ts:11
↓ 5 callersMethodstartOfLine
()
src/utils/Cursor.ts:81
↓ 5 callersFunctiontextColorForRiskScore
(riskScore: number | null)
src/components/permissions/PermissionRequestTitle.tsx:35
↓ 5 callersFunctiontoBashPath
(pathStr: string, type: 'posix' | 'msys' | 'wsl')
src/utils/PersistentShell.ts:49
↓ 5 callersFunctiontoolUseConfirmGetPrefix
( toolUseConfirm: ToolUseConfirm, )
src/components/permissions/PermissionRequest.tsx:49
↓ 5 callersFunctionuseDoublePress
( setPending: (pending: boolean) => void, onDoublePress: () => void, onFirstPress?: () => void, )
src/hooks/useDoublePress.ts:8
↓ 4 callersFunctionaddLineNumbers
({ content, // 1-indexed startLine, }: { content: string startLine: number })
src/utils/file.ts:364
↓ 4 callersMethodcloseServer
()
src/services/oauth.ts:282
↓ 4 callersFunctionextractLanguageName
(file_path: string)
src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsx:155
↓ 4 callersFunctionextractLanguageName
(file_path: string)
src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx:173
↓ 4 callersMethodfindModelProfileByModelName
(modelName: string)
src/utils/model.ts:851
↓ 4 callersMethodfromText
( text: string, columns: number, offset: number = 0, selection: number = 0, )
src/utils/Cursor.ts:21
↓ 4 callersMethodgetActiveModelProfiles
* Get all active model profiles
src/utils/model.ts:466
↓ 4 callersMethodgetAllAvailableModelNames
* Get all available model names (modelName field) - active only
src/utils/model.ts:613
↓ 4 callersMethodgetAllConfiguredModels
* Get all configured models (both active and inactive) for switching
src/utils/model.ts:606
↓ 4 callersMethodgetDefaultModel
* Get default model profile
src/utils/model.ts:686
↓ 4 callersFunctiongetLastAssistantMessageId
( messages: Message[], )
src/utils/messages.tsx:988
↓ 4 callersFunctiongetMaxThinkingTokens
( messages: Message[], )
src/utils/thinking.ts:7
↓ 4 callersFunctiongetMcpServer
(name: McpName)
src/services/mcpClient.ts:203
↓ 4 callersMethodgetOffset
(position: Position)
src/utils/Cursor.ts:244
↓ 4 callersFunctiongetSystemPrompt
()
src/constants/prompts.ts:19
↓ 4 callersFunctiongetToolDescription
(tool: Tool)
src/Tool.ts:93
↓ 4 callersFunctiongetUpdateCommandSuggestions
()
src/utils/autoUpdater.ts:77
↓ 4 callersFunctionhandleModelPointerChange
( pointer: ModelPointerType, modelId: string, )
src/components/ModelConfig.tsx:118
↓ 4 callersFunctionhasWritePermission
(directory: string)
src/utils/permissions/filesystem.ts:66
↓ 4 callersMethodisAtEnd
()
src/utils/Cursor.ts:228
↓ 4 callersMethodisAtStart
()
src/utils/Cursor.ts:225
↓ 4 callersFunctionisGPT5Model
(modelName: string)
src/services/claude.ts:66
↓ 4 callersFunctionlastX
(as: AsyncGenerator<A>)
src/utils/generators.ts:3
↓ 4 callersFunctionlogCancelledEvent
()
src/hooks/useCanUseTool.ts:27
↓ 4 callersFunctionlogUnaryPermissionEvent
( completion_type: CompletionType, { assistantMessage: { message: { id: message_id }, }, }
src/components/permissions/utils.ts:5
↓ 4 callersFunctionmarkPhase
(phase: string, data?: any)
src/utils/debugLogger.ts:428
↓ 4 callersFunctionnormalizeMessagesForAPI
( messages: Message[], )
src/utils/messages.tsx:886
↓ 4 callersFunctiononCancel
()
src/screens/REPL.tsx:174
↓ 4 callersFunctionripGrep
( args: string[], target: string, abortSignal: AbortSignal, )
src/utils/ripgrep.ts:50
↓ 4 callersMethodsaveConfig
* Save configuration changes
src/utils/model.ts:699
↓ 4 callersFunctionscanAgentDirectory
* Scan a directory for agent configuration files
src/utils/agentLoader.ts:69
↓ 4 callersFunctionscanMarkdownFiles
* Scan directory for markdown files using find command * * This function discovers .md files in the specified directory using the * system's find c
src/services/customCommands.ts:328
↓ 4 callersFunctionscanSkillDirectory
* Scan a directory for skill configurations * Skills are directories containing SKILL.md
src/utils/skillLoader.ts:46
↓ 4 callersMethodsendToShell
(command: string)
src/utils/PersistentShell.ts:517
↓ 4 callersFunctionsetModelPointer
( pointer: ModelPointerType, modelName: string, )
src/utils/config.ts:753
↓ 4 callersMethodsetPointer
* Set model pointer assignment
src/utils/model.ts:578
↓ 4 callersFunctionsetSessionState
( keyOrState: keyof SessionState | Partial<SessionState>, value?: any, )
src/utils/sessionState.ts:22
↓ 4 callersFunctionsplitCommand
(command: string)
src/utils/commands.ts:24
↓ 4 callersFunctionsplitSysPromptPrefix
(systemPrompt: string[])
src/services/claude.ts:1161
↓ 4 callersMethodtext
()
src/utils/Cursor.ts:232
↓ 4 callersFunctionupdateAgent
( agent: AgentConfig, description: string, tools: string[] | '*', systemPrompt: string, color?: stri
src/commands/agents.tsx:528
↓ 4 callersMethodupdateLastUsed
(modelName: string)
src/utils/model.ts:859
↓ 4 callersFunctionusePermissionContext
()
src/context/PermissionContext.tsx:131
↓ 4 callersFunctionusePermissionRequestLogging
( toolUseConfirm: ToolUseConfirm, unaryEvent: UnaryEvent, )
src/hooks/usePermissionRequestLogging.ts:16
↓ 4 callersFunctionvalidateAgentType
(agentType: string, existingAgents: AgentConfig[] = [])
src/commands/agents.tsx:233
↓ 4 callersFunctionwatchDirectory
(dirPath: string, label: string)
src/utils/agentLoader.ts:241
↓ 4 callersFunctionwatchDirectory
(dirPath: string, label: string)
src/utils/skillLoader.ts:234
↓ 4 callersFunctionwriteTextContent
( filePath: string, content: string, encoding: BufferEncoding, endings: LineEndingType, )
src/utils/file.ts:134
↓ 4 callersFunctionwriteToFile
(filePath: string, entry: LogEntry)
src/utils/debugLogger.ts:125
↓ 3 callersFunctionabortableDelay
(delayMs: number, signal?: AbortSignal)
src/services/openai.ts:37
↓ 3 callersFunctionapplyMarkdown
(content: string)
src/utils/markdown.ts:8
↓ 3 callersFunctionbase64URLEncode
(buffer: Buffer)
src/services/oauth.ts:17
↓ 3 callersFunctionbashToolCommandHasExactMatchPermission
( tool: Tool, command: string, allowedTools: string[], )
src/permissions.ts:30
↓ 3 callersFunctionclampIndex
(index: number, length: number)
src/components/ModelSelector.tsx:508
↓ 3 callersFunctionclearConversation
(context: { setForkConvoWithMessagesOnTheNextRender: ( forkConvoWithMessages: Message[], ) => void })
src/commands/clear.ts:11
↓ 3 callersMethodclearTodoReminders
(agentId?: string)
src/services/systemReminder.ts:311
↓ 3 callersFunctioncreateExpertChatSession
( expertModel: string, )
src/utils/expertChatStorage.ts:49
↓ 3 callersMethodcreateMentionReminder
* Unified mention reminder creation - eliminates duplicate logic * Centralizes reminder creation with consistent deduplication
src/services/systemReminder.ts:430
↓ 3 callersFunctiondateToFilename
(date: Date)
src/utils/log.ts:70
↓ 3 callersFunctionfindSimilarFile
(filePath: string)
src/utils/file.ts:328
↓ 3 callersMethodfindTool
(name: string)
src/utils/toolExecutionController.ts:137
↓ 3 callersMethodflushCurrentGroup
( groups: ToolExecutionGroup[], currentGroup: ToolExecutionGroup, )
src/utils/toolExecutionController.ts:141
↓ 3 callersFunctionformatDuration
(ms: number)
src/utils/format.tsx:19
↓ 3 callersFunctionformatOutput
(content: string)
src/tools/BashTool/utils.ts:5
↓ 3 callersFunctiongenerateCougarContext
()
src/services/claude.ts:186
↓ 3 callersFunctiongetAgentDirectory
(location: AgentLocation)
src/commands/agents.tsx:328
↓ 3 callersFunctiongetAgentFilePath
(agentId: string)
src/utils/agentStorage.ts:32
↓ 3 callersFunctiongetAgentFilePath
(agent: AgentConfig)
src/commands/agents.tsx:340
↓ 3 callersFunctiongetAssistantResponse
()
src/query.ts:226
↓ 3 callersFunctiongetDisplayModelName
(modelId?: string | null)
src/commands/agents.tsx:98
↓ 3 callersFunctiongetFormFieldsForModelParams
()
src/components/ModelSelector.tsx:2566
↓ 3 callersFunctiongetLatestVersion
()
src/utils/autoUpdater.ts:35
↓ 3 callersMethodgetLine
(line: number)
src/utils/Cursor.ts:365
↓ 3 callersFunctiongetMaxTokensFromProfile
(modelProfile: any)
src/services/claude.ts:2199
↓ 3 callersFunctiongetMessagesSetter
()
src/messages.ts:21
↓ 3 callersFunctiongetModelFeatures
(modelName: string)
src/services/openai.ts:313
↓ 3 callersFunctiongetModelInputTokenCostUSD
(model: string)
src/services/claude.ts:2292
↓ 3 callersFunctiongetNextAvailableLogForkNumber
( date: string, forkNumber: number, // Main chain has sidechainNumber 0 sidechainNumber: number, )
src/utils/log.ts:281
↓ 3 callersFunctiongetProjectDir
(cwd: string)
src/utils/log.ts:59
↓ 3 callersFunctiongetRetryDelay
* Calculate retry delay with exponential backoff and jitter
src/services/openai.ts:20
↓ 3 callersFunctiongetSafeVisibleOptionCount
* Clamp visible list height to stay within the terminal. * Prevents overflowing renders that leave stray borders when the list rerenders.
src/components/ModelSelector.tsx:587
↓ 3 callersFunctiongoToNextStep
()
src/components/Onboarding.tsx:39
↓ 3 callersFunctionhandleProviderSelection
(provider: string)
src/components/ModelSelector.tsx:544
↓ 3 callersMethodinitialize
()
src/services/claude.ts:134
↓ 3 callersFunctionisDefaultSlowAndCapableModel
()
src/utils/model.ts:51
↓ 3 callersFunctionisGlobalConfigKey
(key: string)
src/utils/config.ts:218
↓ 3 callersFunctionisProjectConfigKey
(key: string)
src/utils/config.ts:260
↓ 3 callersFunctionloadExpertChatSession
( sessionId: string, )
src/utils/expertChatStorage.ts:68
↓ 3 callersFunctionloadLogList
( path = CACHE_PATHS.messages(), )
src/utils/log.ts:196
↓ 3 callersFunctionmarkProjectOnboardingComplete
()
src/components/ProjectOnboarding.tsx:22
↓ 3 callersMethodmatch
* Main matching function - combines multiple algorithms
src/utils/advancedFuzzyMatcher.ts:27
↓ 3 callersFunctionmatchCommands
(commands: string[], query: string)
src/utils/fuzzyMatcher.ts:321
↓ 3 callersFunctionnext
(generator: AsyncGenerator<A, void>)
src/utils/generators.ts:26
↓ 3 callersMethodnextWord
()
src/utils/Cursor.ts:100
← previousnext →101–200 of 1,377, ranked by callers