MCPcopy Create free account

hub / github.com/Noumena-Network/code / functions

Functions14,563 in github.com/Noumena-Network/code

↓ 56 callersFunctionisAgentSwarmsEnabled
()
src/utils/agentSwarmsEnabled.ts:25
↓ 55 callersFunctionbuildTool
(def: D)
src/Tool.ts:782
↓ 55 callersFunctionisFullscreenEnvEnabled
()
src/utils/fullscreen.ts:112
↓ 55 callersFunctionlogEvent
(name: string, payload: Record<string, unknown>)
src/tools/BriefTool/BriefTool.test.ts:49
↓ 54 callersFunctionlogEvent
(eventName, metadata)
src/services/api/promptCacheBreakDetection.test.ts:21
↓ 54 callersFunctionsaveOAuthTokensIfNeeded
(tokens: OAuthTokens)
src/utils/auth.ts:1268
↓ 54 callersFunctionunlink
(fsPath)
src/utils/fsOperations.ts:402
↓ 54 callersFunctionwaitFor
( predicate: () => boolean, message: string, timeoutMs = 4000, )
src/ink/replPerfHarness.tsx:152
↓ 53 callersFunctioncliError
(msg?: string)
src/cli/exit.ts:19
↓ 53 callersFunctioncreateUserMessage
( uuid: string, content: string, options?: { isMeta?: boolean }, )
src/session/replTurnController.test.ts:50
↓ 53 callersFunctionuseSetAppState
()
src/state/AppState.tsx:170
↓ 52 callersFunctionbuildNoumenaPlatformUrl
(path: string)
src/utils/platformUrls.ts:53
↓ 52 callersFunctioncreateAttachmentMessage
( attachment: Attachment, )
src/utils/attachments.ts:3208
↓ 51 callersFunctionextractTag
(html: string, tagName: string)
src/utils/messages.ts:634
↓ 51 callersFunctiongetMountedInkProbe
( terminal: FakeTerminal, )
src/ink/replPerfHarness.tsx:407
↓ 51 callersFunctionleaf
(P: ParseState, type: string, tok: Token)
src/utils/bash/bashParser.ts:702
↓ 51 callersFunctionrestoreLex
(L: Lexer, s: LexSave)
src/utils/bash/bashParser.ts:759
↓ 50 callersFunctiongracefulShutdownSync
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:336
↓ 50 callersMethodread
()
src/cli/structuredIO.ts:216
↓ 49 callersFunctionformatTokens
(count: number)
src/utils/format.ts:133
↓ 49 callersMethodshift
* Shift full-width rows within [top, bottom] by n. n > 0 = up. Mirrors * what DECSTBM + SU/SD does to the terminal. Paired with blit() to reuse
src/ink/output.ts:260
↓ 48 callersFunctiongetInitialSettings
()
src/utils/settings/settings.ts:899
↓ 48 callersFunctionregisterCleanup
(cleanupFn: () => Promise<void>)
src/utils/cleanupRegistry.ts:14
↓ 48 callersFunctiontruncateToWidth
(text: string, maxWidth: number)
src/utils/truncate.ts:63
↓ 47 callersFunctioncreateAssistantAPIErrorMessage
({ content, apiError, error, errorDetails, }: { content: string apiError?: AssistantMessage['apiEr
src/utils/messages.ts:436
↓ 47 callersFunctionenableConfigs
()
src/utils/config.ts:1408
↓ 47 callersFunctionmountedScreenIncludes
( ink: MountedInkProbe | undefined, text: string, )
src/ink/replPerfHarness.tsx:257
↓ 46 callersFunctionformatFileSize
(sizeInBytes: number)
src/utils/format.ts:9
↓ 46 callersFunctionformatNumber
(number: number)
src/utils/format.ts:124
↓ 46 callersFunctionlogEvent
(eventName, metadata)
src/bridge/bridgeMessaging.test.ts:22
↓ 46 callersMethodmarkDirty
()
src/native-ts/yoga-layout/index.ts:577
↓ 46 callersFunctionmkdirSync
(dirPath, options)
src/utils/fsOperations.ts:528
↓ 46 callersFunctionmountRepl
( options: | { messageCount?: number terminalColumns?: number terminalRows?: num
src/ink/replPerfHarness.tsx:329
↓ 46 callersFunctionpathExists
(path: string)
src/utils/file.ts:39
↓ 46 callersFunctionuseTheme
()
src/components/design-system/ThemeProvider.tsx:122
↓ 46 callersFunctionwrapMessagesInSystemReminder
( messages: UserMessage[], )
src/utils/messages.ts:3201
↓ 45 callersMethodenqueue
* Enqueue a patch to PUT /worker. Coalesces with any existing pending * patch. Fire-and-forget — callers don't need to await.
src/cli/transports/WorkerStateUploader.ts:43
↓ 45 callersFunctionisDefined
(n: number)
src/native-ts/yoga-layout/index.ts:108
↓ 45 callersFunctionsanitizeToolNameForAnalytics
( toolName: string, )
src/services/analytics/metadata.ts:69
↓ 44 callersMethodcleanup
()
src/utils/ShellCommand.ts:92
↓ 44 callersFunctionisFastModeEnabled
()
src/utils/fastMode.ts:39
↓ 43 callersFunctionlogEvent
(name: string, payload: Record<string, unknown>)
src/tools/SkillTool/SkillTool.test.ts:118
↓ 43 callersFunctionnextToken
* Scan next token. Context-sensitive: `cmd` mode treats [ as operator (test * command start), `arg` mode treats [ as word char (glob/subscript).
src/utils/bash/bashParser.ts:302
↓ 43 callersFunctiononCancel
()
src/screens/REPL.tsx:2277
↓ 43 callersMethodread
()
src/utils/claudeInChrome/chromeNativeHost.ts:506
↓ 43 callersMethodreadFile
* Reads a file with caching. Returns both content and encoding. * Cache key includes file path and modification time for automatic invalidation.
src/utils/fileReadCache.ts:22
↓ 42 callersFunctionasSystemPrompt
(value: readonly string[])
src/utils/systemPromptType.ts:12
↓ 42 callersMethodemit
(type: string | symbol, ...args: unknown[])
src/ink/events/emitter.ts:15
↓ 42 callersFunctiongetDisplayPath
(filePath: string)
src/utils/file.ts:155
↓ 42 callersMethodnext
()
src/utils/stream.ts:19
↓ 41 callersFunctioncsi
(...args: (string | number)[])
src/ink/termio/csi.ts:45
↓ 41 callersMethodkill
()
src/utils/ShellCommand.ts:345
↓ 41 callersFunctionupdateTaskState
( taskId: string, setAppState: SetAppState, updater: (task: T) => T, )
src/utils/task/framework.ts:48
↓ 41 callersFunctionuseInput
(inputHandler: Handler, options: Options = {})
src/ink/hooks/use-input.ts:42
↓ 40 callersMethodclose
* Clean up connections gracefully
src/cli/remoteIO.ts:394
↓ 40 callersMethodclose
()
src/services/oauth/auth-code-listener.ts:197
↓ 40 callersFunctiongetDefaultAppState
()
src/state/AppStateStore.ts:467
↓ 40 callersFunctionqueryCheckpoint
(name: string)
src/utils/queryProfiler.ts:69
↓ 39 callersMethodend
* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.
src/bridge/flushGate.ts:37
↓ 39 callersFunctionlog
(message: string, ...args: unknown[])
src/utils/claudeInChrome/chromeNativeHost.ts:39
↓ 38 callersMethodcancel
()
src/utils/task/diskOutput.ts:137
↓ 38 callersMethoddefault
()
native/openai-compat-ws-v2-napi/src/lib.rs:113
↓ 38 callersFunctiongetIsRemoteMode
()
src/bootstrap/state.ts:1647
↓ 38 callersFunctiononStateChange
(state, detail)
src/cli/print.ts:3992
↓ 38 callersFunctionreadScreenText
(screen: Screen)
src/ink/replPerfHarness.tsx:245
↓ 37 callersFunctioncliOk
(msg?: string)
src/cli/exit.ts:27
↓ 37 callersFunctioncreateRoot
({ stdout = process.stdout, stdin = process.stdin, stderr = process.stderr, exitOnCtrlC = true, patc
src/ink/root.ts:129
↓ 37 callersFunctionmaybe
(label: string, f: () => Promise<A[]>)
src/utils/attachments.ts:1007
↓ 36 callersMethodcreateMessage
(...args: InferenceCreateMessageArgs)
src/services/api/inferenceClient.ts:46
↓ 36 callersFunctionisFsInaccessible
(e: unknown)
src/utils/errors.ts:186
↓ 36 callersFunctionroughTokenCountEstimation
( content: string, bytesPerToken: number = 4, )
src/services/tokenEstimation.ts:203
↓ 36 callersMethodstopImmediatePropagation
()
src/ink/events/event.ts:8
↓ 35 callersFunctiongetContextWindowForModel
( model: string, betas?: string[], )
src/utils/context.ts:54
↓ 35 callersFunctiongetProject
()
src/utils/sessionStorage.ts:479
↓ 35 callersFunctionisBareMode
()
src/utils/envUtils.ts:91
↓ 34 callersFunctioncreateAbortController
( maxListeners: number = DEFAULT_MAX_LISTENERS, )
src/utils/abortController.ts:16
↓ 34 callersFunctionextractTextContent
( blocks: readonly { readonly type: string }[], separator = '', )
src/utils/messages.ts:2962
↓ 34 callersFunctiongetTeamName
(teamContext?: { teamName: string })
src/utils/teammate.ts:111
↓ 34 callersFunctionsaveLex
(L: Lexer)
src/utils/bash/bashParser.ts:756
↓ 34 callersFunctionuseShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/useShortcutDisplay.ts:29
↓ 33 callersMethodclose
* Closes the WebSocket connection.
src/utils/mcpWebSocketTransport.ts:159
↓ 33 callersFunctioncreatePermissionRequestMessage
(params: { request_id: string agent_id: string tool_name: string tool_use_id: string description: st
src/utils/teammateMailbox.ts:488
↓ 33 callersFunctiongetAppState
()
src/commands/commit.ts:105
↓ 32 callersFunctionexecFileNoThrow
(exe: string, args: string[])
src/commands/autofix-pr/autofix-pr.test.ts:63
↓ 32 callersFunctiongetMainLoopModel
()
src/utils/model/model.ts:148
↓ 32 callersFunctiongetModelStrings
()
src/utils/model/modelStrings.ts:136
↓ 32 callersFunctionpermissionRuleValueToString
( ruleValue: PermissionRuleValue, )
src/utils/permissions/permissionRuleParser.ts:144
↓ 32 callersFunctionreadFileSync
(fsPath, options)
src/utils/fsOperations.ts:445
↓ 32 callersFunctionshellQuote
(value: string)
src/cli/handlers/ant.ts:335
↓ 32 callersFunctiontruncate
( text: string, columns: number, position: 'start' | 'middle' | 'end', )
src/ink/wrap-text.ts:28
↓ 32 callersFunctionuseNotifications
()
src/context/notifications.tsx:38
↓ 31 callersFunctioncreateAssistantMessage
( uuid: string, usage?: { input_tokens: number output_tokens: number cache_creation_input_toke
src/components/PromptInput/promptInputMessageSignals.test.ts:15
↓ 31 callersFunctioncreateScreen
( width: number, height: number, styles: StylePool, charPool: CharPool, hyperlinkPool: HyperlinkPool
src/ink/screen.ts:487
↓ 31 callersFunctiongetCommandName
(cmd: CommandBase)
src/types/command.ts:211
↓ 31 callersFunctionisEnvDefinedFalsy
( envVar: string | boolean | undefined, )
src/utils/envUtils.ts:69
↓ 31 callersFunctionlogError
()
src/tools/LSPTool/LSPTool.test.ts:58
↓ 31 callersFunctionresolveToCanonical
(name: string)
src/tools/PowerShellTool/readOnlyValidation.ts:984
↓ 31 callersFunctionsendControlResponseSuccess
( message: SDKControlRequest, response?: Record<string, unknown>, )
src/cli/print.ts:2768
↓ 30 callersFunctionfindToolByName
(tools: Tools, name: string)
src/Tool.ts:359
↓ 30 callersFunctionmakeFrame
({ lines, viewportWidth = 10, viewportHeight, screenHeight = lines.length, cursorY = screenHeight, }
src/ink/tmuxResetSequence.test.ts:89
← previousnext →101–200 of 14,563, ranked by callers