MCPcopy Create free account

hub / github.com/anus-dev/ANUS / functions

Functions1,620 in github.com/anus-dev/ANUS

↓ 20 callersFunctionopenBrowserSecurely
(url: string)
packages/core/src/utils/secure-browser-launcher.ts:55
↓ 19 callersFunctioncpSlice
(str: string, start: number, end?: number)
packages/cli/src/ui/utils/textUtils.ts:37
↓ 19 callersMethodcreate
* Creates and validates a new SubAgentScope instance. * This factory method ensures that all tools provided in the prompt configuration * are va
packages/core/src/core/subagent.ts:278
↓ 19 callersFunctioncreateMockCommand
(name: string, kind: CommandKind)
packages/cli/src/services/CommandService.test.ts:13
↓ 19 callersFunctioncreateRepetitiveContent
(id: number, length: number)
packages/core/src/services/loopDetectionService.test.ts:60
↓ 19 callersFunctiondetectFileType
( filePath: string, )
packages/core/src/utils/fileUtils.ts:121
↓ 19 callersMethodlogMessage
(type: MessageSenderType, message: string)
packages/core/src/core/logger.ts:241
↓ 19 callersFunctionprocessSingleFileContent
( filePath: string, rootDirectory: string, offset?: number, limit?: number, )
packages/core/src/utils/fileUtils.ts:224
↓ 19 callersFunctionretryWithBackoff
( fn: () => Promise<T>, options?: Partial<RetryOptions>, )
packages/core/src/utils/retry.ts:74
↓ 18 callersFunctioncreateMockResponse
(options: { ok: boolean; status?: number; contentType?: string; text?: string | (() => Promise<string>
packages/core/src/mcp/oauth-provider.test.ts:34
↓ 18 callersFunctioncurrentLine
(row: number)
packages/cli/src/ui/components/shared/text-buffer.ts:433
↓ 18 callersMethodgetInstance
(config?: Config)
packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:161
↓ 18 callersFunctionunescapePath
(filePath: string)
packages/core/src/utils/paths.ts:162
↓ 17 callersFunctioncreateFileEntry
(fullpath: string, mtimeDate: Date)
packages/core/src/tools/glob.test.ts:317
↓ 17 callersFunctioncreateMockConfig
( toolRegistryMocks = {}, )
packages/core/src/core/subagent.test.ts:41
↓ 17 callersFunctionensureCorrectEdit
( filePath: string, currentContent: string, originalParams: EditToolParams, // This is the EditToolParam
packages/core/src/utils/editCorrector.ts:158
↓ 17 callersMethodgetApprovalMode
()
packages/core/src/config/config.ts:542
↓ 17 callersMethodgetContentGeneratorConfig
()
packages/core/src/config/config.ts:410
↓ 17 callersFunctiongetResponseText
( response: GenerateContentResponse, )
packages/core/src/utils/partUtils.ts:68
↓ 17 callersFunctionhasValidTypes
(schema: unknown)
packages/core/src/tools/mcp-client.ts:443
↓ 17 callersFunctionisCommandAllowed
( command: string, config: Config, )
packages/core/src/utils/shell-utils.ts:448
↓ 17 callersMethodregisterTool
* Registers a tool definition. * @param tool - The tool object containing schema and execution logic.
packages/core/src/tools/tool-registry.ts:176
↓ 16 callersFunctioncountOccurrences
(str: string, substr: string)
packages/core/src/utils/editCorrector.ts:735
↓ 16 callersFunctiongetFolderStructure
( directory: string, options?: FolderStructureOptions, )
packages/core/src/utils/getFolderStructure.ts:298
↓ 16 callersMethodgetMetrics
()
packages/core/src/telemetry/uiTelemetry.ts:128
↓ 16 callersFunctionloadServerHierarchicalMemory
( currentWorkingDirectory: string, includeDirectoriesToReadAnus: readonly string[], debugMode: boolean,
packages/core/src/utils/memoryDiscovery.ts:300
↓ 16 callersFunctionmockResponse
( parts: Part[], finishReason: FinishReason = FinishReason.STOP, safetyRatings: SafetyRating[] = [], )
packages/core/src/utils/generateContentResponseUtilities.test.ts:34
↓ 16 callersFunctionpushUndo
(currentState: TextBufferState)
packages/cli/src/ui/components/shared/text-buffer.ts:906
↓ 16 callersFunctionuseAnusStream
( anusClient: AnusClient, history: HistoryItem[], addItem: UseHistoryManagerReturn['addItem'], config:
packages/cli/src/ui/hooks/useAnusStream.ts:82
↓ 15 callersMethodaddDirectory
* Adds a directory to the workspace. * @param directory The directory path to add (can be relative or absolute) * @param basePath Optional base
packages/core/src/utils/workspaceContext.ts:67
↓ 15 callersMethodauthenticate
(params: schema.AuthenticateRequest)
packages/cli/src/zed-integration/acp.ts:364
↓ 15 callersMethodgetToolRegistry
()
packages/core/src/config/config.ts:479
↓ 15 callersFunctionrenderWithContext
( ui: React.ReactElement, streamingStateValue: StreamingState, width = 120, )
packages/cli/src/ui/components/LoadingIndicator.test.tsx:40
↓ 15 callersFunctionreplaceRangeInternal
( state: TextBufferState, startRow: number, startCol: number, endRow: number, endCol: number, text
packages/cli/src/ui/components/shared/text-buffer.ts:425
↓ 15 callersMethodsetStatusInternal
( targetCallId: string, newStatus: Status, auxiliaryData?: unknown, )
packages/core/src/core/coreToolScheduler.ts:291
↓ 15 callersFunctionsetup
({ config = {} as Partial<ConfigParameters>, lifetimeGoogleAccounts = 1, cachedGoogleAccount = 'te
packages/core/src/telemetry/clearcut-logger/clearcut-logger.test.ts:113
↓ 15 callersFunctionuseCommandCompletion
( buffer: TextBuffer, dirs: readonly string[], cwd: string, slashCommands: readonly SlashCommand[],
packages/cli/src/ui/hooks/useCommandCompletion.tsx:43
↓ 14 callersFunctionconvertToFunctionResponse
( toolName: string, callId: string, llmContent: PartListUnion, )
packages/core/src/core/coreToolScheduler.ts:150
↓ 14 callersFunctioncopyToClipboard
(text: string)
packages/cli/src/ui/utils/commandUtils.ts:32
↓ 14 callersMethodcreate
* Asynchronously creates and initializes a new CommandService instance. * * This factory method orchestrates the entire command loading process.
packages/cli/src/services/CommandService.ts:48
↓ 14 callersMethodexecute
( params: Record<string, unknown>, signal?: AbortSignal, )
packages/core/src/core/turn.ts:35
↓ 14 callersMethodforScope
(scope: SettingScope)
packages/cli/src/config/settings.ts:135
↓ 14 callersFunctiongetCachedEncodingForBuffer
(buffer: Buffer)
packages/core/src/utils/systemEncoding.ts:30
↓ 14 callersFunctiongetContainerPath
(hostPath: string)
packages/cli/src/utils/sandbox.ts:24
↓ 14 callersFunctiongetOauthClient
( authType: AuthType, config: Config, )
packages/core/src/code_assist/oauth2.ts:193
↓ 14 callersMethodgetSessionId
()
packages/core/src/config/config.ts:402
↓ 14 callersFunctionisAtCommand
(query: string)
packages/cli/src/ui/utils/commandUtils.ts:18
↓ 14 callersFunctionisTelemetrySdkInitialized
()
packages/core/src/telemetry/sdk.ts:48
↓ 14 callersFunctionisWhitespace
(char: string)
packages/cli/src/ui/components/shared/text-buffer.ts:42
↓ 14 callersFunctionisWithinRoot
( pathToCheck: string, rootDirectory: string, )
packages/core/src/utils/fileUtils.ts:36
↓ 14 callersFunctionrestoreCommand
(config: Config | null)
packages/cli/src/ui/commands/restoreCommand.ts:145
↓ 14 callersFunctionsafeJsonStringify
( obj: unknown, space?: string | number, )
packages/core/src/utils/safeJsonStringify.ts:15
↓ 14 callersFunctionsettingExistsInScope
( key: string, scopeSettings: Settings, )
packages/cli/src/utils/settingsUtils.ts:287
↓ 14 callersFunctionuseTestHarnessForSlashCompletion
( enabled: boolean, query: string | null, slashCommands: readonly SlashCommand[], commandContext: Comm
packages/cli/src/ui/hooks/useSlashCompletion.test.ts:18
↓ 14 callersFunctionuseTextBufferForTest
(text: string, cursorOffset?: number)
packages/cli/src/ui/hooks/useCommandCompletion.test.ts:93
↓ 13 callersMethodconnect
()
packages/core/src/ide/ide-client.ts:82
↓ 13 callersFunctiongetCommonAttributes
(config: Config)
packages/core/src/telemetry/loggers.ts:55
↓ 13 callersFunctiongetDiffCommand
( oldPath: string, newPath: string, editor: EditorType, )
packages/core/src/utils/editor.ts:98
↓ 13 callersMethodgetFileFilteringRespectGitIgnore
()
packages/core/src/config/config.ts:598
↓ 13 callersMethodgetFileService
()
packages/core/src/config/config.ts:628
↓ 13 callersMethodgetToken
* Get a token for a specific MCP server. * * @param serverName The name of the MCP server * @returns The stored credentials or null if not fo
packages/core/src/mcp/oauth-token-storage.ts:143
↓ 13 callersFunctionlogToolCall
(config: Config, event: ToolCallEvent)
packages/core/src/telemetry/loggers.ts:116
↓ 13 callersFunctionrenderWithWidth
(width: number, props = defaultProps)
packages/cli/src/ui/components/Footer.test.tsx:46
↓ 13 callersFunctionreportError
( error: Error | unknown, baseMessage: string, context?: Content[] | Record<string, unknown> | unknown[]
packages/core/src/utils/errorReporting.ts:26
↓ 13 callersMethodrunNonInteractive
* Runs the subagent in a non-interactive mode. * This method orchestrates the subagent's execution loop, including prompt templating, * tool exe
packages/core/src/core/subagent.ts:344
↓ 13 callersMethodshouldGitIgnoreFile
* Checks if a single file should be git-ignored
packages/core/src/services/fileDiscoveryService.ts:68
↓ 13 callersFunctionsimulateExecution
( command: string, simulation: (cp: typeof mockChildProcess, ac: AbortController) => void, )
packages/core/src/services/shellExecutionService.test.ts:81
↓ 13 callersFunctionuseTestHarnessForAtCompletion
( enabled: boolean, pattern: string, config: Config | undefined, cwd: string, )
packages/cli/src/ui/hooks/useAtCompletion.test.ts:23
↓ 13 callersFunctionwait
(ms = 50)
packages/cli/src/ui/components/ApiKeyInput.test.tsx:13
↓ 12 callersFunctionbfsFileSearch
( rootDir: string, options: BfsFileSearchOptions, )
packages/core/src/utils/bfsFileSearch.ts:35
↓ 12 callersFunctioncreateMockMCPTool
( name: string, serverName: string, description?: string, )
packages/cli/src/ui/commands/mcpCommand.test.ts:46
↓ 12 callersMethodfullpath
()
packages/core/src/tools/glob.ts:24
↓ 12 callersMethodgenerateContent
( request: GenerateContentParameters, userPromptId: string, )
packages/core/src/core/contentGenerator.ts:29
↓ 12 callersMethodgetCommands
* Retrieves the currently loaded and de-duplicated list of slash commands. * * This method is a safe accessor for the service's state. It return
packages/cli/src/services/CommandService.ts:101
↓ 12 callersFunctiongetCurrentAnusMdFilename
()
packages/core/src/tools/memoryTool.ts:84
↓ 12 callersMethodgetTelemetryEnabled
()
packages/core/src/config/config.ts:558
↓ 12 callersFunctionrenderProcessorHook
()
packages/cli/src/ui/hooks/shellCommandProcessor.test.ts:90
↓ 12 callersFunctionrenderWithContext
( ui: React.ReactElement, streamingState: StreamingState, )
packages/cli/src/ui/components/messages/ToolMessage.test.tsx:45
↓ 12 callersMethodrun
( promptOrOptions: string | { prompt?: string; stdin?: string }, ...args: string[] )
integration-tests/test-helper.ts:198
↓ 12 callersMethodrun
( req: PartListUnion, signal: AbortSignal, )
packages/core/src/core/turn.ts:180
↓ 12 callersFunctionsetPendingSettingValue
( key: string, value: boolean, pendingSettings: Settings, )
packages/cli/src/utils/settingsUtils.ts:325
↓ 12 callersMethodsetup
( testName: string, options: { settings?: Record<string, unknown> } = {}, )
integration-tests/test-helper.ts:132
↓ 12 callersFunctionshortenPath
(filePath: string, maxLen: number = 35)
packages/core/src/utils/paths.ts:41
↓ 12 callersMethodupdate
(delta: OpenAIStreamToolDelta)
packages/core/src/providers/grok/openai-stream.ts:57
↓ 12 callersFunctionuseInputHistory
({ userMessages, onSubmit, isActive, currentQuery, onChange, }: UseInputHistoryProps)
packages/cli/src/ui/hooks/useInputHistory.ts:24
↓ 11 callersFunctionaddContentBlock
(block: React.ReactNode)
packages/cli/src/ui/utils/MarkdownDisplay.tsx:57
↓ 11 callersFunctionallowEditorTypeInSandbox
(editor: EditorType)
packages/core/src/utils/editor.ts:75
↓ 11 callersFunctioncheckCommandPermissions
( command: string, config: Config, sessionAllowlist?: Set<string>, )
packages/core/src/utils/shell-utils.ts:302
↓ 11 callersFunctioncheckNextSpeaker
( chat: AnusChat, anusClient: AnusClient, abortSignal: AbortSignal, )
packages/core/src/utils/nextSpeakerChecker.ts:43
↓ 11 callersFunctioncreateMockSettings
( settings: { system?: Partial<Settings>; user?: Partial<Settings>; workspace?: Partial<
packages/cli/src/ui/App.test.tsx:273
↓ 11 callersFunctioncreateMockWorkspaceContext
( rootDir: string, additionalDirs: string[] = [], )
packages/core/src/test-utils/mockWorkspaceContext.ts:17
↓ 11 callersFunctionexitInsertMode
(result: { current: { handleInput: (input: { sequence: string; name: string }) => void; }; })
packages/cli/src/ui/hooks/vim.test.ts:149
↓ 11 callersFunctionfileExists
(filePath)
scripts/telemetry_utils.js:94
↓ 11 callersMethodflushIfNeeded
()
packages/core/src/telemetry/clearcut-logger/clearcut-logger.ts:226
↓ 11 callersFunctiongetDiffStat
( fileName: string, oldStr: string, aiStr: string, userStr: string, )
packages/core/src/tools/diffOptions.ts:16
↓ 11 callersMethodgetLastPromptTokenCount
()
packages/core/src/telemetry/uiTelemetry.ts:132
↓ 11 callersMethodgetProxy
()
packages/core/src/config/config.ts:616
↓ 11 callersFunctiongetStatusColor
( value: number, thresholds: { green: number; yellow: number }, options: { defaultColor?: string } = {},
packages/cli/src/ui/utils/displayUtils.ts:21
↓ 11 callersMethodgetTool
* Get the definition of a specific tool.
packages/core/src/tools/tool-registry.ts:461
↓ 11 callersMethodgetValidToken
* Get a valid access token for an MCP server, refreshing if necessary. * * @param serverName The name of the MCP server * @param config OAuth
packages/core/src/mcp/oauth-provider.ts:830
← previousnext →101–200 of 1,620, ranked by callers