MCPcopy Create free account

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

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

↓ 1 callersFunctionsetModelConfigChangeHandler
(handler: () => void)
src/messages.ts:30
↓ 1 callersFunctionsetOriginalCwd
(cwd: string)
src/utils/state.ts:19
↓ 1 callersMethodsetPreviousResponseId
* Set the previous response ID for a conversation
src/services/responseStateManager.ts:27
↓ 1 callersMethodsetupEventDispatcher
()
src/services/systemReminder.ts:320
↓ 1 callersMethodsetupEventListeners
* Setup event listeners for session management
src/services/fileFreshness.ts:38
↓ 1 callersFunctionshouldAutoCompact
* Determines if auto-compact should trigger based on token usage * Uses the main model context limit since compression requires a capable model
src/utils/autoCompactCore.ts:89
↓ 1 callersFunctionshouldLogWithDedupe
( level: LogLevel, phase: string, data: any, )
src/utils/debugLogger.ts:165
↓ 1 callersFunctionshouldNotify
(threshold: number)
src/hooks/useNotifyAfterTimeout.ts:24
↓ 1 callersFunctionshouldRenderStatically
( message: NormalizedMessage, messages: NormalizedMessage[], unresolvedToolUseIDs: Set<string>, )
src/screens/REPL.tsx:763
↓ 1 callersFunctionshouldRetry
(error: APIError)
src/services/claude.ts:270
↓ 1 callersFunctionshouldShowInTerminal
(level: LogLevel)
src/utils/debugLogger.ts:237
↓ 1 callersFunctionshouldUseBinaryFeedback
()
src/components/binary-feedback/utils.ts:64
↓ 1 callersMethodshouldUseResponsesAPI
* Check if model should use Responses API
src/services/modelAdapterFactory.ts:64
↓ 1 callersFunctionshowInvalidConfigDialog
({ error, }: InvalidConfigHandlerProps)
src/components/InvalidConfigDialog.tsx:89
↓ 1 callersFunctionshowSetupScreens
( safeMode?: boolean, print?: boolean, )
src/entrypoints/cli.tsx:113
↓ 1 callersMethodsmartCompressionStrategy
* Strategy 3: Smart compression with summary
src/utils/messageContextManager.ts:126
↓ 1 callersFunctionsortLogs
(logs: LogOption[])
src/utils/log.ts:326
↓ 1 callersFunctionsortModelsByPriority
(models: ModelInfo[])
src/components/ModelSelector.tsx:438
↓ 1 callersFunctionsplitPathEntries
(pathEnv: string, platform: NodeJS.Platform)
src/utils/PersistentShell.ts:75
↓ 1 callersFunctionstartAgentWatcher
(onChange?: () => void)
src/utils/agentLoader.ts:232
↓ 1 callersMethodstartLocalServer
(state: string, onReady?: () => void)
src/services/oauth.ts:142
↓ 1 callersFunctionstartMCPServer
(cwd: string)
src/entrypoints/mcp.ts:50
↓ 1 callersMethodstartOAuthFlow
( authURLHandler: (url: string) => Promise<void>, )
src/services/oauth.ts:95
↓ 1 callersFunctionstartWatchingTodoFile
(agentId: string)
src/services/fileFreshness.ts:369
↓ 1 callersMethodstartWatchingTodoFile
* Start watching todo file for an agent
src/services/fileFreshness.ts:245
↓ 1 callersFunctionstdin
()
src/entrypoints/cli.tsx:1464
↓ 1 callersFunctionstopAgentWatcher
()
src/utils/agentLoader.ts:266
↓ 1 callersFunctionstopSkillWatcher
()
src/utils/skillLoader.ts:259
↓ 1 callersMethodstopWatchingTodoFile
* Stop watching todo file for an agent
src/services/fileFreshness.ts:288
↓ 1 callersMethodsubsequenceMatch
* Subsequence matching - characters appear in order
src/utils/advancedFuzzyMatcher.ts:218
↓ 1 callersMethodsubstringScore
* Algorithm 2: Substring Matching (like pinyin contains) * Handles cases like "ode" → "node", "py3" → "python3"
src/utils/fuzzyMatcher.ts:135
↓ 1 callersMethodswitchToNextModelWithContextCheck
* Switch to the next available model with simple context overflow handling * If target model can't handle current context, shows warning and revert
src/utils/model.ts:151
↓ 1 callersFunctiontestChatCompletionsAPI
* Test using Chat Completions API with GPT-5 compatibility
src/services/gpt5ConnectionTest.ts:182
↓ 1 callersFunctiontestChatEndpoint
( baseURL: string, endpointPath: string, endpointName: string, )
src/components/ModelSelector.tsx:1817
↓ 1 callersFunctiontestConnection
()
src/components/ModelSelector.tsx:1682
↓ 1 callersFunctiontestGPT5Connection
(config: GPT5TestConfig)
src/services/gpt5ConnectionTest.ts:30
↓ 1 callersFunctiontestProviderSpecificEndpoint
(baseURL: string)
src/components/ModelSelector.tsx:2059
↓ 1 callersFunctiontestResponsesAPI
* Test using GPT-5 Responses API
src/services/gpt5ConnectionTest.ts:73
↓ 1 callersFunctiontextContentBlocksEqual
(cb1: TextBlock, cb2: TextBlock)
src/components/binary-feedback/utils.ts:34
↓ 1 callersFunctiontoolUseOptions
({ toolUseConfirm, command, }: { toolUseConfirm: ToolUseConfirm command: string })
src/components/permissions/toolUseOptions.ts:15
↓ 1 callersFunctiontriggerModelConfigChange
()
src/messages.ts:34
↓ 1 callersMethodup
()
src/utils/Cursor.ts:61
↓ 1 callersFunctionupOrHistoryUp
()
src/hooks/useTextInput.ts:204
↓ 1 callersFunctionupdateLastInteractionTime
()
src/hooks/useNotifyAfterTimeout.ts:12
↓ 1 callersMethodupdateStreamingState
( parsed: any, accumulatedContent: string )
src/services/adapters/responsesAPI.ts:346
↓ 1 callersFunctionuseApiKeyVerification
()
src/hooks/useApiKeyVerification.ts:17
↓ 1 callersFunctionuseArrowKeyHistory
( onSetInput: (value: string, mode: 'bash' | 'prompt') => void, currentInput: string, )
src/hooks/useArrowKeyHistory.ts:4
↓ 1 callersFunctionuseCanUseTool
( setToolUseConfirm: SetState<ToolUseConfirm | null>, )
src/hooks/useCanUseTool.ts:21
↓ 1 callersFunctionuseCancelRequest
( setToolJSX: SetToolJSXFn, setToolUseConfirm: (toolUseConfirm: ToolUseConfirm | null) => void, setBinar
src/hooks/useCancelRequest.ts:6
↓ 1 callersFunctionuseCostSummary
()
src/cost-tracker.ts:50
↓ 1 callersFunctionuseEscapeNavigation
( onEscape: () => void, abortController?: AbortController, )
src/components/ModelSelector.tsx:120
↓ 1 callersFunctionuseInterval
(callback: () => void, delay: number)
src/hooks/useInterval.ts:8
↓ 1 callersFunctionuseLogMessages
( messages: Message[], messageLogName: string, forkNumber: number, )
src/hooks/useLogMessages.ts:5
↓ 1 callersFunctionuseLogStartupTime
()
src/hooks/useLogStartupTime.ts:4
↓ 1 callersFunctionusePermissionRequestLogging
( toolUseConfirm: ToolUseConfirm, unaryEvent: UnaryEventType, )
src/components/permissions/hooks.ts:16
↓ 1 callersFunctionuseSelect
({ isDisabled = false, state }: UseSelectProps)
src/components/CustomSelect/use-select.ts:18
↓ 1 callersFunctionuseSelectState
({ visibleOptionCount = 5, options, defaultValue, onChange, onFocus, focusValue, }: UseSelectState
src/components/CustomSelect/use-select-state.ts:326
↓ 1 callersFunctionuseTextInput
({ value: originalValue, onChange, onSubmit, onExit, onExitMessage, onMessage, onHistoryUp, on
src/hooks/useTextInput.ts:53
↓ 1 callersFunctionuseUnifiedCompletion
({ input, cursorOffset, onInputChange, setCursorOffset, commands, onSubmit, }: Props)
src/hooks/useUnifiedCompletion.ts:84
↓ 1 callersFunctionuserMessageToMessageParam
( message: UserMessage, addCache = false, )
src/services/claude.ts:1105
↓ 1 callersFunctionvalidateAndRepairAllGPT5Profiles
()
src/utils/config.ts:854
↓ 1 callersFunctionvalidateAndRepairGPT5Profile
(profile: ModelProfile)
src/utils/config.ts:788
↓ 1 callersFunctionvalidateGPT5Config
(config: GPT5TestConfig)
src/services/gpt5ConnectionTest.ts:300
↓ 1 callersFunctionvalidateTodos
(todos: TodoItem[])
src/tools/TodoWriteTool/TodoWriteTool.tsx:28
↓ 1 callersFunctionverifyApiKey
( apiKey: string, baseURL?: string, provider?: string, )
src/services/claude.ts:420
↓ 1 callersFunctionwithVCR
( messages: (UserMessage | AssistantMessage)[], f: () => Promise<AssistantMessage>, )
src/services/vcr.ts:12
↓ 1 callersMethodwordBoundaryMatch
* Word boundary matching (dq → dao-qi) * Matches characters at word boundaries
src/utils/advancedFuzzyMatcher.ts:113
↓ 1 callersFunctionwrapText
(text: string, width: number)
src/utils/format.tsx:1
↓ 1 callersFunctionwriteAgentData
(agentId: string, data: T)
src/utils/agentStorage.ts:67
FunctionAdditionalContext
({ message, verbose, }: { message: NormalizedMessage verbose: boolean })
src/components/binary-feedback/BinaryFeedbackOption.tsx:61
FunctionAgentListView
({ location, agents, allAgents, onBack, onSelect, onCreateNew, changes }: AgentListProps
src/commands/agents.tsx:1310
FunctionAgentMenu
({ agent, setModeState }: AgentMenuProps)
src/commands/agents.tsx:2505
FunctionAgentsUI
({ onExit }: AgentsUIProps)
src/commands/agents.tsx:795
FunctionAsciiLogo
()
src/components/AsciiLogo.tsx:6
FunctionAssistantBashOutputMessage
({ content, verbose, }: { content: string verbose?: boolean })
src/components/messages/AssistantBashOutputMessage.tsx:5
FunctionAssistantLocalCommandOutputMessage
({ content, }: { content: string })
src/components/messages/AssistantLocalCommandOutputMessage.tsx:6
FunctionAssistantMessage
({ param, costUSD, durationMs, addMargin, tools, debug, options: { verbose }, erroredToolUseID
src/components/Message.tsx:144
FunctionAssistantRedactedThinkingMessage
({ addMargin = false, }: Props)
src/components/messages/AssistantRedactedThinkingMessage.tsx:9
FunctionAssistantTextMessage
({ param: { text }, costUSD, durationMs, debug, addMargin, shouldShowDot, verbose, }: Props)
src/components/messages/AssistantTextMessage.tsx:36
FunctionAssistantThinkingMessage
({ param: { thinking }, addMargin = false, }: Props)
src/components/messages/AssistantThinkingMessage.tsx:15
FunctionAssistantToolUseMessage
({ param, costUSD, durationMs, addMargin, tools, debug, verbose, erroredToolUseIDs, inProgre
src/components/messages/AssistantToolUseMessage.tsx:29
FunctionBashPermissionRequest
({ toolUseConfirm, onDone, }: Props)
src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx:22
FunctionBashToolResultMessage
({ content, verbose }: Props)
src/tools/BashTool/BashToolResultMessage.tsx:12
FunctionBinaryFeedback
({ m1, m2, resolve, debug, erroredToolUseIDs, inProgressToolUseIDs, normalizedMessages, tools,
src/components/binary-feedback/BinaryFeedback.tsx:27
FunctionBinaryFeedbackOption
({ debug, erroredToolUseIDs, inProgressToolUseIDs, message, normalizedMessages, tools, unresolve
src/components/binary-feedback/BinaryFeedbackOption.tsx:27
FunctionBinaryFeedbackView
({ m1, m2, onChoose, debug, erroredToolUseIDs, inProgressToolUseIDs, normalizedMessages, tools
src/components/binary-feedback/BinaryFeedbackView.tsx:60
FunctionCardNavigator
({ onExit, children }: CardNavigatorProps)
src/components/CardNavigator.tsx:37
FunctionClaudeDesktopImport
()
src/entrypoints/cli.tsx:991
FunctionColorStep
({ createState, setCreateState, setModeState }: StepProps)
src/commands/agents.tsx:2160
FunctionCompactModeIndicator
()
src/components/ModeIndicator.tsx:74
FunctionConfig
({ onClose }: Props)
src/components/Config.tsx:54
FunctionConfirmStep
({ createState, setCreateState, setModeState, tools, onAgentCreated }: ConfirmStepProps)
src/commands/agents.tsx:2258
FunctionConsoleOAuthFlow
({ onDone }: Props)
src/components/ConsoleOAuthFlow.tsx:34
FunctionCost
({ costUSD, durationMs, debug }: Props)
src/components/Cost.tsx:10
FunctionCostThresholdDialog
({ onDone }: Props)
src/components/CostThresholdDialog.tsx:11
FunctionDeleteConfirm
({ agent, setModeState, onAgentDeleted }: DeleteConfirmProps)
src/commands/agents.tsx:3339
FunctionDescriptionStep
({ createState, setCreateState, setModeState }: StepProps)
src/commands/agents.tsx:1831
FunctionDoctor
({ onDone, doctorMode = false }: Props)
src/screens/Doctor.tsx:14
FunctionEditAgent
({ agent, tools, setModeState, onAgentUpdated }: EditAgentProps)
src/commands/agents.tsx:3166
FunctionEditColorStep
({ agent, setModeState, onAgentUpdated }: EditColorStepProps)
src/commands/agents.tsx:2977
← previousnext →701–800 of 1,377, ranked by callers